Home
last modified time | relevance | path

Searched refs:max_tokens (Results 1 – 11 of 11) sorted by relevance

/external/google-breakpad/src/processor/
Dtokenize.cc47 int max_tokens, in Tokenize() argument
50 tokens->reserve(max_tokens); in Tokenize()
52 int remaining = max_tokens; in Tokenize()
69 return tokens->size() == static_cast<unsigned int>(max_tokens); in Tokenize()
Dtokenize.h55 int max_tokens,
/external/mesa3d/src/gallium/tests/graw/
Ddisasm.c59 const size_t max_tokens = 1024*1024; in disasm() local
66 tokens = malloc(max_tokens * sizeof *tokens); in disasm()
67 fread(tokens, sizeof *tokens, max_tokens, fp); in disasm()
/external/webp/src/utils/
Dhuffman_encode_utils.h47 HuffmanTreeToken* tokens, int max_tokens);
Dhuffman_encode_utils.c327 HuffmanTreeToken* tokens, int max_tokens) { in VP8LCreateCompressedHuffmanTree() argument
329 HuffmanTreeToken* const ending_token = tokens + max_tokens; in VP8LCreateCompressedHuffmanTree()
/external/webp/src/enc/
Dvp8l_enc.c591 const int max_tokens = tree->num_symbols; in StoreFullHuffmanCode() local
599 num_tokens = VP8LCreateCompressedHuffmanTree(tree, tokens, max_tokens); in StoreFullHuffmanCode()
780 int max_tokens = 0; in EncodeImageNoHuffman() local
831 if (max_tokens < codes->num_symbols) { in EncodeImageNoHuffman()
832 max_tokens = codes->num_symbols; in EncodeImageNoHuffman()
836 tokens = (HuffmanTreeToken*)WebPSafeMalloc(max_tokens, sizeof(*tokens)); in EncodeImageNoHuffman()
1009 int max_tokens = 0; in EncodeImageInternal() local
1013 if (max_tokens < codes->num_symbols) { in EncodeImageInternal()
1014 max_tokens = codes->num_symbols; in EncodeImageInternal()
1017 tokens = (HuffmanTreeToken*)WebPSafeMalloc(max_tokens, sizeof(*tokens)); in EncodeImageInternal()
/external/libtextclassifier/actions/
Dactions-suggestions.cc716 const int max_tokens, in AllocateInput() argument
746 {conversation_length, max_tokens, token_embedding_size_}); in AllocateInput()
769 int max_tokens = 0; in SetupModelInput() local
782 if (!EmbedTokensPerMessage(tokens, &token_embeddings, &max_tokens)) { in SetupModelInput()
796 if (!AllocateInput(context.size(), max_tokens, total_token_count, in SetupModelInput()
Dactions-suggestions.h188 bool AllocateInput(const int conversation_length, const int max_tokens,
/external/freetype/src/psaux/
Dpsobjs.h91 FT_UInt max_tokens,
Dpsobjs.c731 FT_UInt max_tokens, in ps_parser_to_token_array() argument
747 T1_Token limit = cur + max_tokens; in ps_parser_to_token_array()
/external/freetype/include/freetype/internal/
Dpsaux.h422 FT_UInt max_tokens,