Home
last modified time | relevance | path

Searched refs:entry_offset (Results 1 – 11 of 11) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DLoadedArsc.java260 static boolean VerifyResTableEntry(ResTable_type type, int entry_offset) { in VerifyResTableEntry() argument
262 if (isTruthy(entry_offset & 0x03)) { in VerifyResTableEntry()
263 logError("Entry at offset " + entry_offset + " is not 4-byte aligned."); in VerifyResTableEntry()
269 if (entry_offset > Integer.MAX_VALUE - dtohl(type.entriesStart)) { in VerifyResTableEntry()
271 logError("Entry at offset " + entry_offset + " is too large."); in VerifyResTableEntry()
277 entry_offset += dtohl(type.entriesStart); in VerifyResTableEntry()
278 if (entry_offset > chunk_size - ResTable_entry.SIZEOF) { in VerifyResTableEntry()
279 logError("Entry at offset " + entry_offset in VerifyResTableEntry()
286 ResTable_entry entry = new ResTable_entry(type.myBuf(), type.myOffset() + entry_offset); in VerifyResTableEntry()
291 logError("ResTable_entry size " + entry_size + " at offset " + entry_offset in VerifyResTableEntry()
[all …]
/external/harfbuzz_ng/src/
Dhb-aat-layout-lcar-table.hh51 const OffsetTo<LigCaretClassEntry>* entry_offset = lookupTable.get_value (glyph, in get_lig_carets() local
53 const LigCaretClassEntry& array = entry_offset ? base+*entry_offset : Null (LigCaretClassEntry); in get_lig_carets()
86 const OffsetTo<LigCaretClassEntry>* entry_offset = lookupTable.get_value (glyph, in get_lig_carets() local
88 const LigCaretClassEntry& array = entry_offset ? base+*entry_offset : Null (LigCaretClassEntry); in get_lig_carets()
/external/e2fsprogs/ext2ed/
Dgroup_com.c25 long entry_offset=1; in type_ext2_group_desc___next() local
31 entry_offset=atol (buffer); in type_ext2_group_desc___next()
34 sprintf (buffer,"entry %ld",group_info.group_num+entry_offset); in type_ext2_group_desc___next()
41 long entry_offset=1; in type_ext2_group_desc___prev() local
47 entry_offset=atol (buffer); in type_ext2_group_desc___prev()
50 sprintf (buffer,"entry %ld",group_info.group_num-entry_offset); in type_ext2_group_desc___prev()
Dinodebitmap_com.c52 long entry_offset=1; in type_ext2_inode_bitmap___next() local
58 entry_offset=atol (buffer); in type_ext2_inode_bitmap___next()
61 sprintf (buffer,"entry %ld",inode_bitmap_info.entry_num+entry_offset); in type_ext2_inode_bitmap___next()
68 long entry_offset=1; in type_ext2_inode_bitmap___prev() local
74 entry_offset=atol (buffer); in type_ext2_inode_bitmap___prev()
77 sprintf (buffer,"entry %ld",inode_bitmap_info.entry_num-entry_offset); in type_ext2_inode_bitmap___prev()
Dblockbitmap_com.c79 long entry_offset=1; in type_ext2_block_bitmap___next() local
85 entry_offset=atol (buffer); in type_ext2_block_bitmap___next()
88 sprintf (buffer,"entry %ld",block_bitmap_info.entry_num+entry_offset); in type_ext2_block_bitmap___next()
95 long entry_offset=1; in type_ext2_block_bitmap___prev() local
101 entry_offset=atol (buffer); in type_ext2_block_bitmap___prev()
104 sprintf (buffer,"entry %ld",block_bitmap_info.entry_num-entry_offset); in type_ext2_block_bitmap___prev()
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDebugNamesDWARFIndex.cpp108 uint64_t entry_offset = nte.getEntryOffset(); in GetGlobalVariables() local
109 llvm::Expected<DebugNames::Entry> entry_or = ni.getEntry(&entry_offset); in GetGlobalVariables()
110 for (; entry_or; entry_or = ni.getEntry(&entry_offset)) { in GetGlobalVariables()
130 uint64_t entry_offset = nte.getEntryOffset(); in GetGlobalVariables() local
131 llvm::Expected<DebugNames::Entry> entry_or = ni.getEntry(&entry_offset); in GetGlobalVariables()
132 for (; entry_or; entry_or = ni.getEntry(&entry_offset)) { in GetGlobalVariables()
269 uint64_t entry_offset = nte.getEntryOffset(); in GetFunctions() local
270 llvm::Expected<DebugNames::Entry> entry_or = ni.getEntry(&entry_offset); in GetFunctions()
271 for (; entry_or; entry_or = ni.getEntry(&entry_offset)) { in GetFunctions()
/external/crosvm/x86_64/src/
Dmptable.rs475 let mut entry_offset = mpc_offset in cpu_entry_count() localVariable
479 while entry_offset < mpc_end { in cpu_entry_count()
480 let entry_type: u8 = mem.read_obj_from_addr(entry_offset).unwrap(); in cpu_entry_count()
481 entry_offset = entry_offset in cpu_entry_count()
484 assert!(entry_offset <= mpc_end); in cpu_entry_count()
/external/arm-trusted-firmware/tools/fiptool/
Dfiptool.c503 uint64_t entry_offset, buf_size, payload_size = 0, pad_size; in pack_images() local
524 entry_offset = buf_size; in pack_images()
531 entry_offset = (entry_offset + align - 1) & ~(align - 1); in pack_images()
532 image->toc_e.offset_address = entry_offset; in pack_images()
534 entry_offset += image->toc_e.size; in pack_images()
543 toc_entry->offset_address = (entry_offset + align - 1) & ~(align - 1); in pack_images()
569 if (fseek(fp, entry_offset, SEEK_SET)) in pack_images()
572 pad_size = toc_entry->offset_address - entry_offset; in pack_images()
/external/freetype/src/base/
Dftrfork.c789 FT_Int32 entry_id, entry_offset, entry_length = 0; in raccess_guess_apple_generic() local
823 if ( FT_READ_LONG( entry_offset ) || in raccess_guess_apple_generic()
826 *result_offset = entry_offset; in raccess_guess_apple_generic()
/external/pdfium/third_party/libtiff/
Dtif_dirwrite.c2834 uint64 entry_offset = 0; in _TIFFRewriteField() local
2950 entry_offset = value; in _TIFFRewriteField()
2958 memcpy( &entry_offset, direntry_raw + 12, sizeof(uint64) ); in _TIFFRewriteField()
2960 TIFFSwabLong8( &entry_offset ); in _TIFFRewriteField()
2966 if( entry_offset == 0 && entry_count == 0 && entry_type == 0 ) in _TIFFRewriteField()
3128 entry_offset = read_offset + 8; in _TIFFRewriteField()
3136 entry_offset = read_offset + 12; in _TIFFRewriteField()
3165 if (!SeekOK(tif, entry_offset)) { in _TIFFRewriteField()
3188 entry_offset = TIFFSeekFile(tif,0,SEEK_END); in _TIFFRewriteField()
3199 memcpy( &entry_offset, buf_to_write, count*TIFFDataWidth(datatype)); in _TIFFRewriteField()
[all …]
/external/llvm-project/lldb/source/Symbol/
DCompactUnwindInfo.cpp563 offset_t entry_offset = BinarySearchRegularSecondPage( in GetCompactUnwindInfoForFunction() local
567 if (entry_offset == LLDB_INVALID_OFFSET) { in GetCompactUnwindInfoForFunction()
570 entry_offset += 4; // skip over functionOffset in GetCompactUnwindInfoForFunction()
571 unwind_info.encoding = m_unwindinfo_data.GetU32(&entry_offset); // encoding in GetCompactUnwindInfoForFunction()