Home
last modified time | relevance | path

Searched refs:datap (Results 1 – 25 of 44) sorted by relevance

12

/external/curl/lib/
Dhttp_chunks.c111 char *datap, in Curl_httpchunk_read() argument
129 result = Curl_client_write(conn, CLIENTWRITE_BODY, datap, datalen); in Curl_httpchunk_read()
139 if(Curl_isxdigit_ascii(*datap)) { in Curl_httpchunk_read()
141 ch->hexbuffer[ch->hexindex] = *datap; in Curl_httpchunk_read()
142 datap++; in Curl_httpchunk_read()
177 if(*datap == 0x0a) { in Curl_httpchunk_read()
186 datap++; in Curl_httpchunk_read()
199 result = Curl_unencode_write(conn, k->writer_stack, datap, piece); in Curl_httpchunk_read()
201 result = Curl_client_write(conn, CLIENTWRITE_BODY, datap, piece); in Curl_httpchunk_read()
211 datap += piece; /* move read pointer forward */ in Curl_httpchunk_read()
[all …]
Dstrdup.c90 void *datap = realloc(ptr, size); in Curl_saferealloc() local
91 if(size && !datap) in Curl_saferealloc()
94 return datap; in Curl_saferealloc()
Dhttp_chunks.h95 CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap,
Durl.h52 CURLcode Curl_close(struct Curl_easy **datap); /* opposite of curl_open() */
/external/elfutils/libdw/
Ddwarf_formaddr.c69 const unsigned char *datap; in __libdw_addrx() local
70 datap = dbg->sectiondata[IDX_debug_addr]->d_buf + addr_off + idx; in __libdw_addrx()
72 *addr = read_4ubyte_unaligned (dbg, datap); in __libdw_addrx()
74 *addr = read_8ubyte_unaligned (dbg, datap); in __libdw_addrx()
88 const unsigned char *datap = attr->valp; in dwarf_formaddr() local
94 if (__libdw_read_address (dbg, cu_sec_idx (cu), datap, in dwarf_formaddr()
103 if (datap >= endp) in dwarf_formaddr()
109 get_uleb128 (idx, datap, endp); in dwarf_formaddr()
113 if (datap >= endp - 1) in dwarf_formaddr()
115 idx = *datap; in dwarf_formaddr()
[all …]
Ddwarf_formudata.c76 const unsigned char *datap = attr->valp; in __libdw_formptr() local
79 || datap < (const unsigned char *) data->d_buf in __libdw_formptr()
81 || ((size_t) (datap in __libdw_formptr()
87 offset = read_4ubyte_unaligned (attr->cu->dbg, datap); in __libdw_formptr()
89 offset = read_8ubyte_unaligned (attr->cu->dbg, datap); in __libdw_formptr()
144 const unsigned char *datap = attr->valp; in dwarf_formudata() local
150 if (datap + 1 > endp) in dwarf_formudata()
160 if (datap + 2 > endp) in dwarf_formudata()
299 if (datap + 1 > endp) in dwarf_formudata()
301 get_sleb128 (*return_uval, datap, endp); in dwarf_formudata()
[all …]
Ddwarf_formsdata.c44 const unsigned char *datap = attr->valp; 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()
91 get_sleb128_unchecked (*return_sval, datap); in dwarf_formsdata()
Ddwarf_formstring.c92 const unsigned char *datap = attrp->valp; in dwarf_formstring() local
98 if (datap >= endp) in dwarf_formstring()
104 get_uleb128 (idx, datap, endp); in dwarf_formstring()
108 if (datap >= endp - 1) in dwarf_formstring()
110 idx = *datap; in dwarf_formstring()
114 if (datap >= endp - 2) in dwarf_formstring()
116 idx = read_2ubyte_unaligned (dbg, datap); in dwarf_formstring()
120 if (datap >= endp - 3) in dwarf_formstring()
122 idx = read_3ubyte_unaligned (dbg, datap); in dwarf_formstring()
126 if (datap >= endp - 4) in dwarf_formstring()
[all …]
Ddwarf_formblock.c44 const unsigned char *datap = attr->valp; 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()
75 return_block->data = (unsigned char *) datap; in dwarf_formblock()
82 if (unlikely (endp - datap < 16)) in dwarf_formblock()
85 return_block->data = (unsigned char *) datap; in dwarf_formblock()
Ddwarf_formref.c41 const unsigned char *datap = attr->valp; 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_formref_die.c78 const unsigned char *datap; in dwarf_formref_die() local
112 datap = cu->dbg->sectiondata[secid]->d_buf; in dwarf_formref_die()
122 datap = cu->startp; in dwarf_formref_die()
133 result->addr = (char *) datap + offset; in dwarf_formref_die()
Ddwarf_getabbrevattr.c42 Dwarf_Sword *datap, Dwarf_Off *offsetp) in dwarf_getabbrevattr_data() argument
79 if (datap != NULL) in dwarf_getabbrevattr_data()
80 *datap = data; in dwarf_getabbrevattr_data()
Ddwarf_ranges.c395 const unsigned char *datap = attr->valp; in initial_offset() local
397 if (datap >= endp) in initial_offset()
402 get_uleb128 (idx, datap, endp); in initial_offset()
440 datap = (cu->dbg->sectiondata[secidx]->d_buf in initial_offset()
443 start_offset = read_4ubyte_unaligned (cu->dbg, datap); in initial_offset()
445 start_offset = read_8ubyte_unaligned (cu->dbg, datap); in initial_offset()
Ddwarf_getlocation.c732 const unsigned char *datap = attr->valp; in initial_offset() local
734 if (datap >= endp) in initial_offset()
739 get_uleb128 (idx, datap, endp); in initial_offset()
777 datap = (cu->dbg->sectiondata[secidx]->d_buf in initial_offset()
780 start_offset = read_4ubyte_unaligned (cu->dbg, datap); in initial_offset()
782 start_offset = read_8ubyte_unaligned (cu->dbg, datap); in initial_offset()
/external/tensorflow/tensorflow/core/util/proto/
Ddecode.h306 void* datap) { in ReadPackedPrimitives() argument
309 TensorType* data = reinterpret_cast<TensorType*>(datap) + index; in ReadPackedPrimitives()
339 inline Status ReadBytes(CodedInputStream* input, int index, void* datap) { in ReadBytes() argument
340 tstring* data = reinterpret_cast<tstring*>(datap) + index; in ReadBytes()
358 int index, void* datap) { in ReadGroupBytes() argument
365 tstring* data = reinterpret_cast<tstring*>(datap) + index; in ReadGroupBytes()
391 DataType dtype, int index, void* datap) { in ReadValue() argument
396 input, index, datap); in ReadValue()
401 input, index, datap); in ReadValue()
404 input, index, datap); in ReadValue()
[all …]
/external/pdfium/third_party/libopenjpeg20/
Dt1.c83 OPJ_INT32 *datap,
90 OPJ_INT32 *datap,
136 OPJ_INT32 *datap,
142 OPJ_INT32 *datap,
154 OPJ_INT32 *datap,
334 OPJ_INT32 *datap, in opj_t1_enc_sigpass_step() argument
351 v = (opj_int_abs(*datap) & one) ? 1 : 0; in opj_t1_enc_sigpass_step()
367 v = *datap < 0 ? 1U : 0U; in opj_t1_enc_sigpass_step()
368 *nmsedec += opj_t1_getnmsedec_sig((OPJ_UINT32)opj_int_abs(*datap), in opj_t1_enc_sigpass_step()
392 OPJ_INT32 *datap, in opj_t1_dec_sigpass_step_raw() argument
[all …]
/external/tcpdump/
Dprint-ipx.c110 ipx_decode(netdissect_options *ndo, const struct ipxHdr *ipx, const u_char *datap, u_int length) in ipx_decode() argument
120 ipx_sap_print(ndo, (const u_short *)datap, length); in ipx_decode()
123 ipx_rip_print(ndo, (const u_short *)datap, length); in ipx_decode()
128 ipx_netbios_print(ndo, datap, length); in ipx_decode()
137 ipx_netbios_print(ndo, datap, length); in ipx_decode()
141 eigrp_print(ndo, datap, length); in ipx_decode()
/external/python/cpython2/Modules/
Dimgfile.c189 char *datap = (char *)glob_datap + y*glob_width; in xs_put_c() local
193 *datap++ = (*buf++) & 0xff; in xs_put_c()
199 long *datap = glob_datap + y*glob_width; in xs_put_0() local
203 *datap++ = (*buf++) & 0xff; in xs_put_0()
208 long *datap = glob_datap + y*glob_width; in xs_put_12() local
212 *datap++ |= ((*buf++) & 0xff) << (glob_z*8); in xs_put_12()
217 long *datap, int xnew, int ynew, int fmode, double blur) in xscale() argument
220 glob_datap = datap; in xscale()
/external/linux-kselftest/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.c41 if (extra->datap & 0x0fUL) in validate_extra_context()
45 else if (extra->datap != (uint64_t)term + sizeof(*term)) in validate_extra_context()
/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c128 static int attribute_callback(hashtab_key_t key, hashtab_datum_t datum, void *datap) in attribute_callback() argument
130 struct callback_data *cb_data = (struct callback_data *)datap; in attribute_callback()
/external/libpcap/
Dpcap-airpcap.c586 u_char *datap; in airpcap_read() local
662 datap = bp + hdrlen; in airpcap_read()
670 pcap_filter(p->fcode.bf_insns, datap, bhp->Originallen, caplen)) { in airpcap_read()
677 (*callback)(user, &pkthdr, datap); in airpcap_read()
/external/kernel-headers/original/uapi/asm-arm64/asm/
Dsigcontext.h127 __u64 datap; /* 16-byte aligned pointer to extra space cast to __u64 */ member
/external/selinux/libsepol/include/sepol/policydb/
Dconditional.h131 void *datap);
/external/squashfs-tools/squashfs-tools/
Dxattr.c492 char *datap = data_cache; in write_xattrs() local
514 c_byte = mangle(xattr_table + xattr_bytes + BLOCK_OFFSET, datap, in write_xattrs()
519 datap += avail_bytes; in write_xattrs()
/external/selinux/libsepol/src/
Dpolicydb.c987 static int common_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in common_index() argument
993 p = (policydb_t *) datap; in common_index()
1003 static int class_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in class_index() argument
1009 p = (policydb_t *) datap; in class_index()
1020 static int role_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in role_index() argument
1026 p = (policydb_t *) datap; in role_index()
1037 static int type_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in type_index() argument
1043 p = (policydb_t *) datap; in type_index()
1057 static int user_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in user_index() argument
1063 p = (policydb_t *) datap; in user_index()
[all …]

12