/external/dtc/tests/ |
property_iterate.c | 38 int offset, property; local 54 offset = fdt_first_subnode(fdt, parent_offset); 55 if (offset < 0) 58 fdt_for_each_property_offset(property, fdt, offset) 70 int offset; local 73 fdt_for_each_subnode(offset, fdt, 0) { 74 test_node(fdt, offset);
|
rw_tree1.c | 52 int offset, s1, s2; local 69 OFF_CHECK(offset, fdt_add_subnode(fdt, 0, "subnode@1")); 70 s1 = offset; 73 OFF_CHECK(offset, fdt_add_subnode(fdt, s1, "subsubnode")); 74 CHECK(fdt_setprop(fdt, offset, "compatible", 76 CHECK(fdt_setprop_cell(fdt, offset, "prop-int", TEST_VALUE_1)); 77 OFF_CHECK(offset, fdt_add_subnode(fdt, s1, "ss1")); 79 OFF_CHECK(offset, fdt_add_subnode(fdt, 0, "subnode@2")); 80 s2 = offset; 83 OFF_CHECK(offset, fdt_add_subnode(fdt, s2, "subsubnode@0")) [all...] |
set_name.c | 32 int offset; local 41 offset = fdt_path_offset(fdt, path); 42 if (offset < 0) 45 getname = fdt_get_name(fdt, offset, &len); 47 offset, getname, len); 49 FAIL("fdt_get_name(%d): %s", offset, fdt_strerror(len)); 59 err = fdt_set_name(fdt, offset, newname); 61 FAIL("fdt_set_name(%d, \"%s\"): %s", offset, newname, 64 getname = fdt_get_name(fdt, offset, &len); 66 FAIL("fdt_get_name(%d): %s", offset, fdt_strerror(len)) [all...] |
stringlist.c | 34 int offset, err; local 36 offset = fdt_path_offset(fdt, "/"); 37 if (offset < 0) 40 err = fdt_stringlist_count(fdt, offset, "#address-cells"); 44 err = fdt_stringlist_search(fdt, offset, "#address-cells", "foo"); 58 err = fdt_stringlist_search(fdt, offset, "#address-cells", ""); 73 int offset, err; local 75 offset = fdt_path_offset(fdt, path); 76 if (offset < 0) 79 err = fdt_stringlist_count(fdt, offset, property) 93 int offset, err; local 111 int offset, len; local [all...] |
subnode_iterate.c | 38 int offset; local 51 fdt_for_each_subnode(offset, fdt, parent_offset) 63 int offset; local 66 fdt_for_each_subnode(offset, fdt, 0) { 67 test_node(fdt, offset);
|
/external/e2fsprogs/ext2ed/ |
super_com.c | 123 unsigned long copy_num,offset; local 134 offset=file_system_info.super_block_offset+copy_num*file_system_info.no_blocks_in_group*file_system_info.block_size; 136 if (offset > file_system_info.file_system_size) { 141 device_offset=offset;
|
/external/elfutils/libdw/ |
dwarf_formref_die.c | 46 Dwarf_Off offset; local 49 /* This has an absolute offset. */ 65 ref_size, &offset, IDX_debug_info, 0)) 68 return INTUSE(dwarf_offdie) (dbg_ret, offset, result); 75 /* This doesn't have an offset, but instead a value we 96 offset = cu->start + cu->type_offset; 100 /* Other forms produce an offset from the CU. */ 101 if (unlikely (__libdw_formref (attr, &offset) != 0)) 108 if (unlikely (offset >= size)) 115 result->addr = (char *) datap + offset; [all...] |
dwarf_siblingof.c | 73 Dwarf_Off offset; local 75 if (unlikely (__libdw_formref (&sibattr, &offset) != 0)) 83 if (unlikely (offset >= size || offset <= die_off)) 90 addr = sibattr.cu->startp + offset;
|
/external/f2fs-tools/fsck/ |
defrag.c | 17 u64 offset; local 32 offset = OFFSET_IN_SEG(sbi, from); 35 f2fs_clear_bit(offset, (char *)se->cur_valid_map); 39 offset = OFFSET_IN_SEG(sbi, to); 42 f2fs_set_bit(offset, (char *)se->cur_valid_map); 66 u64 idx, offset; local 75 offset = OFFSET_IN_SEG(sbi, idx); 77 if (!f2fs_test_bit(offset, (const char *)se->cur_valid_map))
|
/external/fio/lib/ |
memalign.c | 11 unsigned int offset; member in struct:align_footer 25 f->offset = (uintptr_t) ret - (uintptr_t) ptr; 35 free(ptr - f->offset);
|
/external/freetype/src/gxvalid/ |
gxvmort4.c | 62 | offset[0] | -> | offset [byte] 68 | offset[1] | | 88 FT_UShort offset; local 92 offset = (FT_UShort)( base_value_p->u + 95 p = gxvalid->lookuptbl_head + offset;
|
/external/icu/icu4c/source/i18n/unicode/ |
plurfmt.h | 94 * offsetValue = "offset:" number 114 * the <code>PluralRules</code> with the input number <em>minus the offset</em>. 115 * (The offset defaults to 0 if it is omitted from the pattern string.) 120 * is replaced by the input number minus the offset. 121 * The number-minus-offset value is formatted using a 125 * <strong>Note:</strong> That argument is formatting without subtracting the offset! 126 * If you need a custom format and have a non-zero offset, then you need to pass the 127 * number-minus-offset value as a separate parameter. 485 * Before calling, set parse_pos.index to the offset you want to start 574 double offset; member in class:PluralFormat [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
collationinfo.cpp | 57 printf(" reserved (offset 8): %6ld\n", (long)length); 67 printf(" reserved (offset 10): %6ld\n", (long)length); 108 printf(" reserved (offset 18): %6ld\n", (long)length); 133 int16_t offset = (int16_t)pair; local 134 if(offset == 0) { 137 } else if(offset > 0) { 138 printf(" reorder [%04x, %04x[ by offset %02x to [%04x, %04x[\n", 139 start, limit, offset, 140 start + (offset << 8), limit + (offset << 8)) [all...] |
/external/jemalloc/src/ |
chunk_mmap.c | 37 size_t offset; local 59 offset = ALIGNMENT_ADDR2OFFSET(ret, alignment); 60 if (offset != 0) {
|
/external/libese/tools/ese_replay/ |
buffer.c | 37 int offset; local 64 for (offset = 0, i = 0; offset < (int)b->len && i < b->size; ++i) { 65 int last_offset = offset; 66 if (sscanf((char *)b->buffer + offset, "%2hhx%n", &b->buffer[i], &offset) != 69 offset += last_offset; 70 if (offset == 0)
|
/external/libexif/libexif/canon/ |
exif-mnote-data-canon.h | 41 unsigned int offset; member in struct:_ExifMnoteDataCanon
|
/external/libexif/libexif/fuji/ |
exif-mnote-data-fuji.h | 38 unsigned int offset; member in struct:_ExifMnoteDataFuji
|
/external/libnetfilter_conntrack/src/expect/ |
snprintf_default.c | 46 int ret = 0, size = 0, offset = 0; local 63 BUFFER_SIZE(ret, size, len, offset); 65 ret = __snprintf_expect_timeout(buf+offset, len, exp); 66 BUFFER_SIZE(ret, size, len, offset); 68 ret = __snprintf_expect_proto(buf+offset, len, exp); 69 BUFFER_SIZE(ret, size, len, offset); 71 ret = __snprintf_address(buf+offset, len, &exp->expected.orig, 73 BUFFER_SIZE(ret, size, len, offset); 75 ret = __snprintf_proto(buf+offset, len, &exp->expected.orig); 76 BUFFER_SIZE(ret, size, len, offset); [all...] |
snprintf_xml.c | 57 unsigned int size = 0, offset = 0; local 60 BUFFER_SIZE(ret, size, len, offset); 63 ret = snprintf(buf+offset, len, 66 BUFFER_SIZE(ret, size, len, offset); 69 ret = snprintf(buf+offset, len, "<timeout>%u</timeout>", 71 BUFFER_SIZE(ret, size, len, offset); 74 ret = snprintf(buf+offset, len, "<class>%u</class>", 76 BUFFER_SIZE(ret, size, len, offset); 79 ret = snprintf(buf+offset, len, "<zone>%u</zone>", exp->zone); 80 BUFFER_SIZE(ret, size, len, offset); 123 unsigned int size = 0, offset = 0; local 183 unsigned int size = 0, offset = 0; local 243 int ret = 0, size = 0, offset = 0; local [all...] |
/external/libnl/include/netlink/route/ |
pktloc.h | 30 uint16_t offset; member in struct:rtnl_pktloc
|
/external/libopus/silk/fixed/ |
residual_energy_FIX.c | 49 opus_int offset, i, j, rshift, lz1, lz2; local 57 offset = LPC_order + subfr_length; 60 ALLOC( LPC_res, ( MAX_NB_SUBFR >> 1 ) * offset, opus_int16 ); 64 silk_LPC_analysis_filter( LPC_res, x_ptr, a_Q12[ i ], ( MAX_NB_SUBFR >> 1 ) * offset, LPC_order, arch ); 76 LPC_res_ptr += offset; 79 x_ptr += ( MAX_NB_SUBFR >> 1 ) * offset;
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugInfoEntry.cpp | 31 uint32_t *Offset) { 32 Unit = Unit->getUnitSection().getUnitForOffset(*Offset); 33 return (Unit && DIE.extractFast(Unit, Offset)) ? Unit : nullptr; 40 uint32_t offset = Offset; local 42 if (debug_info_data.isValidOffset(offset)) { 43 uint32_t abbrCode = debug_info_data.getULEB128(&offset); 44 WithColor(OS, syntax::Address).get() << format("\n0x%8.8x: ", Offset); 60 dumpAttribute(OS, u, &offset, AttrSpec.Attr, AttrSpec.Form, indent); 186 Offset = *OffsetPtr [all...] |
/external/llvm/unittests/Support/ |
DataExtractorTest.cpp | 28 uint32_t offset = 0; local 30 EXPECT_EQ(0x80U, DE.getU8(&offset)); 31 EXPECT_EQ(1U, offset); 32 offset = 0; 33 EXPECT_EQ(0x8090U, DE.getU16(&offset)); 34 EXPECT_EQ(2U, offset); 35 offset = 0; 36 EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset)); 37 EXPECT_EQ(4U, offset); 38 offset = 0 76 uint32_t offset = 0; local 93 uint32_t offset = 0; local 103 uint32_t offset = 0; local [all...] |
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
read_checkzero.c | 51 off_t offset; local 54 offset = lseek(fd, 4096, SEEK_END); 57 offset = lseek(fd, offset - 4096, SEEK_SET); 62 fprintf(stderr, "non-zero read at offset %p\n", 63 offset + bufoff);
|
/external/ltp/testcases/network/nfs/nfslock01/ |
nfs_flock.c | 21 int offset = 0; local 50 if (mac == 1) { /* Set the offset to even lines */ 53 offset = 0; 55 offset += 2 * BYTES; 58 } else { /* Set the offset to odd lines */ 61 offset = BYTES; 63 offset += 2 * BYTES; 68 if (writeb_lock(fd, offset, SEEK_SET, BYTES) < 0) 71 lseek(fd, offset, SEEK_SET); 76 if (unb_lock(fd, offset, SEEK_SET, BYTES) < 0 [all...] |