Home
last modified time | relevance | path

Searched refs:code (Results 226 - 250 of 5219) sorted by relevance

12345678910>>...209

/third_party/libinput/test/
H A Dlitest-device-apple-appletouch.c30 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN },
31 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN },
32 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN },
33 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
34 { .type = -1, .code = -1 },
38 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN },
39 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN },
40 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN },
41 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
42 { .type = -1, .code
[all...]
/third_party/python/Lib/test/
H A Dtest_atexit.py19 code = textwrap.dedent("""
28 res = script_helper.assert_python_ok("-c", code)
34 code = textwrap.dedent("""
46 res = script_helper.assert_python_ok("-c", code)
59 code = textwrap.dedent(r"""
66 ret = support.run_in_subinterp(code)
74 code = textwrap.dedent(r"""
81 ret = support.run_in_subinterp(code)
92 code = textwrap.dedent(r"""
99 ret = support.run_in_subinterp(code)
[all...]
H A Dtest_compile.py116 code = '''
134 exec(code, g)
157 # the first line of code starts after 256, correct line numbers
334 code = b'# -*- coding: badencoding -*-\npass\n'
335 self.assertRaises(SyntaxError, compile, code, 'tmp', 'exec')
336 code = '# -*- coding: badencoding -*-\n"\xc2\xa4"\n'
337 compile(code, 'tmp', 'exec')
338 self.assertEqual(eval(code), '\xc2\xa4')
339 code = '"\xc2\xa4"\n'
340 self.assertEqual(eval(code), '\xc
[all...]
/third_party/node/deps/v8/src/logging/
H A Dlog.h2 // Use of this source code is governed by a BSD-style license that can be
17 #include "src/logging/code-events.h"
36 // Minimal logging (no API, code, or GC sample events), default is off.
40 // --log-api and --log-code.
45 // --log-code
46 // Log code (create, move, and delete) events to the logfile, default is off.
47 // --log-code implies --log.
54 // tick profiler requires code events, so --prof implies --log-code.
95 Handle<AbstractCode> code,
[all...]
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_image_writer.h72 tiff_tag (uint16 code, in tiff_tag() argument
76 : fCode (code) in tiff_tag()
137 tag_data_ptr (uint16 code, in tag_data_ptr() argument
142 : tiff_tag (code, type, count) in tag_data_ptr()
177 tag_string (uint16 code,
198 tag_encoded_text (uint16 code,
216 tag_uint8 (uint16 code, in tag_uint8() argument
219 : tag_data_ptr (code, ttByte, 1, &fValue) in tag_uint8()
240 tag_uint8_ptr (uint16 code, in tag_uint8_ptr() argument
244 : tag_data_ptr (code, ttByt in tag_uint8_ptr()
262 tag_uint16(uint16 code, uint16 value = 0) tag_uint16() argument
286 tag_int16_ptr(uint16 code, const int16 *data, uint32 count = 1) tag_int16_ptr() argument
304 tag_uint16_ptr(uint16 code, const uint16 *data, uint32 count = 1) tag_uint16_ptr() argument
326 tag_uint32(uint16 code, uint32 value = 0) tag_uint32() argument
350 tag_uint32_ptr(uint16 code, const uint32 *data, uint32 count = 1) tag_uint32_ptr() argument
372 tag_urational(uint16 code, const dng_urational &value) tag_urational() argument
391 tag_urational_ptr(uint16 code, const dng_urational *data = NULL, uint32 count = 1) tag_urational_ptr() argument
413 tag_srational(uint16 code, const dng_srational &value) tag_srational() argument
432 tag_srational_ptr(uint16 code, const dng_srational *data = NULL, uint32 count = 1) tag_srational_ptr() argument
454 tag_real64(uint16 code, real64 value = 0.0) tag_real64() argument
513 tag_cfa_pattern(uint16 code, uint32 rows, uint32 cols, const uint8 *pattern) tag_cfa_pattern() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DDisplayNameTest.java45 public String get(ULocale locale, String code, Object context); in get() argument
110 public String get(ULocale loc, String code, Object context) { in checkLocale()
111 return ULocale.getDisplayLanguage(code, loc); in checkLocale()
116 public String get(ULocale loc, String code, Object context) { in checkLocale()
118 return ULocale.getDisplayScript("en_"+code, loc); in checkLocale()
123 public String get(ULocale loc, String code, Object context) { in checkLocale()
125 return ULocale.getDisplayCountry("en_"+code, loc); in checkLocale()
130 public String get(ULocale loc, String code, Object context) { in checkLocale()
131 Currency s = Currency.getInstance(code); in checkLocale()
141 public String get(ULocale loc, String code, Objec in checkLocale()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DDisplayNameTest.java42 public String get(ULocale locale, String code, Object context); in get() argument
107 public String get(ULocale loc, String code, Object context) { in checkLocale()
108 return ULocale.getDisplayLanguage(code, loc); in checkLocale()
113 public String get(ULocale loc, String code, Object context) { in checkLocale()
115 return ULocale.getDisplayScript("en_"+code, loc); in checkLocale()
120 public String get(ULocale loc, String code, Object context) { in checkLocale()
122 return ULocale.getDisplayCountry("en_"+code, loc); in checkLocale()
127 public String get(ULocale loc, String code, Object context) { in checkLocale()
128 Currency s = Currency.getInstance(code); in checkLocale()
138 public String get(ULocale loc, String code, Objec in checkLocale()
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dwasm-serialization.cc2 // Use of this source code is governed by a BSD-style license that can be
13 #include "src/snapshot/code-serializer.h"
17 #include "src/wasm/code-space-access.h"
21 #include "src/wasm/wasm-code-manager.h"
193 constexpr size_t kHeaderSize = sizeof(size_t); // total code size
195 constexpr size_t kCodeHeaderSize = sizeof(uint8_t) + // code kind
199 sizeof(int) + // offset of code comments
203 sizeof(int) + // code size
207 sizeof(WasmCode::Kind) + // code kind
308 size_t NativeModuleSerializer::MeasureCode(const WasmCode* code) cons
335 WriteCode(const WasmCode* code, Writer* writer) WriteCode() argument
503 std::unique_ptr<WasmCode> code; global() member
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/
H A Djchuff-sse2.asm19 ; The following code is based on jchuff.c; see jchuff.c for more details.
33 .ehufco: resd 256 ; code for each symbol
34 .ehufsi: resb 256 ; length of code for each symbol
35 ; If no code has been allocated for a symbol S, ehufsi[S] contains 0
103 ; Fill the bit buffer to capacity with the leading bits from code, then output
104 ; the bit buffer and put the remaining bits from code into the bit buffer.
107 ; code - contains the bits to shift into the bit buffer (LSB-aligned)
112 ; code, and put_buffer will contain those remaining bits. temp and code will
121 mov tempd, code ; tem
[all...]
/test/xts/acts/graphic/graphicnapitest/
H A DNativeWindowTest.cpp243 int code = SET_USAGE; in HWTEST_F() local
245 ASSERT_EQ(OH_NativeWindow_NativeWindowHandleOpt(nullptr, code, usage), NATIVE_ERROR_INVALID_ARGUMENTS); in HWTEST_F()
257 int code = SET_USAGE; in HWTEST_F() local
259 ASSERT_EQ(OH_NativeWindow_NativeWindowHandleOpt(nativeWindow, code, usageSet), NATIVE_ERROR_OK); in HWTEST_F()
261 code = GET_USAGE; in HWTEST_F()
263 ASSERT_EQ(OH_NativeWindow_NativeWindowHandleOpt(nativeWindow, code, &usageGet), NATIVE_ERROR_OK); in HWTEST_F()
276 int code = SET_BUFFER_GEOMETRY; in HWTEST_F() local
279 ASSERT_EQ(OH_NativeWindow_NativeWindowHandleOpt(nativeWindow, code, heightSet, widthSet), NATIVE_ERROR_OK); in HWTEST_F()
281 code = GET_BUFFER_GEOMETRY; in HWTEST_F()
284 ASSERT_EQ(OH_NativeWindow_NativeWindowHandleOpt(nativeWindow, code, in HWTEST_F()
298 int code = SET_FORMAT; HWTEST_F() local
317 int code = SET_STRIDE; HWTEST_F() local
336 int code = SET_COLOR_GAMUT; HWTEST_F() local
355 int code = SET_TIMEOUT; HWTEST_F() local
374 int code = GET_TRANSFORM; HWTEST_F() local
398 int code = GET_BUFFERQUEUE_SIZE; HWTEST_F() local
415 int code = SET_USAGE; HWTEST_F() local
443 int code = SET_SOURCE_TYPE; HWTEST_F() local
461 int code = SET_APP_FRAMEWORK_TYPE; HWTEST_F() local
479 int code = SET_HDR_WHITE_POINT_BRIGHTNESS; HWTEST_F() local
527 int code = SET_USAGE; SetNativeWindowConfig() local
577 int code = GET_BUFFERQUEUE_SIZE; HWTEST_F() local
623 int code = GET_BUFFERQUEUE_SIZE; NativeWindowAttachBuffer003Test() local
794 int code = GET_BUFFERQUEUE_SIZE; HWTEST_F() local
989 int code = SET_TRANSFORM; HWTEST_F() local
1033 int code = SET_USAGE; HWTEST_F() local
[all...]
/third_party/pcre2/pcre2/src/
H A Dpcre2_dfa_match.c9 Original API code Copyright (c) 1997-2012 University of Cambridge
10 New API code Copyright (c) 2016-2022 University of Cambridge
16 * Redistributions of source code must retain the above copyright notice,
48 /* NOTE ABOUT PERFORMANCE: A user of this function sent some code that improved
54 search up the state list. (Grep for "duplicate" below to find the code.) For
57 bottleneck. The suggested code used an indexing scheme to remember which states
62 I wrote some thread-safe, not-limited code to try something similar at the time
72 in others, so I abandoned this code. */
270 /* These 2 tables allow for compact code for testing for \D, \d, \S, \s, \W,
341 code curren
353 do_callout_dfa(PCRE2_SPTR code, PCRE2_SIZE *offsets, PCRE2_SPTR current_subject, PCRE2_SPTR ptr, dfa_match_block *mb, PCRE2_SIZE extracode, PCRE2_SIZE *lengthptr) do_callout_dfa() argument
748 PCRE2_SPTR code; internal_dfa_match() local
3297 pcre2_dfa_match(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, pcre2_match_context *mcontext, int *workspace, PCRE2_SIZE wscount) pcre2_dfa_match() argument
[all...]
/third_party/ltp/include/lapi/
H A Dbpf.h19 #define BPF_CLASS(code) ((code) & 0x07)
29 #define BPF_SIZE(code) ((code) & 0x18)
34 #define BPF_MODE(code) ((code) & 0xe0)
38 #define BPF_OP(code) ((code) & 0xf0)
49 #define BPF_SRC(code) ((code)
75 uint8_t code; /* opcode */ global() member
[all...]
/third_party/node/deps/v8/src/codegen/arm/
H A Dassembler-arm.cc8 // - Redistributions of source code must retain the above copyright notice,
33 // The original source code covered by the above license above has been
486 const Instr kPushRegPattern = al | B26 | 4 | NegPreIndex | sp.code() * B16;
489 const Instr kPopRegPattern = al | B26 | L | 4 | PostIndex | sp.code() * B16;
492 const Instr kLdrPCImmedPattern = 5 * B24 | L | pc.code() * B16;
500 const Instr kVldrDPCPattern = 13 * B24 | L | pc.code() * B16 | 11 * B8;
505 const Instr kBlxIp = al | kBlxRegPattern | ip.code();
525 const Instr kLdrRegFpOffsetPattern = al | B26 | L | Offset | fp.code() * B16;
526 const Instr kStrRegFpOffsetPattern = al | B26 | Offset | fp.code() * B16;
528 al | B26 | L | NegOffset | fp.code() * B1
2288 stop(Condition cond, int32_t code) stop() argument
3948 NeonSplitCode(NeonRegType type, int code, int* vm, int* m, int* encoding) NeonSplitCode() argument
[all...]
/test/xts/acts/distributeddatamgr/dataObjecttest/dataObjectjstest/hap/entry/src/ohosTest/js/test/
H A DObjectStoreJsunitV9.test.js96 console.info(error.code + error.message);
97 expect(error.code == 401).assertEqual(true);
103 console.info(error.code + error.message);
104 expect(error.code == 401).assertEqual(true);
140 console.info(TAG + err.code + err.message);
143 expect(error.code == 401).assertEqual(true);
170 expect(error.code == 15400001).assertEqual(true);
196 console.info(TAG + err.code + err.message);
230 console.info(error.code + error.message);
231 expect(error.code
[all...]
/third_party/python/Lib/
H A DcProfile.py61 func = label(entry.code)
67 callersdicts[id(entry.code)] = callers
72 func = label(entry.code)
75 callers = callersdicts[id(subentry.code)]
123 def label(code):
124 if isinstance(code, str):
125 return ('~', 0, code) # built-in functions ('~' sorts at the end)
127 return (code.co_filename, code.co_firstlineno, code
[all...]
/third_party/node/deps/v8/src/codegen/arm64/
H A Dregister-arm64.h2 // Use of this source code is governed by a BSD-style license that can be
101 static constexpr CPURegister Create(int code, int size, RegisterType type) { in Create() argument
102 DCHECK(IsValid(code, size, type)); in Create()
103 return CPURegister{code, size, type}; in Create()
198 constexpr CPURegister(int code, int size, RegisterType type) in CPURegister() argument
199 : RegisterBase(code), reg_size_(size), reg_type_(type) {} in CPURegister()
201 static constexpr bool IsValidRegister(int code, int size) { in IsValidRegister() argument
203 (code < kNumberOfRegisters || code == kSPRegInternalCode); in IsValidRegister()
206 static constexpr bool IsValidVRegister(int code, in argument
213 IsValid(int code, int size, RegisterType type) IsValid() argument
218 IsNone(int code, int size, RegisterType type) IsNone() argument
231 Create(int code, int size) Create() argument
238 from_code(int code) from_code() argument
243 GetSpecialRegisterName(int code) GetSpecialRegisterName() argument
323 Create(int code, int size, int lane_count = 1) Create() argument
417 from_code(int code) from_code() argument
[all...]
/test/xts/acts/powermgr/battery_manager/entry/src/ohosTest/js/test/
H A Dbattery_common_event.test.js1467 console.error('err code: ' + JSON.stringify(error));
1478 if (error.code) {
1479 console.error(`unsubscribe failed, code is ${err.code}`);
1520 console.error('err code: ' + JSON.stringify(error));
1531 if (error.code) {
1532 console.error(`unsubscribe failed, code is ${err.code}`);
1572 console.error('err code: ' + JSON.stringify(error));
1583 if (error.code) {
[all...]
/third_party/node/deps/openssl/openssl/crypto/sha/asm/
H A Dsha1-mb-x86_64.pl139 $code.=<<___ if ($i==0);
156 $code.=<<___ if ($i<14); # just load input
188 $code.=<<___ if ($i==14); # just load input
221 $code.=<<___ if ($i>=13 && $i<15);
224 $code.=<<___ if ($i>=15); # apply Xupdate
264 $code.=<<___ if ($i<79);
277 $code.=<<___ if ($i<72);
280 $code.=<<___ if ($i<79);
299 $code.=<<___ if ($i==79);
327 $code
[all...]
H A Dsha512p8-ppc.pl109 $code.=<<___ if ($i<15 && ($i%(16/$SZ))==(16/$SZ-1));
113 $code.=<<___ if ($i<16 && ($i%(16/$SZ)));
116 $code.=<<___ if ($LENDIAN && $i<16 && ($i%(16/$SZ))==0);
119 $code.=<<___ if ($i>=15);
126 $code.=<<___;
141 $code.=<<___ if ($k == 7);
146 $code=<<___;
193 $code.=<<___ if ($LENDIAN);
199 $code.=<<___ if ($SZ==4);
209 $code
[all...]
/third_party/openssl/crypto/sha/asm/
H A Dsha1-mb-x86_64.pl139 $code.=<<___ if ($i==0);
156 $code.=<<___ if ($i<14); # just load input
188 $code.=<<___ if ($i==14); # just load input
221 $code.=<<___ if ($i>=13 && $i<15);
224 $code.=<<___ if ($i>=15); # apply Xupdate
264 $code.=<<___ if ($i<79);
277 $code.=<<___ if ($i<72);
280 $code.=<<___ if ($i<79);
299 $code.=<<___ if ($i==79);
327 $code
[all...]
/test/xts/acts/communication/nfc_SecureElement/entry/src/ohosTest/js/test/
H A DchannelCallback.test.js30 err.code = -1;
89 console.info("[NFC_test] getSEService err.code " + err.code + "err.message " + err.message);
128 console.info("[NFC_test]09 openBasicChannel data == null" + err.code + "---" + err);
129 reject(err.code);
152 console.info("[NFC_test]09 openBasicChannel_p2_callback occurs exception:" + error.code + "---" + error);
177 reject(err.code);
200 console.info("[NFC_test]10 openLogicalChannel_P2_callback occurs exception:" + error.code + "---" + error);
226 reject(err.code);
249 console.info("[NFC_test]11 openBasicChannel_callback occurs exception:" + error.code
[all...]
/test/xts/acts/resourceschedule/resourceschedule_standard/deviceusagestatisticsjsunit/src/main/js/test/
H A DBundleState.test.js205 console.info('isIdleState_052 callback fail result = ' + JSON.stringify(err.code));
206 expect(err.code).assertLarger(0);
262 console.info('isIdleState_054 promise fail result = ' + JSON.stringify(err.code));
263 expect(err.code).assertUndefined();
285 expect(err.code).assertLarger(0);
303 console.info('isIdleState_056 callback fail result = ' + JSON.stringify(err.code));
304 expect(err.code).assertLarger(0);
329 expect(err.code).assertLarger(0);
347 console.info('isIdleState_057 callback fail result = ' + JSON.stringify(err.code));
348 expect(err.code)
[all...]
/third_party/node/deps/openssl/openssl/crypto/md5/asm/
H A Dmd5-x86_64.pl14 my $code;
24 $code .= " mov 0*4(%rsi), %r10d /* (NEXT STEP) X[0] */\n" if ($pos == -1);
25 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1);
26 $code .= <<EOF;
48 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1);
49 $code .= " mov %edx, %r12d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1);
50 $code .= <<EOF;
74 $code .= " mov %ecx, %r11d /* (NEXT STEP) y' = %ecx */\n" if ($pos == -1);
75 $code .= <<EOF;
82 $code
[all...]
/third_party/openssl/crypto/md5/asm/
H A Dmd5-x86_64.pl14 my $code;
24 $code .= " mov 0*4(%rsi), %r10d /* (NEXT STEP) X[0] */\n" if ($pos == -1);
25 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1);
26 $code .= <<EOF;
48 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1);
49 $code .= " mov %edx, %r12d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1);
50 $code .= <<EOF;
74 $code .= " mov %ecx, %r11d /* (NEXT STEP) y' = %ecx */\n" if ($pos == -1);
75 $code .= <<EOF;
82 $code
[all...]
/third_party/node/deps/v8/src/codegen/
H A Dreloc-info.cc2 // Use of this source code is governed by a BSD-style license that can be
9 #include "src/codegen/code-reference.h"
14 #include "src/objects/code-inl.h"
264 RelocIterator::RelocIterator(Code code, int mode_mask) in RelocIterator() argument
265 : RelocIterator(code, code.unchecked_relocation_info(), mode_mask) {} in RelocIterator()
267 RelocIterator::RelocIterator(Code code, ByteArray relocation_info, in RelocIterator() argument
269 : RelocIterator(code, code.raw_instruction_start(), code in RelocIterator()
279 RelocIterator(EmbeddedData* embedded_data, Code code, int mode_mask) RelocIterator() argument
389 RequiresRelocation(Code code) RequiresRelocation() argument
468 Code code = Code::GetCodeFromTargetAddress(code_target); Print() local
506 Code code = Code::GetCodeFromTargetAddress(addr); Verify() local
516 Code code = Code::cast(isolate->FindCodeObject(pc)); Verify() local
[all...]

Completed in 24 milliseconds

12345678910>>...209