Searched defs:inp (Results 1 - 25 of 54) sorted by relevance

123

/external/fio/lib/
H A Dinet_aton.c3 int inet_aton(const char *cp, struct in_addr *inp) argument
5 return inet_pton(AF_INET, cp, inp);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/
H A Dinet_aton.c13 int inet_aton(const char *cp, struct in_addr *inp) { argument
22 inp->s_addr = htonl(host_order_addr);
31 inp->s_addr = htonl(host_order_addr);
40 inp->s_addr = htonl(host_order_addr);
47 inp->s_addr = htonl(p1);
/external/chromium_org/third_party/boringssl/src/crypto/evp/
H A Dasn1.c67 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **out, const uint8_t **inp, argument
87 !ret->ameth->old_priv_decode(ret, inp, len)) {
89 PKCS8_PRIV_KEY_INFO *p8 = d2i_PKCS8_PRIV_KEY_INFO(NULL, inp, len);
114 EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **out, const uint8_t **inp, long len) { argument
118 p = *inp;
135 PKCS8_PRIV_KEY_INFO *p8 = d2i_PKCS8_PRIV_KEY_INFO(NULL, inp, len);
155 return d2i_PrivateKey(keytype, out, inp, len);
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_peeloff.c57 struct sctp_inpcb *inp; local
65 inp = (struct sctp_inpcb *)head->so_pcb;
66 if (inp == NULL) {
70 if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
71 (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
72 SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EOPNOTSUPP);
75 stcb = sctp_findassociation_ep_asocid(inp, assoc_id, 1);
77 SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOENT);
84 SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOTCONN);
95 struct sctp_inpcb *inp, *n_in local
[all...]
H A Dsctp_sysctl.c178 sctp_sysctl_number_of_addresses(struct sctp_inpcb *inp) argument
188 if ((vrf = sctp_find_vrf(inp->def_vrf_id)) == NULL) {
191 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) {
209 LIST_FOREACH(laddr, &inp->sctp_addr_list, sctp_nxt_addr) {
228 sctp_sysctl_copy_out_local_addresses(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sysctl_req *req) argument
260 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_V6) {
262 if (SCTP_IPV6_V6ONLY(inp)) {
273 if (inp->sctp_flags & SCTP_PCB_FLAGS_BOUND_CONN) {
287 if ((vrf = sctp_find_vrf(inp->def_vrf_id)) == NULL) {
288 SCTP_INP_RUNLOCK(inp);
448 struct sctp_inpcb *inp; variable in typeref:struct:sctp_inpcb
468 SCTP_INP_RLOCK(inp); variable
478 SCTP_INP_RUNLOCK(inp); variable
504 SCTP_INP_RLOCK(inp); variable
530 SCTP_INP_INCR_REF(inp); variable
531 SCTP_INP_RUNLOCK(inp); variable
535 SCTP_INP_DECR_REF(inp); variable
539 SCTP_INP_RLOCK(inp); variable
542 SCTP_INP_DECR_REF(inp); variable
587 SCTP_INP_RUNLOCK(inp); variable
591 SCTP_INP_DECR_REF(inp); variable
596 SCTP_INP_RLOCK(inp); variable
599 SCTP_INP_DECR_REF(inp); variable
628 SCTP_INP_RUNLOCK(inp); variable
632 SCTP_INP_DECR_REF(inp); variable
637 SCTP_INP_RLOCK(inp); variable
642 SCTP_INP_RUNLOCK(inp); variable
646 SCTP_INP_DECR_REF(inp); variable
650 SCTP_INP_RLOCK(inp); variable
652 SCTP_INP_DECR_REF(inp); variable
653 SCTP_INP_RUNLOCK(inp); variable
[all...]
H A Dsctp_timer.c99 sctp_threshold_management(struct sctp_inpcb *inp, struct sctp_tcb *stcb, argument
166 inp->last_abort_code = SCTP_FROM_SCTP_TIMER+SCTP_LOC_1;
167 sctp_abort_an_association(inp, stcb, op_err, SCTP_SO_NOT_LOCKED);
800 sctp_t3rxt_timer(struct sctp_inpcb *inp, argument
832 if (sctp_threshold_management(inp, stcb, net,
866 if (sctp_threshold_management(inp, stcb, NULL,
964 sctp_timer_start(SCTP_TIMER_TYPE_SEND, inp, stcb, net);
987 sctp_t1init_timer(struct sctp_inpcb *inp, argument
998 sctp_send_initiate(inp, stcb, SCTP_SO_NOT_LOCKED);
1004 if (sctp_threshold_management(inp, stc
1035 sctp_cookie_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net SCTP_UNUSED) argument
1099 sctp_strreset_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument
1160 sctp_asconf_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument
1252 sctp_delete_prim_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net SCTP_UNUSED) argument
1275 sctp_shutdown_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument
1298 sctp_shutdownack_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument
1321 sctp_audit_stream_queues_for_size(struct sctp_inpcb *inp, struct sctp_tcb *stcb) argument
1385 sctp_heartbeat_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument
1452 sctp_pathmtu_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument
1522 sctp_autoclose_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net) argument
[all...]
/external/openssl/crypto/modes/
H A Dxts128.c62 const unsigned char *inp, unsigned char *out,
79 memcpy(scratch.c,inp,16);
83 scratch.u[0] = ((u64*)inp)[0]^tweak.u[0];
84 scratch.u[1] = ((u64*)inp)[1]^tweak.u[1];
95 inp += 16;
123 u8 c = inp[i];
157 memcpy(scratch.c,inp,16);
161 scratch.u[0] = ((u64*)inp)[0]^tweak1.u[0];
162 scratch.u[1] = ((u64*)inp)[1]^tweak1.u[1];
169 u8 c = inp[1
61 CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx, const unsigned char iv[16], const unsigned char *inp, unsigned char *out, size_t len, int enc) argument
[all...]
H A Dccm128.c171 const unsigned char *inp, unsigned char *out,
203 memcpy (temp.c,inp,16);
207 ctx->cmac.u[0] ^= ((u64*)inp)[0];
208 ctx->cmac.u[1] ^= ((u64*)inp)[1];
218 ((u64*)out)[0] = scratch.u[0]^((u64*)inp)[0];
219 ((u64*)out)[1] = scratch.u[1]^((u64*)inp)[1];
221 inp += 16;
227 for (i=0; i<len; ++i) ctx->cmac.c[i] ^= inp[i];
230 for (i=0; i<len; ++i) out[i] = scratch.c[i]^inp[i];
246 const unsigned char *inp, unsigne
170 CRYPTO_ccm128_encrypt(CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len) argument
245 CRYPTO_ccm128_decrypt(CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len) argument
324 CRYPTO_ccm128_encrypt_ccm64(CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len,ccm128_f stream) argument
381 CRYPTO_ccm128_decrypt_ccm64(CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len,ccm128_f stream) argument
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dpkcs7.c82 const uint8_t *inp; local
88 inp = CBS_data(&cert);
89 x509 = d2i_X509(NULL, &inp, CBS_len(&cert));
94 if (inp != CBS_data(&cert) + CBS_len(&cert)) {
/external/openssl/crypto/aes/
H A Daes_ige.c102 aes_block_t *inp = (aes_block_t *)in; local
106 outp->data[n] = inp->data[n] ^ ivp->data[n];
111 iv2p = inp;
158 aes_block_t *inp = (aes_block_t *)in; local
162 tmp.data[n] = inp->data[n] ^ iv2p->data[n];
166 ivp = inp;
/external/chromium_org/third_party/markupsafe/
H A D_speedups.c59 Py_UNICODE *inp = PyUnicode_AS_UNICODE(in); local
66 while (*(inp) || inp < inp_end) {
67 if (*inp < ESCAPED_CHARS_TABLE_SIZE) {
68 delta += escaped_chars_delta_len[*inp];
69 erepl += !!escaped_chars_delta_len[*inp];
71 ++inp;
85 inp = PyUnicode_AS_UNICODE(in);
88 next_escp = inp;
98 if (next_escp > inp) {
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/test/
H A DtestG711.cc27 int readframe(int16_t* data, FILE* inp, int length) { argument
31 rlen = (short) fread(data, sizeof(int16_t), length, inp);
43 FILE* inp; local
104 if ((inp = fopen(inname, "rb")) == NULL) {
125 endfile = readframe(shortdata, inp, framelength);
176 fclose(inp);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g722/test/
H A DtestG722.cc32 int readframe(int16_t *data, FILE *inp, int length) argument
36 rlen = (short)fread(data, sizeof(int16_t), length, inp);
49 FILE *inp, *outbitp, *outp; local
92 if ((inp = fopen(inname,"rb")) == NULL) {
120 endfile = readframe(shortdata, inp, framelength);
157 fclose(inp);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/util/
H A Dutility.c21 FILE* inp,
28 rlen = (short)fread(data, sizeof(short), length, inp);
19 readframe( short* data, FILE* inp, int length) argument
/external/ppp/pppd/
H A Dfsm.c339 u_char *inp; local
347 inp = inpacket;
352 GETCHAR(code, inp);
353 GETCHAR(id, inp);
354 GETSHORT(len, inp);
376 fsm_rconfreq(f, id, inp, len);
380 fsm_rconfack(f, id, inp, len);
385 fsm_rconfnakrej(f, code, id, inp, len);
389 fsm_rtermreq(f, id, inp, len);
397 fsm_rcoderej(f, inp, le
[all...]
H A Dcbcp.c159 u_char *inp; local
165 inp = inpacket;
173 GETCHAR(code, inp);
174 GETCHAR(id, inp);
175 GETSHORT(len, inp);
188 cbcp_recvreq(us, inp, len);
201 cbcp_recvack(us, inp, len);
H A Dupap.c319 u_char *inp; local
327 inp = inpacket;
332 GETCHAR(code, inp);
333 GETCHAR(id, inp);
334 GETSHORT(len, inp);
350 upap_rauthreq(u, inp, id, len);
354 upap_rauthack(u, inp, id, len);
358 upap_rauthnak(u, inp, id, len);
371 upap_rauthreq(u, inp, id, len)
373 u_char *inp;
[all...]
/external/chromium_org/third_party/boringssl/src/tool/
H A Dspeed.cc251 const uint8_t *inp; local
254 inp = kDERRSAPrivate2048;
255 if (NULL == d2i_RSAPrivateKey(&key, &inp, kDERRSAPrivate2048Len)) {
268 inp = kDERRSAPrivate4096;
269 if (NULL == d2i_RSAPrivateKey(&key, &inp, kDERRSAPrivate4096Len)) {
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/test/
H A Dtest_iSACfixfloat.c45 int readframe(int16_t *data, FILE *inp, int length) { argument
49 rlen = fread(data, sizeof(int16_t), length, inp);
94 FILE *inp, *outp, *f_bn, *bitsp; local
273 if ((inp = fopen(inname,"rb")) == NULL) {
421 fclose(inp);
435 endfile = readframe(shortdata, inp, FRAMESAMPLES_10ms);
437 endfile = readframe(shortdata, inp, (FRAMESAMPLES_10ms/2));
683 fclose(inp);
/external/openssl/apps/
H A Ddgst.c110 BIO *in=NULL,*inp; local
489 inp=BIO_push(bmd,in);
501 err=do_fp(out, buf,inp,separator, out_bin, sigkey, sigbuf,
530 r=do_fp(out,buf,inp,separator,out_bin,sigkey,sigbuf,
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/
H A Dtest_iSACfixfloat.c45 int readframe(WebRtc_Word16 *data, FILE *inp, int length) { argument
49 rlen = fread(data, sizeof(WebRtc_Word16), length, inp);
94 FILE *inp, *outp, *f_bn, *bitsp; local
273 if ((inp = fopen(inname,"rb")) == NULL) {
421 fclose(inp);
435 endfile = readframe(shortdata, inp, FRAMESAMPLES_10ms);
437 endfile = readframe(shortdata, inp, (FRAMESAMPLES_10ms/2));
678 fclose(inp);
/external/chromium_org/third_party/boringssl/src/crypto/ec/
H A Dec_asn1.c236 static EC_GROUP *d2i_ECPKParameters(EC_GROUP **groupp, const uint8_t **inp, argument
241 params = d2i_ECPKPARAMETERS(NULL, inp, len);
487 EC_KEY *d2i_ECParameters(EC_KEY **key, const uint8_t **inp, long len) { argument
490 if (inp == NULL || *inp == NULL) {
508 if (!d2i_ECPKParameters(&ret->group, inp, len)) {
516 EC_KEY *o2i_ECPublicKey(EC_KEY **keyp, const uint8_t **inp, long len) { argument
529 if (!EC_POINT_oct2point(ret->group, ret->pub_key, *inp, len, NULL)) {
534 ret->conv_form = (point_conversion_form_t)(*inp[0] & ~0x01);
535 *inp
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/modes/
H A Dgcm.c227 static void gcm_ghash_4bit(uint64_t Xi[2], const u128 Htable[16], const uint8_t *inp, argument
240 nlo ^= inp[15];
265 nlo ^= inp[cnt];
302 } while (inp += 16, len -= 16);
306 void gcm_ghash_4bit(uint64_t Xi[2], const u128 Htable[16], const uint8_t *inp,
326 void gcm_ghash_clmul(uint64_t Xi[2], const u128 Htable[16], const uint8_t *inp,
336 void gcm_ghash_avx(uint64_t Xi[2], const u128 Htable[16], const uint8_t *inp, size_t len);
342 void gcm_ghash_4bit_mmx(uint64_t Xi[2], const u128 Htable[16], const uint8_t *inp,
346 void gcm_ghash_4bit_x86(uint64_t Xi[2], const u128 Htable[16], const uint8_t *inp,
356 void gcm_ghash_neon(uint64_t Xi[2], const u128 Htable[16], const uint8_t *inp,
[all...]
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/
H A Dsctp6_usrreq.c352 sctp6_notify_mbuf(struct sctp_inpcb *inp, struct icmp6_hdr *icmp6, argument
357 if ((inp == NULL) || (stcb == NULL) || (net == NULL) ||
377 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL, SCTP_FROM_SCTP6_USRREQ+SCTP_LOC_1);
420 sctp_timer_start(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, NULL);
430 sctp6_notify(struct sctp_inpcb *inp, argument
443 if ((inp == NULL) || (stcb == NULL) || (net == NULL) ||
500 so = SCTP_INP_SO(inp);
507 (void)sctp_free_assoc(inp, stcb, SCTP_NORMAL_PROC, SCTP_FROM_SCTP_USRREQ+SCTP_LOC_2);
560 struct sctp_inpcb *inp = NULL; local
570 inp
633 struct sctp_inpcb *inp; local
719 struct sctp_inpcb *inp; local
785 struct sctp_inpcb *inp; local
857 struct sctp_inpcb *inp; local
1048 struct sctp_inpcb *inp; local
1182 struct sctp_inpcb *inp; local
1344 struct sctp_inpcb *inp; local
1480 struct sctp_inpcb *inp; local
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dfilter_functions.c133 double rho=0.9, *inp, *dp, *dp2; local
157 inp=tmpbuffer + PITCH_WLPCBUFLEN;
173 WebRtcIsac_ZeroPoleFilter(inp, apol, apolr, PITCH_SUBFRAME_LEN, PITCH_WLPCORDER, weo);
174 WebRtcIsac_ZeroPoleFilter(inp, apolr, opol, PITCH_SUBFRAME_LEN, PITCH_WLPCORDER, who);
176 inp+=PITCH_SUBFRAME_LEN;

Completed in 1011 milliseconds

123