Lines Matching refs:from
32 prom_path_gettoken(register char *from, register char *to) in prom_path_gettoken() argument
34 while (*from) { in prom_path_gettoken()
35 switch (*from) { in prom_path_gettoken()
41 return (from); in prom_path_gettoken()
43 *to++ = *from++; in prom_path_gettoken()
47 return (from); in prom_path_gettoken()
62 char *from = tmp; in prom_pathname() local
83 if ((uintptr_t)from > (uint32_t)-1) { in prom_pathname()
84 from = promplat_alloc(OBP_MAXPATHLEN); in prom_pathname()
85 if (from == NULL) { in prom_pathname()
95 (void) prom_strcpy(from, to); in prom_pathname()
101 ci[3] = p1275_ptr2cell(from); /* Arg1: token */ in prom_pathname()
115 if (from != tmp) { in prom_pathname()
116 (void) prom_strcpy(tmp, from); in prom_pathname()
117 promplat_free(from, OBP_MAXPATHLEN); in prom_pathname()
118 from = tmp; in prom_pathname()
143 if ((p = prom_strrchr(from, '/')) == 0) in prom_pathname()
144 p = from; in prom_pathname()
159 prom_strip_options(char *from, char *to) in prom_strip_options() argument
161 while (*from != (char)0) { in prom_strip_options()
162 if (*from == ':') { in prom_strip_options()
163 while ((*from != (char)0) && (*from != '/')) in prom_strip_options()
164 ++from; in prom_strip_options()
166 *to++ = *from++; in prom_strip_options()