Home
last modified time | relevance | path

Searched defs:fd (Results 1 - 25 of 28) sorted by relevance

12

/commonlibrary/c_utils/base/src/
H A Devent_handler.cpp23 EventHandler::EventHandler(int fd, EventReactor* r) in EventHandler() argument
H A Dio_event_handler.cpp28 IOEventHandler::IOEventHandler(int fd, EventId events, const EventCallback& cb) in IOEventHandler() argument
H A Dio_event_epoll.cpp57 bool IOEventEpoll::OperateEpoll(int op, int fd, EPEventId epollEvents) in OperateEpoll() argument
83 ErrCode IOEventEpoll::ModifyEvents(int fd, REventI argument
[all...]
H A Devent_handler.h42 void SetHandle(int fd) { fd_ = fd; } in SetHandle() argument
H A Dashmem.cpp46 int fd = AshmemCreate(name, size); in CreateAshmemStd() local
68 int fd = TEMP_FAILURE_RETRY(open("/dev/ashmem", O_RDWR | O_CLOEXEC)); in AshmemOpenLocked() local
93 int fd = AshmemOpenLocked(); AshmemOpen() local
106 int fd = AshmemOpen(); AshmemCreate() local
138 AshmemSetProt(int fd, int prot) AshmemSetProt() argument
143 AshmemGetSize(int fd) AshmemGetSize() argument
148 Ashmem(int fd, int32_t size) Ashmem() argument
165 int fd = AshmemCreate(name, size); CreateAshmem() local
[all...]
H A Dio_event_reactor.cpp54 void IOEventReactor::InsertNodeFront(int fd, IOEventHandler* target) in InsertNodeFront() argument
93 int fd = target->fd_; in AddHandler() local
203 UpdateToDemultiplexer(int fd) UpdateToDemultiplexer() argument
233 HandleEvents(int fd, EventId event) HandleEvents() argument
265 int fd = events[idx].first; HandleAll() local
312 DoClean(int fd) DoClean() argument
346 Clean(int fd) Clean() argument
[all...]
H A Dfile_ex.cpp47 bool RustLoadStringFromFd(int fd, rust::String& content) in RustLoadStringFromFd() argument
82 bool RustSaveStringToFd(int fd, const rust::String& content) in RustSaveStringToFd() argument
131 string GetFileNameByFd(const int fd) in GetFileNameByFd() argument
149 bool LoadStringFromFdToFile(int fd, string& content) in LoadStringFromFdToFile() argument
164 LoadStringFromFd(int fd, string& content) LoadStringFromFd() argument
231 SaveStringToFd(int fd, const std::string& content) SaveStringToFd() argument
[all...]
H A Dmapped_file.cpp166 int fd = open(path_.c_str(), openFlag_, S_IRWXU | S_IRGRP | S_IROTH); in OpenFile() local
/commonlibrary/memory_utils/libdmabufheap/include/
H A Ddmabuf_alloc.h39 unsigned int fd; member
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_unique_fd_test.cpp61 int fd = open("NOTHISFILE", O_RDWR, 0666); in HWTEST_F() local
76 int fd = open(testfilename, O_RDWR, 0666); in HWTEST_F() local
84 int fd = open(testfilename, O_RDWR, 0666); in HWTEST_F() local
92 int fd = open(testfilename, O_RDWR, 0666); in HWTEST_F() local
100 int fd = open(testfilename, O_RDWR, 0666); HWTEST_F() local
108 int fd = open(testfilename, O_RDWR, 0666); HWTEST_F() local
116 int fd = open(testfilename, O_RDWR, 0666); HWTEST_F() local
125 Close(int fd) Close() argument
137 int fd = open(testfilename, O_RDWR); HWTEST_F() local
151 int fd = open(testfilename, O_RDWR); HWTEST_F() local
164 int fd = open(testfilename, O_RDWR); HWTEST_F() local
[all...]
H A Dutils_file_test.cpp87 int fd = open(filename.c_str(), O_RDONLY); in HWTEST_F() local
191 int fd = open(filename.c_str(), O_RDONLY); in HWTEST_F() local
208 int fd in HWTEST_F() local
225 int fd = open(filename.c_str(), O_RDONLY); HWTEST_F() local
242 int fd = open(filename.c_str(), O_RDONLY); HWTEST_F() local
259 int fd = open(filename.c_str(), O_RDONLY); HWTEST_F() local
393 int fd = open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); HWTEST_F() local
415 int fd = open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); HWTEST_F() local
437 int fd = open(filename.c_str(), O_RDONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); HWTEST_F() local
[all...]
H A Dutils_mapped_file_test.cpp793 int fd = open(filename.c_str(), O_RDWR | O_CLOEXEC); in HWTEST_F() local
960 int fd = open(filename.c_str(), O_RDWR | O_CLOEXEC); in HWTEST_F() local
1313 int fd = open(filename.c_str(), O_RDWR | O_CLOEXEC); in HWTEST_F() local
[all...]
/commonlibrary/utils_lite/hals/file/
H A Dhal_file.c27 int HalFileClose(int fd) in HalFileClose() argument
32 int HalFileRead(int fd, char *buf, unsigned int len) in HalFileRead() argument
37 int HalFileWrite(int fd, const char *buf, unsigned int len) in HalFileWrite() argument
58 int HalFileSeek(int fd, int offset, unsigned int whence) in HalFileSeek() argument
/commonlibrary/c_utils/base/include/
H A Dio_event_handler.h40 inline void SetFd(int fd) in SetFd() argument
H A Dunique_fd.h50 static void Close(int fd) in Close() argument
/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/
H A Dashemem_benchmark_test.cpp441 int fd = ashmem->GetAshmemFd(); in BENCHMARK_F() local
493 int fd = ashmem->GetAshmemFd(); in BENCHMARK_F() local
/commonlibrary/c_utils/base/test/benchmarktest/unique_fd_benchmark_test/
H A Dunique_fd_benchmark_test.cpp75 int fd = open("NOTHISFILE", O_RDWR, FILE_PERMISSION_READ_WRITE); in BENCHMARK_F() local
98 int fd = open(TEST_FILE_NAME, O_RDWR, FILE_PERMISSION_READ_WRITE); in BENCHMARK_F() local
110 int fd = open(TEST_FILE_NAME, O_RDWR, FILE_PERMISSION_READ_WRITE); in BENCHMARK_F() local
122 int fd = open(TEST_FILE_NAME, O_RDWR, FILE_PERMISSION_READ_WRITE); BENCHMARK_F() local
134 int fd = open(TEST_FILE_NAME, O_RDWR, FILE_PERMISSION_READ_WRITE); BENCHMARK_F() local
146 int fd = open(TEST_FILE_NAME, O_RDWR, FILE_PERMISSION_READ_WRITE); BENCHMARK_F() local
158 int fd = open(TEST_FILE_NAME, O_RDWR, FILE_PERMISSION_READ_WRITE); BENCHMARK_F() local
169 Close(int fd) Close() argument
188 int fd = open(TEST_FILE_NAME, O_RDWR); BENCHMARK_F() local
208 int fd = open(TEST_FILE_NAME, O_RDWR); BENCHMARK_F() local
229 int fd = ufd.Release(); BENCHMARK_F() local
244 int fd = ufd; BENCHMARK_F() local
258 int fd = ufd.Get(); BENCHMARK_F() local
[all...]
/commonlibrary/memory_utils/libdmabufheap/src/
H A Ddmabuf_alloc.c76 int fd = open(heapPath, O_RDONLY | O_CLOEXEC); in DmabufHeapOpen() local
82 int DmabufHeapClose(unsigned int fd) in DmabufHeapClose() argument
125 int DmabufHeapBufferSyncStart(unsigned int fd, DmabufHeapBufferSyncTyp argument
137 DmabufHeapBufferSyncEnd(unsigned int fd, DmabufHeapBufferSyncType syncType) DmabufHeapBufferSyncEnd() argument
[all...]
/commonlibrary/memory_utils/libpurgeablemem/cpp/src/
H A Dpurgeable_ashmem.cpp119 int fd = AshmemCreate("PurgeableAshmem", size); in CreatePurgeableData() local
215 bool PurgeableAshMem::ChangeAshmemData(size_t size, int fd, void *data) in ChangeAshmemData() argument
/commonlibrary/utils_lite/file/src/file_impl_hal/
H A Dfile.c31 int UtilsFileClose(int fd) in UtilsFileClose() argument
36 int UtilsFileRead(int fd, char* buf, unsigned int len) in UtilsFileRead() argument
41 int UtilsFileWrite(int fd, const char* buf, unsigned int len) in UtilsFileWrite() argument
56 int UtilsFileSeek(int fd, int offset, unsigned int whence) in UtilsFileSeek() argument
/commonlibrary/utils_lite/js/builtin/kvstorekit/src/
H A Dnativeapi_kv_impl.c142 int fd = open(resolvePath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetValue() local
/commonlibrary/c_utils/base/test/benchmarktest/file_benchmark_test/
H A Dfile_benchmark_test.cpp84 int fd = open(filename.c_str(), O_RDONLY); in LoadString() local
96 int fd = open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in SaveString() local
125 int fd = open(filename.c_str(), O_RDONLY); BENCHMARK_F() local
302 int fd = open(filename.c_str(), O_RDONLY); BENCHMARK_F() local
324 int fd = open(filename.c_str(), O_RDONLY); BENCHMARK_F() local
521 int fd = open(filename.c_str(), O_RDONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/
H A Dmapped_benchmark_test.cpp827 int fd = open(filename.c_str(), O_RDWR | O_CLOEXEC); in BENCHMARK_F() local
1013 int fd = open(filename.c_str(), O_RDWR | O_CLOEXEC); in BENCHMARK_F() local
1438 int fd = open(filename.c_str(), O_RDWR | O_CLOEXEC); BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_file_test.rs290 let mut fd: RawFd = file.as_raw_fd(); test_save_string_to_fd_002() variables
308 let mut fd: RawFd = file.as_raw_fd(); test_save_string_to_fd_003() variables
327 let mut fd: RawFd = file.as_raw_fd(); test_save_string_to_fd_004() variables
[all...]
/commonlibrary/memory_utils/libpurgeablemem/test/
H A Dpurgeableashmem_test.cpp170 int fd = AshmemCreate("Purgeable Ashmem", size); in HWTEST_F() local
606 int fd = 5; HWTEST_F() local
[all...]

Completed in 13 milliseconds

12