/external/flatbuffers/src/ |
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) { 81 std::string &code = *code_ptr; 92 static void BeginEnum(std::string *code_ptr) { 93 std::string &code = *code_ptr; 99 std::string *code_ptr) { 100 std::string &code = *code_ptr; 109 static void EndEnum(std::string *code_ptr) { 110 std::string &code = *code_ptr; [all...] |
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) { 54 std::string &code = *code_ptr; 61 static void BeginEnum(const std::string class_name, std::string *code_ptr) { 62 std::string &code = *code_ptr; 67 static void EnumMember(const EnumVal ev, std::string *code_ptr) { 68 std::string &code = *code_ptr; 76 static void EndEnum(std::string *code_ptr) { 77 std::string &code = *code_ptr; [all...] |
idl_gen_php.cpp | 66 const bool needs_imports, std::string *code_ptr) { 67 std::string &code = *code_ptr; 100 static void BeginClass(const StructDef &struct_def, std::string *code_ptr) { 101 std::string &code = *code_ptr; 110 static void EndClass(std::string *code_ptr) { 111 std::string &code = *code_ptr; 116 static void BeginEnum(const std::string class_name, std::string *code_ptr) { 117 std::string &code = *code_ptr; 122 static void EnumMember(const EnumVal ev, std::string *code_ptr) { 123 std::string &code = *code_ptr; [all...] |
idl_gen_js.cpp | 120 void generateImportDependencies(std::string *code_ptr, 122 std::string &code = *code_ptr; 136 void generateReexports(std::string *code_ptr, 144 std::string &code = *code_ptr; 188 void GenNamespaces(std::string *code_ptr, std::string *exports_ptr) { 217 std::string &code = *code_ptr; 243 std::string *code_ptr, 251 std::string &code = *code_ptr; 280 static void GenDocComment(std::string *code_ptr, 282 GenDocComment(std::vector<std::string>(), code_ptr, extra_lines) local [all...] |
code_generators.cpp | 142 void GenComment(const std::vector<std::string> &dc, std::string *code_ptr, 149 std::string &code = *code_ptr;
|
idl_gen_general.cpp | 521 void GenEnum(EnumDef &enum_def, std::string *code_ptr) { 522 std::string &code = *code_ptr; 530 GenComment(enum_def.doc_comment, code_ptr, &lang_.comment_config); 544 GenComment(ev.doc_comment, code_ptr, &lang_.comment_config, " "); 657 void GenStructArgs(const StructDef &struct_def, std::string *code_ptr, 659 std::string &code = *code_ptr; 668 GenStructArgs(*field.value.type.struct_def, code_ptr, 683 void GenStructBody(const StructDef &struct_def, std::string *code_ptr, 685 std::string &code = *code_ptr; 697 GenStructBody(*field.value.type.struct_def, code_ptr, [all...] |
/external/e2fsprogs/lib/ss/ |
request_tbl.c | 23 void ss_add_request_table(int sci_idx, ssrt *rqtbl_ptr, int position, int *code_ptr) 36 *code_ptr = errno; 49 *code_ptr = 0; 52 void ss_delete_request_table(int sci_idx, ssrt *rqtbl_ptr, int *code_ptr) 57 *code_ptr = SS_ET_TABLE_NOT_FOUND; 63 *code_ptr = 0;
|
ss_internal.h | 81 #define ss_current_request(sci_idx,code_ptr) \ 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);
|
help.c | 128 void ss_add_info_dir(int sci_idx, char *info_dir, int *code_ptr) 137 *code_ptr = SS_ET_NO_INFO_DIR; 141 *code_ptr = errno; 152 *code_ptr = errno; 159 *code_ptr = 0; 162 void ss_delete_info_dir(int sci_idx, char *info_dir, int *code_ptr) 174 *code_ptr = 0; 178 *code_ptr = SS_ET_NO_INFO_DIR;
|
invocation.c | 27 int *code_ptr) 33 *code_ptr = 0; 48 *code_ptr = ENOMEM; 66 new_table->abbrev_info = ss_abbrev_initialize("/etc/passwd", code_ptr);
|
/bionic/tests/ |
cfi_test.cpp | 60 void* code_ptr = reinterpret_cast<char*>(__cfi_check) + 1234; local 62 __cfi_slowpath_diag(42, code_ptr, diag_ptr); 64 EXPECT_EQ(code_ptr, get_last_address()); 69 __cfi_slowpath(42, code_ptr); 71 EXPECT_EQ(code_ptr, get_last_address()); 120 EXPECT_DEATH(__cfi_slowpath(45, reinterpret_cast<void*>(code_ptr)), "");
|
/external/pcre/dist2/src/sljit/ |
sljitNativeX86_64.c | 42 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type) 46 *code_ptr++ = get_jump_code(type ^ 0x1) - 0x10; 47 *code_ptr++ = 10 + 3; 51 *code_ptr++ = REX_W | REX_B; 52 *code_ptr++ = MOV_r_i32 + 1; 53 jump->addr = (sljit_uw)code_ptr; 58 sljit_unaligned_store_sw(code_ptr, jump->u.target); 60 code_ptr += sizeof(sljit_sw); 61 *code_ptr++ = REX_B; 62 *code_ptr++ = GROUP_FF [all...] |
sljitNativeARM_32.c | 266 static sljit_uw patch_pc_relative_loads(sljit_uw *last_pc_patch, sljit_uw *code_ptr, sljit_uw* const_pool, sljit_uw cpool_size) 274 SLJIT_ASSERT(const_pool - code_ptr <= CONST_POOL_ALIGNMENT); 281 while (last_pc_patch < code_ptr) { 392 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_uw *code) 401 code_ptr--; 404 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)); 407 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)); 416 *code_ptr = (BL - CONDITIONAL) | (*(code_ptr + 1) & COND_MASK); 423 *code_ptr = (B - CONDITIONAL) | (*code_ptr & COND_MASK) 560 sljit_uw *code_ptr; local [all...] |
sljitNativeX86_32.c | 41 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type) 44 *code_ptr++ = JMP_i32; 48 *code_ptr++ = CALL_i32; 52 *code_ptr++ = GROUP_0F; 53 *code_ptr++ = get_jump_code(type); 60 sljit_unaligned_store_sw(code_ptr, jump->u.target - (jump->addr + 4)); 61 code_ptr += 4; 63 return code_ptr;
|
sljitNativePPC_common.c | 252 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code) 278 diff = ((sljit_sw)target_addr - (sljit_sw)(code_ptr)) & ~0x3l; 325 sljit_ins *code_ptr; local 350 code_ptr = code; 359 *code_ptr = *buf_ptr++; 366 label->addr = (sljit_uw)code_ptr; 367 label->size = code_ptr - code; 372 jump->addr = (sljit_uw)(code_ptr - 3); 374 jump->addr = (sljit_uw)(code_ptr - 6); 376 if (detect_jump_type(jump, code_ptr, code)) [all...] |
sljitNativeSPARC_common.c | 202 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code) 210 return code_ptr; 272 return code_ptr; 279 sljit_ins *code_ptr; local 297 code_ptr = code; 306 *code_ptr = *buf_ptr++; 313 label->addr = (sljit_uw)code_ptr; 314 label->size = code_ptr - code; 319 jump->addr = (sljit_uw)(code_ptr - 3); 321 jump->addr = (sljit_uw)(code_ptr - 6) [all...] |
sljitNativeARM_64.c | 154 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code) 170 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4); 175 code_ptr[-5] ^= (jump->flags & IS_CBZ) ? (0x1 << 24) : 0x1; 190 code_ptr[-5] -= (2 << 5); 191 code_ptr[-2] = code_ptr[0]; 196 code_ptr[-5] -= (1 << 5); 198 code_ptr[-1] = code_ptr[0]; 210 sljit_ins *code_ptr; local [all...] |
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 *code, sljit_s32 type) 431 return generate_far_jump_code(jump, code_ptr, type); 436 *code_ptr++ = JMP_i8; 438 *code_ptr++ = JMP_i32; 443 *code_ptr++ = CALL_i32; 447 *code_ptr++ = get_jump_code(type) - 0x10; 451 *code_ptr++ = GROUP_0F; 452 *code_ptr++ = get_jump_code(type) 475 sljit_u8 *code_ptr; local [all...] |
/art/runtime/jit/ |
jit_code_cache.cc | 490 static uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { 491 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); 573 void JitCodeCache::FreeCode(const void* code_ptr) { 574 uintptr_t allocation = FromCodeToAllocation(code_ptr); 578 RemoveNativeDebugInfoForJit(code_ptr); 579 if (OatQuickMethodHeader::FromCodePointer(code_ptr)->IsOptimized()) { 580 FreeData(GetRootTable(code_ptr)); 749 uint8_t* code_ptr = nullptr; local 761 code_ptr = memory + header_size; 763 std::copy(code, code + code_size, code_ptr); 1329 const void* code_ptr = it->first; local 1375 const void* code_ptr = data.GetCode(); local 1386 const void* code_ptr = it.first; local 1440 const void* code_ptr = it.first; local 1476 const void* code_ptr = it->second.GetCode(); local 1485 const void* code_ptr = it->first; local [all...] |
/external/v8/src/base/platform/ |
platform-macos.cc | 79 char* code_ptr = getsectdatafromheader_64( local 86 char* code_ptr = getsectdatafromheader(header, SEG_TEXT, SECT_TEXT, &size); local 88 if (code_ptr == NULL) continue; 90 const uintptr_t start = reinterpret_cast<uintptr_t>(code_ptr) + slide;
|
/art/runtime/ |
oat_quick_method_header.h | 44 static OatQuickMethodHeader* FromCodePointer(const void* code_ptr) { 45 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr);
|
/art/compiler/ |
exception_test.cc | 103 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; local 104 CHECK_EQ(code_ptr, 116 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr); 121 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr);
|
common_compiler_test.cc | 93 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; local 94 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); 95 MakeExecutable(code_ptr, code.size()); 96 const void* method_code = CompiledMethod::CodePointer(code_ptr,
|
/external/flatbuffers/include/flatbuffers/ |
code_generators.h | 131 std::string *code_ptr,
|
/external/harfbuzz_ng/src/hb-ucdn/ |
ucdn.c | 181 static uint32_t decode_utf16(const unsigned short **code_ptr) 183 const unsigned short *code = *code_ptr; 186 *code_ptr += 1; 189 *code_ptr += 2;
|