Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ss/
Dparse.c46 char **ss_parse(int sci_idx, register char *line_ptr, int *argc_ptr) in ss_parse() argument
63 cp = line_ptr; /* cp is for output */ in ss_parse()
67 printf ("character `%c', mode %d\n", *line_ptr, parse_mode); in ss_parse()
71 if (*line_ptr == '\0') in ss_parse()
73 if (*line_ptr == ' ' || *line_ptr == '\t') { in ss_parse()
74 line_ptr++; in ss_parse()
77 if (*line_ptr == '"') { in ss_parse()
80 cp = line_ptr++; in ss_parse()
94 cp = line_ptr; in ss_parse()
102 argv[argc++] = line_ptr; in ss_parse()
[all …]
Dexecute_cmd.c197 int ss_execute_line(int sci_idx, char *line_ptr) in ss_execute_line() argument
203 while (line_ptr[0] == ' ' || line_ptr[0] == '\t') in ss_execute_line()
204 line_ptr++; in ss_execute_line()
207 if (*line_ptr == '!') { in ss_execute_line()
211 line_ptr++; in ss_execute_line()
212 return (system(line_ptr) < 0) ? errno : 0; in ss_execute_line()
217 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/libcups/filter/
Drastertohp.c427 unsigned char *line_ptr, /* Current byte pointer */ in CompressData() local
441 line_ptr = line; in CompressData()
451 for (line_ptr = line, comp_ptr = CompBuffer; in CompressData()
452 line_ptr < line_end; in CompressData()
453 comp_ptr += 2, line_ptr += count) in CompressData()
456 (line_ptr + count) < line_end && in CompressData()
457 line_ptr[0] == line_ptr[count] && in CompressData()
462 comp_ptr[1] = line_ptr[0]; in CompressData()
465 line_ptr = CompBuffer; in CompressData()
474 line_ptr = line; in CompressData()
[all …]
Drastertoepson.c412 const unsigned char *line_ptr, /* Current byte pointer */ in CompressData() local
426 line_ptr = line; in CompressData()
489 while (line_ptr < line_end) in CompressData()
491 if ((line_ptr + 1) >= line_end) in CompressData()
498 *comp_ptr++ = *line_ptr++; in CompressData()
500 else if (line_ptr[0] == line_ptr[1]) in CompressData()
506 line_ptr ++; in CompressData()
509 while (line_ptr < (line_end - 1) && in CompressData()
510 line_ptr[0] == line_ptr[1] && in CompressData()
513 line_ptr ++; in CompressData()
[all …]
Drastertolabel.c911 unsigned char *line_ptr, /* Current byte pointer */ in PCLCompress() local
924 line_ptr = line; in PCLCompress()
930 while (line_ptr < line_end) in PCLCompress()
936 start = line_ptr; in PCLCompress()
946 if ((count = (unsigned)(line_end - line_ptr)) > 8) in PCLCompress()
949 line_ptr += count; in PCLCompress()
957 while (*line_ptr == *seed && in PCLCompress()
958 line_ptr < line_end) in PCLCompress()
960 line_ptr ++; in PCLCompress()
964 if (line_ptr == line_end) in PCLCompress()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_align.c615 const char *line_ptr; in do_test_single() local
638 line_ptr = strtok(bpf_vlog_copy, "\n"); in do_test_single()
644 while (line_ptr) { in do_test_single()
646 sscanf(line_ptr, "%u: ", &cur_line); in do_test_single()
649 line_ptr = strtok(NULL, "\n"); in do_test_single()
651 if (!line_ptr) { in do_test_single()
658 if (!strstr(line_ptr, m.match)) { in do_test_single()
/external/libwebm/webvtt/
Dwebvttparser.cc32 int LineReader::GetLine(std::string* line_ptr) { in GetLine() argument
33 if (line_ptr == NULL) in GetLine()
36 std::string& ln = *line_ptr; in GetLine()
303 int Parser::ParseTimingsLine(std::string* line_ptr, in ParseTimingsLine() argument
306 if (line_ptr == NULL) in ParseTimingsLine()
309 std::string& line = *line_ptr; in ParseTimingsLine()
/external/google-breakpad/src/processor/
Dfast_source_line_resolver_types.h57 void CopyFrom(const Line *line_ptr) { in CopyFrom()
58 const char *raw = reinterpret_cast<const char*>(line_ptr); in CopyFrom()
Dfast_source_line_resolver.cc89 const Line* line_ptr = 0; in LookupAddress() local
91 if (func->lines.RetrieveRange(address, line_ptr, &line_base, NULL)) { in LookupAddress()
92 line.get()->CopyFrom(line_ptr); in LookupAddress()
/external/minijail/
Dsyscall_filter.c440 char *line_ptr; in compile_policy_line() local
441 char *arg_filter = strtok_r(line, ";", &line_ptr); in compile_policy_line()
442 char *ret_errno = strtok_r(NULL, ";", &line_ptr); in compile_policy_line()