/external/python/cpython2/Lib/ |
D | binhex.py | 261 ifp = open(inp, 'rb') 264 d = ifp.read(128000) 268 ifp.close() 270 ifp = openrsrc(inp, 'rb') 272 d = ifp.read(128000) 276 ifp.close() 281 def __init__(self, ifp): argument 282 self.ifp = ifp 295 data = self.ifp.read(wtd) 308 newdata = self.ifp.read(1) [all …]
|
/external/python/cpython3/Lib/ |
D | binhex.py | 238 with io.open(inp, 'rb') as ifp: 241 d = ifp.read(128000) 246 ifp = openrsrc(inp, 'rb') 248 d = ifp.read(128000) 252 ifp.close() 257 def __init__(self, ifp): argument 258 self.ifp = ifp 271 data = self.ifp.read(wtd) 283 newdata = self.ifp.read(1) 294 self.ifp.close() [all …]
|
/external/libusb/libusb/ |
D | descriptor.c | 197 struct libusb_interface_descriptor *ifp = in clear_interface() local 200 free((void *) ifp->extra); in clear_interface() 201 if (ifp->endpoint) { in clear_interface() 202 for (j = 0; j < ifp->bNumEndpoints; j++) in clear_interface() 204 ifp->endpoint + j); in clear_interface() 206 free((void *) ifp->endpoint); in clear_interface() 223 struct libusb_interface_descriptor *ifp; in parse_interface() local 240 ifp = altsetting + usb_interface->num_altsetting; in parse_interface() 241 usbi_parse_descriptor(buffer, "bbbbbbbbb", ifp, 0); in parse_interface() 242 if (ifp->bDescriptorType != LIBUSB_DT_INTERFACE) { in parse_interface() [all …]
|
/external/libcups/cups/ |
D | getifaddrs.c | 35 struct ifreq *ifp; /* Interface data */ in _cups_getifaddrs() local 94 ifp = (struct ifreq *)bufptr; in _cups_getifaddrs() 95 ifpsize = sizeof(ifp->ifr_name) + sockaddr_len(&(ifp->ifr_addr)); in _cups_getifaddrs() 101 memcpy(request.ifr_name, ifp->ifr_name, sizeof(ifp->ifr_name)); in _cups_getifaddrs() 131 temp->ifa_name = strdup(ifp->ifr_name); in _cups_getifaddrs() 133 if ((temp->ifa_addr = calloc(1, sockaddr_len(&(ifp->ifr_addr)))) != NULL) in _cups_getifaddrs() 134 memcpy(temp->ifa_addr, &(ifp->ifr_addr), sockaddr_len(&(ifp->ifr_addr))); in _cups_getifaddrs()
|
/external/tensorflow/tensorflow/core/platform/ |
D | platform_strings.cc | 31 FILE* ifp = fopen(path.c_str(), "rb"); in GetPlatformStrings() local 32 if (ifp != nullptr) { in GetPlatformStrings() 37 while ((c = getc(ifp)) != EOF) { in GetPlatformStrings() 40 while (prefix[i] != 0 && (c = getc(ifp)) == prefix[i]) { in GetPlatformStrings() 45 while ((c = getc(ifp)) != EOF && c != 0) { in GetPlatformStrings() 56 result = (ferror(ifp) == 0) ? 0 : errno; in GetPlatformStrings() 57 fclose(ifp); in GetPlatformStrings()
|
/external/python/cpython2/Mac/Modules/qd/ |
D | qdscan.py | 31 ifp = open("@qdgentext.py") 33 ofp.write(ifp.read()) 34 ifp.close() 36 ifp = open("@QuickDrawText.py") 38 ofp.write(ifp.read()) 39 ifp.close()
|
/external/python/cpython2/Lib/plat-mac/ |
D | macostools.py | 97 ifp = open(src, 'rb') 99 d = ifp.read(BUFSIZ) 102 d = ifp.read(BUFSIZ) 103 ifp.close() 106 ifp = openrf(src, '*rb') 108 d = ifp.read(BUFSIZ) 111 d = ifp.read(BUFSIZ) 112 ifp.close()
|
/external/blktrace/ |
D | blkrawverify.c | 145 FILE *ifp, *ofp; in process() local 156 ifp = fopen(file, "r"); in process() 157 if (!ifp) in process() 167 fclose(ifp); in process() 175 while ((n = fread(bit, sizeof(struct blk_io_trace), 1, ifp)) == 1) { in process() 176 if (ferror(ifp)) { in process() 177 clearerr(ifp); in process() 200 n = fread(pdu_buf, bit->pdu_len, 1, ifp); in process() 248 if (n == 0 && !feof(ifp)) in process() 251 fclose(ifp); in process()
|
D | blkiomon.c | 76 static FILE *ifp; variable 463 if (fread(bit, sizeof(*bit), 1, ifp) != 1) { in blkiomon_do_fifo() 464 if (!feof(ifp)) in blkiomon_do_fifo() 469 if (ferror(ifp)) { in blkiomon_do_fifo() 470 clearerr(ifp); in blkiomon_do_fifo() 490 if (fread(pdu_buf, bit->pdu_len, 1, ifp) != 1) { in blkiomon_do_fifo() 491 clearerr(ifp); in blkiomon_do_fifo() 731 ifp = fdopen(STDIN_FILENO, "r"); in main() 732 if (!ifp) { in main()
|
D | blktrace.c | 2136 FILE *ifp = my_fopen(optarg, "r"); in handle_args() local 2138 if (!ifp) { in handle_args() 2145 while (fscanf(ifp, "%s\n", dev_line) == 1) { in handle_args() 2147 fclose(ifp); in handle_args() 2151 fclose(ifp); in handle_args()
|
/external/iputils/ |
D | rdisc.c | 102 static int sendbcastif(int s, char *packet, int packetlen, struct interface *ifp); 103 …nt sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interface *ifp); 626 struct interface *ifp = &interfaces[i]; in advertise() local 631 if ((sin->sin_addr.s_addr & ifp->netmask.s_addr) == in advertise() 632 (ifp->address.s_addr & ifp->netmask.s_addr)) { in advertise() 637 ifp->name, in advertise() 638 pr_name(ifp->address)); in advertise() 1013 sendbcastif(int s, char *packet, int packetlen, struct interface *ifp) in sendbcastif() argument 1020 baddr.sin_addr = ifp->bcastaddr; in sendbcastif() 1056 struct interface *ifp) in sendmcastif() argument [all …]
|
/external/vboot_reference/utility/ |
D | efidecompress.c | 1044 FILE *ifp = fopen(infile, "rb"); in main() local 1045 if (!ifp) in main() 1063 if (1 != fread(ibuf, isize, 1, ifp)) { in main() 1156 fclose(ifp); in main()
|
D | eficompress.c | 1645 FILE *ifp = fopen(infile, "rb"); in main() local 1646 if (!ifp) in main() 1664 if (1 != fread(ibuf, isize, 1, ifp)) { in main() 1726 fclose(ifp); in main()
|
/external/swiftshader/third_party/subzero/tests_lit/ |
D | lit.cfg | 29 # hence %ifp is not necessary (i.e. it is a nop). 98 config.substitutions.append(('%ifp', ' '))
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_supplicant.c | 6086 struct if_nameindex *ifi, *ifp; in wpa_supplicant_match_existing() local 6090 ifp = if_nameindex(); in wpa_supplicant_match_existing() 6091 if (!ifp) { in wpa_supplicant_match_existing() 6096 for (ifi = ifp; ifi->if_name; ifi++) { in wpa_supplicant_match_existing() 6109 if_freenameindex(ifp); in wpa_supplicant_match_existing()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 37072 VkImageFormatProperties2 ifp = {}; in TEST_F() local 37073 ifp.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2; in TEST_F() 37083 ifp.pNext = &ahbu; in TEST_F() 37088 vkGetPhysicalDeviceImageFormatProperties2(m_device->phy().handle(), &pdifi, &ifp); in TEST_F() 37098 vkGetPhysicalDeviceImageFormatProperties2(m_device->phy().handle(), &pdifi, &ifp); in TEST_F()
|