Home
last modified time | relevance | path

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

/busybox-1.35.0/libbb/
Dobscure.c44 static int string_checker_helper(const char *p1, const char *p2) __attribute__ ((__pure__));
46 static int string_checker_helper(const char *p1, const char *p2) in string_checker_helper() argument
49 if (strcasestr(p2, p1) != NULL in string_checker_helper()
51 || strcasestr(p1, p2) != NULL in string_checker_helper()
60 static int string_checker(const char *p1, const char *p2) in string_checker() argument
64 int ret = string_checker_helper(p1, p2); in string_checker()
76 ret |= string_checker_helper(p, p2); in string_checker()
Ddump.c117 char *p1, *p2, *p3; in rewrite() local
162 p2 = p1 + 1; /* set end pointer */ in rewrite()
188 ++p2; in rewrite()
218 p2++; /* move past a in "%_a" */ in rewrite()
226 p2++; /* move past x in "%_ax" */ in rewrite()
264 for (p3 = p2; *p3 && *p3 != '%'; p3++) in rewrite()
266 if ((p3 - p2) != 0) { in rewrite()
268 pr->fmt = d = xrealloc(pr->fmt, len + (p3 - p2) + 1); in rewrite()
271 *d++ = *p2++; in rewrite()
272 } while (p2 != p3); in rewrite()
[all …]
Dplatform.c41 va_list p2; in vasprintf() local
44 va_copy(p2, p); in vasprintf()
51 va_end(p2); in vasprintf()
57 r = (*string_ptr ? vsnprintf(*string_ptr, r+1, format, p2) : -1); in vasprintf()
58 va_end(p2); in vasprintf()
Dverror_msg.c41 va_list p2; in bb_verror_msg() local
44 va_copy(p2, p); in bb_verror_msg()
45 used = vsnprintf(stack_msg + applet_len, (int)sizeof(stack_msg) - applet_len, s, p2); in bb_verror_msg()
46 va_end(p2); in bb_verror_msg()
/busybox-1.35.0/scripts/kconfig/
Dconfdata.c91 char *p, *p2; in conf_read_simple() local
174 p2 = strchr(p, '\n'); in conf_read_simple()
175 if (p2) in conf_read_simple()
176 *p2 = 0; in conf_read_simple()
208 for (p2 = p; (p2 = strpbrk(p2, "\"\\")); p2++) { in conf_read_simple()
209 if (*p2 == '"') { in conf_read_simple()
210 *p2 = 0; in conf_read_simple()
213 memmove(p2, p2 + 1, strlen(p2)); in conf_read_simple()
215 if (!p2) { in conf_read_simple()
/busybox-1.35.0/debianutils/
Drun_parts.c139 static int bb_alphasort(const void *p1, const void *p2) in bb_alphasort() argument
141 int r = strcmp(*(char **) p1, *(char **) p2); in bb_alphasort()
/busybox-1.35.0/archival/libarchive/
Dlzo1x_9x.c282 const uint8_t *p2; in swd_search() local
295 p2 = b + node; in swd_search()
300 if (p2[m_len - 1] == scan_end1 in swd_search()
301 && p2[m_len] == p1[m_len] in swd_search()
302 && p2[0] == p1[0] in swd_search()
303 && p2[1] == p1[1] in swd_search()
308 p1 += 2; p2 += 2; in swd_search()
309 do {} while (++p1 < px && *p1 == *++p2); in swd_search()
/busybox-1.35.0/procps/
Dpowertop.c149 static int line_compare(const void *p1, const void *p2) in line_compare() argument
152 const struct line *b = p2; in line_compare()
/busybox-1.35.0/shell/
Dhush.c5977 IF_HAS_KEYWORDS(struct parse_context *p2;) in parse_stream()
6000 IF_HAS_KEYWORDS(p2 = pctx->stack;) in parse_stream()
6004 IF_HAS_KEYWORDS(pctx = p2;) in parse_stream()