• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/shell/

Lines Matching +defs:code +defs:string

19  *      how much of the Johnson/Troan code has survived the repeated
338 /* Sorted roughly by size (smaller offsets == smaller code) */
506 /* primary string parsing: */
855 // TODO: bash prints a string representation
933 char *string;
936 string = xmalloc_reads(STDIN_FILENO, xasprintf("%s=", name));
937 return set_local_var(string, 0);
1030 * in here, such as setting a maximum string length */
1641 * return code is normally -1, when the caller has to wait for children
1644 * time run_pipe_real returns, and the exit code is provided as the
1665 /* it is not always needed, but we aim to smaller code */
1757 * for initial child code after fork */
2134 /* return code is the exit status of the pipe */
2194 debug_printf_clean("%s pipe followup code %d\n", indenter(indent), pi->followup);
2261 /* we can code this better when the debug_printf's are gone */
2302 * to over-estimate sizes a bit, if it makes code simpler */
2311 cnt++; /* cnt += strspn(str, ifs); - but this code is larger */
2377 /* Store given string, finalizing the word and starting new one whenever
2379 * End-of-string does NOT finalize word: think about 'echo -$VAR-' */
2403 /* Expand all variable references in given string, adding words to list[]
2597 /* actually, just move string 2*sizeof(char*) bytes back */
2724 * is ro, and we cannot reach this code on the 1st pass */
2749 * Return code is 0 normally, 1 if a syntax error is detected in src.
2830 unsigned char code;
2861 debug_printf("found reserved word %s, code %d\n", r->literal, r->code);
2877 } else if (ctx->res_w == RES_NONE || !(ctx->old_flag & (1 << r->code))) {
2883 ctx->res_w = r->code;
3124 /* Return code is exit status of the process that is run. */
3218 /* return code: 0 for OK, 1 for syntax error */
3249 case '?': /* last exit code */
3292 /* return code is 0 for normal exit, 1 for syntax error */
3473 * one before the EOF. Can't use the standard "syntax error" return code,
3481 static void set_in_charmap(const char *set, int code)
3484 charmap[(unsigned char)*set++] = code;