HomeSort by relevance Sort by last modified time
    Searched refs:srcfd (Results 1 - 2 of 2) sorted by null

  /hardware/libhardware_legacy/wifi/
wifi.c 309 int srcfd, destfd; local
322 srcfd = open(config_file, O_RDONLY);
323 if (srcfd < 0) {
328 nread = read(srcfd, pbuf, sb.st_size);
329 close(srcfd);
371 int srcfd, destfd; local
392 srcfd = open(SUPP_CONFIG_TEMPLATE, O_RDONLY);
393 if (srcfd < 0) {
400 close(srcfd);
405 while ((nread = read(srcfd, buf, sizeof(buf))) != 0)
    [all...]
  /system/core/nexus/
Supplicant.cpp 449 int srcfd, destfd; local
459 srcfd = open(SUPP_CONFIG_TEMPLATE, O_RDONLY);
460 if (srcfd < 0) {
467 close(srcfd);
472 while ((nread = read(srcfd, buf, sizeof(buf))) != 0) {
475 close(srcfd);
484 close(srcfd);

Completed in 145 milliseconds