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/curl/docs/examples/
Dasiohiper.cpp175 int *fdp) in event_cb() argument
185 if(*fdp == action || *fdp == CURL_POLL_INOUT) { in event_cb()
203 (*fdp == action || *fdp == CURL_POLL_INOUT)) { in event_cb()
209 action, _1, fdp)); in event_cb()
214 action, _1, fdp)); in event_cb()
245 static void setsock(int *fdp, curl_socket_t s, CURL *e, int act, int oldact, in setsock() argument
248 fprintf(MSG_OUT, "\nsetsock: socket=%d, act=%d, fdp=%p", s, act, fdp); in setsock()
260 *fdp = act; in setsock()
267 CURL_POLL_IN, _1, fdp)); in setsock()
275 CURL_POLL_OUT, _1, fdp)); in setsock()
[all …]
Dghiper.c237 SockInfo *fdp = g_malloc0(sizeof(SockInfo)); in addsock() local
239 fdp->global = g; in addsock()
240 fdp->ch = g_io_channel_unix_new(s); in addsock()
241 setsock(fdp, s, easy, action, g); in addsock()
242 curl_multi_assign(g->multi, s, fdp); in addsock()
249 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
255 remsock(fdp); in sock_cb()
258 if(!fdp) { in sock_cb()
266 "Changing action from %d to %d\n", fdp->action, what); in sock_cb()
267 setsock(fdp, s, e, what, g); in sock_cb()
Dhiperfifo.c262 SockInfo *fdp = calloc(sizeof(SockInfo), 1); in addsock() local
264 fdp->global = g; in addsock()
265 setsock(fdp, s, easy, action, g); in addsock()
266 curl_multi_assign(g->multi, s, fdp); in addsock()
273 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
280 remsock(fdp); in sock_cb()
283 if(!fdp) { in sock_cb()
290 whatstr[fdp->action], whatstr[what]); in sock_cb()
291 setsock(fdp, s, e, what, g); in sock_cb()
Danyauthput.c57 int *fdp = (int *)userp; in my_ioctl() local
58 int fd = *fdp; in my_ioctl()
83 int *fdp = (int *)stream; in read_callback() local
84 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()
/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/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/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-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/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/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/libevent/test/
Dregress_bufferevent.c852 evutil_socket_t *fdp = arg; in close_socket_cb() local
853 if (*fdp >= 0) { in close_socket_cb()
854 evutil_closesocket(*fdp); in close_socket_cb()
855 *fdp = -1; in close_socket_cb()
/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])
/external/swiftshader/third_party/LLVM/cmake/
Dconfig-ix.cmake237 llvm_find_program(fdp)

12