Home
last modified time | relevance | path

Searched refs:fdp (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython2/PC/
Dimport_nt.c34 struct filedescr *fdp = NULL; in PyWin_FindRegisteredModule() local
71 for (fdp = _PyImport_Filetab; fdp->suffix != NULL; fdp++) { in PyWin_FindRegisteredModule()
72 size_t extLen = strlen(fdp->suffix); in PyWin_FindRegisteredModule()
76 fdp->suffix, in PyWin_FindRegisteredModule()
80 if (fdp->suffix == NULL) in PyWin_FindRegisteredModule()
82 fp = fopen(pathBuf, fdp->mode); in PyWin_FindRegisteredModule()
84 *ppFileDesc = fdp; in PyWin_FindRegisteredModule()
/external/elfutils/libdwfl/
Dopen.c116 __libdw_open_file (int *fdp, Elf **elfp, bool close_on_fail, bool archive_ok) in __libdw_open_file() argument
120 Elf *elf = elf_begin (*fdp, ELF_C_READ_MMAP_PRIVATE, NULL); in __libdw_open_file()
123 Dwfl_Error error = what_kind (*fdp, &elf, &kind, &close_fd); in __libdw_open_file()
130 error = __libdw_image_header (*fdp, &offset, in __libdw_open_file()
152 error = what_kind (*fdp, &elf, &kind, &close_fd); in __libdw_open_file()
170 close (*fdp); in __libdw_open_file()
171 *fdp = -1; in __libdw_open_file()
DlibdwflP.h623 extern Dwfl_Error __libdw_open_file (int *fdp, Elf **elfp,
/external/curl/docs/examples/
Dghiper.c228 SockInfo *fdp = g_malloc0(sizeof(SockInfo)); in addsock() local
230 fdp->global = g; in addsock()
231 fdp->ch=g_io_channel_unix_new(s); in addsock()
232 setsock(fdp, s, easy, action, g); in addsock()
233 curl_multi_assign(g->multi, s, fdp); in addsock()
240 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
246 remsock(fdp); in sock_cb()
249 if(!fdp) { in sock_cb()
257 "Changing action from %d to %d\n", fdp->action, what); in sock_cb()
258 setsock(fdp, s, e, what, g); in sock_cb()
Dhiperfifo.c254 SockInfo *fdp = calloc(sizeof(SockInfo), 1); in addsock() local
256 fdp->global = g; in addsock()
257 setsock(fdp, s, easy, action, g); in addsock()
258 curl_multi_assign(g->multi, s, fdp); in addsock()
265 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
272 remsock(fdp); in sock_cb()
275 if(!fdp) { in sock_cb()
282 whatstr[fdp->action], whatstr[what]); in sock_cb()
283 setsock(fdp, s, e, what, g); in sock_cb()
Danyauthput.c81 int *fdp = (int *)userp; in my_ioctl() local
82 int fd = *fdp; in my_ioctl()
107 int *fdp = (int *)stream; in read_callback() local
108 int fd = *fdp; in read_callback()
Devhiperfifo.c269 SockInfo *fdp = calloc(sizeof(SockInfo), 1); in addsock() local
271 fdp->global = g; in addsock()
272 setsock(fdp, s, easy, action, g); in addsock()
273 curl_multi_assign(g->multi, s, fdp); in addsock()
283 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
290 remsock(fdp, g); in sock_cb()
293 if(!fdp) { in sock_cb()
300 whatstr[fdp->action], whatstr[what]); in sock_cb()
301 setsock(fdp, s, e, what, g); in sock_cb()
Dasiohiper.cpp224 static void setsock(int *fdp, curl_socket_t s, CURL*e, int act, GlobalInfo*g) in setsock() argument
226 fprintf(MSG_OUT, "\nsetsock: socket=%d, act=%d, fdp=%p", s, act, fdp); in setsock()
239 *fdp = act; in setsock()
270 int *fdp = (int *) calloc(sizeof(int), 1); in addsock() local
272 setsock(fdp, s, easy, action, g); in addsock()
273 curl_multi_assign(g->multi, s, fdp); in addsock()
/external/dhcpcd-6.8.2/
Dcontrol.c76 struct fd_data *fdp; in control_queue_free() local
78 while ((fdp = TAILQ_FIRST(&fd->queue))) { in control_queue_free()
79 TAILQ_REMOVE(&fd->queue, fdp, next); in control_queue_free()
80 if (fdp->freeit) in control_queue_free()
81 control_queue_purge(fd->ctx, fdp->data); in control_queue_free()
82 free(fdp); in control_queue_free()
84 while ((fdp = TAILQ_FIRST(&fd->free_queue))) { in control_queue_free()
85 TAILQ_REMOVE(&fd->free_queue, fdp, next); in control_queue_free()
86 free(fdp); in control_queue_free()
/external/python/cpython2/Python/
Dimport.c1152 struct filedescr *fdp; in load_package() local
1178 fdp = find_module(name, "__init__", path, buf, MAXPATHLEN+1, &fp, NULL); in load_package()
1179 if (fdp == NULL) { in load_package()
1188 m = load_module(name, fp, buf, fdp->type, NULL); in load_package()
1319 struct filedescr *fdp = NULL; in find_module() local
1417 fp = PyWin_FindRegisteredModule(name, &fdp, buf, buflen); in find_module()
1421 return fdp; in find_module()
1546 for (fdp = _PyImport_Filetab; fdp->suffix != NULL; fdp++) { in find_module()
1559 if (!strcmp(scan->suffix, fdp->suffix)) in find_module()
1572 strcpy(buf+len, fdp->suffix); in find_module()
[all …]
/external/openssh/
Dauthfd.c88 ssh_get_authentication_socket(int *fdp) in ssh_get_authentication_socket() argument
94 if (fdp != NULL) in ssh_get_authentication_socket()
95 *fdp = -1; in ssh_get_authentication_socket()
116 if (fdp != NULL) in ssh_get_authentication_socket()
117 *fdp = sock; in ssh_get_authentication_socket()
Dauthfd.h26 int ssh_get_authentication_socket(int *fdp);
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc447 FileDescriptorProto fdp; in FileDescriptorToBase64() local
448 descriptor->CopyTo(&fdp); in FileDescriptorToBase64()
449 fdp.SerializeToString(&fdp_bytes); in FileDescriptorToBase64()
/external/swiftshader/third_party/LLVM/include/llvm/Config/
Dllvm-config.h.in85 /* Define to path to fdp program if found or 'echo fdp' otherwise */
Dllvm-config.h.cmake85 /* Define to path to fdp program if found or 'echo fdp' otherwise */
Dconfig.h.in603 /* Define to path to fdp program if found or 'echo fdp' otherwise */
Dconfig.h.cmake605 /* Define to path to fdp program if found or 'echo fdp' otherwise */
/external/strace/tests/
Dmsg_control.c75 int *fdp = (int *) CMSG_DATA(cmsg); in print_fds() local
86 printf("%d", fdp[i]); in print_fds()
215 int *fdp = (int *) CMSG_DATA(cmsg); in test_scm_rights3() local
218 fdp[i] = i; in test_scm_rights3()
/external/strace/tests-m32/
Dmsg_control.c75 int *fdp = (int *) CMSG_DATA(cmsg); in print_fds() local
86 printf("%d", fdp[i]); in print_fds()
215 int *fdp = (int *) CMSG_DATA(cmsg); in test_scm_rights3() local
218 fdp[i] = i; in test_scm_rights3()
/external/strace/tests-mx32/
Dmsg_control.c75 int *fdp = (int *) CMSG_DATA(cmsg); in print_fds() local
86 printf("%d", fdp[i]); in print_fds()
215 int *fdp = (int *) CMSG_DATA(cmsg); in test_scm_rights3() local
218 fdp[i] = i; in test_scm_rights3()
/external/elfutils/src/
Delfcmp.c42 static Elf *open_file (const char *fname, int *fdp, Ebl **eblp);
728 open_file (const char *fname, int *fdp, Ebl **eblp) in open_file() argument
743 *fdp = fd; in open_file()
/external/blktrace/
Dblktrace.c1027 int cpu, *fdp; in close_client_connections() local
1029 for (cpu = 0, fdp = cl_fds; cpu < ncpus; cpu++, fdp++) { in close_client_connections()
1030 if (*fdp >= 0) { in close_client_connections()
1031 net_send_drops(*fdp); in close_client_connections()
1032 net_close_connection(fdp); in close_client_connections()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc320 FileDescriptorProto fdp; in Generate() local
321 file_->CopyTo(&fdp); in Generate()
322 fdp.SerializeToString(&file_descriptor_serialized_); in Generate()
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py1052 fdp = descriptor_pb2.FieldDescriptorProto
1053 AddDescriptorField(desc_proto, 'name', fdp.TYPE_STRING)
1054 AddDescriptorField(desc_proto, 'year', fdp.TYPE_INT64)
1055 AddDescriptorField(desc_proto, 'automatic', fdp.TYPE_BOOL)
1056 AddDescriptorField(desc_proto, 'price', fdp.TYPE_DOUBLE)
1061 new_field.type = fdp.TYPE_STRING
/external/swiftshader/third_party/LLVM/autoconf/
Dconfigure.ac923 AC_PATH_PROG(FDP, [fdp], [echo fdp])
924 if test "$FDP" != "echo fdp" ; then
931 [Define to path to fdp program if found or 'echo fdp' otherwise])

12