/bionic/libc/bionic/ |
basename.c | 39 static char* bname = NULL; local 42 if (bname == NULL) { 43 bname = (char *)malloc(MAXPATHLEN); 44 if (bname == NULL) 47 ret = basename_r(path, bname, MAXPATHLEN); 48 return (ret < 0) ? NULL : bname;
|
dirname.c | 39 static char* bname = NULL; local 42 if (bname == NULL) { 43 bname = (char *)malloc(MAXPATHLEN); 44 if (bname == NULL) 48 ret = dirname_r(path, bname, MAXPATHLEN); 49 return (ret < 0) ? NULL : bname;
|
/external/zlib/ |
minigzip.c | 356 char *bname, outmode[20]; local 361 bname = strrchr(argv[0], '/'); 362 if (bname) 363 bname++; 365 bname = argv[0]; 368 if (!strcmp(bname, "gunzip")) 370 else if (!strcmp(bname, "zcat"))
|
/external/wpa_supplicant/ |
config_file.c | 293 char *bname = pos + 12, *name_end; local 296 name_end = os_strchr(bname, '='); 305 blob = wpa_config_read_blob(f, &line, bname); 308 " blob %s", line, bname);
|
/external/yaffs2/yaffs2/utils/ |
mkyaffsimage.c | 124 __u8 *bname = (__u8 *)name; local 126 while (*bname) 128 sum += (*bname) * i; 130 bname++;
|
/external/yaffs2/yaffs2/direct/ |
dtest.c | 963 char bname[100]; local 973 sprintf(bname,"%s%s",path,"/b"); 979 b = yaffs_open(bname, O_CREAT | O_TRUNC | O_RDWR, S_IREAD | S_IWRITE); 981 printf(" %s %d %s %d\n",aname,a,bname,b); 1027 char bname[100]; local 1037 sprintf(bname,"%s%s",path,"/b"); 1043 b = yaffs_open(bname, O_CREAT | O_TRUNC | O_RDWR, S_IREAD | S_IWRITE); 1045 printf(" %s %d %s %d\n",aname,a,bname,b); 1100 char bname[100]; local 1110 sprintf(bname,"%s%s",path,"/b") [all...] |
/bionic/linker/ |
linker.c | 1099 const char *bname; local 1203 const char *bname; local [all...] |
/system/core/toolbox/ |
newfs_msdos.c | 268 const char *fname, *dtype, *bname; local 495 bname = NULL; 498 bname = opt_B; 499 if (!strchr(bname, '/')) { 500 snprintf(buf, sizeof(buf), "/boot/%s", bname); 501 if (!(bname = strdup(buf))) 504 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb)) 505 err(1, "%s", bname); 508 errx(1, "%s: inappropriate file type or format", bname); 629 err(1, "%s", bname); [all...] |
/external/yaffs2/yaffs2/ |
yaffs_guts.c | 557 YUCHAR *bname = (YUCHAR *) name; local 558 if (bname) { 559 while ((*bname) && (i <= YAFFS_MAX_NAME_LENGTH)) { 562 sum += yaffs_toupper(*bname) * i; 564 sum += (*bname) * i; 567 bname++; [all...] |
/external/dnsmasq/src/ |
dnsmasq.h | 274 union bigname *bname; member in union:crec::__anon3268
|