Home
last modified time | relevance | path

Searched refs:nameptr (Results 1 – 9 of 9) sorted by relevance

/external/u-boot/fs/btrfs/
Dsubvolume.c81 static void list_subvols(u64 tree, char *nameptr, int max_name_len, int level) in list_subvols() argument
104 if (nameptr && !get_subvol_name(found_key->offset, nameptr, in list_subvols()
106 printf("%s\n", nameptr); in list_subvols()
112 list_subvols(found_key->offset, nameptr, max_name_len, in list_subvols()
124 char *nameptr = malloc(4096); in btrfs_list_subvols() local
126 list_subvols(BTRFS_FS_TREE_OBJECTID, nameptr, nameptr ? 4096 : 0, 40); in btrfs_list_subvols()
128 if (nameptr) in btrfs_list_subvols()
129 free(nameptr); in btrfs_list_subvols()
/external/libcups/cups/
Dppd-page.c38 char *nameptr; /* Pointer into name */ in ppdPageSize() local
82 w = _cupsStrScand(name + 7, &nameptr, loc); in ppdPageSize()
83 if (!nameptr || *nameptr != 'x') in ppdPageSize()
86 l = _cupsStrScand(nameptr + 1, &nameptr, loc); in ppdPageSize()
87 if (!nameptr) in ppdPageSize()
90 if (!_cups_strcasecmp(nameptr, "in")) in ppdPageSize()
95 else if (!_cups_strcasecmp(nameptr, "ft")) in ppdPageSize()
100 else if (!_cups_strcasecmp(nameptr, "mm")) in ppdPageSize()
105 else if (!_cups_strcasecmp(nameptr, "cm")) in ppdPageSize()
110 else if (!_cups_strcasecmp(nameptr, "m")) in ppdPageSize()
Dpwg-media.c302 const char *nameptr; /* Pointer into name */ in pwgFormatSizeName() local
304 for (nameptr = name; *nameptr; nameptr ++) in pwgFormatSizeName()
305 if (!(*nameptr >= 'a' && *nameptr <= 'z') && in pwgFormatSizeName()
306 !(*nameptr >= '0' && *nameptr <= '9') && in pwgFormatSizeName()
307 *nameptr != '.' && *nameptr != '-') in pwgFormatSizeName()
Dhttp-addr.c680 const char *nameptr; /* Pointer into name */ in httpGetHostByName() local
730 for (nameptr = name; isdigit(*nameptr & 255) || *nameptr == '.'; nameptr ++); in httpGetHostByName()
732 if (!*nameptr) in httpGetHostByName()
Ddest.c4124 *nameptr; /* Pointer into name */ local
4140 if ((nameptr = strchr(namebuf, ' ')) != NULL)
4141 *nameptr = '\0';
4142 if ((nameptr = strchr(namebuf, '\t')) != NULL)
4143 *nameptr = '\0';
4145 if ((nameptr = strchr(namebuf, '/')) != NULL)
4146 *nameptr++ = '\0';
4148 *instance = nameptr;
4453 char *nameptr; /* Pointer into name */ local
4456 for (nameptr = name, ptr = serviceName; *ptr && nameptr < (name + namesize - 1); ptr ++)
[all …]
Ddest-options.c1459 *nameptr, /* Pointer into current name */ in cups_create_defaults() local
1478 if ((nameptr = attr->name + strlen(attr->name) - 8) <= attr->name || in cups_create_defaults()
1479 strcmp(nameptr, "-default")) in cups_create_defaults()
1483 if ((nameptr = name + strlen(name) - 8) <= name || in cups_create_defaults()
1484 strcmp(nameptr, "-default")) in cups_create_defaults()
1487 *nameptr = '\0'; in cups_create_defaults()
Dppd.c464 *nameptr, /* Pointer into name */ in _ppdOpen() local
1226 for (nameptr = ppd->emulations[i].name; in _ppdOpen()
1229 if (nameptr < (ppd->emulations[i].name + sizeof(ppd->emulations[i].name) - 1)) in _ppdOpen()
1230 *nameptr++ = *sptr; in _ppdOpen()
1232 *nameptr = '\0'; in _ppdOpen()
/external/u-boot/scripts/dtc/libfdt/
Dfdt_ro.c237 const char *nameptr; in fdt_get_name() local
244 nameptr = nh->name; in fdt_get_name()
253 leaf = strrchr(nameptr, '/'); in fdt_get_name()
258 nameptr = leaf+1; in fdt_get_name()
262 *len = strlen(nameptr); in fdt_get_name()
264 return nameptr; in fdt_get_name()
/external/pcre/dist2/src/
Dpcre2_compile.c2146 PCRE2_SIZE *offsetptr, PCRE2_SPTR *nameptr, uint32_t *namelenptr, in read_name() argument
2161 *nameptr = ptr; in read_name()