Lines Matching refs:dent
227 struct dirent *dent;
261 while ((dent = readdir(dir))) {
266 if (dent->d_type != DT_SOCK && dent->d_type != DT_UNKNOWN)
269 if (strcmp(dent->d_name, ".") == 0 ||
270 strcmp(dent->d_name, "..") == 0)
276 drv->test_dir, dent->d_name);
280 if (!broadcast && strstr(dent->d_name, desttxt) == NULL)
284 __func__, dent->d_name);
314 struct dirent *dent;
371 while ((dent = readdir(dir))) {
376 if (dent->d_type != DT_SOCK && dent->d_type != DT_UNKNOWN)
379 if (os_strcmp(dent->d_name, ".") == 0 ||
380 os_strcmp(dent->d_name, "..") == 0)
386 drv->test_dir, dent->d_name);
390 if (!broadcast && os_strstr(dent->d_name, desttxt) == NULL)
394 __func__, dent->d_name);
420 while ((dent = readdir(dir))) {
426 if (dent->d_type != DT_SOCK &&
427 dent->d_type != DT_UNKNOWN)
430 if (os_strcmp(dent->d_name, ".") == 0 ||
431 os_strcmp(dent->d_name, "..") == 0)
434 __func__, dent->d_name);
438 "%s/%s", drv->test_dir, dent->d_name);
1343 struct dirent *dent;
1378 while ((dent = readdir(dir))) {
1379 if (os_strncmp(dent->d_name, "AP-", 3) != 0 &&
1380 os_strncmp(dent->d_name, "STA-", 4) != 0)
1385 dlen = os_strlen(dent->d_name);
1387 os_strcmp(dent->d_name,
1391 wpa_printf(MSG_DEBUG, "%s: SCAN %s", __func__, dent->d_name);
1396 path, dent->d_name);