/external/libmicrohttpd/src/microhttpd/ |
D | postprocessor.c | 342 post_process_urlencoded (struct MHD_PostProcessor *pp, in post_process_urlencoded() argument 355 buf = (char *) &pp[1]; in post_process_urlencoded() 359 switch (pp->state) in post_process_urlencoded() 365 pp->state = PP_Error; in post_process_urlencoded() 372 if (equals + pp->buffer_pos > pp->buffer_size) in post_process_urlencoded() 374 pp->state = PP_Error; /* out of memory */ in post_process_urlencoded() 377 memcpy (&buf[pp->buffer_pos], &post_data[poff], equals); in post_process_urlencoded() 378 pp->buffer_pos += equals; in post_process_urlencoded() 381 buf[pp->buffer_pos] = '\0'; /* 0-terminate key */ in post_process_urlencoded() 382 pp->buffer_pos = 0; /* reset for next key */ in post_process_urlencoded() [all …]
|
D | test_postprocessor.c | 126 struct MHD_PostProcessor *pp; in test_urlencoding() local 138 pp = MHD_create_post_processor (&connection, in test_urlencoding() 145 MHD_post_process (pp, &URL_DATA[i], delta); in test_urlencoding() 148 MHD_destroy_post_processor (pp); in test_urlencoding() 160 struct MHD_PostProcessor *pp; in test_multipart_garbage() local 184 pp = MHD_create_post_processor (&connection, in test_multipart_garbage() 186 MHD_post_process (pp, xdata, splitpoint); in test_multipart_garbage() 187 MHD_post_process (pp, &xdata[splitpoint], size - splitpoint); in test_multipart_garbage() 188 MHD_destroy_post_processor (pp); in test_multipart_garbage() 201 struct MHD_PostProcessor *pp; in test_multipart_splits() local [all …]
|
/external/curl/lib/ |
D | pingpong.c | 47 long Curl_pp_state_timeout(struct pingpong *pp) in Curl_pp_state_timeout() argument 49 struct connectdata *conn = pp->conn; in Curl_pp_state_timeout() 54 data->set.server_response_timeout: pp->response_time; in Curl_pp_state_timeout() 64 Curl_tvdiff(Curl_tvnow(), pp->response); /* spent time */ in Curl_pp_state_timeout() 81 CURLcode Curl_pp_statemach(struct pingpong *pp, bool block) in Curl_pp_statemach() argument 83 struct connectdata *conn = pp->conn; in Curl_pp_statemach() 87 long timeout_ms = Curl_pp_state_timeout(pp); in Curl_pp_statemach() 104 if(Curl_pp_moredata(pp)) in Curl_pp_statemach() 107 else if(!pp->sendleft && Curl_ssl_data_pending(conn, FIRSTSOCKET)) in Curl_pp_statemach() 111 rc = Curl_socket_ready(pp->sendleft?CURL_SOCKET_BAD:sock, /* reading */ in Curl_pp_statemach() [all …]
|
D | pingpong.h | 84 CURLcode Curl_pp_statemach(struct pingpong *pp, bool block); 87 void Curl_pp_init(struct pingpong *pp); 91 long Curl_pp_state_timeout(struct pingpong *pp); 104 CURLcode Curl_pp_sendf(struct pingpong *pp, 117 CURLcode Curl_pp_vsendf(struct pingpong *pp, 127 struct pingpong *pp, 132 CURLcode Curl_pp_flushsend(struct pingpong *pp); 135 CURLcode Curl_pp_disconnect(struct pingpong *pp); 137 int Curl_pp_getsock(struct pingpong *pp, curl_socket_t *socks, 148 bool Curl_pp_moredata(struct pingpong *pp);
|
/external/blktrace/btt/ |
D | plat.c | 33 struct plat_info *pp; in plat_alloc() local 37 pp = malloc(sizeof(*pp)); in plat_alloc() 38 pp->nl = 0; in plat_alloc() 39 pp->first_ts = pp->last_ts = pp->tl = -1.0; in plat_alloc() 43 if ((pp->fp = my_fopen(oname, "w")) == NULL) { in plat_alloc() 47 add_file(pp->fp, oname); in plat_alloc() 49 return pp; in plat_alloc() 54 struct plat_info *pp = info; in plat_free() local 56 if (pp == NULL) return; in plat_free() 58 if (pp->first_ts != -1.0) { in plat_free() [all …]
|
/external/libnfc-nci/src/nfc/nci/ |
D | nci_hmsgs.c | 47 UINT8 *pp; in nci_snd_core_reset() local 56 pp = (UINT8 *) (p + 1) + p->offset; in nci_snd_core_reset() 58 NCI_MSG_BLD_HDR0 (pp, NCI_MT_CMD, NCI_GID_CORE); in nci_snd_core_reset() 59 NCI_MSG_BLD_HDR1 (pp, NCI_MSG_CORE_RESET); in nci_snd_core_reset() 60 UINT8_TO_STREAM (pp, NCI_CORE_PARAM_SIZE_RESET); in nci_snd_core_reset() 61 UINT8_TO_STREAM (pp, reset_type); in nci_snd_core_reset() 79 UINT8 *pp; in nci_snd_core_init() local 88 pp = (UINT8 *) (p + 1) + p->offset; in nci_snd_core_init() 90 NCI_MSG_BLD_HDR0 (pp, NCI_MT_CMD, NCI_GID_CORE); in nci_snd_core_init() 91 NCI_MSG_BLD_HDR1 (pp, NCI_MSG_CORE_INIT); in nci_snd_core_init() [all …]
|
D | nci_hrcv.c | 49 UINT8 *pp, len, op_code; in nci_proc_core_rsp() local 55 pp = p+1; in nci_proc_core_rsp() 56 NCI_MSG_PRS_HDR1 (pp, op_code); in nci_proc_core_rsp() 58 len = *pp++; in nci_proc_core_rsp() 64 nfc_ncif_proc_reset_rsp (pp, FALSE); in nci_proc_core_rsp() 77 nfc_ncif_set_config_status (pp, len); in nci_proc_core_rsp() 85 nfc_ncif_report_conn_close_evt (*p_old, *pp); in nci_proc_core_rsp() 108 UINT8 *pp, len, op_code; in nci_proc_core_ntf() local 113 pp = p+1; in nci_proc_core_ntf() 114 NCI_MSG_PRS_HDR1 (pp, op_code); in nci_proc_core_ntf() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-shape.cc | 49 parse_space (const char **pp, const char *end) in parse_space() argument 51 while (*pp < end && ISSPACE (**pp)) in parse_space() 52 (*pp)++; in parse_space() 57 parse_char (const char **pp, const char *end, char c) in parse_char() argument 59 parse_space (pp, end); in parse_char() 61 if (*pp == end || **pp != c) in parse_char() 64 (*pp)++; in parse_char() 69 parse_uint (const char **pp, const char *end, unsigned int *pv) in parse_uint() argument 72 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); in parse_uint() 73 strncpy (buf, *pp, len); in parse_uint() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | enh_upsample.c | 33 const int16_t *pp; in WebRtcIlbcfix_EnhUpsample() local 40 pp=WebRtcIlbcfix_kEnhPolyPhaser[j]+1; in WebRtcIlbcfix_EnhUpsample() 42 *pu11 = (*ps--) * *pp++; in WebRtcIlbcfix_EnhUpsample() 43 *pu11 += (*ps--) * *pp++; in WebRtcIlbcfix_EnhUpsample() 44 *pu11 += (*ps--) * *pp++; in WebRtcIlbcfix_EnhUpsample() 47 pp=WebRtcIlbcfix_kEnhPolyPhaser[j]+1; in WebRtcIlbcfix_EnhUpsample() 49 *pu11 = (*ps--) * *pp++; in WebRtcIlbcfix_EnhUpsample() 50 *pu11 += (*ps--) * *pp++; in WebRtcIlbcfix_EnhUpsample() 51 *pu11 += (*ps--) * *pp++; in WebRtcIlbcfix_EnhUpsample() 52 *pu11 += (*ps--) * *pp++; in WebRtcIlbcfix_EnhUpsample() [all …]
|
/external/pdfium/third_party/libtiff/ |
D | tif_getimage.c | 1176 unsigned char* pp \ 1191 *cp++ = PALmap[*pp][0]; in DECLAREContigPutFunc() 1192 pp += samplesperpixel; in DECLAREContigPutFunc() 1195 pp += fromskew; in DECLAREContigPutFunc() 1210 UNROLL2(w, bw = PALmap[*pp++], *cp++ = *bw++); in DECLAREContigPutFunc() 1212 pp += fromskew; in DECLAREContigPutFunc() 1227 UNROLL4(w, bw = PALmap[*pp++], *cp++ = *bw++); in DECLAREContigPutFunc() 1229 pp += fromskew; in DECLAREContigPutFunc() 1244 UNROLL8(w, bw = PALmap[*pp++], *cp++ = *bw++); in DECLAREContigPutFunc() 1246 pp += fromskew; in DECLAREContigPutFunc() [all …]
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_getimage.c | 1117 unsigned char* pp \ 1132 *cp++ = PALmap[*pp][0]; in DECLAREContigPutFunc() 1133 pp += samplesperpixel; in DECLAREContigPutFunc() 1136 pp += fromskew; in DECLAREContigPutFunc() 1151 UNROLL2(w, bw = PALmap[*pp++], *cp++ = *bw++); in DECLAREContigPutFunc() 1153 pp += fromskew; in DECLAREContigPutFunc() 1168 UNROLL4(w, bw = PALmap[*pp++], *cp++ = *bw++); in DECLAREContigPutFunc() 1170 pp += fromskew; in DECLAREContigPutFunc() 1185 UNROLL8(w, bw = PALmap[*pp++], *cp++ = *bw++); in DECLAREContigPutFunc() 1187 pp += fromskew; in DECLAREContigPutFunc() [all …]
|
/external/libnfc-nci/src/nfa/hci/ |
D | nfa_hci_utils.c | 51 tNFA_HCI_DYN_PIPE *pp = nfa_hci_cb.cfg.dyn_pipes; in nfa_hciu_find_pipe_by_pid() local 55 for ( ; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_find_pipe_by_pid() 57 if (pp->pipe_id == pipe_id) in nfa_hciu_find_pipe_by_pid() 58 return (pp); in nfa_hciu_find_pipe_by_pid() 173 tNFA_HCI_DYN_PIPE *pp = nfa_hci_cb.cfg.dyn_pipes; in nfa_hciu_count_open_pipes_on_gate() local 178 for ( ; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) in nfa_hciu_count_open_pipes_on_gate() 181 if ((p_gate->pipe_inx_mask & mask) && (pp->pipe_state == NFA_HCI_PIPE_OPENED)) in nfa_hciu_count_open_pipes_on_gate() 220 tNFA_HCI_DYN_PIPE *pp; in nfa_hciu_get_pipe_owner() local 223 if ((pp = nfa_hciu_find_pipe_by_pid (pipe_id)) == NULL) in nfa_hciu_get_pipe_owner() 226 if ((pg = nfa_hciu_find_gate_by_gid (pp->local_gate)) == NULL) in nfa_hciu_get_pipe_owner() [all …]
|
/external/scrypt/lib/util/ |
D | sysendian.h | 48 be32dec(const void *pp) in be32dec() argument 50 const uint8_t *p = (uint8_t const *)pp; in be32dec() 57 be32enc(void *pp, uint32_t x) in be32enc() argument 59 uint8_t * p = (uint8_t *)pp; in be32enc() 68 be64dec(const void *pp) in be64dec() argument 70 const uint8_t *p = (uint8_t const *)pp; in be64dec() 79 be64enc(void *pp, uint64_t x) in be64enc() argument 81 uint8_t * p = (uint8_t *)pp; in be64enc() 94 le32dec(const void *pp) in le32dec() argument 96 const uint8_t *p = (uint8_t const *)pp; in le32dec() [all …]
|
/external/libnfc-nci/src/nfc/ndef/ |
D | ndef_utils.c | 1082 UINT8 *p_prev_pl, *pp; in NDEF_MsgAppendPayload() local 1087 pp = p_rec + 1; in NDEF_MsgAppendPayload() 1090 type_len = *pp++; in NDEF_MsgAppendPayload() 1094 prev_paylen = *pp++; in NDEF_MsgAppendPayload() 1096 BE_STREAM_TO_UINT32 (prev_paylen, pp); in NDEF_MsgAppendPayload() 1100 id_len = *pp++; in NDEF_MsgAppendPayload() 1104 p_prev_pl = pp + type_len + id_len; in NDEF_MsgAppendPayload() 1118 pp = p_rec + 2; in NDEF_MsgAppendPayload() 1123 shiftdown (pp + 1, (UINT32)(*p_cur_size - (pp - p_msg) - 1), 3); in NDEF_MsgAppendPayload() 1131 UINT32_TO_BE_STREAM (pp, new_paylen); in NDEF_MsgAppendPayload() [all …]
|
/external/clang/test/SemaCXX/ |
D | qualification-conversion.cpp | 3 int* quals2(int const * const * pp); 6 void test_quals(int * p, int * * pp, int * * * ppp) { in test_quals() argument 7 int const * const * pp2 = pp; in test_quals() 9 quals2(pp); in test_quals() 15 void mquals2(int const A::* const A::*pp); 18 void test_mquals(int A::*p, int A::* A::*pp, int A::* A::* A::*ppp) { in test_mquals() argument 19 int const A::* const A::* pp2 = pp; in test_mquals() 21 mquals2(pp); in test_mquals() 26 void aquals2(int * const (*pp)[1]); 29 void test_aquals(int (*p)[1], int * (*pp)[1], int * (*pp2)[1]) { in test_aquals() [all …]
|
/external/libpng/arm/ |
D | arm_init.c | 57 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) in png_init_filter_functions_neon() argument 70 switch ((pp->options >> PNG_ARM_NEON) & 3) in png_init_filter_functions_neon() 84 no_neon = !png_have_neon(pp); in png_init_filter_functions_neon() 115 pp->read_filter[PNG_FILTER_VALUE_UP-1] = png_read_filter_row_up_neon; in png_init_filter_functions_neon() 119 pp->read_filter[PNG_FILTER_VALUE_SUB-1] = png_read_filter_row_sub3_neon; in png_init_filter_functions_neon() 120 pp->read_filter[PNG_FILTER_VALUE_AVG-1] = png_read_filter_row_avg3_neon; in png_init_filter_functions_neon() 121 pp->read_filter[PNG_FILTER_VALUE_PAETH-1] = in png_init_filter_functions_neon() 127 pp->read_filter[PNG_FILTER_VALUE_SUB-1] = png_read_filter_row_sub4_neon; in png_init_filter_functions_neon() 128 pp->read_filter[PNG_FILTER_VALUE_AVG-1] = png_read_filter_row_avg4_neon; in png_init_filter_functions_neon() 129 pp->read_filter[PNG_FILTER_VALUE_PAETH-1] = in png_init_filter_functions_neon()
|
/external/libpng/contrib/libtests/ |
D | pngvalid.c | 959 store_message(png_store *ps, png_const_structp pp, char *buffer, size_t bufsize, in store_message() argument 962 if (pp != NULL && pp == ps->pread) in store_message() 974 else if (pp != NULL && pp == ps->pwrite) in store_message() 999 store_verbose(png_store *ps, png_const_structp pp, png_const_charp prefix, in store_verbose() argument 1007 (void)store_message(ps, pp, buffer, sizeof buffer, 0, message); in store_verbose() 1014 store_log(png_store* ps, png_const_structp pp, png_const_charp message, in store_log() argument 1023 store_message(ps, pp, ps->error, sizeof ps->error, 0, message); in store_log() 1026 store_verbose(ps, pp, is_error ? "error: " : "warning: ", message); in store_log() 1048 png_const_structp pp = ppIn; in store_error() local 1049 png_store *ps = voidcast(png_store*, png_get_error_ptr(pp)); in store_error() [all …]
|
/external/iproute2/tc/ |
D | m_gact.c | 103 struct tc_gact_p pp; in parse_gact() local 139 pp.ptype = PGACT_NETRAND; in parse_gact() 142 pp.ptype = PGACT_DETERM; in parse_gact() 150 pp.paction = action; in parse_gact() 157 if (get_u16(&pp.pval, *argv, 10)) { in parse_gact() 158 fprintf(stderr, "Illegal probability val 0x%x\n",pp.pval); in parse_gact() 161 if (pp.pval > 10000) { in parse_gact() 162 fprintf(stderr, "Illegal probability val 0x%x\n",pp.pval); in parse_gact() 196 addattr_l(n, MAX_MSG, TCA_GACT_PROB, &pp, sizeof (pp)); in parse_gact() 212 struct tc_gact_p *pp = NULL; in print_gact() local [all …]
|
/external/boringssl/src/include/openssl/ |
D | asn1.h | 171 unsigned char **pp;/* variable */ member 186 const unsigned char **pp;/* variable */ member 574 #define M_i2d_ASN1_OCTET_STRING(a,pp) \ argument 575 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_OCTET_STRING,\ 609 #define M_i2d_ASN1_PRINTABLE(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\ argument 610 pp,a->type,V_ASN1_UNIVERSAL) 611 #define M_d2i_ASN1_PRINTABLE(a,pp,l) \ argument 612 d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l, \ 617 #define M_i2d_DIRECTORYSTRING(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\ argument 618 pp,a->type,V_ASN1_UNIVERSAL) [all …]
|
/external/boringssl/src/crypto/x509/ |
D | x_pubkey.c | 204 EVP_PKEY *d2i_PUBKEY(EVP_PKEY **a, const unsigned char **pp, in d2i_PUBKEY() argument 209 xpk = d2i_X509_PUBKEY(NULL, pp, length); in d2i_PUBKEY() 222 int i2d_PUBKEY(const EVP_PKEY *a, unsigned char **pp) in i2d_PUBKEY() argument 228 ret = i2d_X509_PUBKEY(xpk, pp); in i2d_PUBKEY() 236 RSA *d2i_RSA_PUBKEY(RSA **a, const unsigned char **pp, in d2i_RSA_PUBKEY() argument 242 q = *pp; in d2i_RSA_PUBKEY() 248 *pp = q; in d2i_RSA_PUBKEY() 257 int i2d_RSA_PUBKEY(const RSA *a, unsigned char **pp) in i2d_RSA_PUBKEY() argument 269 ret = i2d_PUBKEY(pktmp, pp); in i2d_RSA_PUBKEY() 275 DSA *d2i_DSA_PUBKEY(DSA **a, const unsigned char **pp, in d2i_DSA_PUBKEY() argument [all …]
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | KSBuilder_ImplTest.java | 136 KeyStore.ProtectionParameter[] pp = { protPass, protPass1, in testNewInstanceKeyStoreProtectionParameter() local 148 for (int i = 0; i < pp.length; i++) { in testNewInstanceKeyStoreProtectionParameter() 151 KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 156 ksB = KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 160 ks.setEntry("aaa", pKey, pp[0]); in testNewInstanceKeyStoreProtectionParameter() 161 ksB = KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 173 assertEquals(ksB.getProtectionParameter("aaa"), pp[i]); in testNewInstanceKeyStoreProtectionParameter() 179 assertEquals(ksB.getProtectionParameter("Bad alias"), pp[i]); in testNewInstanceKeyStoreProtectionParameter() 185 assertEquals(ksB.getProtectionParameter(""), pp[i]); in testNewInstanceKeyStoreProtectionParameter() 209 assertEquals(pPar, pp[i]); in testNewInstanceKeyStoreProtectionParameter() [all …]
|
/external/boringssl/src/crypto/asn1/ |
D | asn1_lib.c | 96 static int asn1_get_length(const unsigned char **pp,int *inf,long *rl,int max); 97 static void asn1_put_length(unsigned char **pp, int length); 124 int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag, in ASN1_get_object() argument 129 const unsigned char *p= *pp; in ASN1_get_object() 169 (int)p,*plength,omax,(int)*pp,(int)(p+ *plength), in ASN1_get_object() 170 (int)(omax+ *pp)); in ASN1_get_object() 173 if (*plength > (omax - (p - *pp))) in ASN1_get_object() 180 *pp=p; in ASN1_get_object() 187 static int asn1_get_length(const unsigned char **pp, int *inf, long *rl, int max) in asn1_get_length() argument 189 const unsigned char *p= *pp; in asn1_get_length() [all …]
|
D | a_bool.c | 63 int i2d_ASN1_BOOLEAN(int a, unsigned char **pp) in i2d_ASN1_BOOLEAN() argument 69 if (pp == NULL) return(r); in i2d_ASN1_BOOLEAN() 70 p= *pp; in i2d_ASN1_BOOLEAN() 74 *pp=p; in i2d_ASN1_BOOLEAN() 78 int d2i_ASN1_BOOLEAN(int *a, const unsigned char **pp, long length) in d2i_ASN1_BOOLEAN() argument 86 p= *pp; in d2i_ASN1_BOOLEAN() 107 *pp=p; in d2i_ASN1_BOOLEAN()
|
/external/libpng/contrib/intel/ |
D | intel_init.c | 19 png_init_filter_functions_sse2(png_structp pp, unsigned int bpp) in png_init_filter_functions_sse2() argument 30 pp->read_filter[PNG_FILTER_VALUE_SUB-1] = png_read_filter_row_sub3_sse2; in png_init_filter_functions_sse2() 31 pp->read_filter[PNG_FILTER_VALUE_AVG-1] = png_read_filter_row_avg3_sse2; in png_init_filter_functions_sse2() 32 pp->read_filter[PNG_FILTER_VALUE_PAETH-1] = in png_init_filter_functions_sse2() 37 pp->read_filter[PNG_FILTER_VALUE_SUB-1] = png_read_filter_row_sub4_sse2; in png_init_filter_functions_sse2() 38 pp->read_filter[PNG_FILTER_VALUE_AVG-1] = png_read_filter_row_avg4_sse2; in png_init_filter_functions_sse2() 39 pp->read_filter[PNG_FILTER_VALUE_PAETH-1] = in png_init_filter_functions_sse2()
|
/external/lzma/C/ |
D | 7zStream.c | 71 static SRes LookToRead_Look_Lookahead(void *pp, const void **buf, size_t *size) in LookToRead_Look_Lookahead() argument 74 CLookToRead *p = (CLookToRead *)pp; in LookToRead_Look_Lookahead() 89 static SRes LookToRead_Look_Exact(void *pp, const void **buf, size_t *size) in LookToRead_Look_Exact() argument 92 CLookToRead *p = (CLookToRead *)pp; in LookToRead_Look_Exact() 108 static SRes LookToRead_Skip(void *pp, size_t offset) in LookToRead_Skip() argument 110 CLookToRead *p = (CLookToRead *)pp; in LookToRead_Skip() 115 static SRes LookToRead_Read(void *pp, void *buf, size_t *size) in LookToRead_Read() argument 117 CLookToRead *p = (CLookToRead *)pp; in LookToRead_Read() 129 static SRes LookToRead_Seek(void *pp, Int64 *pos, ESzSeek origin) in LookToRead_Seek() argument 131 CLookToRead *p = (CLookToRead *)pp; in LookToRead_Seek() [all …]
|