Home
last modified time | relevance | path

Searched refs:taglen (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp689 const uint32_t taglen = tag.GetLength(); in IsWholeWord() local
692 bool bCheckRight = !PDFCharIsDelimiter(tag[taglen - 1]) && in IsWholeWord()
693 !PDFCharIsWhitespace(tag[taglen - 1]); in IsWholeWord()
696 if (bCheckRight && startpos + (int32_t)taglen <= limit && in IsWholeWord()
697 GetCharAt(startpos + (int32_t)taglen, ch)) { in IsWholeWord()
715 int32_t taglen = tag.GetLength(); in BackwardsSearchToWord() local
716 if (taglen == 0) in BackwardsSearchToWord()
720 int32_t offset = taglen - 1; in BackwardsSearchToWord()
740 offset = byte == tag[taglen - 1] ? taglen - 2 : taglen - 1; in BackwardsSearchToWord()
749 int32_t taglen = tag.GetLength(); in FindTag() local
[all …]
/external/tremolo/Tremolo/
Dtreminfo.c77 int taglen = strlen(tag)+1; /* +1 for the = we append */ in vorbis_comment_query() local
78 char *fulltag = (char *)alloca(taglen+ 1); in vorbis_comment_query()
84 if(!tagcompare(vc->user_comments[i], fulltag, taglen)){ in vorbis_comment_query()
87 return vc->user_comments[i] + taglen; in vorbis_comment_query()
97 int taglen = strlen(tag)+1; /* +1 for the = we append */ in vorbis_comment_query_count() local
98 char *fulltag = (char *)alloca(taglen+1); in vorbis_comment_query_count()
103 if(!tagcompare(vc->user_comments[i], fulltag, taglen)) in vorbis_comment_query_count()
/external/ImageMagick/coders/
Dmeta.c1910 taglen; in formatIPTC() local
1973 taglen = (c << 8) | c0; in formatIPTC()
1975 if (taglen < 0) in formatIPTC()
1978 str=(unsigned char *) AcquireQuantumMemory((size_t) (taglen+ in formatIPTC()
1982 for (tagindx=0; tagindx<taglen; tagindx++) in formatIPTC()
1992 str[taglen] = 0; in formatIPTC()
2002 formatString( ofile, (char *)str, taglen ); in formatIPTC()
2050 taglen; in formatIPTCfromBuffer() local
2104 taglen=readWordFromBuffer(&s, &len); in formatIPTCfromBuffer()
2106 if (taglen < 0) in formatIPTCfromBuffer()
[all …]
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c93 int taglen; member
373 gctx->taglen = -1; in aes_gcm_ctrl()
400 gctx->taglen = arg; in aes_gcm_ctrl()
404 if (arg <= 0 || arg > 16 || !c->encrypt || gctx->taglen < 0) { in aes_gcm_ctrl()
519 if (gctx->taglen < 0 || in aes_gcm_cipher()
520 !CRYPTO_gcm128_finish(&gctx->gcm, ctx->buf, gctx->taglen)) { in aes_gcm_cipher()
527 gctx->taglen = 16; in aes_gcm_cipher()
/external/python/cpython3/Lib/test/
Dtest_socket.py5864 taglen = len(expected_tag)
5870 None, taglen)
5879 res = op.recv(assoclen + len(plain) + taglen)
5880 self.assertEqual(expected_ct, res[assoclen:-taglen])
5881 self.assertEqual(expected_tag, res[-taglen:])
5889 res = op.recv(assoclen + len(plain) + taglen)
5890 self.assertEqual(expected_ct, res[assoclen:-taglen])
5891 self.assertEqual(expected_tag, res[-taglen:])
5905 res = op.recv(len(msg) + taglen)
5906 self.assertEqual(expected_ct, res[assoclen:-taglen])
[all …]