/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_pyshell.py | 25 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/ |
D | cpdf_syntax_parser.cpp | 746 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/libwebsockets/lib/tls/openssl/ |
D | lws-genaes.c | 258 ctx->taglen, tag) != 1) { in lws_genaes_destroy() 293 uint8_t *stream_block_16, size_t *nc_or_iv_off, int taglen) in lws_genaes_crypt() argument 308 memcpy(ctx->tag, stream_block_16, taglen); in lws_genaes_crypt() 309 ctx->taglen = taglen; in lws_genaes_crypt() 322 ctx->taglen, ctx->tag); in lws_genaes_crypt()
|
/external/libwebsockets/lib/tls/mbedtls/ |
D | lws-genaes.c | 140 if (lws_timingsafe_bcmp(ctx->tag, tag, ctx->taglen)) { in lws_genaes_destroy() 145 lwsl_hexdump_notice(ctx->tag, ctx->taglen); in lws_genaes_destroy() 278 uint8_t *stream_block_16, size_t *nc_or_iv_off, int taglen) in lws_genaes_crypt() argument 371 memcpy(ctx->tag, stream_block_16, taglen); in lws_genaes_crypt() 372 ctx->taglen = taglen; in lws_genaes_crypt()
|
/external/tremolo/Tremolo/ |
D | treminfo.c | 77 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/libwebsockets/include/libwebsockets/ |
D | lws-genaes.h | 88 int taglen; member 168 size_t *nc_or_iv_off, int taglen);
|
/external/ImageMagick/coders/ |
D | meta.c | 1924 taglen; in formatIPTC() local 1987 taglen = (c << 8) | c0; in formatIPTC() 1989 if (taglen < 0) in formatIPTC() 1992 str=(unsigned char *) AcquireQuantumMemory((size_t) (taglen+ in formatIPTC() 1996 for (tagindx=0; tagindx<taglen; tagindx++) in formatIPTC() 2006 str[taglen] = 0; in formatIPTC() 2016 formatString( ofile, (char *)str, taglen ); in formatIPTC() 2064 taglen; in formatIPTCfromBuffer() local 2118 taglen=readWordFromBuffer(&s, &len); in formatIPTCfromBuffer() 2120 if (taglen < 0) in formatIPTCfromBuffer() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/ |
D | e_aes.c | 135 int taglen; member 412 gctx->taglen = -1; in aes_gcm_ctrl() 439 gctx->taglen = arg; in aes_gcm_ctrl() 443 if (arg <= 0 || arg > 16 || !c->encrypt || gctx->taglen < 0) { in aes_gcm_ctrl() 561 if (gctx->taglen < 0 || in aes_gcm_cipher() 562 !CRYPTO_gcm128_finish(&gctx->gcm, ctx->buf, gctx->taglen)) { in aes_gcm_cipher() 569 gctx->taglen = 16; in aes_gcm_cipher()
|
/external/boringssl/src/crypto/fipsmodule/cipher/ |
D | e_aes.c | 137 int taglen; member 414 gctx->taglen = -1; in aes_gcm_ctrl() 441 gctx->taglen = arg; in aes_gcm_ctrl() 445 if (arg <= 0 || arg > 16 || !c->encrypt || gctx->taglen < 0) { in aes_gcm_ctrl() 563 if (gctx->taglen < 0 || in aes_gcm_cipher() 564 !CRYPTO_gcm128_finish(&gctx->gcm, ctx->buf, gctx->taglen)) { in aes_gcm_cipher() 571 gctx->taglen = 16; in aes_gcm_cipher()
|
/external/python/cpython3/Lib/test/ |
D | test_socket.py | 6310 taglen = len(expected_tag) 6316 None, taglen) 6325 res = op.recv(assoclen + len(plain) + taglen) 6326 self.assertEqual(expected_ct, res[assoclen:-taglen]) 6327 self.assertEqual(expected_tag, res[-taglen:]) 6335 res = op.recv(assoclen + len(plain) + taglen) 6336 self.assertEqual(expected_ct, res[assoclen:-taglen]) 6337 self.assertEqual(expected_tag, res[-taglen:]) 6351 res = op.recv(len(msg) + taglen) 6352 self.assertEqual(expected_ct, res[assoclen:-taglen]) [all …]
|