Home
last modified time | relevance | path

Searched refs:code (Results 4251 - 4275 of 5334) sorted by relevance

1...<<171172173174175176177178179180>>...214

/third_party/ffmpeg/libavcodec/
H A Dmpeg4videodec.c714 int level, code; in mpeg4_decode_dc() local
717 code = get_vlc2(&s->gb, dc_lum.table, DC_VLC_BITS, 1); in mpeg4_decode_dc()
719 code = get_vlc2(&s->gb, dc_chrom.table, DC_VLC_BITS, 1); in mpeg4_decode_dc()
721 if (code < 0 || code > 9 /* && s->nbit < 9 */) { in mpeg4_decode_dc()
726 if (code == 0) { in mpeg4_decode_dc()
730 if (code == 1) in mpeg4_decode_dc()
734 level = get_bits(&s->gb, code - 1) + (1 << (code - 1)); in mpeg4_decode_dc()
736 level = -get_bits(&s->gb, code in mpeg4_decode_dc()
1895 int cc, dct_dc_size, dct_diff, code, j, idx = 1, group = 0, run = 0, mpeg4_decode_studio_block() local
[all...]
H A Dmpegaudiodec_template.c591 /* XXX: find a way to avoid this duplication of code */ in mp_decode_layer2()
735 /* Following is an optimized code for
847 int pos, code; in huffman_decode() local
866 code = get_vlc2(&s->gb, vlc->table, vlc->bits, 1); in huffman_decode()
867 ff_dlog(s->avctx, "t=%d code=%d\n", g->count1table_select, code); in huffman_decode()
872 while (code) { in huffman_decode()
875 int pos = s_index + idxtab[code]; in huffman_decode()
876 code ^= 8 >> idxtab[code]; in huffman_decode()
[all...]
H A Ddca_xll.c80 int code, sign, coeff, scale, scale_inv = 0; in parse_dmix_coeffs() local
85 code = get_bits(&s->gb, 9); in parse_dmix_coeffs()
86 sign = (code >> 8) - 1; in parse_dmix_coeffs()
87 index = (code & 0xff) - FF_DCA_DMIXTABLE_OFFSET; in parse_dmix_coeffs()
100 code = get_bits(&s->gb, 9); in parse_dmix_coeffs()
101 sign = (code >> 8) - 1; in parse_dmix_coeffs()
102 index = code & 0xff; in parse_dmix_coeffs()
462 // 0 - linear code, 1 - Rice code in chs_parse_band_data()
465 // 0 - Rice code, in chs_parse_band_data()
[all...]
/third_party/node/deps/v8/src/codegen/x64/
H A Dassembler-x64.cc2 // Use of this source code is governed by a BSD-style license that can be
119 // code above would set AVX to supported, and SSE4_2 to unsupported, then the in ProbeImpl()
218 int code = reg.code(); in AddressUsesRegister() local
223 if (base_code == rsp.code()) { in AddressUsesRegister()
227 // Index code (including REX.X) of 0x04 (rsp) means no index register. in AddressUsesRegister()
228 if (index_code != rsp.code() && index_code == code) return true; in AddressUsesRegister()
229 // Add REX.B to get the full base register code. in AddressUsesRegister()
232 if (base_code == rbp.code() in AddressUsesRegister()
598 emit_operand(int code, Operand adr) emit_operand() argument
[all...]
/third_party/pcre2/pcre2/src/sljit/
H A DsljitNativeRISCV_common.c9 * 1. Redistributions of source code must retain the above copyright notice, this list of
166 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code, sljit_sw executable_offset) in detect_jump_type() argument
181 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
376 sljit_ins *code; in sljit_generate_code() local
394 code = (sljit_ins*)SLJIT_MALLOC_EXEC(compiler->size * sizeof(sljit_ins), compiler->exec_allocator_data); in sljit_generate_code()
395 PTR_FAIL_WITH_EXEC_IF(code); in sljit_generate_code()
398 code_ptr = code; in sljit_generate_code()
401 executable_offset = SLJIT_EXEC_OFFSET(code); in sljit_generate_code()
422 label->size = (sljit_uw)(code_ptr - code); in sljit_generate_code()
432 code_ptr = detect_jump_type(jump, code, executable_offse in sljit_generate_code()
[all...]
H A DsljitNativeARM_T2_32.c9 * 1. Redistributions of source code must retain the above copyright notice, this list of
255 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_u16 *code_ptr, sljit_u16 *code, sljit_sw executable_offset) in detect_jump_type() argument
263 /* Branch to ARM code is not optimized yet. */ in detect_jump_type()
270 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1; in detect_jump_type()
378 sljit_u16 *code; in sljit_generate_code() local
395 code = (sljit_u16*)SLJIT_MALLOC_EXEC(compiler->size * sizeof(sljit_u16), compiler->exec_allocator_data); in sljit_generate_code()
396 PTR_FAIL_WITH_EXEC_IF(code); in sljit_generate_code()
399 code_ptr = code; in sljit_generate_code()
402 executable_offset = SLJIT_EXEC_OFFSET(code); in sljit_generate_code()
423 label->size = (sljit_uw)(code_ptr - code); in sljit_generate_code()
[all...]
/third_party/python/Lib/
H A Dinspect.py5 It also provides some help for examining source code and class layout.
14 getfile(), getsourcefile(), getsource() - find an object's source code
156 # Create constants for the compiler flags in Include/code.h
384 __code__ code object containing compiled function bytecode
393 wrapper wrapping a function) whose code object has the given ``flag``
435 gi_code code object
462 tb_lineno current line number in Python source code
472 f_code code object being executed in this frame
475 f_lineno current line number in Python source code
481 """Return true if the object is a code objec
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/
H A Ddrv_symc_v200.c615 hi_u32 code; in drv_symc_get_err_code() local
619 /* check error code in drv_symc_get_err_code()
626 code = symc_read(CALC_ERR); in drv_symc_get_err_code()
627 if (code & KLAD_KEY_USE_ERR) { in drv_symc_get_err_code()
630 if (code & ALG_LEN_ERR) { in drv_symc_get_err_code()
633 if (code & SMMU_PAGE_INVALID) { in drv_symc_get_err_code()
636 if (code & OUT_SMMU_PAGE_NOT_VALID) { in drv_symc_get_err_code()
639 if (code & KLAD_KEY_WRITE_ERR) { in drv_symc_get_err_code()
/third_party/lwip/src/core/ipv6/
H A Dnd6.c16 * 1. Redistributions of source code must retain the above copyright notice,
225 * Deprecation is left to the timer code where it is handled anyway. */ in nd6_process_autoconfig_prefix()
319 if (IP6H_HOPLIM(ip6_current_header()) != ND6_HOPLIM || na_hdr->code != 0 || in nd6_input()
450 if (IP6H_HOPLIM(ip6_current_header()) != ND6_HOPLIM || ns_hdr->code != 0 || in nd6_input()
577 IP6H_HOPLIM(ip6_current_header()) != ND6_HOPLIM || ra_hdr->code != 0) { in nd6_input()
830 redir_hdr->code != 0 || ip6_addr_ismulticast(&destination_address)) { in nd6_input()
1333 ns_hdr->code = 0;
1403 na_hdr->code = 0;
1483 rs_hdr->code = 0;
/third_party/lz4/lib/
H A Dlz4frame.c11 * - Redistributions of source code must retain the above copyright
290 unsigned LZ4F_isError(LZ4F_errorCode_t code) in LZ4F_isError() argument
292 return (code > (LZ4F_errorCode_t)(-LZ4F_ERROR_maxCode)); in LZ4F_isError()
295 const char* LZ4F_getErrorName(LZ4F_errorCode_t code) in LZ4F_getErrorName() argument
297 static const char* codeError = "Unspecified error code"; in LZ4F_getErrorName()
298 if (LZ4F_isError(code)) return LZ4F_errorStrings[-(int)(code)]; in LZ4F_getErrorName()
308 static LZ4F_errorCode_t LZ4F_returnErrorCode(LZ4F_errorCodes code) in LZ4F_returnErrorCode() argument
312 return (LZ4F_errorCode_t)-(ptrdiff_t)code; in LZ4F_returnErrorCode()
418 * or an error code i
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dcompilation-dependencies.cc2 // Use of this source code is governed by a BSD-style license that can be
122 void InstallAll(Isolate* isolate, Handle<Code> code) { in InstallAll() argument
124 InstallAllPredictable(isolate, code); in InstallAll()
132 DependentCode::InstallDependency(isolate, code, o_and_g.first, in InstallAll()
137 void InstallAllPredictable(Isolate* isolate, Handle<Code> code) { in InstallAllPredictable() argument
153 DependentCode::InstallDependency(isolate, code, o_and_g.first, in InstallAllPredictable()
1182 bool CompilationDependencies::Commit(Handle<Code> code) { in Commit() argument
1203 pending_deps.InstallAll(broker_->isolate(), code); in Commit()
1215 // 1. once the code gets executed it will do a stack check that triggers its in Commit()
/third_party/node/deps/openssl/openssl/crypto/aes/asm/
H A Daes-sparcv9.pl32 # the code turned out to run in ~23 cycles per processed byte en-/
33 # decrypted with 128-bit key. This is pretty good result for code
35 # generated code my encrypt procedure runs just few percents faster,
37 # optimal decrypt procedure]. Compared to GNU C generated code both
81 while(defined($i=shift)) { $code.=sprintf"\t.long\t0x%08x,0x%08x\n",$i,$i; }
84 $code.=<<___;
164 $code.=<<___;
641 $code.=<<___;
710 $code.=<<___;
1191 $code
[all...]
/third_party/node/deps/openssl/openssl/crypto/poly1305/asm/
H A Dpoly1305-armv4.pl50 $code.=<<___;
57 .code 32
180 $code.=<<___;
346 $code.=<<___;
449 $code.=<<___;
1238 $code.=<<___;
1246 foreach (split("\n",$code)) {
H A Dpoly1305-sparcv9.pl31 # (*) Comparison to compiler-generated code is really problematic,
54 $code.=<<___;
286 $code.=<<___;
374 $code.=<<___;
461 $code.=<<___;
924 $code.=<<___;
1027 $code.=<<___;
1110 foreach (split("\n",$code)) {
/third_party/openssl/crypto/aes/asm/
H A Daes-sparcv9.pl32 # the code turned out to run in ~23 cycles per processed byte en-/
33 # decrypted with 128-bit key. This is pretty good result for code
35 # generated code my encrypt procedure runs just few percents faster,
37 # optimal decrypt procedure]. Compared to GNU C generated code both
81 while(defined($i=shift)) { $code.=sprintf"\t.long\t0x%08x,0x%08x\n",$i,$i; }
84 $code.=<<___;
164 $code.=<<___;
641 $code.=<<___;
710 $code.=<<___;
1191 $code
[all...]
/third_party/openssl/crypto/poly1305/asm/
H A Dpoly1305-armv4.pl50 $code.=<<___;
57 .code 32
180 $code.=<<___;
346 $code.=<<___;
449 $code.=<<___;
1238 $code.=<<___;
1246 foreach (split("\n",$code)) {
H A Dpoly1305-sparcv9.pl31 # (*) Comparison to compiler-generated code is really problematic,
54 $code.=<<___;
286 $code.=<<___;
374 $code.=<<___;
461 $code.=<<___;
924 $code.=<<___;
1027 $code.=<<___;
1110 foreach (split("\n",$code)) {
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSpecConstantTests.cpp199 std::string globalCode; //!< generic shader code outside the main function (e.g. declarations)
200 std::string mainCode; //!< generic shader code to execute in main (e.g. assignments)
284 std::ostringstream code; in generateSpecConstantCode() local
291 code << decl << "\n"; in generateSpecConstantCode()
293 code << "\n"; in generateSpecConstantCode()
294 return code.str(); in generateSpecConstantCode()
299 std::ostringstream code; in generateSSBOCode() local
300 code << "layout (set = 0, binding = 0, std430) writeonly buffer Output {\n" in generateSSBOCode()
304 return code.str(); in generateSSBOCode()
1978 //! This code wil
[all...]
/third_party/skia/third_party/externals/libwebp/swig/
H A Dlibwebp_java_wrap.c154 SWIG_JavaExceptionCodes code; member
159 static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) { in SWIG_JavaThrowException() argument
175 while (except_ptr->code != code && except_ptr->code) in SWIG_JavaThrowException()
207 SWIGINTERN void SWIG_JavaException(JNIEnv *jenv, int code, const char *msg) { in SWIG_JavaException() argument
209 switch(code) { in SWIG_JavaException()
/third_party/python/Lib/test/test_import/
H A D__init__.py454 # bpo 38091: this is a hack to slow down the code that calls
624 # Test that the `co_filename` attribute on code objects always points
699 code = marshal.load(f)
700 constants = list(code.co_consts)
704 code = code.replace(co_consts=tuple(constants))
707 marshal.dump(code, f)
850 # other code will need to change, so keep this test as a tripwire.
1152 code = tb.tb_frame.f_code
1153 fn = code
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineSpecConstantTests.cpp196 std::string globalCode; //!< generic shader code outside the main function (e.g. declarations)
197 std::string mainCode; //!< generic shader code to execute in main (e.g. assignments)
281 std::ostringstream code; in generateSpecConstantCode() local
288 code << decl << "\n"; in generateSpecConstantCode()
290 code << "\n"; in generateSpecConstantCode()
291 return code.str(); in generateSpecConstantCode()
296 std::ostringstream code; in generateSSBOCode() local
297 code << "layout (set = 0, binding = 0, std430) writeonly buffer Output {\n" in generateSSBOCode()
301 return code.str(); in generateSSBOCode()
1965 //! This code wil
[all...]
/third_party/libinput/src/
H A Dlibinput.c232 uint32_t code; member
1715 uint32_t code) in libinput_tablet_tool_has_button()
1717 if (NCHARS(code) > sizeof(tool->buttons)) in libinput_tablet_tool_has_button()
1720 return bit_is_set(tool->buttons, code); in libinput_tablet_tool_has_button()
2984 .key.code = key, in tablet_pad_notify_key()
3341 libinput_device_pointer_has_button(struct libinput_device *device, uint32_t code) in libinput_device_pointer_has_button() argument
3343 return evdev_device_has_button((struct evdev_device *)device, code); in libinput_device_pointer_has_button()
3347 libinput_device_keyboard_has_key(struct libinput_device *device, uint32_t code) in libinput_device_keyboard_has_key() argument
3349 return evdev_device_has_key((struct evdev_device *)device, code); in libinput_device_keyboard_has_key()
3366 libinput_device_tablet_pad_has_key(struct libinput_device *device, uint32_t code) in libinput_device_tablet_pad_has_key() argument
1714 libinput_tablet_tool_has_button(struct libinput_tablet_tool *tool, uint32_t code) libinput_tablet_tool_has_button() argument
[all...]
/third_party/node/deps/v8/src/compiler/backend/s390/
H A Dinstruction-selector-s390.cc2 // Use of this source code is governed by a BSD-style license that can be
748 InstructionCode code = kArchStoreWithWriteBarrier; in VisitGeneralStore() local
749 code |= AddressingModeField::encode(addressing_mode); in VisitGeneralStore()
750 code |= MiscField::encode(static_cast<int>(record_write_mode)); in VisitGeneralStore()
751 selector->Emit(code, 0, nullptr, input_count, inputs, temp_count, temps); in VisitGeneralStore()
812 InstructionCode code = in VisitGeneralStore() local
816 selector->Emit(code, 0, static_cast<InstructionOperand*>(nullptr), in VisitGeneralStore()
2182 InstructionCode code = opcode | AddressingModeField::encode(addressing_mode) | in VisitAtomicExchange() local
2184 selector->Emit(code, 1, outputs, input_count, inputs); in VisitAtomicExchange()
2250 InstructionCode code in VisitAtomicCompareExchange() local
2321 InstructionCode code = opcode | AddressingModeField::encode(addressing_mode) | VisitAtomicBinop() local
[all...]
/third_party/node/deps/v8/src/builtins/arm64/
H A Dbuiltins-arm64.cc2 // Use of this source code is governed by a BSD-style license that can be
8 #include "src/codegen/code-factory.h"
422 Register code, Register scratch) { in AssertCodeTIsBaselineAllowClobber()
423 // Verify that the code kind is baseline code via the CodeKind. in AssertCodeTIsBaselineAllowClobber()
424 __ Ldr(scratch, FieldMemOperand(code, CodeT::kFlagsOffset)); in AssertCodeTIsBaselineAllowClobber()
430 static void AssertCodeTIsBaseline(MacroAssembler* masm, Register code, in AssertCodeTIsBaseline() argument
432 DCHECK(!AreAliased(code, scratch)); in AssertCodeTIsBaseline()
433 return AssertCodeTIsBaselineAllowClobber(masm, code, scratch); in AssertCodeTIsBaseline()
785 // returns control to the code afte in Generate_JSEntryVariant()
421 AssertCodeTIsBaselineAllowClobber(MacroAssembler* masm, Register code, Register scratch) AssertCodeTIsBaselineAllowClobber() argument
1985 int code = config->GetAllocatableGeneralCode(0); Generate_ContinueToBuiltinHelper() local
2428 Generate_CallOrConstructVarargs(MacroAssembler* masm, Handle<CodeT> code) Generate_CallOrConstructVarargs() argument
2502 Generate_CallOrConstructForwardVarargs(MacroAssembler* masm, CallOrConstructMode mode, Handle<CodeT> code) Generate_CallOrConstructForwardVarargs() argument
[all...]
/third_party/python/Lib/test/
H A Dpickletester.py58 # Return True if opcode code appears in the pickle, else False.
59 def opcode_in_pickle(code, pickle):
61 if op.code == code.decode("latin-1"):
65 # Return the number of times opcode code appears in pickle.
66 def count_opcode(code, pickle):
69 if op.code == code.decode("latin-1"):
115 # Remember current registration for code (if any), and remove it (if
117 def __init__(self, code)
[all...]

Completed in 60 milliseconds

1...<<171172173174175176177178179180>>...214