/third_party/node/deps/v8/src/objects/ |
H A D | code.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "src/objects/code.h" 20 #include "src/objects/code-kind.h" 27 #include "src/codegen/code-comments.h" 41 HeapObject code) { in EmbeddedDataWithMaybeRemappedEmbeddedBuiltins() 45 return EmbeddedData::FromBlob(GetIsolateFromWritableObject(code)); in EmbeddedDataWithMaybeRemappedEmbeddedBuiltins() 65 Address OffHeapInstructionStart(HeapObject code, Builtin builtin) { in OffHeapInstructionStart() argument 68 EmbeddedData d = EmbeddedDataWithMaybeRemappedEmbeddedBuiltins(code); in OffHeapInstructionStart() 72 Address OffHeapInstructionEnd(HeapObject code, Builtin builtin) { in OffHeapInstructionEnd() argument 73 EmbeddedData d = EmbeddedDataWithMaybeRemappedEmbeddedBuiltins(code); in OffHeapInstructionEnd() 40 EmbeddedDataWithMaybeRemappedEmbeddedBuiltins( HeapObject code) EmbeddedDataWithMaybeRemappedEmbeddedBuiltins() argument 78 OffHeapInstructionSize(HeapObject code, Builtin builtin) OffHeapInstructionSize() argument 83 OffHeapMetadataStart(HeapObject code, Builtin builtin) OffHeapMetadataStart() argument 88 OffHeapMetadataEnd(HeapObject code, Builtin builtin) OffHeapMetadataEnd() argument 93 OffHeapMetadataSize(HeapObject code, Builtin builtin) OffHeapMetadataSize() argument 98 OffHeapSafepointTableAddress(HeapObject code, Builtin builtin) OffHeapSafepointTableAddress() argument 103 OffHeapSafepointTableSize(HeapObject code, Builtin builtin) OffHeapSafepointTableSize() argument 108 OffHeapHandlerTableAddress(HeapObject code, Builtin builtin) OffHeapHandlerTableAddress() argument 113 OffHeapHandlerTableSize(HeapObject code, Builtin builtin) OffHeapHandlerTableSize() argument 118 OffHeapConstantPoolAddress(HeapObject code, Builtin builtin) OffHeapConstantPoolAddress() argument 123 OffHeapConstantPoolSize(HeapObject code, Builtin builtin) OffHeapConstantPoolSize() argument 128 OffHeapCodeCommentsAddress(HeapObject code, Builtin builtin) OffHeapCodeCommentsAddress() argument 133 OffHeapCodeCommentsSize(HeapObject code, Builtin builtin) OffHeapCodeCommentsSize() argument 138 OffHeapUnwindingInfoAddress(HeapObject code, Builtin builtin) OffHeapUnwindingInfoAddress() argument 143 OffHeapUnwindingInfoSize(HeapObject code, Builtin builtin) OffHeapUnwindingInfoSize() argument 202 Code code = FromCodeT(CodeT::cast(*p)); RelocateFromDesc() local 473 DisassembleCodeRange(Isolate* isolate, std::ostream& os, Code code, Address begin, size_t size, Address current_pc) DisassembleCodeRange() argument 752 InstallDependency(Isolate* isolate, Handle<Code> code, Handle<HeapObject> object, DependencyGroups groups) InstallDependency() argument 772 InsertWeakCode( Isolate* isolate, Handle<DependentCode> entries, DependencyGroups groups, Handle<Code> code) InsertWeakCode() argument 789 New(Isolate* isolate, DependencyGroups groups, Handle<Code> code) New() argument [all...] |
H A D | js-display-names.cc | 2 // Use of this source code is governed by a BSD-style license that can be 83 const char* code) const = 0; 128 const char* code) const override { 130 // 1.a If code does not match the unicode_language_id production, throw a 133 // 1.b If IsStructurallyValidLanguageTag(code) is false, throw a RangeError 136 icu::Locale(icu::Locale::forLanguageTag(code, status).getBaseName()); 137 // 1.c Set code to CanonicalizeUnicodeLocaleId(code). 165 const char* code) const override { 166 std::string code_str(code); 297 StringToUDateTimePatternField(const char* code) StringToUDateTimePatternField() argument 600 Handle<String> code; Of() local [all...] |
/test/xts/acts/storage/storagefileiov9jstest/entry/src/ohosTest/js/test/members/ |
H A D | stat.test.js | 53 console.log('fileIO_stat_sync_000 has failed for ' + e.message + ', code: ' + e.code); 75 console.log('fileIO_stat_sync_001 has failed for ' + e.message + ', code: ' + e.code); 76 expect(e.code == 13900002 && e.message == 'No such file or directory').assertTrue(); 95 console.log('fileIO_stat_sync_002 has failed for ' + e.message + ', code: ' + e.code); 96 expect(e.code == 13900020 && e.message == 'Invalid argument').assertTrue(); 124 console.log('fileIO_stat_sync_ino_000 has failed for ' + e.message + ', code: ' + e.code); [all...] |
/third_party/node/deps/npm/node_modules/chalk/source/vendor/ansi-styles/ |
H A D | index.js | 3 const wrapAnsi16 = (offset = 0) => code => `\u001B[${code + offset}m`; 5 const wrapAnsi256 = (offset = 0) => code => `\u001B[${38 + offset};5;${code}m`; 164 value(code) { 165 if (code < 8) { 166 return 30 + code; 169 if (code < 16) { 170 return 90 + (code - 8); 177 if (code > [all...] |
/third_party/node/deps/npm/node_modules/ansi-styles/ |
H A D | index.js | 3 const wrapAnsi16 = (offset = 0) => code => `\u001B[${code + offset}m`; 5 const wrapAnsi256 = (offset = 0) => code => `\u001B[${38 + offset};5;${code}m`; 164 value: code => { 165 if (code < 8) { 166 return 30 + code; 169 if (code < 16) { 170 return 90 + (code - 8); 177 if (code > [all...] |
/kernel/linux/linux-5.10/sound/core/seq/oss/ |
H A D | seq_oss_event.h | 20 unsigned char code; member 28 unsigned char code; member 36 unsigned char code; member 44 unsigned char code; member 53 unsigned char code; member 63 unsigned char code; member 73 unsigned char code; member 91 #define ev_is_long(ev) ((ev)->s.code >= 128) 92 #define ev_length(ev) ((ev)->s.code >= 128 ? LONG_EVENT_SIZE : SHORT_EVENT_SIZE)
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | filter.h | 14 * Current version of the filter code architecture. 21 * the BPF code definitions which need to match so you can share filters 25 __u16 code; /* Actual filter code */ member 37 #define BPF_RVAL(code) ((code) & 0x18) 41 #define BPF_MISCOP(code) ((code) & 0xf8) 49 #define BPF_STMT(code, k) { (unsigned short)(code), [all...] |
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | filter.h | 14 * Current version of the filter code architecture. 21 * the BPF code definitions which need to match so you can share filters 25 __u16 code; /* Actual filter code */ member 37 #define BPF_RVAL(code) ((code) & 0x18) 41 #define BPF_MISCOP(code) ((code) & 0xf8) 49 #define BPF_STMT(code, k) { (unsigned short)(code), [all...] |
/kernel/linux/linux-6.6/sound/core/seq/oss/ |
H A D | seq_oss_event.h | 20 unsigned char code; member 28 unsigned char code; member 36 unsigned char code; member 44 unsigned char code; member 53 unsigned char code; member 63 unsigned char code; member 73 unsigned char code; member 91 #define ev_is_long(ev) ((ev)->s.code >= 128) 92 #define ev_length(ev) ((ev)->s.code >= 128 ? LONG_EVENT_SIZE : SHORT_EVENT_SIZE)
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | filter.h | 27 __u16 code; member 36 #define BPF_RVAL(code) ((code) & 0x18) 38 #define BPF_MISCOP(code) ((code) & 0xf8) 42 #define BPF_STMT(code,k) { (unsigned short) (code), 0, 0, k } 45 #define BPF_JUMP(code,k,jt,jf) { (unsigned short) (code), jt, jf, k }
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | filter.h | 27 __u16 code; member 36 #define BPF_RVAL(code) ((code) & 0x18) 38 #define BPF_MISCOP(code) ((code) & 0xf8) 42 #define BPF_STMT(code,k) { (unsigned short) (code), 0, 0, k } 45 #define BPF_JUMP(code,k,jt,jf) { (unsigned short) (code), jt, jf, k }
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | filter.h | 15 __u16 code; member 24 #define BPF_RVAL(code) ((code) & 0x18) 26 #define BPF_MISCOP(code) ((code) & 0xf8) 30 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } 33 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k }
|
/third_party/python/Lib/ |
H A D | runpy.py | 1 """runpy.py - locating and running Python code using the module namespace 6 This allows Python code to play nicely with non-filesystem based PEP 302 65 def _run_code(code, run_globals, init_globals=None, 68 """Helper to run code in nominated namespace""" 88 exec(code, run_globals) 91 def _run_module_code(code, init_globals=None, 94 """Helper to run code in new namespace with sys modified""" 98 _run_code(code, mod_globals, init_globals, 104 # Helper to get the full name, spec and code for a module 159 code [all...] |
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventndktest/entry/src/main/cpp/ |
H A D | hiappeventndk.cpp | 266 int32_t code = OH_HiAppEvent_SetAppEventFilter(watcher, "testDomain", 0b1000, {}, 0); in SetAppEventFilter() local 268 napi_create_int32(env, code, &ret); in SetAppEventFilter() 276 int32_t code = OH_HiAppEvent_SetAppEventFilter(watcher, "nullptr", 0b1000, {}, 1); in SetAppEventFilterInvName() local 278 napi_create_int32(env, code, &ret); in SetAppEventFilterInvName() 286 int32_t code = OH_HiAppEvent_SetAppEventFilter(watcher, nullptr, 0b1000, {}, 0); in SetAppEventFilterInvDomain() local 288 napi_create_int32(env, code, &ret); in SetAppEventFilterInvDomain() 296 int32_t code = OH_HiAppEvent_SetAppEventFilter(watcher, "testDomain", 0b1000, {}, 0); in SetAppEventFilterInvWatcher() local 298 napi_create_int32(env, code, &ret); in SetAppEventFilterInvWatcher() 306 int32_t code = OH_HiAppEvent_SetTriggerCondition(watcher, 1, 0, 0); in SetTriggerCondition() local 308 napi_create_int32(env, code, in SetTriggerCondition() 316 int32_t code = OH_HiAppEvent_SetTriggerCondition(watcher, 1, 0, 0); SetTriggerConditionInvWatcher() local 326 int32_t code = OH_HiAppEvent_SetWatcherOnTrigger(watcher, OnTrigger); SetWatcherOnTrigger() local 336 int32_t code = OH_HiAppEvent_SetWatcherOnTrigger(watcher, OnTrigger); SetWatcherOnTriggerInvWatcher() local 346 int32_t code = OH_HiAppEvent_SetWatcherOnReceive(watcher, OnReceiver); SetWatcherOnReceive() local 356 int32_t code = OH_HiAppEvent_SetWatcherOnReceive(watcher, OnReceiver); SetWatcherOnReceiveInvWatcher() local 367 int32_t code = OH_HiAppEvent_TakeWatcherData(watcher, 1, OnTake); TakeWatcherData() local 378 int32_t code = OH_HiAppEvent_TakeWatcherData(watcher, 1, OnTake); TakeWatcherDataInvWatcher() local 387 int32_t code = OH_HiAppEvent_TakeWatcherData(watcher, 1, OnTake); TakeWatcherDataInvOperation() local 397 int32_t code = OH_HiAppEvent_AddWatcher(watcher); AddWatcher() local 407 int32_t code = OH_HiAppEvent_AddWatcher(watcher); AddWatcherInvWatcher() local 418 int32_t code = OH_HiAppEvent_RemoveWatcher(watcher); RemoveWatcher() local 429 int32_t code = OH_HiAppEvent_RemoveWatcher(watcher); RemoveWatcherInvWatcher() local 439 int32_t code = OH_HiAppEvent_RemoveWatcher(watcher); RemoveWatcherInvOperation() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/rc4/asm/ |
H A D | rc4-x86_64.pl | 35 # Opteron... For reference, 1x in this case is RC4_CHAR C-code 42 # Intel P4 EM64T core was found to run the AMD64 code really slow... 45 # compose blended code, which would perform even within 30% marginal 59 # provided that loads are reordered even more aggressively! Both code 64 # If executed on Xeon, current RC4_CHAR code-path is 2.7x faster than 65 # RC4_INT code-path. While if executed on Opteron, it's only 25% 67 # is not implemented, then this final RC4_CHAR code-path should be 72 # Intel Core2 was observed to perform poorly on both code paths:-( It 77 # fit for Core2 and therefore the code was modified to skip cloop8 on 88 # The only code pat [all...] |
/third_party/python/Tools/scripts/ |
H A D | deepfreeze.py | 48 def get_localsplus(code: types.CodeType): 50 for name in code.co_varnames: 52 for name in code.co_cellvars: 54 for name in code.co_freevars: 59 def get_localsplus_counts(code: types.CodeType, 77 assert nlocals == len(code.co_varnames) == code.co_nlocals, \ 78 (nlocals, len(code.co_varnames), code.co_nlocals) 79 assert ncellvars == len(code [all...] |
/third_party/openssl/crypto/rc4/asm/ |
H A D | rc4-x86_64.pl | 35 # Opteron... For reference, 1x in this case is RC4_CHAR C-code 42 # Intel P4 EM64T core was found to run the AMD64 code really slow... 45 # compose blended code, which would perform even within 30% marginal 59 # provided that loads are reordered even more aggressively! Both code 64 # If executed on Xeon, current RC4_CHAR code-path is 2.7x faster than 65 # RC4_INT code-path. While if executed on Opteron, it's only 25% 67 # is not implemented, then this final RC4_CHAR code-path should be 72 # Intel Core2 was observed to perform poorly on both code paths:-( It 77 # fit for Core2 and therefore the code was modified to skip cloop8 on 88 # The only code pat [all...] |
/third_party/python/Lib/test/ |
H A D | test_code.py | 1 """This module includes tests of the code object representation. 20 consts: ('None', '<code object g>') 154 if r.startswith("<code object"): 155 yield "<code object %s>" % elt.co_name 160 """Print out a text representation of a code object.""" 181 #Empty code object should raise, but not crash the VM 194 '''A new code object with a __class__ cell added to freevars''' 198 code = new_code(f.__code__) 202 setattr(cls, name, FunctionType(code, globals(), name, defaults, closure)) 223 # test code constructo [all...] |
H A D | test_atexit.py | 19 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...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vlc.c | 94 uint32_t code; member 120 return (sa->code >> 1) - (sb->code >> 1); in compare_vlcspec() 135 * Sorting by VLCcode.code is sufficient, though not necessary. 155 uint32_t code = codes[i].code; in build_table() local 157 ff_dlog(NULL, "i=%d n=%d code=0x%"PRIx32"\n", i, n, code); in build_table() 160 int j = code >> (32 - table_nb_bits); in build_table() 165 j = bitswap_32(code); in build_table() 334 uint64_t code; ff_init_vlc_from_lengths() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-dgram-send-bad-arguments.js | 36 code: 'ERR_INVALID_ARG_TYPE', 48 code: 'ERR_SOCKET_DGRAM_IS_CONNECTED', 57 code: 'ERR_SOCKET_DGRAM_IS_CONNECTED', 66 code: 'ERR_SOCKET_DGRAM_IS_CONNECTED', 75 code: 'ERR_SOCKET_DGRAM_IS_CONNECTED', 97 code: 'ERR_BUFFER_OUT_OF_BOUNDS', 106 code: 'ERR_BUFFER_OUT_OF_BOUNDS', 115 code: 'ERR_BUFFER_OUT_OF_BOUNDS', 131 code: 'ERR_INVALID_ARG_TYPE', 142 code [all...] |
H A D | test-process-emitwarning.js | 17 if (warning.code) assert.strictEqual(warning.code, testCode); 26 this.code = testCode; 38 [testMsg, { type: testType, code: testCode }], 39 [testMsg, { type: testType, code: testCode, detail: testDetail }], 42 [testMsg, { type: testType, code: testCode, detail: true }], 43 [testMsg, { type: testType, code: testCode, detail: [] }], 44 [testMsg, { type: testType, code: testCode, detail: null }], 45 [testMsg, { type: testType, code: testCode, detail: 1 }], 79 { code [all...] |
/third_party/libinput/test/ |
H A D | litest-device-apple-appletouch.c | 30 { .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...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | static_call.c | 58 const void *code; in __static_call_transform() local 67 code = text_gen_insn(CALL_INSN_OPCODE, insn, func); in __static_call_transform() 69 emulate = code; in __static_call_transform() 70 code = &xor5rax; in __static_call_transform() 76 code = x86_nops[5]; in __static_call_transform() 80 code = text_gen_insn(JMP32_INSN_OPCODE, insn, func); in __static_call_transform() 85 code = text_gen_insn(JMP32_INSN_OPCODE, insn, x86_return_thunk); in __static_call_transform() 87 code = &retinsn; in __static_call_transform() 99 code = buf; in __static_call_transform() 105 if (memcmp(insn, code, siz in __static_call_transform() [all...] |
/test/xts/acts/powermgr/battery_manager/entry/src/ohosTest/js/test/ |
H A D | system_battery.test.js | 32 function failFunc(data, code, tag) { 33 console.log(tag + ": data: " + data + ", code: " + code); 57 fail: (data, code) => { 58 failFunc(data, code, successTest); 78 fail: (data, code) => { 79 failFunc(data, code, successNullTest); 98 fail: (data, code) => { 99 failFunc(data, code, successEmptyTest); 162 fail: (data, code) [all...] |