Searched refs:cur_offset (Results 1 - 13 of 13) sorted by last modified time

/external/qemu/hw/nvram/
H A Dfw_cfg.c52 uint16_t cur_offset; member in struct:FWCfgState
62 if (s->cur_entry & FW_CFG_WRITE_CHANNEL && s->cur_offset < e->len) {
63 e->data[s->cur_offset++] = value;
64 if (s->cur_offset == e->len) {
66 s->cur_offset = 0;
75 s->cur_offset = 0;
95 if (s->cur_entry == FW_CFG_INVALID || !e->data || s->cur_offset >= e->len)
98 ret = e->data[s->cur_offset++];
173 qemu_put_be16s(f, &s->cur_offset);
184 qemu_get_be16s(f, &s->cur_offset);
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
H A Dcffload.c408 FT_ULong n, cur_offset; local
414 cur_offset = idx->offsets[0] - 1;
417 if ( cur_offset >= idx->data_size )
421 cur_offset ));
422 cur_offset = 0;
426 t[0] = org_bytes + cur_offset;
428 t[0] = new_bytes + cur_offset;
437 next_offset < cur_offset ||
439 next_offset = cur_offset;
447 if ( next_offset != cur_offset )
[all...]
/external/libnfc-nci/src/nfa/ee/
H A Dnfa_ee_act.c1920 NFA_TRACE_DEBUG5 ("nfa_ee_route_add_one_ecb max_len:%d, max_tlv:%d, cur_offset:%d, more:%d, num_tlv:%d",
2207 int cur_offset; local
2241 cur_offset = 0;
2244 status = nfa_ee_route_add_one_ecb(&nfa_ee_cb.ecb[NFA_EE_CB_4_DH], &max_len, more, p, &cur_offset);
2259 status = nfa_ee_route_add_one_ecb(p_cb, &max_len, more, p, &cur_offset);
/external/freetype/src/cff/
H A Dcffload.c408 FT_ULong n, cur_offset; local
414 cur_offset = idx->offsets[0] - 1;
417 if ( cur_offset != 0 )
421 cur_offset ));
422 cur_offset = 0;
426 t[0] = org_bytes + cur_offset;
428 t[0] = new_bytes + cur_offset;
436 if ( next_offset < cur_offset )
437 next_offset = cur_offset;
447 if ( next_offset != cur_offset )
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dtst_fs_struct.c23 #define check_field(x) cur_offset = do_field(#x, sizeof(fs.x), \
25 cur_offset)
27 static int do_field(const char *field, size_t size, int offset, int cur_offset) argument
29 if (offset != cur_offset) {
30 printf("\t(padding %d bytes?)\n", offset - cur_offset);
39 int cur_offset = 0; local
78 printf("Ending offset is %d\n\n", cur_offset);
H A Dtst_inode_size.c24 #define check_field(x, s) cur_offset = do_field(#x, s, sizeof(inode.x), \
26 cur_offset)
29 unsigned offset, unsigned cur_offset)
36 if (offset != cur_offset) {
38 field, cur_offset, offset);
48 int cur_offset = 0; local
74 do_field("Small inode end", 0, 0, cur_offset, 128);
84 do_field("Large inode end", 0, 0, cur_offset, sizeof(inode));
28 do_field(const char *field, unsigned size, unsigned cur_size, unsigned offset, unsigned cur_offset) argument
H A Dtst_super_size.c27 #define check_field(x, s) cur_offset = do_field(#x, s, sizeof(sb.x), \
29 cur_offset)
32 unsigned offset, unsigned cur_offset)
39 if (offset != cur_offset) {
41 field, cur_offset, offset);
51 int cur_offset = 0; local
139 do_field("Superblock end", 0, 0, cur_offset, 1024);
31 do_field(const char *field, unsigned size, unsigned cur_size, unsigned offset, unsigned cur_offset) argument
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_linux.cc247 uptr cur_beg, cur_end, cur_offset, prot; local
251 Next(&cur_beg, &cur_end, &cur_offset, module_name.data(),
271 uptr base_address = (i ? cur_beg : 0) - cur_offset;
/external/chromium_org/third_party/freetype/src/cff/
H A Dcffload.c408 FT_ULong n, cur_offset; local
414 cur_offset = idx->offsets[0] - 1;
417 if ( cur_offset >= idx->data_size )
421 cur_offset ));
422 cur_offset = 0;
426 t[0] = org_bytes + cur_offset;
428 t[0] = new_bytes + cur_offset;
437 next_offset < cur_offset ||
439 next_offset = cur_offset;
447 if ( next_offset != cur_offset )
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dprofiledata_unittest.cc217 ssize_t cur_offset = 5 * sizeof(ProfileDataSlot);
223 if (cur_offset > filesize - 3 * sizeof(ProfileDataSlot))
226 reinterpret_cast<ProfileDataSlot*>(filedata.get() + cur_offset);
229 if (cur_offset > filesize - size_this_sample)
244 cur_offset += size_this_sample;
250 if (cur_offset >= filesize)
255 while (cur_offset < filesize) {
256 char* line_start = filedata.get() + cur_offset;
310 cur_offset += (line_end - line_start) + 1;
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dprofiledata_unittest.cc217 ssize_t cur_offset = 5 * sizeof(ProfileDataSlot);
223 if (cur_offset > filesize - 3 * sizeof(ProfileDataSlot))
226 reinterpret_cast<ProfileDataSlot*>(filedata.get() + cur_offset);
229 if (cur_offset > filesize - size_this_sample)
244 cur_offset += size_this_sample;
250 if (cur_offset >= filesize)
255 while (cur_offset < filesize) {
256 char* line_start = filedata.get() + cur_offset;
310 cur_offset += (line_end - line_start) + 1;
/external/chromium_org/pdf/
H A Dchunk_stream.cc111 size_t cur_offset = offset; local
114 if (cur_offset < it->first) {
115 size_t new_size = it->first - cur_offset;
116 ranges->push_back(std::pair<size_t, size_t>(cur_offset, new_size));
117 cur_offset = it->first + it->second;
118 } else if (cur_offset < it->first + it->second) {
119 cur_offset = it->first + it->second;
124 if (cur_offset < offset + size)
125 ranges->push_back(std::pair<size_t, size_t>(cur_offset,
126 offset + size - cur_offset));
[all...]
/external/chromium_org/content/test/plugin/
H A Dplugin_request_read_test.cc97 int cur_offset = offset + i; local
98 char expected = '0' + cur_offset;

Completed in 396 milliseconds