/third_party/python/Lib/test/test_importlib/ |
H A D | test_api.py | 89 code = {'a': load_a, 'a.b': load_b} 91 with test_util.mock_spec(*modules, module_code=code) as mock: 212 def code(): function 218 module_code={'top_level': code})
|
/third_party/python/Lib/test/ |
H A D | test_trace.py | 17 ## tracing of many more code blocks. 242 code = r'''traced_func_loop(2, 5)''' 243 code = compile(code, __file__, 'exec') 244 self.tracer.runctx(code, globals(), vars())
|
H A D | test_except_star.py | 912 def __new__(cls, message, excs, code): 914 obj.code = code 918 return EG(self.message, excs, self.code) 941 self.assertEqual(veg.code, 42) 942 self.assertEqual(teg.code, 42) 943 self.assertEqual(teg.exceptions[0].code, 101)
|
/third_party/node/deps/v8/src/compiler/backend/x64/ |
H A D | instruction-selector-x64.cc | 2 // Use of this source code is governed by a BSD-style license that can be 475 InstructionCode code = opcode; in VisitLoadTransform() local 477 code |= AccessModeField::encode(kMemoryAccessProtected); in VisitLoadTransform() 479 VisitLoad(node, node, code); in VisitLoadTransform() 502 InstructionCode code = opcode | AddressingModeField::encode(mode); in VisitLoad() local 504 code |= AccessModeField::encode(kMemoryAccessProtected); in VisitLoad() 506 Emit(code, 1, outputs, input_count, inputs, temp_count, temps); in VisitLoad() 531 InstructionCode code = opcode | AddressingModeField::encode(addressing_mode) | in VisitAtomicExchange() local 533 selector->Emit(code, arraysize(outputs), outputs, arraysize(inputs), inputs); in VisitAtomicExchange() 564 InstructionCode code in VisitStoreCommon() local 618 InstructionCode code = VisitStoreCommon() local 659 InstructionCode code = opcode | AddressingModeField::encode(addressing_mode) | VisitProtectedStore() local 1135 InstructionCode code = opcode | AddressingModeField::encode(mode); TryMatchLoadWord64AndShiftRight() local 2477 InstructionCode code = opcode | AddressingModeField::encode(addressing_mode) | VisitAtomicBinop() local 2497 InstructionCode code = opcode | AddressingModeField::encode(addressing_mode) | VisitAtomicCompareExchange() local 4037 InstructionCode code = kX64F64x2PromoteLowF32x4; VisitF64x2PromoteLowF32x4() local [all...] |
/third_party/node/deps/v8/src/builtins/arm/ |
H A D | builtins-arm.cc | 2 // Use of this source code is governed by a BSD-style license that can be 8 #include "src/codegen/code-factory.h" 168 __ bkpt(0); // Unreachable code. in Generate_JSBuiltinsConstructStubHelper() 335 // Unreachable code. in Generate_JSConstructStubGeneric() 343 static void AssertCodeIsBaseline(MacroAssembler* masm, Register code, in AssertCodeIsBaseline() argument 345 DCHECK(!AreAliased(code, scratch)); in AssertCodeIsBaseline() 346 // Verify that the code kind is baseline code via the CodeKind. in AssertCodeIsBaseline() 347 __ ldr(scratch, FieldMemOperand(code, Code::kFlagsOffset)); in AssertCodeIsBaseline() 548 // r1: code entr in Generate_JSEntryVariant() 1573 Handle<Code> code = BUILTIN_CODE(masm->isolate(), ArrayConstructorImpl); Generate_InterpreterPushArgsThenConstructImpl() local 1743 int code = config->GetAllocatableGeneralCode(i); Generate_ContinueToBuiltinHelper() local 2073 Generate_CallOrConstructVarargs(MacroAssembler* masm, Handle<Code> code) Generate_CallOrConstructVarargs() argument 2140 Generate_CallOrConstructForwardVarargs(MacroAssembler* masm, CallOrConstructMode mode, Handle<Code> code) Generate_CallOrConstructForwardVarargs() argument [all...] |
/third_party/node/deps/v8/src/execution/arm/ |
H A D | simulator-arm.cc | 2 // Use of this source code is governed by a BSD-style license that can be 48 // code. 152 // Not setting the breakpoint instruction in the code itself. It will be set in SetBreakpoint() 546 PrintF(" disassemble code, default is 10 instructions\n"); in ExecDebugCommand() 572 PrintF(" stop info all/<code> : print infos about number <code>\n"); in ExecDebugCommand() 574 PrintF(" stop enable/disable all/<code> : enables / disables\n"); in ExecDebugCommand() 575 PrintF(" all or number <code> stop(s)\n"); in ExecDebugCommand() 763 // Stupid code added to avoid bug in GCC. in get_register() 766 // End stupid code in get_register() 1906 uint32_t code = svc & kStopCodeMask; SoftwareInterrupt() local 1963 isWatchedStop(uint32_t code) isWatchedStop() argument 1968 isEnabledStop(uint32_t code) isEnabledStop() argument 1975 EnableStop(uint32_t code) EnableStop() argument 1982 DisableStop(uint32_t code) DisableStop() argument 1989 IncreaseStopCounter(uint32_t code) IncreaseStopCounter() argument 2005 PrintStopInfo(uint32_t code) PrintStopInfo() argument [all...] |
/third_party/node/deps/v8/src/execution/ppc/ |
H A D | simulator-ppc.cc | 2 // Use of this source code is governed by a BSD-style license that can be 45 // PowerPC code. 122 // Not setting the breakpoint instruction in the code itself. It will be set in SetBreakpoint() 579 PrintF(" disassemble code, default is 10 instructions\n"); in Debug() 603 PrintF(" stop info all/<code> : print infos about number <code>\n"); in Debug() 605 PrintF(" stop enable/disable all/<code> : enables / disables\n"); in Debug() 606 PrintF(" all or number <code> stop(s)\n"); in Debug() 798 // Stupid code added to avoid bug in GCC. in get_register() 801 // End stupid code in get_register() 1250 uint32_t code = svc & kStopCodeMask; SoftwareInterrupt() local 1278 isWatchedStop(uint32_t code) isWatchedStop() argument 1283 isEnabledStop(uint32_t code) isEnabledStop() argument 1290 EnableStop(uint32_t code) EnableStop() argument 1297 DisableStop(uint32_t code) DisableStop() argument 1304 IncreaseStopCounter(uint32_t code) IncreaseStopCounter() argument 1320 PrintStopInfo(uint32_t code) PrintStopInfo() argument [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rtspdec.c | 42 enum RTSPStatusCode code; member 99 static int rtsp_send_reply(AVFormatContext *s, enum RTSPStatusCode code, in rtsp_send_reply() argument 105 while (status_messages[index].code) { in rtsp_send_reply() 106 if (status_messages[index].code == code) { in rtsp_send_reply() 108 code, status_messages[index].message); in rtsp_send_reply() 113 if (!status_messages[index].code) in rtsp_send_reply() 953 * called the auth code (if we didn't have any credentials set). */ in rtsp_read_packet()
|
/third_party/googletest/googletest/scripts/ |
H A D | upload.py | 10 # * Redistributions of source code must retain the above copyright 46 # This code is derived from appcfg.py in the App Engine SDK (open source), 133 def __init__(self, url, code, msg, headers, args): 134 urllib2.HTTPError.__init__(self, url, code, msg, headers, None) 222 if e.code == 403: 225 raise ClientLoginError(req.get_full_url(), e.code, e.msg, 248 if (response.code != 302 or 250 raise urllib2.HTTPError(req.get_full_url(), response.code, response.msg, 348 elif e.code == 401: 350 ## elif e.code > [all...] |
/third_party/mesa3d/src/amd/vulkan/layers/ |
H A D | radv_sqtt_layer.c | 884 uint8_t *code; in radv_add_code_object() local 890 code = malloc(shader->code_size); in radv_add_code_object() 891 if (!code) { in radv_add_code_object() 895 memcpy(code, shader->code_ptr, shader->code_size); in radv_add_code_object() 902 record->shader_data[i].code = code; in radv_add_code_object() 980 /* Destroy the code object loader record. */ in radv_unregister_pipeline() 993 /* Destroy the code object record. */ in radv_unregister_pipeline() 1004 free(record->shader_data[i].code); in radv_unregister_pipeline()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_sqtt.c | 693 free(record->shader_data[i].code); in si_destroy_thread_trace() 1047 uint8_t *code = malloc(shader->binary.uploaded_code_size); in si_sqtt_add_code_object() local 1048 if (!code) { in si_sqtt_add_code_object() 1052 memcpy(code, shader->binary.uploaded_code, shader->binary.uploaded_code_size); in si_sqtt_add_code_object() 1056 record->shader_data[gl_shader_stage].hash[0] = _mesa_hash_data(code, shader->binary.uploaded_code_size); in si_sqtt_add_code_object() 1059 record->shader_data[gl_shader_stage].code = code; in si_sqtt_add_code_object()
|
/third_party/node/lib/ |
H A D | buffer.js | 190 // and the code is inside `node_modules`. 603 // Instead, find the proper error code for this. 1048 const code = StringPrototypeCharCodeAt(value, 0); 1049 if (code < 128) { 1050 value = code; 1182 // dropping down to the native code is faster. 1197 // dropping down to the native code is faster. 1214 // dropping down to the native code is faster. 1254 const code = icuErrName(result); 1256 `Unable to transcode Buffer [${code}]`, [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-module-builder.cc | 2 // Use of this source code is governed by a BSD-style license that can be 24 // Emit a section code and the size as a padded varint that can be patched 26 size_t EmitSection(SectionCode code, ZoneBuffer* buffer) { in EmitSection() argument 27 // Emit the section code. in EmitSection() 28 buffer->write_u8(code); in EmitSection() 91 void WasmFunctionBuilder::EmitCode(const byte* code, uint32_t code_size) { in EmitCode() argument 92 body_.write(code, code_size); in EmitCode() 134 buffer->write_i32v(type.heap_type().code()); in WriteValueType() 482 buffer->write_i32v(HeapType(init.immediate().heap_type).code()); in WriteInitializerExpressionWithEnd() 511 buffer->write_i32v(type.heap_type().code()); in WriteInitializerExpressionWithEnd() [all...] |
/third_party/node/deps/v8/src/snapshot/ |
H A D | serializer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 14 #include "src/objects/code.h" 134 Code code = FromCodeT(CodeT::cast(*obj)); in SerializeObject() local 135 if (code.kind() == CodeKind::BASELINE) { in SerializeObject() 136 // For now just serialize the BytecodeArray instead of baseline code. in SerializeObject() 137 // TODO(v8:11429,pthier): Handle Baseline code in cases we want to in SerializeObject() 139 obj = handle(code.bytecode_or_interpreter_data(isolate()), isolate()); in SerializeObject() 399 Code Serializer::CopyCode(Code code) { in CopyCode() argument 401 int size = code.CodeSize(); in CopyCode() 403 reinterpret_cast<byte*>(code in CopyCode() [all...] |
/third_party/node/deps/openssl/openssl/crypto/sha/asm/ |
H A D | keccak1600-ppc64.pl | 36 # over gcc-4.x-generated KECCAK_1X_ALT code. Newer compilers do 37 # much better (but watch out for them generating code specific 80 $code.=<<___; 104 $code.=<<___; 155 $code.=<<___; 638 $code.=<<___; 718 $code.=<<___; 760 $code =~ s/\`([^\`]*)\`/eval $1/gem; 761 print $code;
|
/third_party/openssl/crypto/sha/asm/ |
H A D | keccak1600-ppc64.pl | 36 # over gcc-4.x-generated KECCAK_1X_ALT code. Newer compilers do 37 # much better (but watch out for them generating code specific 80 $code.=<<___; 104 $code.=<<___; 155 $code.=<<___; 638 $code.=<<___; 718 $code.=<<___; 760 $code =~ s/\`([^\`]*)\`/eval $1/gem; 761 print $code;
|
/third_party/python/Python/ |
H A D | codecs.c | 1128 int code; in PyCodec_SurrogatePassErrors() local 1152 code = get_standard_encoding(encoding, &bytelength); in PyCodec_SurrogatePassErrors() 1154 if (code == ENC_UNKNOWN) { in PyCodec_SurrogatePassErrors() 1179 switch (code) { in PyCodec_SurrogatePassErrors() 1231 code = get_standard_encoding(encoding, &bytelength); in PyCodec_SurrogatePassErrors() 1233 if (code == ENC_UNKNOWN) { in PyCodec_SurrogatePassErrors() 1244 switch (code) { in PyCodec_SurrogatePassErrors() 1249 /* it's a three-byte code */ in PyCodec_SurrogatePassErrors()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_pipeline.c | 130 * with certain code / code generators. in anv_shader_stage_to_nir() 466 * code to workaround the issue that hardware disables alpha to coverage in populate_wm_prog_key() 476 * harmless to compute it and then let dead-code take care of it. in populate_wm_prog_key() 542 const unsigned *code; member 833 vs_stage->code = brw_compile_vs(compiler, mem_ctx, ¶ms); in anv_pipeline_compile_vs() 925 tcs_stage->code = brw_compile_tcs(compiler, mem_ctx, ¶ms); in anv_pipeline_compile_tcs() 960 tes_stage->code = brw_compile_tes(compiler, mem_ctx, ¶ms); in anv_pipeline_compile_tes() 994 gs_stage->code = brw_compile_gs(compiler, mem_ctx, ¶ms); in anv_pipeline_compile_gs() 1023 task_stage->code in anv_pipeline_compile_task() [all...] |
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitNativeARM_64.c | 9 * 1. Redistributions of source code must retain the above copyright notice, this list of 161 static SLJIT_INLINE sljit_sw detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) in detect_jump_type() argument 175 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 234 sljit_ins *code; in sljit_generate_code() local 253 code = (sljit_ins*)SLJIT_MALLOC_EXEC(compiler->size * sizeof(sljit_ins), compiler->exec_allocator_data); in sljit_generate_code() 254 PTR_FAIL_WITH_EXEC_IF(code); in sljit_generate_code() 257 code_ptr = code; in sljit_generate_code() 260 executable_offset = SLJIT_EXEC_OFFSET(code); in sljit_generate_code() 281 label->size = (sljit_uw)(code_ptr - code); in sljit_generate_code() 286 code_ptr -= detect_jump_type(jump, code_ptr, code, executable_offse in sljit_generate_code() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | amrnbdec.c | 89 * The specification says 0.8, which should be 13107, but the reference C code 120 float pitch_vector[AMR_SUBFRAME_SIZE]; ///< adaptive code book (pitch) vector 439 /// @name AMR algebraic code book (fixed) vector decoding functions 445 static void decode_10bit_pulse(int code, int pulse_position[8], in decode_10bit_pulse() argument 450 const uint8_t *positions = base_five_table[code >> 3]; in decode_10bit_pulse() 451 pulse_position[i1] = (positions[2] << 1) + ( code & 1); in decode_10bit_pulse() 452 pulse_position[i2] = (positions[1] << 1) + ((code >> 1) & 1); in decode_10bit_pulse() 453 pulse_position[i3] = (positions[0] << 1) + ((code >> 2) & 1); in decode_10bit_pulse()
|
H A D | rv10.c | 86 int code; in ff_rv_decode_dc() local 89 code = get_vlc2(&s->gb, rv_dc_lum.table, DC_VLC_BITS, 2); in ff_rv_decode_dc() 91 code = get_vlc2(&s->gb, rv_dc_chrom.table, DC_VLC_BITS, 2); in ff_rv_decode_dc() 92 if (code < 0) { in ff_rv_decode_dc() 97 return code; in ff_rv_decode_dc()
|
/third_party/elfutils/libdw/ |
H A D | libdwP.h | 260 unsigned int code : 31; /* The (unique) abbrev code. */ member 667 /* Get abbreviation with given code. */ 669 unsigned int code) 679 just past the abbreviation code. */ 684 /* Do we need to get the abbreviation, or need to read after the code? */ in __libdw_dieabbrev() 687 /* Get the abbreviation code. */ in __libdw_dieabbrev() 688 unsigned int code; in __libdw_dieabbrev() local 693 get_uleb128 (code, addr, die->cu->endp); in __libdw_dieabbrev() 699 die->abbrev = __libdw_findabbrev (die->cu, code); in __libdw_dieabbrev() [all...] |
/third_party/benchmark/tools/gbench/ |
H A D | report.py | 15 def __init__(self, name, code): 17 self.code = code 21 (self.name, self.code)) 24 return self.code
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationRuleParser.java | 715 int code = getReorderCode(word); in parseReordering() 716 if(code < 0) { in parseReordering() 717 setParseError("unknown script or reorder code"); in parseReordering() 720 reorderCodes.add(code); in parseReordering() 728 for(Integer code : reorderCodes) { codes[j++] = code; } in parseReordering() 738 * Gets a script or reorder code from its string representation. 739 * @return the script/reorder code, or 858 // Note: This relies on the calling code maintaining the ruleIndex in appendErrorContext()
|
/third_party/icu/icu4c/source/layoutex/ |
H A D | ParagraphLayout.cpp | 947 char code[8] = {0, 0, 0, 0, 0, 0, 0, 0}; in getLanguageCode() local 951 uprv_strcat(code, language); in getLanguageCode() 954 uprv_strcat(code, "_"); in getLanguageCode() 955 uprv_strcat(code, country); in getLanguageCode() 959 if (uprv_strcmp(code, languageMap[i].localeCode) == 0) { in getLanguageCode()
|