Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 25 of 31) sorted by relevance

12

/hardware/google/pixel/power-libperfmgr/aidl/
DGpuCapacityNode.h42 virtual off_t lseek(int, off_t, int) const = 0;
57 off_t lseek(int fd, off_t offset, int whence) const final { in lseek() function
58 return ::lseek(fd, offset, whence); in lseek()
DGpuCapacityNode.cpp113 auto const rc = fd_interface_->lseek(frequency_fd_, 0, SEEK_SET); in gpu_frequency()
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DGpuCapacityNodeTest.cpp36 MOCK_METHOD(off_t, lseek, (int, off_t, int), (const, final));
51 off_t lseek(int fd, off_t offset, int whence) const final { in lseek() function
52 return wrapped_->lseek(fd, offset, whence); in lseek()
137 EXPECT_CALL(*mock_fd_interface, lseek(another_fake_fd, 0, SEEK_SET)) in TEST_F()
162 EXPECT_CALL(*mock_fd_interface, lseek(another_fake_fd, 0, SEEK_SET)).WillOnce(Return(0)); in TEST_F()
182 EXPECT_CALL(*mock_fd_interface, lseek(another_fake_fd, 0, SEEK_SET)).WillOnce(Return(0)); in TEST_F()
204 EXPECT_CALL(*mock_fd_interface, lseek(_, _, _)).InSequence(seq).WillOnce(Return(-1)); in TEST_F()
/hardware/google/aemu/base/
DFileUtils.cpp45 off_t size = lseek(fd, 0, SEEK_END); in readFileIntoString()
49 off_t err = lseek(fd, 0, SEEK_SET); in readFileIntoString()
/hardware/google/aemu/base/include/aemu/base/
Dmsvc.h54 #define lseek(a, b, c) _lseek(a, b, c) macro
80 #define lseek(a, b, c) _lseek(a, b, c) macro
/hardware/qcom/sm8150/gps/etc/seccomp_policy/
Dgnss@2.0-xtwifi-client.policy36 lseek: 1
72 lseek: 1
Dgnss@2.0-base.policy72 lseek: 1
/hardware/qcom/sm7250/gps/etc/seccomp_policy/
Dgnss@2.0-xtwifi-client.policy36 lseek: 1
72 lseek: 1
Dgnss@2.0-base.policy72 lseek: 1
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c338 lseek(fd, 0, SEEK_SET); in record_file()
340 lseek(fd, 0, SEEK_END); in record_file()
368 lseek(fd, 0, SEEK_SET); in record_file()
370 lseek(fd, 0, SEEK_END); in record_file()
491 fprintf(stderr, "Arec:lseeked to %d", (int) lseek(fd, 0, SEEK_SET)); in signal_handler()
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_reference.cpp55 off_t current = lseek(fd, 0, SEEK_CUR); in get_buffer_size()
56 off_t size = lseek(fd, 0, SEEK_END); in get_buffer_size()
57 lseek(fd, current, SEEK_SET); in get_buffer_size()
/hardware/qcom/audio/hal/audio_extn/
Dsndmonitor.c106 off_t pos = lseek(fd, 0, SEEK_CUR); in read_state()
126 lseek(fd, 0, SEEK_SET); in read_state()
380 lseek(dev_event->fd, 0, SEEK_SET); in on_dev_event()
413 lseek(s->fd, 0, SEEK_SET); in on_sndcard_state_update()
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXw32defs.h38 # define lseek _lseek macro
/hardware/ti/am57x/bootctrl/
Dbootloader_message.cpp86 if (lseek(fd, static_cast<off_t>(offset), SEEK_SET) != static_cast<off_t>(offset)) { in read_misc_partition()
107 if (lseek(fd, static_cast<off_t>(offset), SEEK_SET) != static_cast<off_t>(offset)) { in write_misc_partition()
/hardware/interfaces/configstore/1.1/default/seccomp_policy/
Dconfigstore@1.1-arm64.policy35 lseek: 1
/hardware/google/gfxstream/guest/mesa/src/util/
Dos_memory_fd.c77 lseek(fd, 0, SEEK_SET); in os_import_memory_fd()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/
DDefaultVhalImpl_test.cpp437 lseek(memfd, 0, SEEK_SET); in TEST_F()
645 lseek(memfd, 0, SEEK_SET); in TEST_P()
763 lseek(memfd, 0, SEEK_SET); in TEST_F()
787 lseek(memfd, 0, SEEK_SET); in TEST_F()
816 lseek(memfd, 0, SEEK_SET); in TEST_F()
848 lseek(memfd, 0, SEEK_SET); in TEST_F()
1348 lseek(memfd, 0, SEEK_SET); in TEST_F()
1381 lseek(memfd, 0, SEEK_SET); in TEST_F()
1419 lseek(memfd, 0, SEEK_SET); in TEST_F()
/hardware/interfaces/boot/1.1/default/boot_control/
Dlibboot_control.cpp86 if (lseek(fd, kBootloaderControlOffset, SEEK_SET) != kBootloaderControlOffset) { in LoadBootloaderControl()
104 if (lseek(fd.get(), kBootloaderControlOffset, SEEK_SET) != kBootloaderControlOffset) { in UpdateAndSaveBootloaderControl()
/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc230 lseek(notifyResetRequest, 0, SEEK_SET); in I2cWorkerThread()
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DEvsVideoEmulatedCamera.cpp73 lseek(mVideoFd, 0, SEEK_SET); in initialize()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp2751 lseek(inputBufferFileFd, -4, SEEK_CUR); in Read_Buffer_From_Mpeg2_Start_Code()
2765 lseek(inputBufferFileFd, -4, SEEK_CUR); in Read_Buffer_From_Mpeg2_Start_Code()
2776 lseek(inputBufferFileFd, -4, SEEK_CUR); in Read_Buffer_From_Mpeg2_Start_Code()
3033 lseek(inputBufferFileFd,-(SEQbytes+4),SEEK_CUR); in Read_Buffer_From_VC1_File()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp3058 lseek(inputBufferFileFd, -4, SEEK_CUR); in Read_Buffer_From_Mpeg2_Start_Code()
3072 lseek(inputBufferFileFd, -4, SEEK_CUR); in Read_Buffer_From_Mpeg2_Start_Code()
3083 lseek(inputBufferFileFd, -4, SEEK_CUR); in Read_Buffer_From_Mpeg2_Start_Code()
3324 lseek(inputBufferFileFd,-(SEQbytes+4),SEEK_CUR); in Read_Buffer_From_VC1_File()
3582 lseek(inputBufferFileFd, -32, SEEK_CUR); in Read_Buffer_From_VP8_File()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_mgr.cpp848 auto ion_fd_size = static_cast<unsigned int>(lseek(hnd->fd, 0, SEEK_END)); in ValidateBufferSize()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_mgr.cpp856 auto ion_fd_size = static_cast<unsigned int>(lseek(hnd->fd, 0, SEEK_END)); in ValidateBufferSize()
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DDefaultVehicleHalTest.cpp1886 lseek(fd, 0, SEEK_SET); in TEST_F()
1905 lseek(fd, 0, SEEK_SET); in TEST_F()

12