Home
last modified time | relevance | path

Searched refs:c_fd (Results 1 – 4 of 4) sorted by relevance

/external/openthread/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dc_build_helper.py44 c_fd, c_name = tempfile.mkstemp(prefix='tmp-{}-'.format(file_label),
49 c_file = os.fdopen(c_fd, 'w', encoding='ascii')
/external/liburing/test/
Daccept.c52 static void close_sock_fds(int s_fd[], int c_fd[], int nr, bool fixed) in close_sock_fds() argument
56 close_fds(c_fd, nr); in close_sock_fds()
213 int i, ret, s_fd[MAX_FDS], c_fd[MAX_FDS], done = 0; in test_loop() local
220 c_fd[i] = set_client_fd(addr); in test_loop()
274 queue_send(ring, c_fd[0]); in test_loop()
299 close_sock_fds(s_fd, c_fd, nr_fds, fixed); in test_loop()
302 close_sock_fds(s_fd, c_fd, nr_fds, fixed); in test_loop()
/external/mbedtls/scripts/mbedtls_dev/
Dc_build_helper.py44 c_fd, c_name = tempfile.mkstemp(prefix='tmp-{}-'.format(file_label),
49 c_file = os.fdopen(c_fd, 'w', encoding='ascii')
/external/ltp/testcases/kernel/fs/doio/
Ddoio.c126 int c_fd; member
4265 return (fdc->c_fd); in alloc_fd()
4286 if (cp->c_fd != -1) { in alloc_fdcache()
4287 close(cp->c_fd); in alloc_fdcache()
4313 if (cp->c_fd != -1 && in alloc_fdcache()
4323 if (cp->c_fd == -1) { in alloc_fdcache()
4356 close(oldest_slot->c_fd); in alloc_fdcache()
4357 oldest_slot->c_fd = -1; in alloc_fdcache()
4394 cp->c_fd = -1; in alloc_fdcache()
4404 free_slot->c_fd = fd; in alloc_fdcache()