Searched refs:nameptr (Results 1 – 3 of 3) sorted by relevance
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/common/ |
| H A D | hwcfuncs.c | 554 char *nameptr, *copy, *slash, *attr_delim; in hwcfuncs_parse_ctr() local 557 nameptr = copy = strdup (counter_def); in hwcfuncs_parse_ctr() 561 if (nameptr[0] == HWCFUNCS_PARSE_BACKTRACK) in hwcfuncs_parse_ctr() 564 nameptr++; in hwcfuncs_parse_ctr() 566 else if (nameptr[0] == HWCFUNCS_PARSE_BACKTRACK_OFF) in hwcfuncs_parse_ctr() 569 nameptr++; in hwcfuncs_parse_ctr() 578 slash = strchr (nameptr, HWCFUNCS_PARSE_REGNUM); in hwcfuncs_parse_ctr() 599 attr_delim = strchr (nameptr, HWCFUNCS_PARSE_ATTR); in hwcfuncs_parse_ctr() 608 *pnameOnly = strdup (nameptr); in hwcfuncs_parse_ctr()
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/common/ |
| H A D | hwcfuncs.c | 546 char *nameptr, *copy, *slash, *attr_delim; in hwcfuncs_parse_ctr() local 549 nameptr = copy = strdup (counter_def); in hwcfuncs_parse_ctr() 553 if (nameptr[0] == HWCFUNCS_PARSE_BACKTRACK) in hwcfuncs_parse_ctr() 556 nameptr++; in hwcfuncs_parse_ctr() 558 else if (nameptr[0] == HWCFUNCS_PARSE_BACKTRACK_OFF) in hwcfuncs_parse_ctr() 561 nameptr++; in hwcfuncs_parse_ctr() 570 slash = strchr (nameptr, HWCFUNCS_PARSE_REGNUM); in hwcfuncs_parse_ctr() 591 attr_delim = strchr (nameptr, HWCFUNCS_PARSE_ATTR); in hwcfuncs_parse_ctr() 600 *pnameOnly = strdup (nameptr); in hwcfuncs_parse_ctr()
|
| /netbsd-src/sys/external/bsd/libfdt/dist/ |
| H A D | fdt_ro.c | 291 const char *nameptr; in fdt_get_name() local 298 nameptr = nh->name; in fdt_get_name() 307 leaf = strrchr(nameptr, '/'); in fdt_get_name() 312 nameptr = leaf+1; in fdt_get_name() 316 *len = strlen(nameptr); in fdt_get_name() 318 return nameptr; in fdt_get_name()
|