Home
last modified time | relevance | path

Searched refs:num_tokens (Results 1 - 13 of 13) sorted by relevance

/third_party/alsa-lib/src/topology/
H A Ddata.c519 for (i = 0; i < tokens->num_tokens; i++) { in get_token_value()
1044 int num_tokens = 0, value; in tplg_parse_tokens() local
1051 num_tokens++; in tplg_parse_tokens()
1054 if (!num_tokens) in tplg_parse_tokens()
1057 tplg_dbg(" Vendor tokens: %s, %d tokens", elem->id, num_tokens); in tplg_parse_tokens()
1060 + num_tokens * sizeof(struct tplg_token)); in tplg_parse_tokens()
1074 snd_strlcpy(tokens->token[tokens->num_tokens].id, id, in tplg_parse_tokens()
1076 tokens->token[tokens->num_tokens].value = value; in tplg_parse_tokens()
1077 tplg_dbg("\t\t %s : %d", tokens->token[tokens->num_tokens].id, in tplg_parse_tokens()
1078 tokens->token[tokens->num_tokens] in tplg_parse_tokens()
[all...]
H A Dtplg_local.h125 unsigned int num_tokens; member
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_text.h43 uint num_tokens );
H A Dtgsi_parse.h151 tgsi_alloc_tokens(unsigned num_tokens);
H A Dtgsi_parse.c291 * Allocate memory for num_tokens tokens.
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()
H A Dtgsi_dump.c243 unsigned num_tokens, in dump_imm_data()
251 assert( num_tokens <= 4 ); in dump_imm_data()
252 for (i = 0; i < num_tokens; i++) { in dump_imm_data()
291 if (i < num_tokens - 1) in dump_imm_data()
241 dump_imm_data(struct tgsi_iterate_context *iter, union tgsi_immediate_data *data, unsigned num_tokens, unsigned data_type) dump_imm_data() argument
H A Dtgsi_scan.h45 uint num_tokens; member
H A Dtgsi_text.c1897 uint num_tokens ) in tgsi_text_translate()
1905 ctx.tokens_end = tokens + num_tokens; in tgsi_text_translate()
H A Dtgsi_scan.c890 info->num_tokens = tgsi_num_tokens(parse.Tokens); in tgsi_scan_shader()
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_serialize.cpp35 unsigned int num_tokens = tgsi_num_tokens(tokens); in nv50_ir_prog_info_serialize() local
37 blob_write_uint32(blob, num_tokens); in nv50_ir_prog_info_serialize()
38 blob_write_bytes(blob, tokens, num_tokens * sizeof(struct tgsi_token)); in nv50_ir_prog_info_serialize()
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dvp8l_enc.c804 const HuffmanTreeToken* const tokens, const int num_tokens, in StoreHuffmanTreeToBitMask()
807 for (i = 0; i < num_tokens; ++i) { in StoreHuffmanTreeToBitMask()
833 int num_tokens; in StoreFullHuffmanCode() local
840 num_tokens = VP8LCreateCompressedHuffmanTree(tree, tokens, max_tokens); in StoreFullHuffmanCode()
845 for (i = 0; i < num_tokens; ++i) { in StoreFullHuffmanCode()
856 int trimmed_length = num_tokens; in StoreFullHuffmanCode()
859 int i = num_tokens; in StoreFullHuffmanCode()
875 length = write_trimmed_length ? trimmed_length : num_tokens; in StoreFullHuffmanCode()
802 StoreHuffmanTreeToBitMask( VP8LBitWriter* const bw, const HuffmanTreeToken* const tokens, const int num_tokens, const HuffmanTreeCode* const huffman_code) StoreHuffmanTreeToBitMask() argument
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_encode.c487 uint32_t num_tokens) in virgl_emit_shader_header()
493 virgl_encoder_write_dword(ctx->cbuf, num_tokens); in virgl_emit_shader_header()
534 int num_tokens = tgsi_num_tokens(tokens); in virgl_encode_shader_state() local
570 num_tokens++; in virgl_encode_shader_state()
596 virgl_emit_shader_header(ctx, handle, len, type, offlen, num_tokens); in virgl_encode_shader_state()
484 virgl_emit_shader_header(struct virgl_context *ctx, uint32_t handle, uint32_t len, uint32_t type, uint32_t offlen, uint32_t num_tokens) virgl_emit_shader_header() argument
/third_party/mesa3d/src/gallium/auxiliary/nir/
H A Dnir_to_tgsi_info.c414 info->num_tokens = 2; /* indicate that the shader is non-empty */ in nir_tgsi_scan_shader()

Completed in 17 milliseconds