/external/flatbuffers/src/ |
D | idl_gen_go.cpp | 55 std::string *code_ptr); 56 static void GenReceiver(const StructDef &struct_def, std::string *code_ptr); 80 static void BeginClass(const StructDef &struct_def, std::string *code_ptr) { in BeginClass() argument 81 std::string &code = *code_ptr; in BeginClass() 92 static void BeginEnum(std::string *code_ptr) { in BeginEnum() argument 93 std::string &code = *code_ptr; in BeginEnum() 99 std::string *code_ptr) { in EnumMember() argument 100 std::string &code = *code_ptr; in EnumMember() 109 static void EndEnum(std::string *code_ptr) { in EndEnum() argument 110 std::string &code = *code_ptr; in EndEnum() [all …]
|
D | idl_gen_python.cpp | 32 std::string *code_ptr); 33 static void GenReceiver(const StructDef &struct_def, std::string *code_ptr); 53 static void BeginClass(const StructDef &struct_def, std::string *code_ptr) { in BeginClass() argument 54 std::string &code = *code_ptr; in BeginClass() 61 static void BeginEnum(const std::string class_name, std::string *code_ptr) { in BeginEnum() argument 62 std::string &code = *code_ptr; in BeginEnum() 67 static void EnumMember(const EnumVal ev, std::string *code_ptr) { in EnumMember() argument 68 std::string &code = *code_ptr; in EnumMember() 76 static void EndEnum(std::string *code_ptr) { in EndEnum() argument 77 std::string &code = *code_ptr; in EndEnum() [all …]
|
D | idl_gen_php.cpp | 66 const bool needs_imports, std::string *code_ptr) { in BeginFile() argument 67 std::string &code = *code_ptr; in BeginFile() 100 static void BeginClass(const StructDef &struct_def, std::string *code_ptr) { in BeginClass() argument 101 std::string &code = *code_ptr; in BeginClass() 110 static void EndClass(std::string *code_ptr) { in EndClass() argument 111 std::string &code = *code_ptr; in EndClass() 116 static void BeginEnum(const std::string class_name, std::string *code_ptr) { in BeginEnum() argument 117 std::string &code = *code_ptr; in BeginEnum() 122 static void EnumMember(const EnumVal ev, std::string *code_ptr) { in EnumMember() argument 123 std::string &code = *code_ptr; in EnumMember() [all …]
|
D | idl_gen_js.cpp | 120 void generateImportDependencies(std::string *code_ptr, in generateImportDependencies() argument 122 std::string &code = *code_ptr; in generateImportDependencies() 136 void generateReexports(std::string *code_ptr, in generateReexports() argument 144 std::string &code = *code_ptr; in generateReexports() 188 void GenNamespaces(std::string *code_ptr, std::string *exports_ptr) { in GenNamespaces() argument 217 std::string &code = *code_ptr; in GenNamespaces() 243 std::string *code_ptr, in GenDocComment() argument 251 std::string &code = *code_ptr; in GenDocComment() 280 static void GenDocComment(std::string *code_ptr, in GenDocComment() argument 282 GenDocComment(std::vector<std::string>(), code_ptr, extra_lines); in GenDocComment() [all …]
|
D | idl_gen_general.cpp | 521 void GenEnum(EnumDef &enum_def, std::string *code_ptr) { in GenEnum() argument 522 std::string &code = *code_ptr; in GenEnum() 530 GenComment(enum_def.doc_comment, code_ptr, &lang_.comment_config); in GenEnum() 544 GenComment(ev.doc_comment, code_ptr, &lang_.comment_config, " "); in GenEnum() 657 void GenStructArgs(const StructDef &struct_def, std::string *code_ptr, in GenStructArgs() argument 659 std::string &code = *code_ptr; in GenStructArgs() 668 GenStructArgs(*field.value.type.struct_def, code_ptr, in GenStructArgs() 683 void GenStructBody(const StructDef &struct_def, std::string *code_ptr, in GenStructBody() argument 685 std::string &code = *code_ptr; in GenStructBody() 697 GenStructBody(*field.value.type.struct_def, code_ptr, in GenStructBody() [all …]
|
D | code_generators.cpp | 142 void GenComment(const std::vector<std::string> &dc, std::string *code_ptr, in GenComment() argument 149 std::string &code = *code_ptr; in GenComment()
|
D | idl_gen_cpp.cpp | 2235 const FieldDef &field, std::string *code_ptr, int *id, in GenPadding() argument 2236 const std::function<void(int bits, std::string *code_ptr, int *id)> &f) { in GenPadding() 2240 f((1 << i) * 8, code_ptr, id); in GenPadding() 2247 static void PaddingDefinition(int bits, std::string *code_ptr, int *id) { in PaddingDefinition() argument 2248 *code_ptr += " int" + NumToString(bits) + "_t padding" + in PaddingDefinition() 2252 static void PaddingInitializer(int bits, std::string *code_ptr, int *id) { in PaddingInitializer() argument 2254 *code_ptr += ",\n padding" + NumToString((*id)++) + "__(0)"; in PaddingInitializer() 2257 static void PaddingNoop(int bits, std::string *code_ptr, int *id) { in PaddingNoop() argument 2259 *code_ptr += " (void)padding" + NumToString((*id)++) + "__;"; in PaddingNoop()
|
/external/pcre/dist2/src/sljit/ |
D | sljitNativeX86_64.c | 42 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type) in generate_far_jump_code() argument 46 *code_ptr++ = get_jump_code(type ^ 0x1) - 0x10; in generate_far_jump_code() 47 *code_ptr++ = 10 + 3; in generate_far_jump_code() 51 *code_ptr++ = REX_W | REX_B; in generate_far_jump_code() 52 *code_ptr++ = MOV_r_i32 + 1; in generate_far_jump_code() 53 jump->addr = (sljit_uw)code_ptr; in generate_far_jump_code() 58 sljit_unaligned_store_sw(code_ptr, jump->u.target); in generate_far_jump_code() 60 code_ptr += sizeof(sljit_sw); in generate_far_jump_code() 61 *code_ptr++ = REX_B; in generate_far_jump_code() 62 *code_ptr++ = GROUP_FF; in generate_far_jump_code() [all …]
|
D | sljitNativeARM_32.c | 266 static sljit_uw patch_pc_relative_loads(sljit_uw *last_pc_patch, sljit_uw *code_ptr, sljit_uw* cons… in patch_pc_relative_loads() argument 274 SLJIT_ASSERT(const_pool - code_ptr <= CONST_POOL_ALIGNMENT); in patch_pc_relative_loads() 281 while (last_pc_patch < code_ptr) { in patch_pc_relative_loads() 392 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_u… in detect_jump_type() argument 401 code_ptr--; in detect_jump_type() 404 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)); in detect_jump_type() 407 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)); in detect_jump_type() 416 *code_ptr = (BL - CONDITIONAL) | (*(code_ptr + 1) & COND_MASK); in detect_jump_type() 423 *code_ptr = (B - CONDITIONAL) | (*code_ptr & COND_MASK); in detect_jump_type() 429 diff = ((sljit_sw)jump->u.target - (sljit_sw)code_ptr); in detect_jump_type() [all …]
|
D | sljitNativePPC_common.c | 252 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_… in detect_jump_type() argument 278 diff = ((sljit_sw)target_addr - (sljit_sw)(code_ptr)) & ~0x3l; in detect_jump_type() 325 sljit_ins *code_ptr; in sljit_generate_code() local 350 code_ptr = code; in sljit_generate_code() 359 *code_ptr = *buf_ptr++; in sljit_generate_code() 366 label->addr = (sljit_uw)code_ptr; in sljit_generate_code() 367 label->size = code_ptr - code; in sljit_generate_code() 372 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code() 374 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code() 376 if (detect_jump_type(jump, code_ptr, code)) { in sljit_generate_code() [all …]
|
D | sljitNativeX86_32.c | 41 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type) in generate_far_jump_code() argument 44 *code_ptr++ = JMP_i32; in generate_far_jump_code() 48 *code_ptr++ = CALL_i32; in generate_far_jump_code() 52 *code_ptr++ = GROUP_0F; in generate_far_jump_code() 53 *code_ptr++ = get_jump_code(type); in generate_far_jump_code() 60 sljit_unaligned_store_sw(code_ptr, jump->u.target - (jump->addr + 4)); in generate_far_jump_code() 61 code_ptr += 4; in generate_far_jump_code() 63 return code_ptr; in generate_far_jump_code()
|
D | sljitNativeX86_common.c | 412 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type… 415 static sljit_u8* generate_fixed_jump(sljit_u8 *code_ptr, sljit_sw addr, sljit_s32 type); 418 static sljit_u8* generate_near_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_u8 *cod… in generate_near_jump_code() argument 431 return generate_far_jump_code(jump, code_ptr, type); in generate_near_jump_code() 436 *code_ptr++ = JMP_i8; in generate_near_jump_code() 438 *code_ptr++ = JMP_i32; in generate_near_jump_code() 443 *code_ptr++ = CALL_i32; in generate_near_jump_code() 447 *code_ptr++ = get_jump_code(type) - 0x10; in generate_near_jump_code() 451 *code_ptr++ = GROUP_0F; in generate_near_jump_code() 452 *code_ptr++ = get_jump_code(type); in generate_near_jump_code() [all …]
|
D | sljitNativeSPARC_common.c | 202 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit… in detect_jump_type() argument 210 return code_ptr; in detect_jump_type() 272 return code_ptr; in detect_jump_type() 279 sljit_ins *code_ptr; in sljit_generate_code() local 297 code_ptr = code; in sljit_generate_code() 306 *code_ptr = *buf_ptr++; in sljit_generate_code() 313 label->addr = (sljit_uw)code_ptr; in sljit_generate_code() 314 label->size = code_ptr - code; in sljit_generate_code() 319 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code() 321 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code() [all …]
|
D | sljitNativeARM_64.c | 154 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_… in detect_jump_type() argument 170 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4); in detect_jump_type() 175 code_ptr[-5] ^= (jump->flags & IS_CBZ) ? (0x1 << 24) : 0x1; in detect_jump_type() 190 code_ptr[-5] -= (2 << 5); in detect_jump_type() 191 code_ptr[-2] = code_ptr[0]; in detect_jump_type() 196 code_ptr[-5] -= (1 << 5); in detect_jump_type() 198 code_ptr[-1] = code_ptr[0]; in detect_jump_type() 210 sljit_ins *code_ptr; in sljit_generate_code() local 229 code_ptr = code; in sljit_generate_code() 239 *code_ptr = *buf_ptr++; in sljit_generate_code() [all …]
|
D | sljitNativeMIPS_common.c | 221 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit… in detect_jump_type() argument 230 return code_ptr; in detect_jump_type() 233 return code_ptr; in detect_jump_type() 349 return code_ptr; in detect_jump_type() 353 static __attribute__ ((noinline)) void sljit_cache_flush(void* code, void* code_ptr) in sljit_cache_flush() argument 355 SLJIT_CACHE_FLUSH(code, code_ptr); in sljit_cache_flush() 363 sljit_ins *code_ptr; in sljit_generate_code() local 381 code_ptr = code; in sljit_generate_code() 390 *code_ptr = *buf_ptr++; in sljit_generate_code() 397 label->addr = (sljit_uw)code_ptr; in sljit_generate_code() [all …]
|
D | sljitNativeTILEGX_64.c | 903 static SLJIT_INLINE sljit_ins * detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, slji… in detect_jump_type() argument 910 return code_ptr; in detect_jump_type() 967 return code_ptr; in detect_jump_type() 993 return code_ptr; in detect_jump_type() 1000 sljit_ins *code_ptr; in sljit_generate_code() local 1018 code_ptr = code; in sljit_generate_code() 1027 *code_ptr = *buf_ptr++; in sljit_generate_code() 1034 label->addr = (sljit_uw) code_ptr; in sljit_generate_code() 1035 label->size = code_ptr - code; in sljit_generate_code() 1041 jump->addr = (sljit_uw)(code_ptr - 4); in sljit_generate_code() [all …]
|
D | sljitNativeARM_T2_32.c | 224 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_u16 *code_ptr, sljit_… in detect_jump_type() argument 235 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)) >> 1; in detect_jump_type() 239 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1; in detect_jump_type() 346 sljit_u16 *code_ptr; in sljit_generate_code() local 363 code_ptr = code; in sljit_generate_code() 373 *code_ptr = *buf_ptr++; in sljit_generate_code() 379 label->addr = ((sljit_uw)code_ptr) | 0x1; in sljit_generate_code() 380 label->size = code_ptr - code; in sljit_generate_code() 384 jump->addr = (sljit_uw)code_ptr - ((jump->flags & IS_COND) ? 10 : 8); in sljit_generate_code() 385 code_ptr -= detect_jump_type(jump, code_ptr, code); in sljit_generate_code() [all …]
|
/external/e2fsprogs/lib/ss/ |
D | help.c | 128 void ss_add_info_dir(int sci_idx, char *info_dir, int *code_ptr) in ss_add_info_dir() argument 137 *code_ptr = SS_ET_NO_INFO_DIR; in ss_add_info_dir() 141 *code_ptr = errno; in ss_add_info_dir() 152 *code_ptr = errno; in ss_add_info_dir() 159 *code_ptr = 0; in ss_add_info_dir() 162 void ss_delete_info_dir(int sci_idx, char *info_dir, int *code_ptr) in ss_delete_info_dir() argument 174 *code_ptr = 0; in ss_delete_info_dir() 178 *code_ptr = SS_ET_NO_INFO_DIR; in ss_delete_info_dir()
|
D | request_tbl.c | 23 void ss_add_request_table(int sci_idx, ssrt *rqtbl_ptr, int position, int *code_ptr) in ss_add_request_table() argument 36 *code_ptr = errno; in ss_add_request_table() 49 *code_ptr = 0; in ss_add_request_table() 52 void ss_delete_request_table(int sci_idx, ssrt *rqtbl_ptr, int *code_ptr) in ss_delete_request_table() argument 57 *code_ptr = SS_ET_TABLE_NOT_FOUND; in ss_delete_request_table() 63 *code_ptr = 0; in ss_delete_request_table()
|
D | ss_internal.h | 81 #define ss_current_request(sci_idx,code_ptr) \ argument 82 (*code_ptr=0,ss_info(sci_idx)->current_request) 83 void ss_add_info_dir (int sci_idx, char *info_dir, int *code_ptr); 84 void ss_delete_info_dir (int sci_idx, char *info_dir, int *code_ptr);
|
D | invocation.c | 27 int *code_ptr) in ss_create_invocation() argument 33 *code_ptr = 0; in ss_create_invocation() 48 *code_ptr = ENOMEM; in ss_create_invocation() 66 new_table->abbrev_info = ss_abbrev_initialize("/etc/passwd", code_ptr); in ss_create_invocation()
|
/external/v8/src/base/platform/ |
D | platform-macos.cc | 79 char* code_ptr = getsectdatafromheader_64( in GetSharedLibraryAddresses() local 86 char* code_ptr = getsectdatafromheader(header, SEG_TEXT, SECT_TEXT, &size); in GetSharedLibraryAddresses() local 88 if (code_ptr == NULL) continue; in GetSharedLibraryAddresses() 90 const uintptr_t start = reinterpret_cast<uintptr_t>(code_ptr) + slide; in GetSharedLibraryAddresses()
|
/external/harfbuzz_ng/src/hb-ucdn/ |
D | ucdn.c | 181 static uint32_t decode_utf16(const unsigned short **code_ptr) in decode_utf16() argument 183 const unsigned short *code = *code_ptr; in decode_utf16() 186 *code_ptr += 1; in decode_utf16() 189 *code_ptr += 2; in decode_utf16()
|
/external/flatbuffers/include/flatbuffers/ |
D | code_generators.h | 131 std::string *code_ptr,
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cArrayOfArraysTests.cpp | 724 const char* code_ptr = shader_source.c_str(); in compile_shader_and_get_compilation_result() local 728 context_id.getTestContext().getLog() << tcu::TestLog::KernelSource(code_ptr); in compile_shader_and_get_compilation_result() 731 gl.shaderSource(shader_object_id, 1 /* count */, &code_ptr, NULL); in compile_shader_and_get_compilation_result() 764 context_id.getTestContext().getLog() << tcu::TestLog::KernelSource(code_ptr); in compile_shader_and_get_compilation_result()
|