Home
last modified time | relevance | path

Searched refs:ptag (Results 1 – 8 of 8) sorted by relevance

/external/curl/tests/server/
Dgetpart.c256 char ptag[MAX_TAG_LEN+1]; /* potential tag */ in getpart() local
285 couter[0] = cmain[0] = csub[0] = ptag[0] = patt[0] = '\0'; in getpart()
316 memcpy(ptag, ptr, len.uns); in getpart()
317 ptag[len.uns] = '\0'; in getpart()
319 if((STATE_INSUB == state) && !strcmp(csub, ptag)) { in getpart()
336 else if((STATE_INMAIN == state) && !strcmp(cmain, ptag)) { in getpart()
353 else if((STATE_OUTER == state) && !strcmp(couter, ptag)) { in getpart()
377 memcpy(ptag, ptr, len.uns); in getpart()
378 ptag[len.uns] = '\0'; in getpart()
381 if(('!' == ptag[0]) || ('?' == ptag[0])) { in getpart()
[all …]
/external/libevent/
Devent_tagging.c97 int evtag_decode_tag(ev_uint32_t *ptag, struct evbuffer *evbuf);
195 decode_tag_internal(ev_uint32_t *ptag, struct evbuffer *evbuf, int dodrain) in decode_tag_internal() argument
229 if (ptag != NULL) in decode_tag_internal()
230 *ptag = number; in decode_tag_internal()
236 evtag_decode_tag(ev_uint32_t *ptag, struct evbuffer *evbuf) in evtag_decode_tag() argument
238 return (decode_tag_internal(ptag, evbuf, 1 /* dodrain */)); in evtag_decode_tag()
387 evtag_peek(struct evbuffer *evbuf, ev_uint32_t *ptag) in evtag_peek() argument
389 return (decode_tag_internal(ptag, evbuf, 0 /* dodrain */)); in evtag_peek()
429 evtag_unmarshal_header(struct evbuffer *evbuf, ev_uint32_t *ptag) in evtag_unmarshal_header() argument
433 if (decode_tag_internal(ptag, evbuf, 1 /* dodrain */) == -1) in evtag_unmarshal_header()
[all …]
/external/libevent/include/event2/
Dtag.h68 int evtag_unmarshal_header(struct evbuffer *evbuf, ev_uint32_t *ptag);
99 int evtag_unmarshal(struct evbuffer *src, ev_uint32_t *ptag,
101 int evtag_peek(struct evbuffer *evbuf, ev_uint32_t *ptag);
/external/boringssl/src/crypto/asn1/
Dtasn_dec.c1262 int ptag, pclass; in asn1_check_tlen() local
1273 ptag = ctx->ptag; in asn1_check_tlen()
1278 i = ASN1_get_object(&p, &plen, &ptag, &pclass, len); in asn1_check_tlen()
1284 ctx->ptag = ptag; in asn1_check_tlen()
1307 if ((exptag != ptag) || (expclass != pclass)) in asn1_check_tlen()
1338 *otag = ptag; in asn1_check_tlen()
Dasn1_lib.c124 int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag, in ASN1_get_object() argument
160 *ptag=tag; in ASN1_get_object()
/external/boringssl/src/crypto/x509/
Dasn1_gen.c129 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass);
405 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) in parse_tagging() argument
421 *ptag = tag_num; in parse_tagging()
/external/boringssl/src/include/openssl/
Dasn1t.h593 int ptag; /* class value */ member
Dasn1.h886 OPENSSL_EXPORT int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag, int *pclass,…