Home
last modified time | relevance | path

Searched refs:code (Results 1 - 25 of 8181) sorted by relevance

12345678910>>...328

/third_party/node/test/parallel/
H A Dtest-readline-keys.js140 { name: 'f1', sequence: '\x1b[2P', code: '[P', shift: true, meta: false, ctrl: false },
141 { name: 'f1', sequence: '\x1b[3P', code: '[P', shift: false, meta: true, ctrl: false },
142 { name: 'f1', sequence: '\x1b[4P', code: '[P', shift: true, meta: true, ctrl: false },
143 { name: 'f1', sequence: '\x1b[5P', code: '[P', shift: false, meta: false, ctrl: true },
144 { name: 'f1', sequence: '\x1b[6P', code: '[P', shift: true, meta: false, ctrl: true },
145 { name: 'f1', sequence: '\x1b[7P', code: '[P', shift: false, meta: true, ctrl: true },
146 { name: 'f1', sequence: '\x1b[8P', code: '[P', shift: true, meta: true, ctrl: true },
147 { name: 'f2', sequence: '\x1b[3Q', code: '[Q', meta: true },
148 { name: 'f2', sequence: '\x1b[8Q', code: '[Q', shift: true, meta: true, ctrl: true },
149 { name: 'f3', sequence: '\x1b[3R', code
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
H A Dcodegen.c86 static void gpir_codegen_mul0_slot(gpir_codegen_instr *code, gpir_instr *instr) in gpir_codegen_mul0_slot() argument
91 code->mul0_src0 = gpir_codegen_src_unused; in gpir_codegen_mul0_slot()
92 code->mul0_src1 = gpir_codegen_src_unused; in gpir_codegen_mul0_slot()
100 code->mul0_src0 = gpir_get_alu_input(node, alu->children[0]); in gpir_codegen_mul0_slot()
101 code->mul0_src1 = gpir_get_alu_input(node, alu->children[1]); in gpir_codegen_mul0_slot()
102 if (code->mul0_src1 == gpir_codegen_src_p1_complex) { in gpir_codegen_mul0_slot()
104 code->mul0_src1 = code->mul0_src0; in gpir_codegen_mul0_slot()
105 code->mul0_src0 = gpir_codegen_src_p1_complex; in gpir_codegen_mul0_slot()
108 code in gpir_codegen_mul0_slot()
146 gpir_codegen_mul1_slot(gpir_codegen_instr *code, gpir_instr *instr) gpir_codegen_mul1_slot() argument
198 gpir_codegen_add0_slot(gpir_codegen_instr *code, gpir_instr *instr) gpir_codegen_add0_slot() argument
283 gpir_codegen_add1_slot(gpir_codegen_instr *code, gpir_instr *instr) gpir_codegen_add1_slot() argument
368 gpir_codegen_complex_slot(gpir_codegen_instr *code, gpir_instr *instr) gpir_codegen_complex_slot() argument
413 gpir_codegen_pass_slot(gpir_codegen_instr *code, gpir_instr *instr) gpir_codegen_pass_slot() argument
458 gpir_codegen_reg0_slot(gpir_codegen_instr *code, gpir_instr *instr) gpir_codegen_reg0_slot() argument
467 gpir_codegen_reg1_slot(gpir_codegen_instr *code, gpir_instr *instr) gpir_codegen_reg1_slot() argument
475 gpir_codegen_mem_slot(gpir_codegen_instr *code, gpir_instr *instr) gpir_codegen_mem_slot() argument
502 gpir_codegen_store_slot(gpir_codegen_instr *code, gpir_instr *instr) gpir_codegen_store_slot() argument
548 gpir_codegen(gpir_codegen_instr *code, gpir_instr *instr) gpir_codegen() argument
589 gpir_codegen_instr *code = rzalloc_array(comp->prog, gpir_codegen_instr, num_instr); gpir_codegen_prog() local
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Djson_parser.py42 /** This code is generated. To make changes, please modify the scripts or the relevant xml **/
378 code = ""
379 code += "static void parse_%s(const char* s, Json::Value& obj, %s& o)\n" %(baseType, self.baseTypeListMap[baseType])
380 code += "{\n"
382 code += " if (obj.isString())\n"
384 code += " %sif (obj.asString() == \"%s\")\n" %("else " if index > 0 else "", enumValue[0])
385 code += " o = %s;\n" %(enumValue[1])
387 code += " else if (obj.asString() == \"NaN\")\n"
388 code += " o = std::numeric_limits<float>::quiet_NaN();\n"
389 code
[all...]
H A Djson_c_generator.py28 /** This code is generated. To make changes, please modify the scripts or the relevant xml **/
155 code = ""
156 code += "void dumpPNextChain(const void* pNext) {\n"
157 code += " VkBaseInStructure *pBase = (VkBaseInStructure*)pNext;\n"
158 code += " if (pNext) {\n"
159 code += " PRINT_SPACE\n"
160 code += " vk_json_printf(_OUT, \"\\\"pNext\\\":\\n\");\n"
161 code += " switch (pBase->sType) {\n"
175 code += "#endif\n"
178 code
[all...]
H A Djson_generator.py41 /** This code is generated. To make changes, please modify the scripts or the relevant xml **/
302 # Fills in some extensions for exclusion while generating code for layer.
456 code = ""
458 code += "/*************************************** Begin prototypes ***********************************/\n"
480 code += "/*************************************** End prototypes ***********************************/\n\n"
481 code += "static void dumpPNextChain(const void* pNext) {\n"
482 code += " VkBaseInStructure *pBase = (VkBaseInStructure*)pNext;\n"
483 code += " if (pNext) {\n"
484 code += " PRINT_SPACE\n"
485 code
[all...]
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_emit_nv50.cpp138 code[pos / 32] |= SDATA(src).id << (pos % 32); in srcId()
144 code[pos / 32] |= SDATA(*src).id << (pos % 32); in srcId()
162 code[pos / 32] |= offset << (pos % 32); in srcAddr16()
173 code[pos / 32] |= (offset >> 2) << (pos % 32); in srcAddr8()
180 code[pos / 32] |= DDATA(def).id << (pos % 32); in defId()
187 case ROUND_M: code[1] |= 1 << 22; break; in roundMode_MAD()
188 case ROUND_P: code[1] |= 2 << 22; break; in roundMode_MAD()
189 case ROUND_Z: code[1] |= 3 << 22; break; in roundMode_MAD()
199 code[1] |= i->src(0).mod.neg() << 26; in emitMNeg12()
200 code[ in emitMNeg12()
892 nv50_interpApply(const FixupEntry *entry, uint32_t *code, const FixupData& data) nv50_interpApply() argument
1277 alphatestSet(const FixupEntry *entry, uint32_t *code, const FixupData& data) alphatestSet() argument
[all...]
H A Dnv50_ir_emit_gk110.cpp161 if (i->src(s).mod.neg()) code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
163 if (i->src(s).mod.abs()) code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
166 code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
168 #define FTZ_(b) if (i->ftz) code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
169 #define DNZ_(b) if (i->dnz) code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
171 #define SAT_(b) if (i->saturate) code[(0x##b) / 32] |= 1 << ((0x##b) % 32)
180 code[pos / 32] |= (src.get() ? SDATA(src).id : GK110_GPR_ZERO) << (pos % 32); in srcId()
185 code[pos / 32] |= (src ? SDATA(*src).id : GK110_GPR_ZERO) << (pos % 32); in srcId()
191 code[pos / 32] |= r << (pos % 32); in srcId()
196 code[po in srcAddr32()
1211 gk110_selpFlip(const FixupEntry *entry, uint32_t *code, const FixupData& data) gk110_selpFlip() argument
2053 gk110_interpApply(const struct FixupEntry *entry, uint32_t *code, const FixupData& data) gk110_interpApply() argument
[all...]
H A Dnv50_ir_emit_nvc0.cpp173 code[pos / 32] |= (src.get() ? SDATA(src).id : 63) << (pos % 32); in srcId()
178 code[pos / 32] |= (src ? SDATA(*src).id : 63) << (pos % 32); in srcId()
184 code[pos / 32] |= r << (pos % 32); in srcId()
192 code[pos / 32] |= offset << (pos % 32); in srcAddr32()
194 code[1] |= offset >> (32 - pos); in srcAddr32()
199 code[pos / 32] |= (def.get() && def.getFile() != FILE_FLAGS ? DDATA(def).id : 63) << (pos % 32); in defId()
207 code[pos / 32] |= 63 << (pos % 32); in defId()
225 case ROUND_M: code[1] |= 1 << 23; break; in roundMode_A()
226 case ROUND_P: code[1] |= 2 << 23; break; in roundMode_A()
227 case ROUND_Z: code[ in roundMode_A()
1257 nvc0_selpFlip(const FixupEntry *entry, uint32_t *code, const FixupData& data) nvc0_selpFlip() argument
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_probe_tmpl.h7 fetch_store_raw(unsigned long val, struct fetch_insn *code, void *buf) in fetch_store_raw() argument
9 switch (code->size) { in fetch_store_raw()
29 fetch_apply_bitfield(struct fetch_insn *code, void *buf) in fetch_apply_bitfield() argument
31 switch (code->basesize) { in fetch_apply_bitfield()
33 *(u8 *)buf <<= code->lshift; in fetch_apply_bitfield()
34 *(u8 *)buf >>= code->rshift; in fetch_apply_bitfield()
37 *(u16 *)buf <<= code->lshift; in fetch_apply_bitfield()
38 *(u16 *)buf >>= code->rshift; in fetch_apply_bitfield()
41 *(u32 *)buf <<= code->lshift; in fetch_apply_bitfield()
42 *(u32 *)buf >>= code in fetch_apply_bitfield()
103 process_common_fetch_insn(struct fetch_insn *code, unsigned long *val) process_common_fetch_insn() argument
123 process_fetch_insn_bottom(struct fetch_insn *code, unsigned long val, void *dest, void *base) process_fetch_insn_bottom() argument
[all...]
/third_party/icu/icu4c/source/common/
H A Dutypes.cpp198 u_errorName(UErrorCode code) { in u_errorName() argument
199 if(U_ZERO_ERROR <= code && code < U_STANDARD_ERROR_LIMIT) { in u_errorName()
200 return _uErrorName[code]; in u_errorName()
201 } else if(U_ERROR_WARNING_START <= code && code < U_ERROR_WARNING_LIMIT) { in u_errorName()
202 return _uErrorInfoName[code - U_ERROR_WARNING_START]; in u_errorName()
203 } else if(U_PARSE_ERROR_START <= code && code < U_PARSE_ERROR_LIMIT){ in u_errorName()
204 return _uTransErrorName[code in u_errorName()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dutypes.cpp198 u_errorName(UErrorCode code) { in u_errorName() argument
199 if(U_ZERO_ERROR <= code && code < U_STANDARD_ERROR_LIMIT) { in u_errorName()
200 return _uErrorName[code]; in u_errorName()
201 } else if(U_ERROR_WARNING_START <= code && code < U_ERROR_WARNING_LIMIT) { in u_errorName()
202 return _uErrorInfoName[code - U_ERROR_WARNING_START]; in u_errorName()
203 } else if(U_PARSE_ERROR_START <= code && code < U_PARSE_ERROR_LIMIT){ in u_errorName()
204 return _uTransErrorName[code in u_errorName()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dutypes.cpp198 u_errorName(UErrorCode code) { in u_errorName() argument
199 if(U_ZERO_ERROR <= code && code < U_STANDARD_ERROR_LIMIT) { in u_errorName()
200 return _uErrorName[code]; in u_errorName()
201 } else if(U_ERROR_WARNING_START <= code && code < U_ERROR_WARNING_LIMIT) { in u_errorName()
202 return _uErrorInfoName[code - U_ERROR_WARNING_START]; in u_errorName()
203 } else if(U_PARSE_ERROR_START <= code && code < U_PARSE_ERROR_LIMIT){ in u_errorName()
204 return _uTransErrorName[code in u_errorName()
[all...]
/third_party/skia/src/gpu/tessellate/shaders/
H A DGrStrokeTessellationShader_HardwareImpl.cpp4 * Use of this source code is governed by a BSD-style license that can be
324 SkString code(versionAndExtensionDecls); in getTessControlShaderGLSL()
326 code.append("layout(vertices = 3) out;\n"); in getTessControlShaderGLSL()
327 code.appendf("precision highp float;\n"); in getTessControlShaderGLSL()
329 code.appendf("#define float2 vec2\n"); in getTessControlShaderGLSL()
330 code.appendf("#define float3 vec3\n"); in getTessControlShaderGLSL()
331 code.appendf("#define float4 vec4\n"); in getTessControlShaderGLSL()
332 code.appendf("#define float2x2 mat2\n"); in getTessControlShaderGLSL()
333 code.appendf("#define float3x2 mat3x2\n"); in getTessControlShaderGLSL()
334 code in getTessControlShaderGLSL()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog_emit.c60 struct r300_fragment_program_code *code = &c->code->code.r300
85 static void use_temporary(struct r300_fragment_program_code *code, unsigned int index) in use_temporary() argument
87 if (index > code->pixsize) in use_temporary()
88 code->pixsize = index; in use_temporary()
91 static unsigned int use_source(struct r300_fragment_program_code* code, struct rc_pair_instruction_source src) in use_source() argument
99 use_temporary(code, src.Index); in use_source()
159 if (code->alu.length >= c->Base.max_alu_insts) { in emit_alu()
164 ip = code in emit_alu()
310 struct r300_fragment_program_code *code = &emit->compiler->code->code.r300; finish_node() local
483 struct r300_fragment_program_code *code = &compiler->code->code.r300; r300BuildFragmentProgramHwCode() local
[all...]
/third_party/pcre2/pcre2/src/
H A Dpcre2_printint.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,
45 code unit width, with PCRE2_SUFFIX set appropriately, just like the functions
50 /* Tables of operator names. The same 8-bit table is used for all code unit
81 /* In UTF mode the character may occupy more than one code unit.
85 ptr pointer to first code unit of the character
88 Returns: number of additional code units used
97 /* If UTF is supported and requested, check for a valid single code unit. */ in print_char()
112 /* Handle a valid one-code in print_char()
302 print_prop(FILE *f, PCRE2_SPTR code, const char *before, const char *after) print_prop() argument
341 PCRE2_SPTR codestart, nametable, code; pcre2_printint() local
[all...]
/third_party/node/deps/v8/tools/profview/
H A Dprofile-utils.js2 // Use of this source code is governed by a BSD-style license that can be
28 function resolveCodeKind(code) {
29 if (!code || !code.type) {
31 } else if (code.type === "CPP") {
33 } else if (code.type === "SHARED_LIB") {
35 } else if (code.type === "CODE") {
36 if (code.kind === "LoadIC" ||
37 code.kind === "StoreIC" ||
38 code
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_probe_tmpl.h7 fetch_store_raw(unsigned long val, struct fetch_insn *code, void *buf) in fetch_store_raw() argument
9 switch (code->size) { in fetch_store_raw()
29 fetch_apply_bitfield(struct fetch_insn *code, void *buf) in fetch_apply_bitfield() argument
31 switch (code->basesize) { in fetch_apply_bitfield()
33 *(u8 *)buf <<= code->lshift; in fetch_apply_bitfield()
34 *(u8 *)buf >>= code->rshift; in fetch_apply_bitfield()
37 *(u16 *)buf <<= code->lshift; in fetch_apply_bitfield()
38 *(u16 *)buf >>= code->rshift; in fetch_apply_bitfield()
41 *(u32 *)buf <<= code->lshift; in fetch_apply_bitfield()
42 *(u32 *)buf >>= code in fetch_apply_bitfield()
72 process_fetch_insn_bottom(struct fetch_insn *code, unsigned long val, void *dest, void *base) process_fetch_insn_bottom() argument
[all...]
/third_party/mesa3d/src/mapi/glapi/
H A Dglapi_entrypoint.c28 * Arch-specific code for manipulating GL API entrypoints (dispatch stubs).
99 GLubyte * const code = (GLubyte *) u_execmem_alloc(DISPATCH_FUNCTION_SIZE); in generate_entrypoint() local
102 if ( code != NULL ) { in generate_entrypoint()
103 (void) memcpy(code, template_func, DISPATCH_FUNCTION_SIZE); in generate_entrypoint()
104 fill_in_entrypoint_offset( (_glapi_proc) code, functionOffset ); in generate_entrypoint()
107 return (_glapi_proc) code; in generate_entrypoint()
118 GLubyte * const code = (GLubyte *) entrypoint; in fill_in_entrypoint_offset() local
120 *((unsigned int *)(code + 8)) = 4 * offset; in fill_in_entrypoint_offset()
147 unsigned int *code = &__glapi_sparc_tls_stub; in init_glapi_relocs() local
150 code[ in init_glapi_relocs()
175 unsigned int *code = (unsigned int *) u_execmem_alloc(sizeof(template)); generate_entrypoint() local
193 unsigned int *code = (unsigned int *) entrypoint; fill_in_entrypoint_offset() local
[all...]
/test/xts/acts/communication/wifi_ErrorCode201/entry/src/ohosTest/js/test/
H A DActWifiErrorCode201.test.js82 console.error(`scan failed, code is ${error.code}, message is ${error.message}`);
83 expect(error.code).assertEqual("201")
101 console.error(`getScanInfoList failed, code is ${error.code}, message is ${error.message}`);
102 expect(error.code).assertEqual("201")
129 console.error(`addCandidateConfig promise failed, code ${error.code}, message ${error.message}`);
130 expect(error.code).assertEqual("201")
156 console.error(`addCandidateConfig callback,code
[all...]
/third_party/libinput/test/
H A Dlitest-device-wacom-cintiq-pro-16-pen.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_Z, .value = LITEST_AUTO_ASSIGN },
33 { .type = EV_ABS, .code = ABS_WHEEL, .value = 0 },
34 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN },
35 { .type = EV_ABS, .code = ABS_DISTANCE, .value = LITEST_AUTO_ASSIGN },
36 { .type = EV_ABS, .code = ABS_TILT_X, .value = LITEST_AUTO_ASSIGN },
37 { .type = EV_ABS, .code = ABS_TILT_Y, .value = LITEST_AUTO_ASSIGN },
38 { .type = EV_ABS, .code = ABS_MISC, .value = 2083 },
39 { .type = EV_MSC, .code
[all...]
/test/xts/acts/communication/wifi_ErrorCode401/entry/src/ohosTest/js/test/
H A DActWifiErrorCode401.test.js88 expect(err.code).assertEqual("401");
125 expect(error.code).assertEqual("401");
143 console.error(`removeCandidate promise failed, code ${error.code}, message ${error.message}`);
144 expect(error.code).assertEqual("401")
161 console.error(`removeCand callback, code ${error.code}, message ${error.message}`);
162 expect(error.code).assertEqual("401")
169 console.error(`removeCandidateConfig failed, code ${error.code}, messag
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Ddisasm.c143 insn->code, insn->dst_reg, in print_bpf_end_insn()
144 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn()
153 insn->code, insn->dst_reg, in print_bpf_bswap_insn()
159 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod()
165 return BPF_OP(insn->code) == BPF_MOV && in is_movsx()
174 u8 class = BPF_CLASS(insn->code); in print_bpf_insn()
177 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn()
182 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn()
184 insn->code, clas in print_bpf_insn()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Ddisasm.c143 insn->code, insn->dst_reg, in print_bpf_end_insn()
144 BPF_SRC(insn->code) == BPF_TO_BE ? "be" : "le", in print_bpf_end_insn()
153 insn->code, insn->dst_reg, in print_bpf_bswap_insn()
159 return (BPF_OP(insn->code) == BPF_DIV || BPF_OP(insn->code) == BPF_MOD) && in is_sdiv_smod()
165 return BPF_OP(insn->code) == BPF_MOV && in is_movsx()
174 u8 class = BPF_CLASS(insn->code); in print_bpf_insn()
177 if (BPF_OP(insn->code) == BPF_END) { in print_bpf_insn()
182 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn()
184 insn->code, clas in print_bpf_insn()
[all...]
/third_party/python/Modules/cjkcodecs/
H A D_codecs_jp.c24 DBCHAR code; in ENCODER() local
52 if (TRYMAP_ENC(cp932ext, code, c)) { in ENCODER()
53 OUTBYTE1(code >> 8); in ENCODER()
54 OUTBYTE2(code & 0xff); in ENCODER()
56 else if (TRYMAP_ENC(jisxcommon, code, c)) { in ENCODER()
57 if (code & 0x8000) /* MSB set: JIS X 0212 */ in ENCODER()
61 c1 = code >> 8; in ENCODER()
62 c2 = code & 0xff; in ENCODER()
155 DBCHAR code; in ENCODER() local
167 EMULATE_JISX0213_2000_ENCODE_BMP(code, in ENCODER()
245 Py_UCS4 code, decoded; DECODER() local
333 DBCHAR code; ENCODER() local
453 DBCHAR code; ENCODER() local
568 DBCHAR code = NOCHAR; ENCODER() local
675 Py_UCS4 code, decoded; DECODER() local
[all...]
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/entry/src/ohosTest/js/test/
H A DDeviceKvStoreKVPromiseJsTest.js84 console.error('beforeAll getKVStore err ' + `, error code is ${err.code}, message is ${err.message}`);
103 console.error('beforeAll can NOT getDeviceId, fail: ' + `, error code is ${error.code}, message is ${error.message}`);
126 console.error('beforeEach getKVStore err ' + `, error code is ${err.code}, message is ${err.message}`);
139 console.error('afterEach deleteKVStore err ' + `, error code is ${err.code}, message is ${err.message}`);
142 console.error('afterEach closeKVStore err ' + `, error code is ${err.code}, messag
[all...]

Completed in 16 milliseconds

12345678910>>...328