Home
last modified time | relevance | path

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

123456

/external/elfutils/libdw/
Ddwarf_formsdata.c45 const unsigned char *endp = attr->cu->endp; in dwarf_formsdata() local
50 if (datap + 1 > endp) in dwarf_formsdata()
60 if (datap + 2 > endp) in dwarf_formsdata()
66 if (datap + 4 > endp) in dwarf_formsdata()
72 if (datap + 8 > endp) in dwarf_formsdata()
78 if (datap + 1 > endp) in dwarf_formsdata()
80 get_sleb128 (*return_sval, datap, endp); in dwarf_formsdata()
84 if (datap + 1 > endp) in dwarf_formsdata()
86 get_uleb128 (*return_sval, datap, endp); in dwarf_formsdata()
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_formref.c42 const unsigned char *endp = attr->cu->endp; in __libdw_formref() local
53 if (datap + 1 > endp) in __libdw_formref()
63 if (datap + 2 > endp) in __libdw_formref()
69 if (datap + 4 > endp) in __libdw_formref()
75 if (datap + 8 > endp) in __libdw_formref()
81 if (datap + 1 > endp) in __libdw_formref()
83 get_uleb128 (*return_offset, datap, endp); in __libdw_formref()
Ddwarf_formblock.c45 const unsigned char *endp = attr->cu->endp; in dwarf_formblock() local
50 if (unlikely (endp - datap < 1)) in dwarf_formblock()
57 if (unlikely (endp - datap < 2)) in dwarf_formblock()
64 if (unlikely (endp - datap < 4)) in dwarf_formblock()
72 if (unlikely (endp - datap < 1)) in dwarf_formblock()
74 get_uleb128 (return_block->length, datap, endp); in dwarf_formblock()
83 if (unlikely (return_block->length > (size_t) (endp - return_block->data))) in dwarf_formblock()
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()
103 const unsigned char *endp = attr->cu->endp; in dwarf_formudata() local
108 if (datap + 1 > endp) in dwarf_formudata()
118 if (datap + 2 > endp) in dwarf_formudata()
213 if (datap + 1 > endp) in dwarf_formudata()
215 get_sleb128 (*return_uval, datap, endp); in dwarf_formudata()
219 if (datap + 1 > endp) in dwarf_formudata()
221 get_uleb128 (*return_uval, datap, endp); in dwarf_formudata()
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()
149 const unsigned char *endp = cu->endp; in dwarf_child() local
152 if (unlikely (code >= endp)) /* Truncated section. */ in dwarf_child()
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.c56 unsigned char *const endp in dwarf_hasattr() local
64 if (unlikely (attrp >= endp)) in dwarf_hasattr()
69 get_uleb128 (attr_name, attrp, endp); in dwarf_hasattr()
71 if (unlikely (attrp >= endp)) in dwarf_hasattr()
73 get_uleb128 (attr_form, attrp, endp); in dwarf_hasattr()
Dencoded-value.h88 const unsigned char *endp = cache->data->d.d_buf + cache->data->d.d_size; in __libdw_cfi_read_address_inc() local
93 if (unlikely (*addrp + 4 > endp)) in __libdw_cfi_read_address_inc()
103 if (unlikely (*addrp + 8 > endp)) in __libdw_cfi_read_address_inc()
156 const unsigned char *endp = cache->data->d.d_buf + cache->data->d.d_size; in read_encoded_value() local
160 if (unlikely (*p + 2 > endp)) in read_encoded_value()
170 if (unlikely (*p + 2 > endp)) in read_encoded_value()
198 get_uleb128 (value, *p, endp); in read_encoded_value()
202 get_sleb128 (value, *p, endp); in read_encoded_value()
Ddwarf_getmacros.c147 const unsigned char *const endp, in get_table_for_offset() argument
153 if (readp + 3 > endp) in get_table_for_offset()
174 if (readp > endp) in get_table_for_offset()
220 if (readp >= endp) in get_table_for_offset()
222 get_uleb128 (e.nforms, readp, endp); in get_table_for_offset()
227 if (readp > endp) in get_table_for_offset()
270 const unsigned char *const endp, in cache_op_table() argument
280 ? get_table_for_offset (dbg, macoff, startp, endp, cudie) in cache_op_table()
317 const unsigned char *const endp = d->d_buf + d->d_size; in read_macros() local
320 startp, endp, cudie); in read_macros()
[all …]
Ddwarf_siblingof.c62 unsigned char *endp = sibattr.cu->endp; in dwarf_siblingof() local
81 size_t size = sibattr.cu->endp - sibattr.cu->startp; in dwarf_siblingof()
104 if (addr >= endp) in dwarf_siblingof()
128 if (addr >= endp) in dwarf_siblingof()
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()
190 *endp = *basep + end; in dwarf_ranges()
Ddwarf_getsrclines.c293 uint8_t *endp = memchr (dirp, '\0', lineendp - dirp); in read_srclines() local
294 if (endp == NULL) in read_srclines()
297 dirp = endp + 1; in read_srclines()
315 uint8_t *endp = memchr (linep, '\0', lineendp - linep); in read_srclines() local
316 assert (endp != NULL); in read_srclines()
317 dirarray[n].len = endp - linep; in read_srclines()
318 linep = endp + 1; in read_srclines()
348 uint8_t *endp = memchr (fname, '\0', lineendp - linep); in read_srclines() local
349 if (endp == NULL) in read_srclines()
351 size_t fnamelen = endp - (uint8_t *) fname; in read_srclines()
[all …]
/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/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/curl/lib/
Dinet_pton.c154 unsigned char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
160 endp = tp + IN6ADDRSZ; in inet_pton6()
189 if(tp + INT16SZ > endp) in inet_pton6()
197 if(ch == '.' && ((tp + INADDRSZ) <= endp) && in inet_pton6()
206 if(tp + INT16SZ > endp) in inet_pton6()
219 if(tp == endp) in inet_pton6()
222 *(endp - i) = *(colonp + n - i); in inet_pton6()
225 tp = endp; in inet_pton6()
227 if(tp != endp) in inet_pton6()
/external/iproute2/lib/
Dmpls_pton.c12 char *endp; in mpls_pton1() local
18 label = strtoul(name, &endp, 0); in mpls_pton1()
23 if (endp == name) /* no digits */ in mpls_pton1()
27 if (*endp == '\0') { in mpls_pton1()
33 if (*endp != '/') in mpls_pton1()
36 name = endp + 1; in mpls_pton1()
/external/wpa_supplicant_8/src/fst/
Dfst_ctrl_iface.c559 char *endp; in get_peer_mbies() local
566 if (fst_read_next_text_param(params, ifname, sizeof(ifname), &endp) || in get_peer_mbies()
570 while (isspace(*endp)) in get_peer_mbies()
571 endp++; in get_peer_mbies()
572 if (fst_read_peer_addr(endp, peer_addr)) in get_peer_mbies()
821 int fst_read_next_int_param(const char *params, Boolean *valid, char **endp) in fst_read_next_int_param() argument
827 *endp = (char *) params; in fst_read_next_int_param()
830 ret = (int) strtol(curp, endp, 0); in fst_read_next_int_param()
831 if (!**endp || isspace(**endp)) in fst_read_next_int_param()
840 char **endp) in fst_read_next_text_param() argument
[all …]
/external/curl/src/
Dtool_urlglob.c196 char *endp; in glob_range() local
199 lstep = strtoul(&pattern[4], &endp, 10); in glob_range()
200 if(errno || (*endp != ']')) in glob_range()
203 pattern = endp+1; in glob_range()
234 char *endp; in glob_range() local
250 min_n = strtoul(pattern, &endp, 10); in glob_range()
251 if(errno || (endp == pattern)) in glob_range()
252 endp=NULL; in glob_range()
254 if(*endp != '-') in glob_range()
255 endp = NULL; in glob_range()
[all …]
/external/c-ares/
Dinet_net_pton.c282 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_net_pton_ipv6() local
293 endp = tp + NS_IN6ADDRSZ; in inet_net_pton_ipv6()
327 if (tp + NS_INT16SZ > endp) in inet_net_pton_ipv6()
336 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_net_pton_ipv6()
348 if (tp + NS_INT16SZ > endp) in inet_net_pton_ipv6()
361 endp = tmp + 2 * words; in inet_net_pton_ipv6()
371 if (tp == endp) in inet_net_pton_ipv6()
374 *(endp - i) = *(colonp + n - i); in inet_net_pton_ipv6()
377 tp = endp; in inet_net_pton_ipv6()
379 if (tp != endp) in inet_net_pton_ipv6()
/external/tcpdump/
Dprint-cdp.c280 const u_char *endp = p + l; in cdp_print_addr() local
288 if (p + 4 > endp) in cdp_print_addr()
293 while (p < endp && num >= 0) { in cdp_print_addr()
295 if (p + 2 > endp) in cdp_print_addr()
302 if (p + pl + 2 > endp) in cdp_print_addr()
315 if (p + 4 > endp) in cdp_print_addr()
331 if (p + al > endp) in cdp_print_addr()
343 if (p + pl > endp) in cdp_print_addr()
349 if (p + 2 > endp) in cdp_print_addr()
355 if (p + al > endp) in cdp_print_addr()
/external/elfutils/tests/
Daddrscopes.c169 char *endp; in main() local
170 uintmax_t addr = strtoumax (buf, &endp, 0); in main()
171 if (endp != buf) in main()
183 char *endp; in main() local
184 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); in main()
185 if (endp != argv[remaining]) in main()
Daddrcfi.c206 char *endp; in main() local
207 uintmax_t addr = strtoumax (buf, &endp, 0); in main()
208 if (endp != buf) in main()
220 char *endp; in main() local
221 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); in main()
222 if (endp != argv[remaining]) in main()
/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/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

123456