d_name 106 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a->d_name); d_name 110 daemons/based/based_io.c crm_trace("%s - stat failed: %s (%d)", a->d_name, pcmk_strerror(rc), rc); d_name 129 daemons/based/based_io.c crm_trace("%s - wrong type (%d)", a->d_name, dtype); d_name 131 daemons/based/based_io.c } else if(strstr(a->d_name, "cib-") != a->d_name) { d_name 132 daemons/based/based_io.c crm_trace("%s - wrong prefix", a->d_name); d_name 134 daemons/based/based_io.c } else if (pcmk__ends_with_ext(a->d_name, ".sig")) { d_name 135 daemons/based/based_io.c crm_trace("%s - wrong suffix", a->d_name); d_name 138 daemons/based/based_io.c crm_debug("%s - candidate", a->d_name); d_name 155 daemons/based/based_io.c char *a_path = crm_strdup_printf("%s/%s", cib_root, a[0]->d_name); d_name 156 daemons/based/based_io.c char *b_path = crm_strdup_printf("%s/%s", cib_root, b[0]->d_name); d_name 175 daemons/based/based_io.c a[0]->d_name, (unsigned long)a_age, d_name 176 daemons/based/based_io.c b[0]->d_name, (unsigned long)b_age, rc); d_name 226 daemons/based/based_io.c filename = crm_strdup_printf("%s/%s", cib_root, namelist[lpc]->d_name); d_name 594 lib/common/io.c int lpc = atoi(entry->d_name); d_name 52 lib/common/procfs.c local_pid = atoi(entry->d_name); d_name 53 lib/common/procfs.c if ((local_pid <= 0) || (strlen(entry->d_name) > 114)) { d_name 62 lib/common/procfs.c strcat(procpath, entry->d_name); d_name 134 lib/common/schemas.c if (strstr(a->d_name, "pacemaker-") != a->d_name) { d_name 137 lib/common/schemas.c } else if (!pcmk__ends_with_ext(a->d_name, ".rng")) { d_name 140 lib/common/schemas.c } else if (!version_from_filename(a->d_name, &version)) { d_name 157 lib/common/schemas.c if (!version_from_filename(a[0]->d_name, &a_version) d_name 158 lib/common/schemas.c || !version_from_filename(b[0]->d_name, &b_version)) { d_name 400 lib/common/schemas.c if (!version_from_filename(namelist[lpc]->d_name, &version)) { d_name 403 lib/common/schemas.c namelist[lpc]->d_name); d_name 409 lib/common/schemas.c if (version_from_filename(namelist[lpc+1]->d_name, &next_version) d_name 54 lib/fencing/st_rhcs.c if (pcmk__starts_with(namelist[i]->d_name, RH_STONITH_PREFIX)) { d_name 57 lib/fencing/st_rhcs.c namelist[i]->d_name); d_name 71 lib/fencing/st_rhcs.c if (fstatat(dirfd, namelist[i]->d_name, &prop, 0) == 0 d_name 75 lib/fencing/st_rhcs.c namelist[i]->d_name); d_name 305 lib/pacemaker/pcmk_simulate.c if ('.' == namelist[file_num]->d_name[0]) { d_name 309 lib/pacemaker/pcmk_simulate.c } else if (!pcmk__ends_with_ext(namelist[file_num]->d_name, d_name 314 lib/pacemaker/pcmk_simulate.c snprintf(buffer, sizeof(buffer), "%s/%s", dir, namelist[file_num]->d_name); d_name 1354 lib/services/services_linux.c if ('.' == namelist[lpc]->d_name[0]) { d_name 1359 lib/services/services_linux.c snprintf(buffer, sizeof(buffer), "%s/%s", root, namelist[lpc]->d_name); d_name 1384 lib/services/services_linux.c list = g_list_append(list, strdup(namelist[lpc]->d_name)); d_name 46 libltdl/libltdl/lt__dirent.h # define D_NAMLEN(dirent) (strlen((dirent)->d_name)) d_name 54 libltdl/libltdl/lt__dirent.h # define D_NAMLEN(dirent) (strlen((dirent)->d_name)) d_name 65 libltdl/libltdl/lt__dirent.h char d_name[LT_FILENAME_MAX]; d_name 98 libltdl/lt__dirent.c if (lt_strlcpy (entry->file_info.d_name, entry->Win32FindData.cFileName, d_name 99 libltdl/lt__dirent.c sizeof entry->file_info.d_name) >= sizeof entry->file_info.d_name) d_name 101 libltdl/lt__dirent.c entry->file_info.d_namlen = strlen (entry->file_info.d_name); d_name 1787 libltdl/ltdl.c end = dp->d_name + D_NAMLEN(dp); d_name 1792 libltdl/ltdl.c for (p = end; p -1 > dp->d_name; --p) d_name 1803 libltdl/ltdl.c for (p = end -1; p > dp->d_name; --p) d_name 1812 libltdl/ltdl.c end_offset = end - dp->d_name; d_name 1822 libltdl/ltdl.c strncat (buf, dp->d_name, end_offset); d_name 1851 libltdl/ltdl.c if (dp->d_name[0] != '.') d_name 27 maint/gnulib/lib/alphasort.c return strcoll ((*a)->d_name, (*b)->d_name); d_name 34 maint/gnulib/lib/alphasort.c return strcoll ((*(const struct dirent **)a)->d_name, d_name 35 maint/gnulib/lib/alphasort.c (*(const struct dirent **)b)->d_name); d_name 42 maint/gnulib/lib/backupfile.c # define _D_EXACT_NAMLEN(dp) strlen ((dp)->d_name) d_name 243 maint/gnulib/lib/backupfile.c if (memcmp (buf + base_offset, dp->d_name, baselen + 2) != 0) d_name 246 maint/gnulib/lib/backupfile.c p = dp->d_name + baselen + 2; d_name 41 maint/gnulib/lib/dirent.in.h char d_name[1]; d_name 83 maint/gnulib/lib/fts.c # define _D_EXACT_NAMLEN(dirent) strlen ((dirent)->d_name) d_name 1436 maint/gnulib/lib/fts.c if (!ISSET(FTS_SEEDOT) && ISDOT(dp->d_name)) d_name 1440 maint/gnulib/lib/fts.c p = fts_alloc (sp, dp->d_name, d_namelen); d_name 51 maint/gnulib/lib/getcwd.c # define _D_EXACT_NAMLEN(d) strlen ((d)->d_name) d_name 342 maint/gnulib/lib/getcwd.c if (d->d_name[0] == '.' && d_name 343 maint/gnulib/lib/getcwd.c (d->d_name[1] == '\0' || d_name 344 maint/gnulib/lib/getcwd.c (d->d_name[1] == '.' && d->d_name[2] == '\0'))) d_name 357 maint/gnulib/lib/getcwd.c entry_status = __fstatat64 (fd, d->d_name, &st, AT_SYMLINK_NOFOLLOW); d_name 393 maint/gnulib/lib/getcwd.c memcpy (dotlist + dotlen, d->d_name, _D_ALLOC_NAMLEN (d)); d_name 436 maint/gnulib/lib/getcwd.c memcpy (dirp, d->d_name, namlen); d_name 145 maint/gnulib/lib/glob.c source->d_name, \ d_name 692 maint/gnulib/lib/mountlist.c if (strcmp (d->d_name, "..") == 0) d_name 695 maint/gnulib/lib/mountlist.c if (strcmp (d->d_name, ".") == 0) d_name 699 maint/gnulib/lib/mountlist.c name = xmalloc (1 + strlen (d->d_name) + 1); d_name 701 maint/gnulib/lib/mountlist.c strcpy (name + 1, d->d_name); d_name 1065 maint/gnulib/lib/mountlist.c strcat (node, entry.d_name); d_name 98 maint/gnulib/lib/readdir.c ((char *) dirp->entry.cFileName - offsetof (struct dirent, d_name[0])); d_name 31 maint/gnulib/lib/savedir.c # define _D_EXACT_NAMLEN(dp) strlen ((dp)->d_name) d_name 116 maint/gnulib/lib/savedir.c entry = dp->d_name; d_name 32 maint/gnulib/lib/scandir.c # define _D_EXACT_NAMLEN(d) strlen ((d)->d_name) d_name 42 maint/gnulib/lib/scandir.c offsetof (struct dirent, d_name)) d_name 165 maint/gnulib/lib/scandir.c dsize = &d->d_name[_D_ALLOC_NAMLEN (d)] - (char *) d; d_name 31 maint/gnulib/tests/test-dirent.c return d.d_name[0] + i; d_name 37 maint/gnulib/tests/test-rename.h if (strcmp (d->d_name, filename) == 0) d_name 53 replace/alphasort.c return (strcmp((*(const struct dirent **)dirent1)->d_name, d_name 54 replace/alphasort.c (*(const struct dirent **)dirent2)->d_name)); d_name 187 replace/scandir.c int namelength = strlen(entry->d_name) + 1; /* length with NULL */ d_name 190 replace/scandir.c if (sizeof(entry->d_name) <= namelength) { d_name 192 replace/scandir.c extra += namelength - sizeof(entry->d_name); d_name 202 replace/scandir.c strcpy(copy->d_name, entry->d_name);