Home
last modified time | relevance | path

Searched refs:input_len (Results 1 – 25 of 42) sorted by relevance

12

/third_party/gettext/gettext-tools/src/
Dfilter-quote.c100 convert_ascii_quote_to_unicode (const char *input, size_t input_len, in convert_ascii_quote_to_unicode() argument
110 for (p = input; p < input + input_len; p++) in convert_ascii_quote_to_unicode()
124 result.output = XNMALLOC (input_len - quote_count in convert_ascii_quote_to_unicode()
130 scan_quoted (input, input_len, convert_quote_callback, &result); in convert_ascii_quote_to_unicode()
137 ascii_quote_to_unicode (const char *input, size_t input_len, in ascii_quote_to_unicode() argument
140 convert_ascii_quote_to_unicode (input, input_len, in ascii_quote_to_unicode()
146 ascii_quote_to_unicode_bold (const char *input, size_t input_len, in ascii_quote_to_unicode_bold() argument
149 convert_ascii_quote_to_unicode (input, input_len, in ascii_quote_to_unicode_bold()
Dfilters.h30 extern void serbian_to_latin (const char *input, size_t input_len,
38 extern void ascii_quote_to_unicode (const char *input, size_t input_len,
46 extern void ascii_quote_to_unicode_bold (const char *input, size_t input_len,
Dfilter-sr-latin.c291 serbian_to_latin (const char *input, size_t input_len, in serbian_to_latin() argument
307 size_t allocated = input_len + (input_len >> 1); in serbian_to_latin()
310 const char *input_end = input + input_len; in serbian_to_latin()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Descaping.cc27 size_t CalculateBase64EscapedLenInternal(size_t input_len, bool do_padding) { in CalculateBase64EscapedLenInternal() argument
42 size_t len = (input_len / 3) * 4; in CalculateBase64EscapedLenInternal()
44 if (input_len % 3 == 0) { in CalculateBase64EscapedLenInternal()
49 } else if (input_len % 3 == 1) { in CalculateBase64EscapedLenInternal()
69 assert(len >= input_len); // make sure we didn't overflow in CalculateBase64EscapedLenInternal()
/third_party/abseil-cpp/absl/strings/internal/
Descaping.cc27 size_t CalculateBase64EscapedLenInternal(size_t input_len, bool do_padding) { in CalculateBase64EscapedLenInternal() argument
42 size_t len = (input_len / 3) * 4; in CalculateBase64EscapedLenInternal()
44 if (input_len % 3 == 0) { in CalculateBase64EscapedLenInternal()
49 } else if (input_len % 3 == 1) { in CalculateBase64EscapedLenInternal()
69 assert(len >= input_len); // make sure we didn't overflow in CalculateBase64EscapedLenInternal()
/third_party/node/deps/uvwasi/src/
Dpath_resolver.c377 uvwasi_size_t input_len; in uvwasi__resolve_path() local
384 input_len = path_len; in uvwasi__resolve_path()
393 if (1 == uvwasi__is_absolute_path(input, input_len)) { in uvwasi__resolve_path()
397 input_len, in uvwasi__resolve_path()
404 input_len, in uvwasi__resolve_path()
461 input_len = strlen(req.ptr); in uvwasi__resolve_path()
463 link_target = uvwasi__malloc(uvwasi, input_len + 1); in uvwasi__resolve_path()
470 memcpy(link_target, req.ptr, input_len + 1); in uvwasi__resolve_path()
/third_party/mbedtls/tests/suites/
Dtest_suite_chachapoly.function78 size_t input_len = sizeof( input );
94 TEST_ASSERT( mbedtls_chachapoly_update( &ctx, input_len, input, output )
105 TEST_ASSERT( mbedtls_chachapoly_update( &ctx, input_len, input, output )
117 TEST_ASSERT( mbedtls_chachapoly_update( &ctx, input_len, input, output )
125 TEST_ASSERT( mbedtls_chachapoly_update( &ctx, input_len, input, output )
127 TEST_ASSERT( mbedtls_chachapoly_update( &ctx, input_len, input, output )
/third_party/mbedtls/library/
Dcipher.c782 static int get_pkcs_padding( unsigned char *input, size_t input_len, in get_pkcs_padding() argument
791 padding_len = input[input_len - 1]; in get_pkcs_padding()
792 *data_len = input_len - padding_len; in get_pkcs_padding()
795 bad |= padding_len > input_len; in get_pkcs_padding()
800 pad_idx = input_len - padding_len; in get_pkcs_padding()
801 for( i = 0; i < input_len; i++ ) in get_pkcs_padding()
823 static int get_one_and_zeros_padding( unsigned char *input, size_t input_len, in get_one_and_zeros_padding() argument
834 for( i = input_len; i > 0; i-- ) in get_one_and_zeros_padding()
862 static int get_zeros_and_len_padding( unsigned char *input, size_t input_len, in get_zeros_and_len_padding() argument
871 padding_len = input[input_len - 1]; in get_zeros_and_len_padding()
[all …]
Dccm.c341 const unsigned char *input, size_t input_len, in mbedtls_ccm_update() argument
359 if( ctx->tag_len != 0 && ctx->processed + input_len > ctx->plaintext_len ) in mbedtls_ccm_update()
364 if( output_size < input_len ) in mbedtls_ccm_update()
366 *output_len = input_len; in mbedtls_ccm_update()
370 while ( input_len > 0 ) in mbedtls_ccm_update()
376 if( use_len > input_len ) in mbedtls_ccm_update()
377 use_len = input_len; in mbedtls_ccm_update()
437 input_len -= use_len; in mbedtls_ccm_update()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dunique_fp32.c28 void Unique(const float *input, int input_len, float *output0, int *output0_len, int *output1) { in Unique() argument
30 for (int i = 0; i < input_len; i++) { in Unique()
Dunique_fp32.h30 void Unique(const float *input, int input_len, float *output0, int *output0_len, int *output1);
/third_party/glib/glib/tests/
Dbase64.c15 gsize len, decoded_len, max, input_len, block_size; in test_incremental() local
27 input_len = 0; in test_incremental()
28 while (input_len < length) in test_incremental()
30 block_size = MIN (BLOCK_SIZE, length - input_len); in test_incremental()
31 len += g_base64_encode_step (data + input_len, block_size, in test_incremental()
33 input_len += block_size; in test_incremental()
/third_party/boost/boost/nowide/
Dstackstring.hpp107 const size_t input_len = end - begin; in convert() local
109 const size_t min_output_size = input_len + 1; in convert()
117 … const size_t max_output_size = input_len * utf::utf_traits<output_char>::max_width + 1; in convert()
/third_party/flutter/skia/third_party/externals/libpng/
Dpngwutil.c472 png_alloc_size_t input_len; /* Its length */ member
479 png_alloc_size_t input_len) in png_text_compress_init() argument
482 comp->input_len = input_len; in png_text_compress_init()
503 ret = png_deflate_claim(png_ptr, chunk_name, comp->input_len); in png_text_compress()
516 png_alloc_size_t input_len = comp->input_len; /* may be zero! */ in png_text_compress() local
531 if (avail_in > input_len) in png_text_compress()
532 avail_in = (uInt)input_len; in png_text_compress()
534 input_len -= avail_in; in png_text_compress()
581 input_len > 0 ? Z_NO_FLUSH : Z_FINISH); in png_text_compress()
586 input_len += png_ptr->zstream.avail_in; in png_text_compress()
[all …]
/third_party/libpng/
Dpngwutil.c472 png_alloc_size_t input_len; /* Its length */ member
479 png_alloc_size_t input_len) in png_text_compress_init() argument
482 comp->input_len = input_len; in png_text_compress_init()
503 ret = png_deflate_claim(png_ptr, chunk_name, comp->input_len); in png_text_compress()
516 png_alloc_size_t input_len = comp->input_len; /* may be zero! */ in png_text_compress() local
531 if (avail_in > input_len) in png_text_compress()
532 avail_in = (uInt)input_len; in png_text_compress()
534 input_len -= avail_in; in png_text_compress()
581 input_len > 0 ? Z_NO_FLUSH : Z_FINISH); in png_text_compress()
586 input_len += png_ptr->zstream.avail_in; in png_text_compress()
[all …]
/third_party/skia/third_party/externals/libpng/
Dpngwutil.c472 png_alloc_size_t input_len; /* Its length */ member
479 png_alloc_size_t input_len) in png_text_compress_init() argument
482 comp->input_len = input_len; in png_text_compress_init()
503 ret = png_deflate_claim(png_ptr, chunk_name, comp->input_len); in png_text_compress()
516 png_alloc_size_t input_len = comp->input_len; /* may be zero! */ in png_text_compress() local
531 if (avail_in > input_len) in png_text_compress()
532 avail_in = (uInt)input_len; in png_text_compress()
534 input_len -= avail_in; in png_text_compress()
581 input_len > 0 ? Z_NO_FLUSH : Z_FINISH); in png_text_compress()
586 input_len += png_ptr->zstream.avail_in; in png_text_compress()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dstrided_slice_grad_cpu_kernel.cc68 auto input_len = input_shape_.size(); in ExpandAllMemberDims() local
69 if (input_len < DIMENSION_8D) { in ExpandAllMemberDims()
70 for (size_t i = 0; i < DIMENSION_8D - input_len; ++i) { in ExpandAllMemberDims()
/third_party/openssl/test/
Devp_extra_test.c1076 size_t input_len = ak->size; in test_d2i_AutoPrivateKey() local
1080 if (!TEST_ptr(pkey = d2i_AutoPrivateKey(NULL, &p, input_len)) in test_d2i_AutoPrivateKey()
1081 || !TEST_ptr_eq(p, input + input_len) in test_d2i_AutoPrivateKey()
1514 size_t input_len = ak->size; in test_EVP_PKEY_check() local
1526 if (!TEST_ptr(pkey = d2i_AutoPrivateKey(NULL, &p, input_len)) in test_EVP_PKEY_check()
1527 || !TEST_ptr_eq(p, input + input_len) in test_EVP_PKEY_check()
1533 if (!TEST_ptr(pubkey = BIO_new_mem_buf(input, input_len)) in test_EVP_PKEY_check()
1540 if (!TEST_ptr(eckey = d2i_ECParameters(NULL, &p, input_len)) in test_EVP_PKEY_check()
1541 || !TEST_ptr_eq(p, input + input_len) in test_EVP_PKEY_check()
1637 size_t input_len = sizeof(kExampleECPubKeyDER); in test_X509_PUBKEY_inplace() local
[all …]
Devp_test.c227 static unsigned char* unescape(const char *input, size_t input_len, in unescape() argument
233 if (input_len == 0) { in unescape()
239 if (!TEST_ptr(ret = p = OPENSSL_malloc(input_len))) in unescape()
242 for (i = 0; i < input_len; i++) { in unescape()
244 if (i == input_len - 1 || *++input != 'n') { in unescape()
875 size_t input_len; member
952 return parse_bin(value, &mdata->input, &mdata->input_len); in mac_test_parse()
1034 if (!EVP_DigestSignUpdate(mctx, expected->input, expected->input_len)) { in mac_test_run()
1085 size_t input_len; member
1181 return parse_bin(value, &kdata->input, &kdata->input_len); in pkey_test_parse()
[all …]
/third_party/boost/libs/detail/test/
Dtest_utf8_codecvt.cpp271 const int input_len = 5; in test_main() local
273 …td::utf8_encoding), reinterpret_cast< const char* >(td::utf8_encoding + input_len), ~static_cast< … in test_main()
/third_party/freetype/include/freetype/
Dftgzip.h141 FT_ULong input_len );
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftgzip.h141 FT_ULong input_len );
/third_party/flutter/skia/third_party/externals/freetype/include/freetype/
Dftgzip.h141 FT_ULong input_len );
/third_party/freetype/src/gzip/
Dftgzip.c725 FT_ULong input_len ) in FT_Gzip_Uncompress() argument
739 stream.avail_in = (uInt)input_len; in FT_Gzip_Uncompress()
807 FT_ULong input_len ) in FT_Gzip_Uncompress() argument
813 FT_UNUSED( input_len ); in FT_Gzip_Uncompress()
/third_party/skia/third_party/externals/freetype/src/gzip/
Dftgzip.c731 FT_ULong input_len ) in FT_Gzip_Uncompress() argument
745 stream.avail_in = (uInt)input_len; in FT_Gzip_Uncompress()
813 FT_ULong input_len ) in FT_Gzip_Uncompress() argument
819 FT_UNUSED( input_len ); in FT_Gzip_Uncompress()

12