Searched refs:tok (Results 1 - 10 of 10) sorted by path

/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/sibyte/src/
H A Dcfe_tests.c108 char *tok; local
114 tok = cmd_getarg(cmd, 0);
115 if (!tok) {
177 fh = cfe_open(tok);
/broadcom-cfe-1.4.2/cfe/hosttools/
H A Dmemconfig.c391 char *tok; local
458 tok = strtok(x," ,");
460 while (tok) {
463 if (strcmp(ev->name,tok) == 0) break;
467 printf("%s: Invalid value. Valid values are: ",tok);
474 tok = strtok(NULL," ,");
H A Dmemconfig1480.c480 char *tok; local
547 tok = strtok(x," ,");
549 while (tok) {
552 if (strcmp(ev->name,tok) == 0) break;
556 printf("%s: Invalid value. Valid values are: ",tok);
563 tok = strtok(NULL," ,");
/broadcom-cfe-1.4.2/cfe/main/
H A Dcfe_httpfs.c142 char *tok; local
266 tok = lib_gettoken(&hptr);
267 if (!tok || (memcmp(tok,"HTTP",4) != 0)) {
272 tok = lib_gettoken(&hptr);
273 if (!tok) {
278 switch (lib_atoi(tok)) {
/broadcom-cfe-1.4.2/cfe/net/
H A Dnet_dns.c109 char *tok; local
144 while ((tok = strchr(ptr,'.'))) {
145 ebuf_append_u8(buf,(tok-ptr));
146 ebuf_append_bytes(buf,ptr,(tok-ptr));
147 ptr = tok + 1;
299 char *tok; local
312 tok = (char *)net_getparam(NET_DOMAIN);
313 if (tok) {
314 xsprintf(temphostname,"%s.%s",hostname,tok);
/broadcom-cfe-1.4.2/cfe/ui/
H A Dui_examcmds.c166 char *tok; local
176 while ((tok = gettoken(&tail))) {
180 b = (uint8_t) xtoq(tok);
187 h = (uint16_t) xtoq(tok);
194 w = (uint32_t) xtoq(tok);
201 q = (uint64_t) xtoq(tok);
H A Dui_test_disk.c121 char *tok; local
133 tok = cmd_getarg(cmd,0);
134 if (!tok) return -1;
136 fh = cfe_open(tok);
217 char *tok; local
225 tok = cmd_getarg(cmd,0);
226 if (!tok) return -1;
230 res = fs_init("fat",&fsctx,tok);
334 char *tok; local
349 tok
[all...]
H A Dui_test_ether.c110 char *tok; local
120 tok = cmd_getarg(cmd,0);
121 if (!tok) return -1;
131 fh = cfe_open(tok);
H A Dui_test_flash.c164 char *tok;
174 tok = cmd_getarg(cmd,1);
175 if (tok) offset = xtoi(tok);
203 char *tok;
212 if ((tok = cmd_getarg(cmd,1))) offset = xtoi(tok);
215 if ((tok = cmd_getarg(cmd,2))) length = xtoi(tok);
219 if ((tok
[all...]
H A Dui_vxboot.c220 char *tok; local
224 tok = lib_gettoken(&ptr); /* first token is the boot file */
226 if (!tok) return 0; /* an empty booline is ok */
235 x = tok;
238 while (*tok && (*tok != '(')) tok++;
239 if (!*tok) goto error;
240 *tok++ = '\0';
244 x = strchr(tok,')');
[all...]

Completed in 61 milliseconds