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.c1843 taglen; in formatIPTC() local
1902 taglen = (c << 8) | c0; in formatIPTC()
1904 if (taglen < 0) return -1; in formatIPTC()
1906 str=(unsigned char *) AcquireQuantumMemory((size_t) (taglen+MagickPathExtent), in formatIPTC()
1913 for (tagindx=0; tagindx<taglen; tagindx++) in formatIPTC()
1919 str[taglen] = 0; in formatIPTC()
1929 formatString( ofile, (char *)str, taglen ); in formatIPTC()
1977 taglen; in formatIPTCfromBuffer() local
2031 taglen=readWordFromBuffer(&s, &len); in formatIPTCfromBuffer()
2033 if (taglen < 0) in formatIPTCfromBuffer()
[all …]
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c95 int taglen; member
461 gctx->taglen = -1; in aes_gcm_ctrl()
488 gctx->taglen = arg; in aes_gcm_ctrl()
492 if (arg <= 0 || arg > 16 || !c->encrypt || gctx->taglen < 0) { in aes_gcm_ctrl()
607 if (gctx->taglen < 0 || in aes_gcm_cipher()
608 !CRYPTO_gcm128_finish(&gctx->gcm, ctx->buf, gctx->taglen)) { in aes_gcm_cipher()
615 gctx->taglen = 16; in aes_gcm_cipher()
/external/python/cpython3/Lib/test/
Dtest_socket.py5481 taglen = len(expected_tag)
5487 None, taglen)
5496 op.sendall(b'\x00' * taglen)
5497 res = op.recv(assoclen + len(plain) + taglen)
5498 self.assertEqual(expected_ct, res[assoclen:-taglen])
5499 self.assertEqual(expected_tag, res[-taglen:])
5504 msg = assoc + plain + b'\x00' * taglen
5507 res = op.recv(assoclen + len(plain) + taglen)
5508 self.assertEqual(expected_ct, res[assoclen:-taglen])
5509 self.assertEqual(expected_tag, res[-taglen:])
[all …]