Home
last modified time | relevance | path

Searched refs:line_ptr (Results 1 – 12 of 12) 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.c433 unsigned char *line_ptr, /* Current byte pointer */ in CompressData() local
447 line_ptr = line; in CompressData()
457 for (line_ptr = line, comp_ptr = CompBuffer; in CompressData()
458 line_ptr < line_end; in CompressData()
459 comp_ptr += 2, line_ptr += count) in CompressData()
462 (line_ptr + count) < line_end && in CompressData()
463 line_ptr[0] == line_ptr[count] && in CompressData()
468 comp_ptr[1] = line_ptr[0]; in CompressData()
471 line_ptr = CompBuffer; in CompressData()
480 line_ptr = line; in CompressData()
[all …]
Drastertoepson.c417 const unsigned char *line_ptr, /* Current byte pointer */ in CompressData() local
431 line_ptr = line; in CompressData()
494 while (line_ptr < line_end) in CompressData()
496 if ((line_ptr + 1) >= line_end) in CompressData()
503 *comp_ptr++ = *line_ptr++; in CompressData()
505 else if (line_ptr[0] == line_ptr[1]) in CompressData()
511 line_ptr ++; in CompressData()
514 while (line_ptr < (line_end - 1) && in CompressData()
515 line_ptr[0] == line_ptr[1] && in CompressData()
518 line_ptr ++; in CompressData()
[all …]
Drastertolabel.c908 unsigned char *line_ptr, /* Current byte pointer */ in PCLCompress() local
921 line_ptr = line; in PCLCompress()
927 while (line_ptr < line_end) in PCLCompress()
933 start = line_ptr; in PCLCompress()
943 if ((count = (unsigned)(line_end - line_ptr)) > 8) in PCLCompress()
946 line_ptr += count; in PCLCompress()
954 while (*line_ptr == *seed && in PCLCompress()
955 line_ptr < line_end) in PCLCompress()
957 line_ptr ++; in PCLCompress()
961 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/google-breakpad/src/processor/
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()
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()
/external/libxcam/modules/soft/
Dsoft_image.h327 uint8_t *line_ptr = buf->get_buf_ptr (0, index); in read_buf() local
329 WARNING, fread (line_ptr, 1, line_bytes, _fp) == line_bytes, XCAM_RETURN_ERROR_FILE, in read_buf()
352 uint8_t *line_ptr = buf->get_buf_ptr (0, index); in write_buf() local
354 WARNING, fwrite (line_ptr, 1, line_bytes, _fp) == line_bytes, XCAM_RETURN_ERROR_FILE, in write_buf()
/external/minijail/
Dsyscall_filter.c381 char *line_ptr; in compile_policy_line() local
382 char *arg_filter = strtok_r(line, ";", &line_ptr); in compile_policy_line()
383 char *ret_errno = strtok_r(NULL, ";", &line_ptr); in compile_policy_line()
/external/libxcam/modules/ocl/
Dcl_pyramid_blender.cpp734 SEAM_MASK_TYPE *line_ptr = mask_ptr + line * stride; in assign_mask_line() local
737 memset (line_ptr, MASK_1, sizeof (SEAM_MASK_TYPE) * mask_1_len); in assign_mask_line()
738 memset (line_ptr + mask_1_len, MASK_0, sizeof (SEAM_MASK_TYPE) * (stride - mask_1_len)); in assign_mask_line()