Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_pyshell.py25 expect, taglen = "= RESTART: Shell", 16
26 for width in (taglen-1, taglen, taglen+1):
29 self.assertEqual(pyshell.restart_line(taglen+2, ''), expect+' =')
/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp746 const uint32_t taglen = tag.GetLength(); in IsWholeWord() local
749 bool bCheckRight = !PDFCharIsDelimiter(tag[taglen - 1]) && in IsWholeWord()
750 !PDFCharIsWhitespace(tag[taglen - 1]); in IsWholeWord()
753 if (bCheckRight && startpos + (int32_t)taglen <= limit && in IsWholeWord()
754 GetCharAt(startpos + (int32_t)taglen, ch)) { in IsWholeWord()
772 int32_t taglen = word.GetLength(); in BackwardsSearchToWord() local
773 if (taglen == 0) in BackwardsSearchToWord()
777 int32_t offset = taglen - 1; in BackwardsSearchToWord()
797 offset = byte == word[taglen - 1] ? taglen - 2 : taglen - 1; in BackwardsSearchToWord()
806 const 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.c1909 taglen; in formatIPTC() local
1972 taglen = (c << 8) | c0; in formatIPTC()
1974 if (taglen < 0) in formatIPTC()
1977 str=(unsigned char *) AcquireQuantumMemory((size_t) (taglen+ in formatIPTC()
1981 for (tagindx=0; tagindx<taglen; tagindx++) in formatIPTC()
1991 str[taglen] = 0; in formatIPTC()
2001 formatString( ofile, (char *)str, taglen ); in formatIPTC()
2049 taglen; in formatIPTCfromBuffer() local
2103 taglen=readWordFromBuffer(&s, &len); in formatIPTCfromBuffer()
2105 if (taglen < 0) in formatIPTCfromBuffer()
[all …]
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c135 int taglen; member
416 gctx->taglen = -1; in aes_gcm_ctrl()
443 gctx->taglen = arg; in aes_gcm_ctrl()
447 if (arg <= 0 || arg > 16 || !c->encrypt || gctx->taglen < 0) { in aes_gcm_ctrl()
565 if (gctx->taglen < 0 || in aes_gcm_cipher()
566 !CRYPTO_gcm128_finish(&gctx->gcm, ctx->buf, gctx->taglen)) { in aes_gcm_cipher()
573 gctx->taglen = 16; in aes_gcm_cipher()
/external/python/cpython3/Lib/test/
Dtest_socket.py5966 taglen = len(expected_tag)
5972 None, taglen)
5981 res = op.recv(assoclen + len(plain) + taglen)
5982 self.assertEqual(expected_ct, res[assoclen:-taglen])
5983 self.assertEqual(expected_tag, res[-taglen:])
5991 res = op.recv(assoclen + len(plain) + taglen)
5992 self.assertEqual(expected_ct, res[assoclen:-taglen])
5993 self.assertEqual(expected_tag, res[-taglen:])
6007 res = op.recv(len(msg) + taglen)
6008 self.assertEqual(expected_ct, res[assoclen:-taglen])
[all …]