Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 40) sorted by relevance

12

/ndk/sources/host-tools/ndk-stack/elff/
Dmapfile.c132 mapfile_read_at(MapFile* handle, size_t offset, void* buf, size_t nbyte) in mapfile_read_at() argument
136 convert.QuadPart = offset; in mapfile_read_at()
145 ssize_t res = lseek((int)(ptrdiff_t)handle, offset, SEEK_SET); in mapfile_read_at()
152 size_t offset, in mapfile_map() argument
178 map_offset = offset & ~align_mask; in mapfile_map()
179 map_size = (size_t)(offset - map_offset + size); in mapfile_map()
232 *mapped_offset = (char*)mapped_at + (offset - map_offset); in mapfile_map()
Delf_mapped_section.cc34 Elf_Xword offset, in map() argument
38 mapped_at_ = mapfile_map(handle, offset, size, PROT_READ, in map()
Dmapfile.h84 size_t offset,
112 size_t offset,
Delf_file.cc442 Elf_Off* offset, in get_section_info_by_name() argument
450 *offset = pull_val(cur_section->sh_offset); in get_section_info_by_name()
469 Elf_Off offset; in map_section_by_name() local
471 if (!get_section_info_by_name(name, &offset, &size)) { in map_section_by_name()
475 return section->map(elf_handle_, offset, size); in map_section_by_name()
Delf_file.h478 bool get_range(Elf_Word offset, AddrType* low, AddrType* high) { in get_range() argument
479 const AddrType* ptr = INC_CPTR_T(AddrType, debug_ranges_.data(), offset); in get_range()
608 Elf_Off* offset,
Delf_mapped_section.h49 bool map(MapFile* handle, Elf_Xword offset, Elf_Word size);
/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_unistd.cpp286 streamoff _Filebuf_base::_M_seek(streamoff offset, ios_base::seekdir dir) in _M_seek() argument
292 if (offset < 0 /* || offset > _M_file_size() */ ) in _M_seek()
300 if (/* offset > 0 || */ -offset > _M_file_size() ) in _M_seek()
308 return LSEEK(_M_file_id, offset, whence); in _M_seek()
316 void* _Filebuf_base::_M_mmap(streamoff offset, streamoff len) in _M_mmap() argument
320 base = MMAP(0, len, PROT_READ, MAP_PRIVATE, _M_file_id, offset); in _M_mmap()
322 if (LSEEK(_M_file_id, offset + len, SEEK_SET) < 0) { in _M_mmap()
329 _STLP_MARK_PARAMETER_AS_UNUSED(&offset) in _M_mmap()
Dfstream_win32io.cpp547 streamoff _Filebuf_base::_M_seek(streamoff offset, ios_base::seekdir dir) { in _M_seek() argument
553 if (offset < 0 /* || offset > _M_file_size() */ ) in _M_seek()
561 if (/* offset > 0 || */ -offset > _M_file_size() ) in _M_seek()
570 li.QuadPart = offset; in _M_seek()
584 void* _Filebuf_base::_M_mmap(streamoff offset, streamoff len) { in _M_mmap() argument
600 li.QuadPart = offset; in _M_mmap()
608 if (base == 0 || _M_seek(offset + len, ios_base::beg) < 0) { in _M_mmap()
Dfstream_stdio.cpp342 streamoff _Filebuf_base::_M_seek(streamoff offset, ios_base::seekdir dir) in _M_seek() argument
348 if (offset < 0 /* || offset > _M_file_size() */ ) in _M_seek()
356 if (/* offset > 0 || */ -offset > _M_file_size() ) in _M_seek()
364 if ( FSEEK(_M_file, offset, whence) == 0 ) { in _M_seek()
/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex_internal.c577 Idx offset; in re_string_reconstruct() local
580 offset = idx - pstr->raw_mbs_idx; in re_string_reconstruct()
598 offset = idx; in re_string_reconstruct()
601 if (BE (offset != 0, 1)) in re_string_reconstruct()
604 if (BE (offset < pstr->valid_raw_len, 1)) in re_string_reconstruct()
614 if (pstr->offsets[mid] > offset) in re_string_reconstruct()
616 else if (pstr->offsets[mid] < offset) in re_string_reconstruct()
622 if (pstr->offsets[mid] < offset) in re_string_reconstruct()
630 if (pstr->valid_len > offset in re_string_reconstruct()
631 && mid == offset && pstr->offsets[mid] == offset) in re_string_reconstruct()
[all …]
Dstdio.in.h323 extern int fseeko (FILE *fp, off_t offset, int whence);
324 # define fseek(fp, offset, whence) fseeko (fp, (off_t)(offset), whence)
335 extern int rpl_fseek (FILE *fp, long offset, int whence);
/ndk/sources/cxx-stl/gabi++/src/
Ddynamic_cast.cc102 long offset = base_info->offset(); in get_subobject() local
106 static_cast<const std::ptrdiff_t*> (adjust_pointer(vtable, offset)); in get_subobject()
107 offset = *virtual_base_offset_address; in get_subobject()
109 return adjust_pointer(object, offset); in get_subobject()
191 const abi::__class_type_info *dst, std::ptrdiff_t offset) in cast_context()
192 : object(obj), src_type(src), dst_type(dst), src2dst_offset(offset), in cast_context()
/ndk/sources/host-tools/make-3.81/
Dgetloadavg.c483 static long offset; variable
870 if (offset == 0) in getloadavg()
899 offset = nl[0].n_value; in getloadavg()
907 offset = (long) ldav_off & 0x7fffffff; in getloadavg()
936 offset = nl[0].n_value; in getloadavg()
943 if (offset && getloadavg_initialized) in getloadavg()
947 if (lseek (channel, offset, 0) == -1L in getloadavg()
955 if (kvm_read (kd, offset, (char *) load_ave, sizeof (load_ave)) in getloadavg()
964 if (offset == 0 || !getloadavg_initialized) in getloadavg()
Dexpand.c64 unsigned int offset = ptr - variable_buffer; in variable_buffer_output() local
70 ptr = variable_buffer + offset; in variable_buffer_output()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_time_facets.c155 size_t offset; in _STLP_WEAK() local
158 offset = 0; in _STLP_WEAK()
169 offset = 7; in _STLP_WEAK()
172 __table._M_dayname + offset, __table._M_dayname + offset + 7); in _STLP_WEAK()
180 offset = 12; in _STLP_WEAK()
183 … __table._M_monthname + offset, __table._M_monthname + offset + 12); in _STLP_WEAK()
/ndk/sources/cxx-stl/stlport/src/
Dnum_put_float.cpp416 int offset = 0; in _Stl_ecvtR() local
420 if (offset != 0) in _Stl_ecvtR()
421 buf[i - offset] = buf[i]; in _Stl_ecvtR()
424 if (offset != 0) break; in _Stl_ecvtR()
425 ++offset; in _Stl_ecvtR()
429 if (offset != 0) in _Stl_ecvtR()
430 buf[i - offset] = 0; in _Stl_ecvtR()
455 int offset = 0; in _Stl_fcvtR() local
456 while (buf[++i] != 0 && (offset == 0 || n != 0)) { in _Stl_fcvtR()
458 if (offset != 0) { in _Stl_fcvtR()
[all …]
/ndk/sources/host-tools/sed-4.2.1/testsuite/
Duniq.good67 /* Copy the offset information from temporary store if necessary */
120 /* Opening capturing bracket. If there is space in the offset vector, save
188 If there isn't enough space in the offset vector, treat this as if it were a
330 const uschar *p = md->start_subject + md->offset_vector[offset];
353 ecode + ((offset < offset_top && md->offset_vector[offset] >= 0) ?
412 if (!match_ref (offset, eptr, length, md, ims))
485 if (i >= max || !match_ref (offset, eptr, length, md, ims))
519 if (offset < md->offset_max)
520 if (offset >= md->offset_max)
521 if (offset_top <= offset)
[all …]
Duniq.inp454 /* Copy the offset information from temporary store if necessary */
509 /* Opening capturing bracket. If there is space in the offset vector, save
592 If there isn't enough space in the offset vector, treat this as if it were a
841 const uschar *p = md->start_subject + md->offset_vector[offset];
894 ecode + ((offset < offset_top && md->offset_vector[offset] >= 0) ?
1071 if (!match_ref (offset, eptr, length, md, ims))
1072 if (!match_ref (offset, eptr, length, md, ims))
1073 if (!match_ref (offset, eptr, length, md, ims))
1169 if (i >= max || !match_ref (offset, eptr, length, md, ims))
1245 if (offset < md->offset_max)
[all …]
/ndk/tests/device/test-stlport/unit/
Dfstream_test.cpp56 CPPUNIT_TEST(offset);
83 void offset();
437 streamoff offset = pos; in seek() local
438 CPPUNIT_ASSERT( offset >= chars_read ); in seek()
439 offset = s.rdbuf()->pubseekoff( -offset, ios_base::cur ); in seek()
440 CPPUNIT_ASSERT( offset == 0 ); in seek()
923 void FstreamTest::offset() in offset() function in FstreamTest
Dcodecvt_test.cpp239 int offset = 0; in do_length() local
241 offset = 2; in do_length()
243 offset = 1; in do_length()
245 char *ibegin = new char[m + offset]; in do_length()
249 do_in(tmpState, efrom, eend, ecur, ibegin, ibegin + m + offset, icur); in do_length()
/ndk/tests/device/test-gnustl-full/unit/
Dfstream_test.cpp56 CPPUNIT_TEST(offset);
83 void offset();
437 streamoff offset = pos; in seek() local
438 CPPUNIT_ASSERT( offset >= chars_read ); in seek()
439 offset = s.rdbuf()->pubseekoff( -offset, ios_base::cur ); in seek()
440 CPPUNIT_ASSERT( offset == 0 ); in seek()
923 void FstreamTest::offset() in offset() function in FstreamTest
Dcodecvt_test.cpp239 int offset = 0; in do_length() local
241 offset = 2; in do_length()
243 offset = 1; in do_length()
245 char *ibegin = new char[m + offset]; in do_length()
249 do_in(tmpState, efrom, eend, ecur, ibegin, ibegin + m + offset, icur); in do_length()
/ndk/sources/cxx-stl/gabi++/include/
Dcxxabi.h126 offset() const { return __offset_flags >> __offset_shift; } in offset() function
/ndk/sources/android/libthread_db/gdb-7.1.x/
Dthread_db.h164 psaddr_t map_address, size_t offset,
/ndk/sources/host-tools/sed-4.2.1/sed/
Dexecute.c1217 size_t offset = regs.start[0]; local
1221 if (start < offset)
1222 str_append(&s_accum, line.active + start, offset - start);
1233 if ((matched > 0 || count == 0 || offset > last_end)
1256 str_append(&s_accum, line.active + offset, matched);
1262 start = offset + matched;

12