/external/jsmn/ |
D | jsmn.c | 9 jsmntok_t *tokens, size_t num_tokens) { in jsmn_alloc_token() argument 11 if (parser->toknext >= num_tokens) { in jsmn_alloc_token() 38 size_t len, jsmntok_t *tokens, size_t num_tokens) { in jsmn_parse_primitive() argument 70 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_primitive() 87 size_t len, jsmntok_t *tokens, size_t num_tokens) { in jsmn_parse_string() argument 103 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_string() 154 jsmntok_t *tokens, unsigned int num_tokens) { in jsmn_parse() argument 171 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse() 231 r = jsmn_parse_string(parser, js, len, tokens, num_tokens); in jsmn_parse() 248 r = jsmn_parse_primitive(parser, js, len, tokens, num_tokens); in jsmn_parse()
|
D | jsmn_test.c | 450 int i, r, num_tokens; in test_jwk() local 473 num_tokens = jsmn_parse(&p, js, strlen(js), NULL, 0); in test_jwk() 474 printf("num_tokens=%d, len=%lu\n", num_tokens, strlen(js)); in test_jwk() 476 unsigned int tokens_size = num_tokens * sizeof(jsmntok_t); in test_jwk() 479 printf("!!! failed to alloc for %d tokens, size=%u\n", num_tokens, in test_jwk() 485 r = jsmn_parse(&p, js, strlen(js), tokens, num_tokens); in test_jwk() 487 for (i = 0; i < num_tokens; ++i) { in test_jwk()
|
D | jsmn.h | 67 jsmntok_t *tokens, unsigned int num_tokens);
|
/external/tensorflow/tensorflow/python/training/ |
D | sync_replicas_optimizer.py | 404 def get_init_tokens_op(self, num_tokens=-1): argument 429 if num_tokens == -1: 430 num_tokens = self._replicas_to_aggregate 431 elif num_tokens < tokens_needed: 434 (num_tokens, tokens_needed)) 436 if num_tokens > 0: 438 tokens = array_ops.fill([num_tokens], self._global_step) 445 def make_session_run_hook(self, is_chief, num_tokens=-1): argument 447 return _SyncReplicasOptimizerHook(self, is_chief, num_tokens) 453 def __init__(self, sync_optimizer, is_chief, num_tokens): argument [all …]
|
D | sync_replicas_optimizer_test.py | 70 is_chief, num_tokens=num_workers)
|
/external/tensorflow/tensorflow/contrib/gan/python/features/python/ |
D | conditioning_utils_impl.py | 78 num_tokens = one_hot.shape[1] 81 'embedding', [num_tokens, embedding_size])
|
/external/autotest/client/site_tests/platform_Pkcs11Events/ |
D | platform_Pkcs11Events.py | 13 def run_once(self, num_tokens, num_events): argument 15 token_list = ['/tmp/chaps%d' % x for x in range(num_tokens)]
|
D | control.regression | 19 job.run_test('platform_Pkcs11Events', num_tokens=7, num_events=200)
|
D | control | 19 job.run_test('platform_Pkcs11Events', num_tokens=2, num_events=20)
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_vs.c | 55 unsigned num_tokens; in get_dummy_vertex_shader() local 66 tokens = ureg_get_tokens(ureg, &num_tokens); in get_dummy_vertex_shader() 267 unsigned num_tokens; in compile_passthrough_vs() local 316 new_vs.base.tokens = ureg_get_tokens(ureg, &num_tokens); in compile_passthrough_vs()
|
D | svga_state_fs.c | 64 unsigned num_tokens; in get_dummy_fragment_shader() local 75 tokens = ureg_get_tokens(ureg, &num_tokens); in get_dummy_fragment_shader()
|
/external/tensorflow/tensorflow/tools/api/golden/ |
D | tensorflow.train.-sync-replicas-optimizer.pbtxt | 38 argspec: "args=[\'self\', \'num_tokens\'], varargs=None, keywords=None, defaults=[\'-1\'], " 54 …argspec: "args=[\'self\', \'is_chief\', \'num_tokens\'], varargs=None, keywords=None, defaults=[\'…
|
/external/libtextclassifier/ |
D | cached-features_test.cc | 40 std::unique_ptr<std::vector<float>> MakeFeatures(int num_tokens) { in MakeFeatures() argument 42 for (int i = 1; i <= num_tokens; ++i) { in MakeFeatures()
|
D | text-classifier.h | 279 bool ModelChunk(int num_tokens, const TokenSpan& span_of_interest, 288 int num_tokens, const TokenSpan& span_of_interest, 297 int num_tokens, const TokenSpan& span_of_interest,
|
D | text-classifier.cc | 1296 bool TextClassifier::ModelChunk(int num_tokens, in ModelChunk() argument 1310 {0, num_tokens}); in ModelChunk() 1318 num_tokens, span_of_interest, inference_span, cached_features, in ModelChunk() 1323 if (!ModelClickContextScoreChunks(num_tokens, span_of_interest, in ModelChunk() 1382 int num_tokens, const TokenSpan& span_of_interest, in ModelClickContextScoreChunks() argument 1436 if (candidate_span.first >= 0 && candidate_span.second <= num_tokens) { in ModelClickContextScoreChunks() 1453 int num_tokens, const TokenSpan& span_of_interest, in ModelBoundsSensitiveScoreChunks() argument
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_text.h | 43 uint num_tokens );
|
D | tgsi_parse.c | 294 tgsi_alloc_tokens(unsigned num_tokens) in tgsi_alloc_tokens() argument 296 unsigned bytes = num_tokens * sizeof(struct tgsi_token); in tgsi_alloc_tokens()
|
D | tgsi_parse.h | 152 tgsi_alloc_tokens(unsigned num_tokens);
|
D | tgsi_dump.c | 239 unsigned num_tokens, in dump_imm_data() argument 247 assert( num_tokens <= 4 ); in dump_imm_data() 248 for (i = 0; i < num_tokens; i++) { in dump_imm_data() 287 if (i < num_tokens - 1) in dump_imm_data()
|
D | tgsi_scan.h | 45 uint num_tokens; member
|
D | tgsi_text.c | 1912 uint num_tokens ) in tgsi_text_translate() argument 1920 ctx.tokens_end = tokens + num_tokens; in tgsi_text_translate()
|
/external/webp/src/enc/ |
D | vp8l_enc.c | 565 const HuffmanTreeToken* const tokens, const int num_tokens, in StoreHuffmanTreeToBitMask() argument 568 for (i = 0; i < num_tokens; ++i) { in StoreHuffmanTreeToBitMask() 594 int num_tokens; in StoreFullHuffmanCode() local 601 num_tokens = VP8LCreateCompressedHuffmanTree(tree, tokens, max_tokens); in StoreFullHuffmanCode() 606 for (i = 0; i < num_tokens; ++i) { in StoreFullHuffmanCode() 617 int trimmed_length = num_tokens; in StoreFullHuffmanCode() 620 int i = num_tokens; in StoreFullHuffmanCode() 636 length = write_trimmed_length ? trimmed_length : num_tokens; in StoreFullHuffmanCode()
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_encode.c | 202 uint32_t num_tokens) in virgl_emit_shader_header() argument 208 virgl_encoder_write_dword(ctx->cbuf, num_tokens); in virgl_emit_shader_header() 248 int num_tokens = tgsi_num_tokens(tokens); in virgl_encode_shader_state() local 298 virgl_emit_shader_header(ctx, handle, len, type, offlen, num_tokens); in virgl_encode_shader_state()
|
/external/tensorflow/tensorflow/contrib/gan/python/ |
D | train_test.py | 776 g_sync_init_op = g_opt.get_init_tokens_op(num_tokens=1) 777 d_sync_init_op = d_opt.get_init_tokens_op(num_tokens=1)
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 3587 unsigned num_tokens; in perform_token_annotation() local 3670 clang_tokenize(TU, range, &tokens, &num_tokens); in perform_token_annotation() 3677 cursors = (CXCursor *)malloc(num_tokens * sizeof(CXCursor)); in perform_token_annotation() 3678 clang_annotateTokens(TU, tokens, num_tokens, cursors); in perform_token_annotation() 3698 for (i = 0; i != num_tokens; ++i) { in perform_token_annotation() 3725 clang_disposeTokens(TU, tokens, num_tokens); in perform_token_annotation()
|