| /commonlibrary/utils_lite/hals/file/ |
| H A D | hal_file.c | 58 int HalFileSeek(int fd, int offset, unsigned int whence) in HalFileSeek() argument
|
| /commonlibrary/utils_lite/file/src/file_impl_hal/ |
| H A D | file.c | 56 int UtilsFileSeek(int fd, int offset, unsigned int whence)
in UtilsFileSeek() argument
|
| /commonlibrary/c_utils/base/src/ |
| H A D | ashmem.cpp | 293 bool Ashmem::CheckValid(int32_t size, int32_t offset, in argument [all...] |
| H A D | mapped_file.cpp | 30 MappedFile::MappedFile(std::string& path, MapMode mode, off_t offset, off_t size, const char *hint) in MappedFile() argument
|
| H A D | parcel.cpp | 162 auto offset = objects[nextObj]; in IsReadObjectData() local 684 bool Parcel::WriteObjectOffset(binder_size_t offset) in WriteObjectOffset() argument
|
| /commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/ |
| H A D | mapped_benchmark_test.cpp | 100 bool SaveStringToFile(const std::string& filePath, const std::string& content, off_t offset, bool truncated /*= true*/) in SaveStringToFile() argument 290 off_t offset = 4 * 1024; in BENCHMARK_F() local 1065 off_t offset = 100; // Specify offset that is not multiple of page-size. BENCHMARK_F() local 1099 off_t offset = 4 * 1024; // Specify offset excessing the substantial size of the file. BENCHMARK_F() local 1444 off_t offset = 4 * 1024; BENCHMARK_F() local 1485 off_t offset = mf.StartOffset(); BENCHMARK_F() local 1548 off_t offset = mf.StartOffset(); BENCHMARK_F() local 1621 off_t offset = mf1.StartOffset(); BENCHMARK_F() local 1679 off_t offset = mf1.StartOffset(); BENCHMARK_F() local [all...] |
| /commonlibrary/c_utils/base/test/unittest/common/ |
| H A D | utils_mapped_file_test.cpp | 88 bool SaveStringToFile(const std::string& filePath, const std::string& content, off_t offset, bool truncated /*= true*/) in SaveStringToFile() argument 421 off_t offset = 4 * 1024; in HWTEST_F() local 1004 off_t offset = 100; // Specify offset that is not multiple of page-size. HWTEST_F() local 1033 off_t offset = 4 * 1024; // Specify offset excessing the substantial size of the file. HWTEST_F() local 1319 off_t offset = 4 * 1024; HWTEST_F() local 1357 off_t offset = mf.StartOffset(); HWTEST_F() local 1406 off_t offset = mf.StartOffset(); HWTEST_F() local 1463 off_t offset = mf1.StartOffset(); HWTEST_F() local 1508 off_t offset = mf1.StartOffset(); HWTEST_F() local [all...] |
| /commonlibrary/ets_utils/js_api_module/buffer/test/ |
| H A D | test_napi.cpp | 1012 unsigned int offset = 0; HWTEST_F() local 1036 unsigned int offset = 0; HWTEST_F() local 1062 unsigned int offset = 0; HWTEST_F() local 1086 unsigned int offset = 0; HWTEST_F() local 1105 unsigned int offset = 0; HWTEST_F() local 1125 unsigned int offset = 0; HWTEST_F() local [all...] |
| /commonlibrary/ets_utils/js_api_module/buffer/ |
| H A D | js_buffer.cpp | 212 void Buffer::WriteInt32BE(int32_t value, uint32_t offset) in WriteInt32BE() argument 220 int32_t Buffer::ReadInt32BE(uint32_t offset) in ReadInt32BE() argument 228 void Buffer::WriteInt32LE(int32_t value, uint32_t offset) in WriteInt32LE() argument 236 int32_t Buffer::ReadInt32LE(uint32_t offset) in ReadInt32LE() argument 244 void Buffer::WriteUInt32BE(int32_t value, uint32_t offset) in WriteUInt32BE() argument 252 ReadUInt32BE(uint32_t offset) ReadUInt32BE() argument 260 WriteUInt32LE(int32_t value, uint32_t offset) WriteUInt32LE() argument 268 ReadUInt32LE(uint32_t offset) ReadUInt32LE() argument 291 ReadBytes(uint8_t *data, uint32_t offset, uint32_t length) ReadBytes() argument 318 WriteByte(uint8_t number, uint32_t offset) WriteByte() argument 330 WriteString(string value, unsigned int offset, unsigned int length) WriteString() argument 337 WriteStringLoop(string value, unsigned int offset, unsigned int end, unsigned int length) WriteStringLoop() argument 369 WriteString(std::u16string value, unsigned int offset, unsigned int length) WriteString() argument 375 WriteStringLoop(std::u16string value, unsigned int offset, unsigned int end) WriteStringLoop() argument 398 SetArray(vector<uint8_t> array, unsigned int offset) SetArray() argument 405 FillBuffer(Buffer *buffer, unsigned int offset, unsigned int end) FillBuffer() argument 424 FillNumber(vector<uint8_t> numbers, unsigned int offset, unsigned int end) FillNumber() argument 464 FillString(string value, unsigned int offset, unsigned int end, string encoding) FillString() argument 476 WriteString(string value, unsigned int offset, unsigned int length, string encoding) WriteString() argument 526 IndexOf(const char *data, uint32_t offset, uint32_t len, uint64_t &resultIndex) IndexOf() argument 550 LastIndexOf(const char *data, uint32_t offset, uint32_t len) LastIndexOf() argument [all...] |
| H A D | native_module_buffer.cpp | 378 size_t offset = 0; in BufferConstructorInner() local 452 uint32_t offset = 0; in WriteInt32BE() local 464 uint32_t offset = 0; in ReadInt32BE() local 534 uint32_t offset = 0; WriteString() local 562 uint32_t offset = 0; FillString() local 586 uint32_t offset = 0; FillNumbers() local 611 uint32_t offset = 0; FillBuffer() local 724 uint32_t offset = 0; WriteInt32LE() local 736 uint32_t offset = 0; ReadInt32LE() local 750 uint32_t offset = 0; WriteUInt32BE() local 762 uint32_t offset = 0; ReadUInt32BE() local 776 uint32_t offset = 0; WriteUInt32LE() local 788 uint32_t offset = 0; ReadUInt32LE() local 978 uint32_t offset = 0; IndexOf() local [all...] |