Home
last modified time | relevance | path

Searched refs:endp (Results 1 – 25 of 129) sorted by relevance

123456

/external/openssh/openbsd-compat/
Ddirname.c33 const char *endp; in dirname() local
43 endp = path + strlen(path) - 1; in dirname()
44 while (endp > path && *endp == '/') in dirname()
45 endp--; in dirname()
48 while (endp > path && *endp != '/') in dirname()
49 endp--; in dirname()
52 if (endp == path) { in dirname()
53 dname[0] = *endp == '/' ? '/' : '.'; in dirname()
59 endp--; in dirname()
60 } while (endp > path && *endp == '/'); in dirname()
[all …]
Dbasename.c31 const char *endp, *startp; in basename() local
41 endp = path + strlen(path) - 1; in basename()
42 while (endp > path && *endp == '/') in basename()
43 endp--; in basename()
46 if (endp == path && *endp == '/') { in basename()
53 startp = endp; in basename()
57 len = endp - startp + 1; in basename()
Dbsd-closefrom.c73 char fdpath[PATH_MAX], *endp; in closefrom() local
82 fd = strtol(dent->d_name, &endp, 10); in closefrom()
83 if (dent->d_name != endp && *endp == '\0' && in closefrom()
/external/elfutils/src/libdw/
Ddwarf_formsdata.c47 const unsigned char *endp = attr->cu->endp; local
52 if (datap + 1 > endp)
62 if (datap + 2 > endp)
68 if (datap + 4 > endp)
74 if (datap + 8 > endp)
80 if (datap + 1 > endp)
82 get_sleb128 (*return_sval, datap, endp);
86 if (datap + 1 > endp)
88 get_uleb128 (*return_sval, datap, endp);
Dlibdw_form.c46 const unsigned char *endp = cu->endp; in __libdw_form_val_compute_len() local
70 if (unlikely ((size_t) (endp - startp) < 1)) in __libdw_form_val_compute_len()
76 if (unlikely ((size_t) (endp - startp) < 2)) in __libdw_form_val_compute_len()
82 if (unlikely ((size_t) (endp - startp) < 4)) in __libdw_form_val_compute_len()
89 get_uleb128 (u128, valp, endp); in __libdw_form_val_compute_len()
96 (size_t) (endp - startp)); in __libdw_form_val_compute_len()
106 get_uleb128 (u128, valp, endp); in __libdw_form_val_compute_len()
111 get_uleb128 (u128, valp, endp); in __libdw_form_val_compute_len()
124 if (unlikely (result > (size_t) (endp - startp))) in __libdw_form_val_compute_len()
Ddwarf_formblock.c47 const unsigned char *endp = attr->cu->endp; local
52 if (unlikely (endp - datap < 1))
59 if (unlikely (endp - datap < 2))
66 if (unlikely (endp - datap < 4))
74 if (unlikely (endp - datap < 1))
76 get_uleb128 (return_block->length, datap, endp);
85 if (unlikely (return_block->length > (size_t) (endp - return_block->data)))
Ddwarf_formref.c43 const unsigned char *endp = attr->cu->endp; local
54 if (datap + 1 > endp)
64 if (datap + 2 > endp)
70 if (datap + 4 > endp)
76 if (datap + 8 > endp)
82 if (datap + 1 > endp)
84 get_uleb128 (*return_offset, datap, endp);
Ddwarf_formudata.c81 unsigned char *endp = d->d_buf + d->d_size; in __libdw_formptr() local
82 if (unlikely (readp >= endp)) in __libdw_formptr()
90 *endpp = endp; in __libdw_formptr()
105 const unsigned char *endp = attr->cu->endp; local
110 if (datap + 1 > endp)
120 if (datap + 2 > endp)
215 if (datap + 1 > endp)
217 get_sleb128 (*return_uval, datap, endp);
221 if (datap + 1 > endp)
223 get_uleb128 (*return_uval, datap, endp);
Ddwarf_child.c59 unsigned char *const endp in __libdw_find_attr() local
67 if (unlikely (attrp >= endp)) in __libdw_find_attr()
70 get_uleb128 (attr_name, attrp, endp); in __libdw_find_attr()
72 if (unlikely (attrp >= endp)) in __libdw_find_attr()
75 get_uleb128 (attr_form, attrp, endp); in __libdw_find_attr()
151 const unsigned char *endp = cu->endp; local
154 if (unlikely (code >= endp)) /* Truncated section. */
Ddwarf_getattrs.c65 const unsigned char *endp; in dwarf_getattrs() local
66 endp = ((const unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf in dwarf_getattrs()
71 if (unlikely (attrp >= endp)) in dwarf_getattrs()
78 get_uleb128 (attr.code, attrp, endp); in dwarf_getattrs()
79 if (unlikely (attrp >= endp)) in dwarf_getattrs()
81 get_uleb128 (attr.form, attrp, endp); in dwarf_getattrs()
Ddwarf_hasattr.c58 unsigned char *const endp local
66 if (unlikely (attrp >= endp))
71 get_uleb128 (attr_name, attrp, endp);
73 if (unlikely (attrp >= endp))
75 get_uleb128 (attr_form, attrp, endp);
Ddwarf_getmacros.c146 const unsigned char *const endp, in get_table_for_offset() argument
152 if (readp + 3 > endp) in get_table_for_offset()
173 if (readp > endp) in get_table_for_offset()
218 if (readp >= endp) in get_table_for_offset()
220 get_uleb128 (e.nforms, readp, endp); in get_table_for_offset()
225 if (readp > endp) in get_table_for_offset()
268 const unsigned char *const endp, in cache_op_table() argument
278 ? get_table_for_offset (dbg, macoff, startp, endp, cudie) in cache_op_table()
315 const unsigned char *const endp = d->d_buf + d->d_size; in read_macros() local
318 startp, endp, cudie); in read_macros()
[all …]
Ddwarf_siblingof.c65 unsigned char *endp = sibattr.cu->endp; local
97 if (addr >= endp)
121 if (addr >= endp)
Ddwarf_ranges.c45 Dwarf_Addr *beginp, Dwarf_Addr *endp, in __libdw_read_begin_end_pair_inc() argument
79 *endp = end; in __libdw_read_begin_end_pair_inc()
86 Dwarf_Addr *startp, Dwarf_Addr *endp) in dwarf_ranges() argument
93 && INTUSE(dwarf_highpc) (die, endp) == 0 in dwarf_ranges()
187 *endp = *basep + end; in dwarf_ranges()
Ddwarf_getstring.c57 const char *endp = memchr (result, '\0', local
59 if (endp == NULL)
63 *lenp = endp - result;
Ddwarf_getpubnames.c52 unsigned char *endp = readp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets() local
54 while (readp + 14 < endp) in get_offsets()
189 unsigned char *endp local
202 if (readp + dbg->pubnames_sets[cnt].address_len > endp)
217 readp = (unsigned char *) memchr (gl.name, '\0', endp - readp);
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DIdleTimeoutHandler.java85 final EndPoint endp = connection==null?null:connection.getEndPoint(); in handle() local
88 if (endp==null) in handle()
92 idle_timeout=endp.getMaxIdleTime(); in handle()
93 endp.setMaxIdleTime(_idleTimeoutMs); in handle()
102 if (endp!=null) in handle()
121 endp.setMaxIdleTime(idle_timeout); in handle()
127 endp.setMaxIdleTime(idle_timeout); in handle()
133 endp.setMaxIdleTime(idle_timeout); in handle()
/external/e2fsprogs/intl/
Dplural-exp.c113 char *endp; in EXTRACT_PLURAL_EXPRESSION() local
124 n = strtoul (nplurals, &endp, 10); in EXTRACT_PLURAL_EXPRESSION()
126 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) in EXTRACT_PLURAL_EXPRESSION()
127 n = n * 10 + (*endp - '0'); in EXTRACT_PLURAL_EXPRESSION()
129 if (nplurals == endp) in EXTRACT_PLURAL_EXPRESSION()
/external/tcpdump/
Dprint-cdp.c253 const u_char *endp = p + l; in cdp_print_addr() local
264 while (p < endp && num >= 0) { in cdp_print_addr()
266 if (p + 2 > endp) in cdp_print_addr()
273 if (p + pl + 2 > endp) in cdp_print_addr()
286 if (p + 4 > endp) in cdp_print_addr()
304 if (p + al > endp) in cdp_print_addr()
318 if (p + pl > endp) in cdp_print_addr()
324 if (p + 2 > endp) in cdp_print_addr()
330 if (p + al > endp) in cdp_print_addr()
/external/jetty/src/java/org/eclipse/jetty/io/
DAbstractConnection.java34 public AbstractConnection(EndPoint endp) in AbstractConnection() argument
36 _endp=(EndPoint)endp; in AbstractConnection()
40 public AbstractConnection(EndPoint endp,long timestamp) in AbstractConnection() argument
42 _endp=(EndPoint)endp; in AbstractConnection()
/external/elfutils/src/tests/
Daddrscopes.c168 char *endp; in main() local
169 uintmax_t addr = strtoumax (buf, &endp, 0); in main()
170 if (endp != buf) in main()
182 char *endp; in main() local
183 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); in main()
184 if (endp != argv[remaining]) in main()
Daddrcfi.c199 char *endp; in main() local
200 uintmax_t addr = strtoumax (buf, &endp, 0); in main()
201 if (endp != buf) in main()
213 char *endp; in main() local
214 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); in main()
215 if (endp != argv[remaining]) in main()
/external/llvm/test/CodeGen/AArch64/
Di128-align.ll11 %endp = getelementptr %struct, %struct* @var, i64 1
12 %endi = ptrtoint %struct* %endp to i64
23 %endp = getelementptr %struct, %struct* @var, i64 0, i32 1
24 %endi = ptrtoint i128* %endp to i64
/external/libxml2/
Dtriostr.c968 TRIO_ARGS2((source, endp),
970 char **endp)
973 return strtold(source, endp);
1085 if (endp)
1086 *endp = (char *)source;
1103 TRIO_ARGS2((source, endp),
1105 char **endp)
1108 return strtod(source, endp);
1110 return (double)trio_to_long_double(source, endp);
1126 TRIO_ARGS2((source, endp),
[all …]
/external/libvncserver/common/
Dd3des.c134 register unsigned long *from, *endp; in rfbCPKey() local
136 from = KnL, endp = &KnL[32]; in rfbCPKey()
137 while( from < endp ) *into++ = *from++; in rfbCPKey()
143 register unsigned long *to, *endp; in rfbUseKey() local
145 to = KnL, endp = &KnL[32]; in rfbUseKey()
146 while( to < endp ) *to++ = *from++; in rfbUseKey()

123456