Home
last modified time | relevance | path

Searched refs:p_end (Results 1 – 25 of 41) sorted by relevance

12

/netbsd-src/usr.bin/patch/
H A Dpch.c59 static LINENUM p_end = -1; /* last line in hunk */ variable
97 p_end = (LINENUM) - 1; in re_patch()
524 while (p_end >= 0) { in another_hunk()
525 if (p_end == p_efake) in another_hunk()
526 p_end = p_bfake; /* don't free twice */ in another_hunk()
528 free(p_line[p_end]); in another_hunk()
529 p_end--; in another_hunk()
555 while (p_end < p_max) { in another_hunk()
566 p_end++; in another_hunk()
567 if (p_end >= hunkmax) in another_hunk()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dx-scheme.c261 const char *p_end = str + len; in is_integer_syntax() local
267 if (p == p_end) in is_integer_syntax()
272 if (p == p_end) in is_integer_syntax()
290 while (p < p_end); in is_integer_syntax()
302 const char *p_end = str + len; in is_other_number_syntax() local
321 if (p == p_end) in is_other_number_syntax()
328 if (p == p_end) in is_other_number_syntax()
332 if (unconstrained && (*p == 'I' || *p == 'i') && p + 1 == p_end) in is_other_number_syntax()
362 while (p < p_end); in is_other_number_syntax()
365 if (p < p_end) in is_other_number_syntax()
[all …]
H A Dmsgl-ascii.c58 const char *p_end = p + mp->msgstr_len; in is_ascii_message() local
60 for (; p < p_end; p++) in is_ascii_message()
H A Dformat.c109 const char *p_end = msgstr + msgstr_len; in check_msgid_msgstr_format() local
112 for (p = msgstr, j = 0; p < p_end; p += strlen (p) + 1, j++) in check_msgid_msgstr_format()
H A Dmsgl-check.c228 const char *p_end; in check_plural() local
235 for (p = mp->msgstr, p_end = p + mp->msgstr_len; in check_plural()
236 p < p_end; in check_plural()
H A Dwrite-mo.c217 const char *p_end; in write_table() local
239 p_end = mp->msgstr + mp->msgstr_len; in write_table()
240 for (p = mp->msgstr; p < p_end; p += strlen (p) + 1) in write_table()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dstabs.c236 parse_number (const char **pp, bool *poverflow, const char *p_end) in parse_number() argument
245 if (orig >= p_end) in parse_number()
1189 const char * p_end) in parse_stab_type() argument
1202 if (orig >= p_end) in parse_stab_type()
1221 if (! parse_stab_type_number (pp, typenums, p_end)) in parse_stab_type()
1395 if (! parse_stab_type_number (pp, xtypenums, p_end)) in parse_stab_type()
1412 pp, (debug_type **) NULL, p_end); in parse_stab_type()
1432 p_end)); in parse_stab_type()
1440 (debug_type **) NULL, p_end))); in parse_stab_type()
1449 (debug_type **) NULL, p_end), in parse_stab_type()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dstabs.c236 parse_number (const char **pp, bool *poverflow, const char *p_end) in parse_number() argument
245 if (orig >= p_end) in parse_number()
1171 const char * p_end) in parse_stab_type() argument
1184 if (orig >= p_end) in parse_stab_type()
1203 if (! parse_stab_type_number (pp, typenums, p_end)) in parse_stab_type()
1377 if (! parse_stab_type_number (pp, xtypenums, p_end)) in parse_stab_type()
1394 pp, (debug_type **) NULL, p_end); in parse_stab_type()
1414 p_end)); in parse_stab_type()
1422 (debug_type **) NULL, p_end))); in parse_stab_type()
1431 (debug_type **) NULL, p_end), in parse_stab_type()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgenhooks.c209 const char *doc, *fcode, *p_end; in emit_documentation() local
260 for (doc = hook_array[i].doc; *doc; doc = p_end) in emit_documentation()
263 p_end = strstr (doc, "\n\n"); in emit_documentation()
264 p_end = (p_end ? p_end + 2 : doc + strlen (doc)); in emit_documentation()
266 for (; (fcode = strstr (doc, "@Fcode{")) && fcode < p_end; in emit_documentation()
269 printf ("%.*s", (int) (p_end - doc), doc); in emit_documentation()
271 emit_findices (p_end, name); in emit_documentation()
/netbsd-src/bin/cp/
H A Dcp.c82 while ((p).p_end > (p).p_path + 1 && (p).p_end[-1] == '/') \
83 *--(p).p_end = '\0'; \
87 PATH_T to = { .p_end = to.p_path, .target_end = empty };
212 to.p_end = to.p_path + strlen(to.p_path); in main()
213 have_trailing_slash = (to.p_end[-1] == '/'); in main()
216 to.target_end = to.p_end; in main()
414 to.p_end = target_mid + nlen; in copy()
415 *to.p_end = 0; in copy()
H A Dextern.h38 char *p_end; /* pointer to NULL at end of path */ member
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgenhooks.cc189 const char *doc, *p_end; in emit_documentation() local
239 for (doc = hook_array[i].doc; *doc; doc = p_end) in emit_documentation()
242 p_end = strstr (doc, "\n\n"); in emit_documentation()
243 p_end = (p_end ? p_end + 2 : doc + strlen (doc)); in emit_documentation()
244 printf ("%.*s", (int) (p_end - doc), doc); in emit_documentation()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delf-attrs.c465 bfd_byte *p_end; in _bfd_elf_parse_attributes() local
493 p_end = p + hdr->sh_size; in _bfd_elf_parse_attributes()
498 while (p_end - p >= 4) in _bfd_elf_parse_attributes()
500 size_t len = p_end - p; in _bfd_elf_parse_attributes()
543 tag = _bfd_safe_read_leb128 (abfd, &p, false, p_end); in _bfd_elf_parse_attributes()
544 if (p_end - p >= 4) in _bfd_elf_parse_attributes()
551 p = p_end; in _bfd_elf_parse_attributes()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delf-attrs.c491 bfd_byte *p_end; in _bfd_elf_parse_attributes() local
519 p_end = p + hdr->sh_size; in _bfd_elf_parse_attributes()
524 while (p_end - p >= 4) in _bfd_elf_parse_attributes()
526 size_t len = p_end - p; in _bfd_elf_parse_attributes()
569 tag = _bfd_safe_read_leb128 (abfd, &p, false, p_end); in _bfd_elf_parse_attributes()
570 if (p_end - p >= 4) in _bfd_elf_parse_attributes()
577 p = p_end; in _bfd_elf_parse_attributes()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/
H A Dnode_iterators.hpp76 mid_pointer(Ptr p_begin, Ptr p_end) in mid_pointer() argument
78 _GLIBCXX_DEBUG_ASSERT(p_end >= p_begin); in mid_pointer()
79 return (p_begin + (p_end - p_begin) / 2); in mid_pointer()
H A Dov_tree_map_.hpp434 mid_pointer(Ptr p_begin, Ptr p_end) in mid_pointer() argument
436 _GLIBCXX_DEBUG_ASSERT(p_end >= p_begin); in mid_pointer()
437 return (p_begin + (p_end - p_begin) / 2); in mid_pointer()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/
H A Dnode_iterators.hpp76 mid_pointer(Ptr p_begin, Ptr p_end) in mid_pointer() argument
78 _GLIBCXX_DEBUG_ASSERT(p_end >= p_begin); in mid_pointer()
79 return (p_begin + (p_end - p_begin) / 2); in mid_pointer()
H A Dov_tree_map_.hpp434 mid_pointer(Ptr p_begin, Ptr p_end) in mid_pointer() argument
436 _GLIBCXX_DEBUG_ASSERT(p_end >= p_begin); in mid_pointer()
437 return (p_begin + (p_end - p_begin) / 2); in mid_pointer()
/netbsd-src/libexec/ld.elf_so/
H A Dtls.c318 uint8_t *p, *p_end; in __tls_get_addr()
328 p_end = p + _rtld_tls_static_space;
333 (uint8_t *)tcb->tcb_dtv[i] >= p_end)
175 uint8_t *p, *p_end; _rtld_tls_free() local
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dgettext-po.c654 const char *p_end = mp->msgstr + mp->msgstr_len; in po_message_msgstr_plural() local
658 if (p >= p_end) in po_message_msgstr_plural()
681 char *p_end = (char *) mp->msgstr + mp->msgstr_len; in po_message_set_msgstr_plural() local
687 if (msgstr >= p && msgstr < p_end) in po_message_set_msgstr_plural()
694 if (p >= p_end) in po_message_set_msgstr_plural()
718 if (p + strlen (p) + 1 >= p_end) in po_message_set_msgstr_plural()
/netbsd-src/external/cddl/osnet/dev/sdt/
H A Dsdt.c347 struct sdt_probe **probe, **p_begin, **p_end; in sdt_kld_load() local
356 if (linker_file_lookup_set(lf, "sdt_probes_set", &p_begin, &p_end, in sdt_kld_load()
358 for (probe = p_begin; probe < p_end; probe++) { in sdt_kld_load()
/netbsd-src/external/mit/lua/dist/src/
H A Dlstrlib.c369 const char *p_end; /* end ('\0') of pattern */ member
414 if (l_unlikely(p == ms->p_end)) in classend()
421 if (l_unlikely(p == ms->p_end)) in classend()
423 if (*(p++) == L_ESC && p < ms->p_end) in classend()
496 if (l_unlikely(p >= ms->p_end - 1)) in matchbalance()
582 if (p != ms->p_end) { /* end of pattern? */ in match()
596 if ((p + 1) != ms->p_end) /* is the '$' the last char in pattern? */ in match()
771 ms->p_end = p + lp; in prepstate()
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dxtensa-relax.c1054 const char *p_end; in parse_special_fn() local
1060 p_end = strchr (p_start, ')'); in parse_special_fn()
1062 if (p_end == NULL) in parse_special_fn()
1065 if (p_end[1] != '\0') in parse_special_fn()
1069 *arg_name_p = enter_opname_n (p_start + 1, p_end - p_start - 1); in parse_special_fn()
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dxtensa-relax.c1058 const char *p_end; in parse_special_fn() local
1064 p_end = strchr (p_start, ')'); in parse_special_fn()
1066 if (p_end == NULL) in parse_special_fn()
1069 if (p_end[1] != '\0') in parse_special_fn()
1073 *arg_name_p = enter_opname_n (p_start + 1, p_end - p_start - 1); in parse_special_fn()
/netbsd-src/sys/arch/ews4800mips/stand/common/
H A Dlance.c110 uint8_t *q, *p = data, *p_end = p + len; in lance_get() local
140 if (p < p_end) in lance_get()

12