Home
last modified time | relevance | path

Searched refs:code (Results 351 - 375 of 8181) sorted by relevance

1...<<11121314151617181920>>...328

/test/xts/acts/communication/nfc_ErrorCode/entry/src/ohosTest/js/test/
H A DMifareUltralightTag.test.js70 * @tc.desc Test readMultiplePages api by promise. The error code is 401
84 console.info("[NFC_test]mifareUltralight1 readMultiplePages errorcode: " + error.code);
85 expect(401).assertEqual(error.code);
99 * @tc.desc Test readMultiplePages api by callback. The error code is 401
119 console.info("[NFC_test]mifareUltralight2 readMultiplePages errorcode: " + error.code);
120 expect(401).assertEqual(error.code);
133 * @tc.desc Test writeSinglePage api by promise. The error code is 401
148 console.info("[NFC_test]mifareUltralight3 writeSinglePage errorcode: " + error.code);
149 expect(401).assertEqual(error.code);
163 * @tc.desc Test writeSinglePage api by callback. The error code i
[all...]
/third_party/ffmpeg/libavcodec/tests/
H A Dmjpegenc_huffman.c55 if (lengths[k].code == i) break; in check_lengths()
127 // Expected code lengths for each symbol in main()
129 {.code = 0, .length = 3}, in main()
130 {.code = 1, .length = 3}, in main()
131 {.code = 2, .length = 3}, in main()
132 {.code = 3, .length = 3}, in main()
133 {.code = 4, .length = 1}, in main()
135 // Actual code lengths in main()
144 if (distincts[i].code != expected[i].code || in main()
[all...]
/third_party/node/test/parallel/
H A Dtest-crypto-dh-stateless.js11 code: 'ERR_INVALID_ARG_TYPE',
17 code: 'ERR_INVALID_ARG_TYPE',
23 code: 'ERR_INVALID_ARG_TYPE',
107 code: 'ERR_INVALID_ARG_VALUE',
113 code: 'ERR_INVALID_ARG_VALUE',
166 code: 'ERR_OSSL_MISMATCHING_DOMAIN_PARAMETERS'
169 code: 'ERR_OSSL_EVP_DIFFERENT_PARAMETERS'
225 code: 'ERR_OSSL_MISMATCHING_DOMAIN_PARAMETERS'
228 code: 'ERR_OSSL_EVP_DIFFERENT_PARAMETERS'
244 code
[all...]
/third_party/nghttp2/lib/
H A Dnghttp2_hd_huffman.c49 uint64_t code = 0; in nghttp2_hd_huff_encode() local
59 code |= (uint64_t)sym->code << (32 - nbits); in nghttp2_hd_huff_encode()
65 x = htonl((uint32_t)(code >> 32)); in nghttp2_hd_huff_encode()
69 code <<= 32; in nghttp2_hd_huff_encode()
75 rv = nghttp2_bufs_addb(bufs, (uint8_t)(code >> 56)); in nghttp2_hd_huff_encode()
79 code <<= 8; in nghttp2_hd_huff_encode()
87 rv = nghttp2_bufs_addb(bufs, (uint8_t)(code >> 56)); in nghttp2_hd_huff_encode()
91 code <<= 8; in nghttp2_hd_huff_encode()
97 bufs, (uint8_t)((uint8_t)(code >> 5 in nghttp2_hd_huff_encode()
[all...]
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_hd_huffman.c49 uint64_t code = 0; in nghttp2_hd_huff_encode() local
59 code |= (uint64_t)sym->code << (32 - nbits); in nghttp2_hd_huff_encode()
65 x = htonl((uint32_t)(code >> 32)); in nghttp2_hd_huff_encode()
69 code <<= 32; in nghttp2_hd_huff_encode()
75 rv = nghttp2_bufs_addb(bufs, (uint8_t)(code >> 56)); in nghttp2_hd_huff_encode()
79 code <<= 8; in nghttp2_hd_huff_encode()
87 rv = nghttp2_bufs_addb(bufs, (uint8_t)(code >> 56)); in nghttp2_hd_huff_encode()
91 code <<= 8; in nghttp2_hd_huff_encode()
97 bufs, (uint8_t)((uint8_t)(code >> 5 in nghttp2_hd_huff_encode()
[all...]
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dlossless_common.h3 // Use of this source code is governed by a BSD-style license
97 // extra bits. The prefixes are encoded with an entropy code
99 static WEBP_INLINE void VP8LPrefixEncodeBitsNoLUT(int distance, int* const code, in VP8LPrefixEncodeBitsNoLUT() argument
104 *code = 2 * highest_bit + second_highest_bit; in VP8LPrefixEncodeBitsNoLUT()
107 static WEBP_INLINE void VP8LPrefixEncodeNoLUT(int distance, int* const code, in VP8LPrefixEncodeNoLUT() argument
114 *code = 2 * highest_bit + second_highest_bit; in VP8LPrefixEncodeNoLUT()
126 static WEBP_INLINE void VP8LPrefixEncodeBits(int distance, int* const code, in VP8LPrefixEncodeBits() argument
130 *code = prefix_code.code_; in VP8LPrefixEncodeBits()
133 VP8LPrefixEncodeBitsNoLUT(distance, code, extra_bits); in VP8LPrefixEncodeBits()
137 static WEBP_INLINE void VP8LPrefixEncode(int distance, int* const code, in VP8LPrefixEncode() argument
[all...]
/third_party/python/Modules/cjkcodecs/
H A D_codecs_hk.c35 * These are handled by not mapping tables but a hand-written code.
43 DBCHAR code; in ENCODER() local
57 if (TRYMAP_ENC(big5hkscs_bmp, code, c)) { in ENCODER()
58 if (code == MULTIC) { in ENCODER()
68 code = big5hkscs_pairenc_table[ in ENCODER()
78 code = 0x8866; in ENCODER()
80 code = 0x88a7; in ENCODER()
84 else if (TRYMAP_ENC(big5, code, c)) in ENCODER()
92 if (TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff)) in ENCODER()
100 OUTBYTE1(code >> in ENCODER()
[all...]
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
H A Dtest-core.h151 ".code "TEST_ISA" \n\t" \
190 ".code "NORMAL_ISA" \n\t" \
209 * TEST_SUPPORTED and TEST_UNSUPPORTED don't cause the code to be executed,
213 #define TEST(code) \
214 TESTCASE_START(code) \
216 TEST_INSTRUCTION(code) \
219 #define TEST_UNSUPPORTED(code) \
220 TESTCASE_START(code) \
222 TEST_INSTRUCTION(code) \
225 #define TEST_SUPPORTED(code) \
[all...]
/kernel/linux/linux-6.6/arch/arm/probes/kprobes/
H A Dtest-core.h152 ".code "TEST_ISA" \n\t" \
191 ".code "NORMAL_ISA" \n\t" \
210 * TEST_SUPPORTED and TEST_UNSUPPORTED don't cause the code to be executed,
214 #define TEST(code) \
215 TESTCASE_START(code) \
217 TEST_INSTRUCTION(code) \
220 #define TEST_UNSUPPORTED(code) \
221 TESTCASE_START(code) \
223 TEST_INSTRUCTION(code) \
226 #define TEST_SUPPORTED(code) \
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dfalcon.c106 vfree(falcon->code.data); in nvkm_falcon_fini()
107 falcon->code.data = NULL; in nvkm_falcon_fini()
149 falcon->code.limit = (caps & 0x000001ff) << 8; in nvkm_falcon_oneinit()
154 nvkm_debug(subdev, "code limit: %d\n", falcon->code.limit); in nvkm_falcon_oneinit()
192 if (!falcon->code.data) { in nvkm_falcon_init()
198 falcon->code.data = vmemdup(fw->data, fw->size); in nvkm_falcon_init()
199 falcon->code.size = fw->size; in nvkm_falcon_init()
208 /* next step is to try and load "static code/data segment" firmware in nvkm_falcon_init()
211 if (!falcon->code in nvkm_falcon_init()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dfalcon.c106 vfree(falcon->code.data); in nvkm_falcon_fini()
107 falcon->code.data = NULL; in nvkm_falcon_fini()
149 falcon->code.limit = (caps & 0x000001ff) << 8; in nvkm_falcon_oneinit()
154 nvkm_debug(subdev, "code limit: %d\n", falcon->code.limit); in nvkm_falcon_oneinit()
192 if (!falcon->code.data) { in nvkm_falcon_init()
198 falcon->code.data = vmemdup(fw->data, fw->size); in nvkm_falcon_init()
199 falcon->code.size = fw->size; in nvkm_falcon_init()
208 /* next step is to try and load "static code/data segment" firmware in nvkm_falcon_init()
211 if (!falcon->code in nvkm_falcon_init()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dqdrw.c82 int size, left, code, pix; in decode_rle_bpp2() local
96 code = bytestream2_get_byte(gbc); in decode_rle_bpp2()
97 if (code & 0x80 ) { /* run */ in decode_rle_bpp2()
99 for (j = 0; j < 257 - code; j++) { in decode_rle_bpp2()
111 for (j = 0; j < code + 1; j++) { in decode_rle_bpp2()
122 left -= 1 + (code + 1); in decode_rle_bpp2()
137 int size, left, code, pix; in decode_rle_bpp4() local
148 code = bytestream2_get_byte(gbc); in decode_rle_bpp4()
149 if (code & 0x80 ) { /* run */ in decode_rle_bpp4()
151 for (j = 0; j < 257 - code; in decode_rle_bpp4()
181 int size, left, code, pix; decode_rle16() local
225 int size, left, code, pix; decode_rle() local
[all...]
/third_party/glfw/src/
H A Dinit.c147 // Encode a Unicode code point to a UTF-8 stream
307 // Notifies shared code of an error
309 void _glfwInputError(int code, const char* format, ...) in _glfwInputError() argument
326 if (code == GLFW_NOT_INITIALIZED) in _glfwInputError()
328 else if (code == GLFW_NO_CURRENT_CONTEXT) in _glfwInputError()
330 else if (code == GLFW_INVALID_ENUM) in _glfwInputError()
332 else if (code == GLFW_INVALID_VALUE) in _glfwInputError()
334 else if (code == GLFW_OUT_OF_MEMORY) in _glfwInputError()
336 else if (code == GLFW_API_UNAVAILABLE) in _glfwInputError()
338 else if (code in _glfwInputError()
502 int code = GLFW_NO_ERROR; glfwGetError() local
[all...]
/third_party/libwebsockets/lib/roles/http/
H A Dheader.c182 lws_add_http_common_headers(struct lws *wsi, unsigned int code, in lws_add_http_common_headers() argument
190 if (lws_add_http_header_status(wsi, code, p, end)) in lws_add_http_common_headers()
317 unsigned int code = _code & LWSAHH_CODE_MASK; in lws_add_http_header_status() local
322 wsi->http.response_code = code; in lws_add_http_header_status()
324 wsi->http.access_log.response = (int)code; in lws_add_http_header_status()
329 n = lws_add_http2_header_status(wsi, code, p, end); in lws_add_http_header_status()
335 if (code >= 400 && code < (400 + LWS_ARRAY_SIZE(err400))) in lws_add_http_header_status()
336 description = err400[code - 400]; in lws_add_http_header_status()
337 if (code > in lws_add_http_header_status()
415 lws_return_http_status(struct lws *wsi, unsigned int code, const char *html_body) lws_return_http_status() argument
529 lws_http_redirect(struct lws *wsi, int code, const unsigned char *loc, int len, unsigned char **p, unsigned char *end) lws_http_redirect() argument
[all...]
/third_party/node/deps/v8/src/compiler/backend/
H A Dspill-placer.cc2 // Use of this source code is governed by a BSD-style license that can be
29 InstructionSequence* code = data_->code(); in Add() local
31 code->GetInstructionBlock(range->Start().ToInstructionIndex()); in Add()
45 // increasing the code size for no benefit. in Add()
62 code->GetInstructionBlock(interval->start().ToInstructionIndex()) in Add()
80 code->GetInstructionBlock(end_instruction)->rpo_number(); in Add()
82 SetSpillRequired(code->InstructionBlockAt(start_block), range->vreg(), in Add()
93 code->GetInstructionBlock(pos->pos().ToInstructionIndex()); in Add()
215 zone_->NewArray<Entry>(data()->code()
289 InstructionSequence* code = data()->code(); FirstBackwardPass() local
336 InstructionSequence* code = data()->code(); ForwardPass() local
393 InstructionSequence* code = data()->code(); SecondBackwardPass() local
[all...]
/third_party/node/deps/v8/src/codegen/arm/
H A Dregister-arm.h2 // Use of this source code is governed by a BSD-style license that can be
73 explicit constexpr Register(int code) : RegisterBase(code) {} in Register() argument
124 void split_code(int* vm, int* m) const { split_code(code(), vm, m); } in split_code()
128 return uint64_t{0x1} << code(); in ToVfpRegList()
133 explicit constexpr SwVfpRegister(int code) : RegisterBase(code) {} in SwVfpRegister() argument
164 void split_code(int* vm, int* m) const { split_code(code(), vm, m); } in split_code()
168 return uint64_t{0x3} << (code() * 2); in ToVfpRegList()
174 explicit constexpr DwVfpRegister(int code) argument
201 LowDwVfpRegister(int code) LowDwVfpRegister() argument
233 QwNeonRegister(int code) QwNeonRegister() argument
250 CRegister(int code) CRegister() argument
[all...]
/third_party/node/deps/v8/src/wasm/baseline/
H A Dliftoff-register.h2 // Use of this source code is governed by a BSD-style license that can be
78 // Description of LiftoffRegister code encoding.
99 // code has to check for kGpRegPair and kFpRegPair before it can treat the code
100 // as a register code.
105 // stuffed side by side in code. Note that this is not the second top bit of
109 // the bottom part of the code. Unlike (2), this is the fp register code itself
112 // Maximum code of a gp cache register.
113 static constexpr int kMaxGpRegCode = kLiftoffAssemblerGpCacheRegs.last().code();
161 from_liftoff_code(int code) from_liftoff_code() argument
174 from_code(RegClass rc, int code) from_code() argument
187 from_external_code(RegClass rc, ValueKind kind, int code) from_external_code() argument
311 LiftoffRegister(storage_t code) LiftoffRegister() argument
[all...]
/third_party/rust/crates/nom/src/
H A Derror.rs56 /// default error type, only contains the error' location and code
61 /// nom error code
62 pub code: ErrorKind,
67 pub fn new(input: I, code: ErrorKind) -> Error<I> { in new()
68 Error { input, code } in new()
74 Error { input, code: kind } in from_error_kind()
87 Error { input, code: kind } in from_external_error()
94 write!(f, "error {:?} at: {}", self.code, self.input) in fmt()
551 ($input:expr, $code:expr) => ({
552 $crate::error::make_error($input, $code)
[all...]
/kernel/linux/linux-5.10/arch/parisc/mm/
H A Dfault.c52 parisc_acctyp(unsigned long code, unsigned int inst) in parisc_acctyp() argument
54 if (code == 6 || code == 16) in parisc_acctyp()
220 const char *trap_name(unsigned long code) in trap_name() argument
224 if (code < ARRAY_SIZE(trap_description)) in trap_name()
225 t = trap_description[code]; in trap_name()
235 show_signal_msg(struct pt_regs *regs, unsigned long code, in show_signal_msg() argument
247 tsk->comm, code, address); in show_signal_msg()
250 pr_cont("\ntrap #%lu: %s%c", code, trap_name(code), in show_signal_msg()
260 do_page_fault(struct pt_regs *regs, unsigned long code, unsigned long address) do_page_fault() argument
[all...]
/kernel/linux/linux-6.6/arch/parisc/mm/
H A Dfault.c54 parisc_acctyp(unsigned long code, unsigned int inst) in parisc_acctyp() argument
56 if (code == 6 || code == 16) in parisc_acctyp()
227 const char *trap_name(unsigned long code) in trap_name() argument
231 if (code < ARRAY_SIZE(trap_description)) in trap_name()
232 t = trap_description[code]; in trap_name()
242 show_signal_msg(struct pt_regs *regs, unsigned long code, in show_signal_msg() argument
254 tsk->comm, code, address); in show_signal_msg()
257 pr_cont("\ntrap #%lu: %s%c", code, trap_name(code), in show_signal_msg()
267 do_page_fault(struct pt_regs *regs, unsigned long code, unsigned long address) do_page_fault() argument
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
H A Djunit_parser.py111 test_info.code = int(value)
112 if test_info.code != StatusCodes.IN_PROGRESS:
146 if test_info.code == StatusCodes.START.value:
151 elif test_info.code == StatusCodes.FAILURE.value:
158 result.code = ResultCode.FAILED.value
160 elif test_info.code == StatusCodes.ERROR.value:
167 result.code = ResultCode.FAILED.value
169 elif test_info.code == StatusCodes.SUCCESS.value:
176 result.code = ResultCode.PASSED.value
178 elif test_info.code
[all...]
/third_party/node/deps/v8/src/execution/
H A Dframes.cc2 // Use of this source code is governed by a BSD-style license that can be
22 #include "src/objects/code.h"
32 #include "src/wasm/wasm-code-manager.h"
50 // field. StackHandlers allocated from generated code have 0 as padding. in AddressOf()
125 // frame code that computes the caller state to access the top in Advance()
446 // code. INTERPRETED frames refer to bytecode. in SafeStackFrameIterator()
562 return isolate->inner_pointer_to_code_cache()->GetCacheEntry(pc)->code; in GetContainingCode()
579 Object code = holder; in IteratePc() local
580 v->VisitRunningCode(FullObjectSlot(&code)); in IteratePc()
581 if (code in IteratePc()
878 Code code = LookupCode(); Summarize() local
961 Code code; Print() local
991 Code code = LookupCode(); position() local
1037 Code code; IterateCompiledFrame() local
1279 Code code = LookupCode(); LookupExceptionHandlerInTable() local
1308 Code code = LookupCode(); ComputeParametersCount() local
1346 Code code = LookupCode(); Summarize() local
1390 PrintFunctionAndOffset(JSFunction function, AbstractCode code, int code_offset, FILE* file, bool print_line_number) PrintFunctionAndOffset() argument
1440 Code code = frame->unchecked_code(); PrintTop() local
1464 CollectFunctionAndOffsetForICStats(JSFunction function, AbstractCode code, int code_offset) CollectFunctionAndOffsetForICStats() argument
1640 WasmFrameSummary( Isolate* isolate, Handle<WasmInstanceObject> instance, wasm::WasmCode* code, int code_offset, bool at_to_number_conversion) WasmFrameSummary() argument
1762 Code code = LookupCode(); Summarize() local
1843 Code code = LookupCode(); LookupExceptionHandlerInTable() local
1852 SafepointTable safepoints(isolate(), pc(), code); LookupExceptionHandlerInTable() local
1863 Code code = FromCodeT(opt_function.code()); GetDeoptimizationData() local
1890 Code code = LookupCode(); GetFunctions() local
1944 AbstractCode code = AbstractCode::cast(GetBytecodeArray()); position() local
2110 wasm::WasmCode* code = wasm_code(); byte_offset() local
2127 wasm::WasmCode* code = wasm_code(); Summarize() local
2130 FrameSummary::WasmFrameSummary summary(isolate(), instance, code, offset, Summarize() local
2138 wasm::WasmCode* code = at_to_number_conversion() local
2152 wasm::WasmCode* code = wasm::GetWasmCodeManager()->LookupCode(pc()); LookupExceptionHandlerInTable() local
2163 wasm::WasmCode* code = wasm::GetWasmCodeManager()->LookupCode(caller_pc()); Iterate() local
2188 Code code = GetContainingCode(isolate(), pc()); Iterate() local
2267 PrintFunctionSource(StringStream* accumulator, SharedFunctionInfo shared, Code code) PrintFunctionSource() argument
2292 Code code; Print() local
2422 Code code = LookupCode(); Iterate() local
[all...]
/test/xts/acts/communication/dsoftbus/rpc_request/entry/src/ohosTest/js/test/
H A DActsRpcRequestJsTest.test.js94 onRemoteRequest(code, data, reply, option) {
96 if (code == 1) {
100 console.info("unknown code: " + code);
122 onRemoteRequest(code, data, reply, option) {
124 console.info("onRemoteRequest: " + code);
125 if (code === 2){
131 console.error("onRemoteRequest default case " + code);
132 return super.onRemoteRequest(code, data, reply, option);
139 async onRemoteMessageRequest(code, dat
[all...]
/third_party/node/deps/openssl/openssl/crypto/aes/asm/
H A Daesni-sha1-x86_64.pl25 # AESNI code is weaved into it. Below are performance numbers in
57 # (*) There are two code paths: SSSE3 and AVX. See sha1-568.pl for
88 # (**) Execution is fully dominated by integer code sequence and
130 $code.=<<___;
143 $code.=<<___ if ($shaext);
147 $code.=<<___ if ($avx);
154 $code.=<<___;
188 $code .= "\t$opcode\t".join(',',$arg,reverse @_)."\n";
194 $code.=<<___;
219 $code
[all...]
/third_party/openssl/crypto/aes/asm/
H A Daesni-sha1-x86_64.pl25 # AESNI code is weaved into it. Below are performance numbers in
57 # (*) There are two code paths: SSSE3 and AVX. See sha1-568.pl for
88 # (**) Execution is fully dominated by integer code sequence and
130 $code.=<<___;
143 $code.=<<___ if ($shaext);
147 $code.=<<___ if ($avx);
154 $code.=<<___;
188 $code .= "\t$opcode\t".join(',',$arg,reverse @_)."\n";
194 $code.=<<___;
219 $code
[all...]

Completed in 16 milliseconds

1...<<11121314151617181920>>...328