Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:jsErrCode
(Results
1 - 4
of
4
) sorted by relevance
/test/xts/device_attest/interfaces/kits/napi/src/
H
A
D
devattest_napi_error.cpp
33
int32_t
jsErrCode
= errCode;
in ConvertToJsErrCode()
local
34
if (
jsErrCode
== DEVATTEST_FAIL) {
in ConvertToJsErrCode()
35
jsErrCode
= DEVATTEST_ERR_JS_SYSTEM_SERVICE_EXCEPTION;
in ConvertToJsErrCode()
37
return
jsErrCode
;
in ConvertToJsErrCode()
40
std::string ConvertToJsErrMsg(int32_t
jsErrCode
)
in ConvertToJsErrMsg()
argument
42
auto iter = g_errorStringMap.find(
jsErrCode
);
in ConvertToJsErrMsg()
H
A
D
devattest_napi.cpp
65
int32_t
jsErrCode
= ConvertToJsErrCode(code);
in GenerateBusinessError()
local
66
if (
jsErrCode
== DEVATTEST_SUCCESS) {
in GenerateBusinessError()
70
napi_create_int32(env,
jsErrCode
, &errCode);
in GenerateBusinessError()
72
string errMsgStr = ConvertToJsErrMsg(
jsErrCode
);
in GenerateBusinessError()
/test/xts/device_attest/interfaces/kits/napi/include/
H
A
D
devattest_napi.h
30
int32_t
jsErrCode
= ConvertToJsErrCode((errCode)); \
31
std::string jsErrMsg = ConvertToJsErrMsg(
jsErrCode
); \
32
napi_throw_error((env), std::to_string(
jsErrCode
).c_str(), jsErrMsg.c_str()); \
H
A
D
devattest_napi_error.h
24
std::string ConvertToJsErrMsg(int32_t
jsErrCode
);
Completed in 2 milliseconds