Home
last modified time | relevance | path

Searched refs:line_ptr (Results 1 – 6 of 6) sorted by relevance

/external/e2fsprogs/lib/ss/
Dparse.c45 char **ss_parse(int sci_idx, register char *line_ptr, int *argc_ptr) in ss_parse() argument
62 cp = line_ptr; /* cp is for output */ in ss_parse()
66 printf ("character `%c', mode %d\n", *line_ptr, parse_mode); in ss_parse()
70 if (*line_ptr == '\0') in ss_parse()
72 if (*line_ptr == ' ' || *line_ptr == '\t') { in ss_parse()
73 line_ptr++; in ss_parse()
76 if (*line_ptr == '"') { in ss_parse()
79 cp = line_ptr++; in ss_parse()
87 cp = line_ptr; in ss_parse()
93 argv[argc++] = line_ptr; in ss_parse()
[all …]
Dexecute_cmd.c196 int ss_execute_line(int sci_idx, char *line_ptr) in ss_execute_line() argument
202 while (line_ptr[0] == ' ' || line_ptr[0] == '\t') in ss_execute_line()
203 line_ptr++; in ss_execute_line()
206 if (*line_ptr == '!') { in ss_execute_line()
210 line_ptr++; in ss_execute_line()
211 return (system(line_ptr) < 0) ? errno : 0; in ss_execute_line()
216 argv = ss_parse(sci_idx, line_ptr, &argc); in ss_execute_line()
Dss_internal.h85 int ss_execute_line(int sci_idx, char *line_ptr);
86 char **ss_parse(int sci_idx, char *line_ptr, int *argc_ptr);
/external/aac/libSYS/src/
Dcmdl_parser.cpp513 char *line_ptr; in IIS_ProcessCmdlList() local
541 line_ptr = (char*)FDKstrchr(line, '\n'); in IIS_ProcessCmdlList()
542 if (line_ptr != NULL) in IIS_ProcessCmdlList()
543 *line_ptr = ' '; in IIS_ProcessCmdlList()
545 line_ptr = line; in IIS_ProcessCmdlList()
550 while (*line_ptr == ' ' && line_ptr < line+CMDL_MAX_STRLEN) in IIS_ProcessCmdlList()
551 line_ptr++; in IIS_ProcessCmdlList()
553 argv_ptr[argc] = line_ptr; in IIS_ProcessCmdlList()
555 line_ptr = (char*)FDKstrchr(line_ptr, ' '); in IIS_ProcessCmdlList()
557 if (line_ptr != NULL) { in IIS_ProcessCmdlList()
[all …]
/external/bluetooth/bluedroid/osi/src/
Dconfig.c190 char *line_ptr = trim(line); in config_parse() local
194 if (*line_ptr == '\0' || *line_ptr == '#') in config_parse()
197 if (*line_ptr == '[') { in config_parse()
198 size_t len = strlen(line_ptr); in config_parse()
199 if (line_ptr[len - 1] != ']') { in config_parse()
203 strncpy(section, line_ptr + 1, len - 2); in config_parse()
206 char *split = strchr(line_ptr, '='); in config_parse()
213 config_set_string(config, section, trim(line_ptr), trim(split + 1)); in config_parse()
/external/chromium_org/net/tools/balsa/
Dbalsa_headers.h789 const char* line_ptr = GetPtr(line.buffer_base_idx); in WriteToBuffer() local
792 base::StringPiece(line_ptr + line.first_char_idx, in WriteToBuffer()
794 base::StringPiece(line_ptr + line.value_begin_idx, in WriteToBuffer()