/dports/x11-wm/wmconfig/wmconfig-1.5.1/ |
H A D | ede.c | 186 struct dirent **namelist; in clean_dir() local 194 nr_files = scandir(dir_name, &namelist, NULL, alphasort); in clean_dir() 196 if ( (strcmp(namelist[i]->d_name, ".") != 0) && (strcmp(namelist[i]->d_name, "..") != 0) ) { in clean_dir() 201 snprintf(tmp, sizeof(tmp), "%s/%s", dir_name, namelist[i]->d_name); in clean_dir() 219 free(namelist[i]); in clean_dir() 221 if (nr_files && namelist) { in clean_dir() 222 free(namelist); in clean_dir()
|
H A D | kde2.c | 195 struct dirent **namelist; in clean_dir() local 202 nr_files = scandir(dir_name, &namelist, NULL, alphasort); in clean_dir() 204 if ( (strcmp(namelist[i]->d_name, ".") != 0) && (strcmp(namelist[i]->d_name, "..") != 0) ) { in clean_dir() 208 snprintf(tmp, sizeof(tmp), "%s/%s", dir_name, namelist[i]->d_name); in clean_dir() 224 free(namelist[i]); in clean_dir() 226 if (nr_files && namelist) in clean_dir() 227 free(namelist); in clean_dir()
|
/dports/x11/libwacom/libwacom-1.5/tools/ |
H A D | list-local-devices.c | 57 struct dirent **namelist = NULL; in main() local 88 i = scandir("/dev/input", &namelist, event_devices_only, alphasort); in main() 98 snprintf(fname, sizeof(fname), "/dev/input/%s", namelist[i]->d_name); in main() 112 if (namelist) in main() 113 free(namelist); in main()
|
/dports/comms/anyremote/anyremote-6.7.3/src/ |
H A D | sys_util.c | 579 struct dirent **namelist = NULL; in executeDirListCommand() local 585 int n = scandir(directory, &namelist, filterDirs, alphasort); in executeDirListCommand() 592 if (strcmp(namelist[i]->d_name,".") != 0) { in executeDirListCommand() 602 stringAppend(folders,namelist[i]->d_name); in executeDirListCommand() 605 free(namelist[i]); in executeDirListCommand() 607 free(namelist); in executeDirListCommand() 611 n = scandir(directory, &namelist, filterFiles, alphasort); in executeDirListCommand() 618 if (strcmp(namelist[i]->d_name,".") != 0) { in executeDirListCommand() 628 stringAppend(folders,namelist[i]->d_name); in executeDirListCommand() 630 free(namelist[i]); in executeDirListCommand() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/testing/mozbase/mozfile/mozfile/ |
H A D | mozfile.py | 40 namelist = bundle.getnames() 42 for name in namelist: 45 return namelist 62 namelist = bundle.namelist() 64 for name in namelist: 72 return namelist 96 namelist = extract_zip(src, dest) 98 namelist = extract_tarball(src, dest) 104 top_level_files = [os.path.join(dest, name.rstrip('/')) for name in namelist 108 for name in namelist:
|
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/mozbase/mozfile/mozfile/ |
H A D | mozfile.py | 39 namelist = bundle.getnames() 41 for name in namelist: 44 return namelist 61 namelist = bundle.namelist() 63 for name in namelist: 80 return namelist 104 namelist = extract_zip(src, dest) 106 namelist = extract_tarball(src, dest) 112 top_level_files = [os.path.join(dest, name.rstrip('/')) for name in namelist 116 for name in namelist:
|
/dports/www/vger/vger/ |
H A D | main.c | 269 struct dirent **namelist; /* this must be freed at last */ in autoindex() local 274 if ((n = scandir(path, &namelist, NULL, alphasort)) < 0) { in autoindex() 282 if ((strcmp(namelist[j]->d_name, ".") == 0) || in autoindex() 283 (strcmp(namelist[j]->d_name, "..") == 0)) { in autoindex() 287 if (namelist[j]->d_type == DT_DIR) { in autoindex() 288 printf("=> ./%s/ %s/\n", namelist[j]->d_name, namelist[j]->d_name); in autoindex() 290 printf("=> ./%s %s\n", namelist[j]->d_name, namelist[j]->d_name); in autoindex() 292 free(namelist[j]); in autoindex() 294 free(namelist); in autoindex()
|
/dports/misc/rump/buildrump.sh-b914579/src/external/bsd/byacc/dist/test/ |
H A D | inherit0.y | 21 declaration: class type namelist 35 namelist: namelist NAME 44 namelist
|
/dports/devel/mercurial/mercurial-6.0/mercurial/ |
H A D | fancyopts.py | 31 def _earlyoptarg(arg, shortlist, namelist): argument 82 if flag[2:] in namelist: 84 if flag[2:] + b'=' in namelist: 94 def earlygetopt(args, shortlist, namelist, gnu=False, keepsep=False): argument 184 flag, hasval, val, takeval = _earlyoptarg(arg, shortlist, namelist) 312 namelist = [] 354 namelist.append(insert) 358 namelist.extend(onames) 367 opts, args = parse(args, shortlist, namelist)
|
/dports/games/freedink-engine/freedink-108.4/contrib/ |
H A D | ffrpack.cpp | 191 struct dirent **namelist; in ffrpack() local 197 n = scandir(".", &namelist, isDir, alphasort); in ffrpack() 202 DEBUG(" - %s\n", namelist[i]->d_name); in ffrpack() 203 if (chdir(namelist[i]->d_name) < 0) in ffrpack() 206 errno, strerror(errno), namelist[i]->d_name); in ffrpack() 207 fprintf(stderr, "Ignoring %s\n", namelist[i]->d_name); in ffrpack() 211 DEBUG("Entering %s\n", namelist[i]->d_name); in ffrpack()
|
H A D | ffrextract.c | 210 struct dirent **namelist; in ffrextract() local 223 n = scandir(".", &namelist, isDir, alphasort); in ffrextract() 228 DEBUG(" - %s\n", namelist[i]->d_name); in ffrextract() 229 if (chdir(namelist[i]->d_name) < 0) in ffrextract() 232 errno, strerror(errno), namelist[i]->d_name); in ffrextract() 233 fprintf(stderr, "Ignoring %s\n", namelist[i]->d_name); in ffrextract() 237 DEBUG("Entering %s\n", namelist[i]->d_name); in ffrextract()
|
/dports/print/bibview/bibview-2.2/ |
H A D | solarispatch | 9 namelist = (struct dirent **)XtMalloc( (num+1)*sizeof(struct dirent *)); 14 ! namelist[num] = (struct dirent *) XtMalloc(direntp_size); 15 ! bcopy(direntp, namelist[num], direntp_size); 25 namelist = (struct dirent **)XtMalloc( (num+1)*sizeof(struct dirent *)); 30 ! namelist[num] = direntp;
|
/dports/archivers/gtar/tar-1.34/src/ |
H A D | names.c | 1237 namelist = name; in addname() 1255 name->next = namelist; in add_starting_file() 1256 namelist = name; in add_starting_file() 1320 namelist = NULL; in name_match() 1427 namelist = NULL; in names_notfound() 1448 if (!namelist) in label_notfound() 1466 namelist = NULL; in label_notfound() 1738 if (!namelist) in collect_and_sort_names() 1815 namelist = merge_sort (namelist, num_names, compare_names); in collect_and_sort_names() 1859 namelist = merge_sort (namelist, num_names, compare_names_found); in collect_and_sort_names() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/external/bsd/byacc/dist/test/btyacc/ |
H A D | err_inherit2.error | 1 YACC: w - line 64 of "./err_inherit2.y", number of arguments of namelist doesn't agree with previou… 2 YACC: w - line 64 of "./err_inherit2.y", type of argument 1 to namelist doesn't agree with previous… 4 namelist($<tval>c, $t, extra): namelist NAME
|
/dports/multimedia/mplayer/mplayer-export-2021-12-29/libmenu/ |
H A D | menu_filesel.c | 233 char **namelist, **tp; in open_dir() local 264 namelist = malloc(sizeof(char *)); in open_dir() 298 namelist=tp; in open_dir() 302 if(namelist[n] == NULL){ in open_dir() 308 strcpy(namelist[n], dp->d_name); in open_dir() 310 strcat(namelist[n], "/"); in open_dir() 320 free(namelist); in open_dir() 327 e->p.txt = strdup(namelist[n]); in open_dir() 328 if(strchr(namelist[n], '/') != NULL) in open_dir() 334 free(namelist[n]); in open_dir() [all …]
|
/dports/multimedia/mencoder/mplayer-export-2021-12-29/libmenu/ |
H A D | menu_filesel.c | 233 char **namelist, **tp; in open_dir() local 264 namelist = malloc(sizeof(char *)); in open_dir() 298 namelist=tp; in open_dir() 302 if(namelist[n] == NULL){ in open_dir() 308 strcpy(namelist[n], dp->d_name); in open_dir() 310 strcat(namelist[n], "/"); in open_dir() 320 free(namelist); in open_dir() 327 e->p.txt = strdup(namelist[n]); in open_dir() 328 if(strchr(namelist[n], '/') != NULL) in open_dir() 334 free(namelist[n]); in open_dir() [all …]
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/lib/misc/ |
H A D | dir.c | 118 struct dirent **namelist; in lws_dir() local 127 n = scandir((char *)dirpath, &namelist, filter, alphasort); in lws_dir() 135 unsigned int type = namelist[i]->d_type; in lws_dir() 137 if (strchr(namelist[i]->d_name, '~')) in lws_dir() 139 lde.name = namelist[i]->d_name; in lws_dir() 147 lws_dir_via_stat(combo, l, namelist[i]->d_name, &lde); in lws_dir() 169 lws_dir_via_stat(combo, l, namelist[i]->d_name, &lde); in lws_dir() 174 free(namelist[i++]); in lws_dir() 179 free(namelist[i]); in lws_dir() 183 free(namelist); in lws_dir()
|
/dports/games/kevedit/kevedit-0.5.1/src/texteditor/ |
H A D | zzl.c | 40 stringvector namelist; in zzlpickobject() local 44 initstringvector(&namelist); in zzlpickobject() 59 pushstring(&namelist, finder->s); in zzlpickobject() 72 result = scrolldialog("Select An Object", &namelist, d); in zzlpickobject() 76 while (finder != NULL && finder->s != namelist.cur->s) in zzlpickobject() 81 removestringvector(&namelist); in zzlpickobject() 90 removestringvector(&namelist); in zzlpickobject()
|
/dports/net/rdist6/rdist-6.1.5/include/ |
H A D | defs.h | 235 struct namelist { /* for making lists of strings */ struct 237 struct namelist *n_next; argument 247 struct namelist *sc_args; 266 struct namelist *c_files; 369 struct namelist *expand(); 370 struct namelist *lookup(); 371 struct namelist *makenl();
|
/dports/games/odamex/odamex-src-0.7.0/server/src/ |
H A D | r_things.cpp | 206 void R_InitSpriteDefs (const char **namelist) in R_InitSpriteDefs() argument 209 for (numsprites = 0; namelist[numsprites]; numsprites++) in R_InitSpriteDefs() 222 spritename = namelist[i]; in R_InitSpriteDefs() 226 int intname = *(int *)namelist[i]; in R_InitSpriteDefs() 247 R_InstallSprite (namelist[i], i); in R_InitSpriteDefs() 266 void R_InitSprites (const char **namelist) in R_InitSprites() argument 275 R_InitSpriteDefs (namelist); in R_InitSprites()
|
/dports/science/cgribex/cgribex-1.9.4/app/ |
H A D | Makefile.am | 5 grib_SOURCES = grib.c readline.c timer.c realtime.c namelist.c namelist.h 9 grib2_SOURCES = grib2.c readline.c namelist.c namelist.h
|
/dports/math/py-yt/yt-4.0.1/yt/frontends/amrvac/ |
H A D | data_structures.py | 189 namelist = None 194 namelist = read_amrvac_namelist(parfiles) 195 if "hd_list" in namelist: 196 c_adiab = namelist["hd_list"].get("hd_adiab", 1.0) 197 namelist_gamma = namelist["hd_list"].get("hd_gamma") 198 elif "mhd_list" in namelist: 199 c_adiab = namelist["mhd_list"].get("mhd_adiab", 1.0) 200 namelist_gamma = namelist["mhd_list"].get("mhd_gamma") 209 if "method_list" in namelist: 210 e_is_internal = namelist["method_list"].get("solve_internal_e", False) [all …]
|
/dports/textproc/py-grako/grako-3.99.9/grako/ |
H A D | symtables.py | 111 def _lookup_drilldown(self, namelist, drill=True, max=None): argument 112 if not namelist: 117 found = symbol._lookup_drilldown(namelist, drill=drill, max=max) 197 def _lookup_drilldown(self, namelist, drill=True, max=None): argument 198 if self.ignorecase and [self.name.upper()] == namelist: 200 elif not self.ignorecase and [self.name] == namelist: 202 elif self.name == namelist[0]: 205 return super(Symbol, self)._lookup_drilldown(namelist, drill=drill, max=max) 286 def _lookup_drilldown(self, namelist, drill=True, max=max): argument 287 result = super(BasedSymbol, self)._lookup_drilldown(namelist, drill=drill, max=max) [all …]
|
/dports/cad/ngspice_rework/ngspice-35/src/include/ngspice/ |
H A D | noisedef.h | 54 IFuid *namelist; /* list of plot names */ member 124 data->namelist = TREALLOC(IFuid, data->namelist, data->numPlots + 1); \ 125 if (!data->namelist) \ 130 SPfrontEnd->IFnewUid(ckt, &(data->namelist[data->numPlots++]), \
|
/dports/editors/abiword/abiword-3.0.5/src/af/xap/cocoa/ |
H A D | xap_CocoaModule.cpp | 241 struct dirent **namelist = NULL; in loadAllPlugins() local 242 int n = scandir(support_dir[i].c_str(), &namelist, s_Abi_only, alphasort); in loadAllPlugins() 249 free(namelist); in loadAllPlugins() 256 plugin_path = support_dir[i] + "/" + namelist[n]->d_name; in loadAllPlugins() 258 free (namelist[n]); in loadAllPlugins() 260 free (namelist); in loadAllPlugins()
|