Home
last modified time | relevance | path

Searched refs:byte_code (Results 1 - 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/nine/
H A Dpixelshader9.c56 info.byte_code = pFunction; in NinePixelShader9_ctor()
75 This->byte_code.version = info.version; in NinePixelShader9_ctor()
77 This->byte_code.tokens = mem_dup(pFunction, info.byte_size); in NinePixelShader9_ctor()
78 if (!This->byte_code.tokens) in NinePixelShader9_ctor()
80 This->byte_code.size = info.byte_size; in NinePixelShader9_ctor()
145 FREE((void *)This->byte_code.tokens); /* const_cast */ in NinePixelShader9_dtor()
160 *pSizeOfData = This->byte_code.size; in NinePixelShader9_GetFunction()
163 user_assert(*pSizeOfData >= This->byte_code.size, D3DERR_INVALIDCALL); in NinePixelShader9_GetFunction()
165 memcpy(pData, This->byte_code.tokens, This->byte_code in NinePixelShader9_GetFunction()
[all...]
H A Dvertexshader9.c61 info.byte_code = pFunction; in NineVertexShader9_ctor()
89 This->byte_code.version = info.version; in NineVertexShader9_ctor()
92 This->byte_code.tokens = mem_dup(pFunction, info.byte_size); in NineVertexShader9_ctor()
93 if (!This->byte_code.tokens) in NineVertexShader9_ctor()
95 This->byte_code.size = info.byte_size; in NineVertexShader9_ctor()
170 FREE((void *)This->byte_code.tokens); /* const_cast */ in NineVertexShader9_dtor()
186 *pSizeOfData = This->byte_code.size; in NineVertexShader9_GetFunction()
189 user_assert(*pSizeOfData >= This->byte_code.size, D3DERR_INVALIDCALL); in NineVertexShader9_GetFunction()
191 memcpy(pData, This->byte_code.tokens, This->byte_code in NineVertexShader9_GetFunction()
[all...]
H A Dpixelshader9.h44 } byte_code; member
90 if (unlikely(ps->byte_code.version < 0x20)) { in NinePixelShader9_UpdateKey()
103 assert((ps->byte_code.version < 0x14 && !(ps->sampler_mask & 0xFFF0)) || !(ps->sampler_mask & 0xFFC0)); in NinePixelShader9_UpdateKey()
105 if (unlikely(ps->byte_code.version < 0x14)) { in NinePixelShader9_UpdateKey()
114 if (ps->byte_code.version < 0x30) { in NinePixelShader9_UpdateKey()
H A Dvertexshader9.h50 } byte_code; member
100 if (vs->byte_code.version < 0x30) in NineVertexShader9_UpdateKey()
H A Dnine_shader.h52 const DWORD *byte_code; /* in, pointer to shader tokens */ member
53 DWORD byte_size; /* out, size of data at byte_code */
H A Dnine_shader.c436 const DWORD *byte_code; member
3567 tx->byte_code = info->byte_code; in tx_ctor()
3568 tx->parse = info->byte_code; in tx_ctor()
4163 info->byte_size = (tx->parse - tx->byte_code) * sizeof(DWORD); in nine_translate_shader()
H A Ddevice9.c3248 user_assert(vdecl || (vs->byte_code.version < 0x30 && dst->desc.FVF), in NineDevice9_ProcessVertices()
3272 user_assert(vs->byte_code.version == 0x30, in NineDevice9_ProcessVertices()
H A Dnine_state.c582 if (context->ps->byte_code.version < 0x30 && in prepare_ps_constants_userbuf()
/third_party/jerryscript/jerry-core/parser/js/
H A Djs-parser-util.c46 uint32_t last_position = context_p->byte_code.last_position; in parser_emit_two_bytes()
50 parser_mem_page_t *page_p = context_p->byte_code.last_p; in parser_emit_two_bytes()
54 context_p->byte_code.last_position = last_position + 2; in parser_emit_two_bytes()
60 parser_cbc_stream_alloc_page (context_p, &context_p->byte_code); in parser_emit_two_bytes()
61 page_p = context_p->byte_code.last_p; in parser_emit_two_bytes()
64 context_p->byte_code.last_position = 2; in parser_emit_two_bytes()
68 context_p->byte_code.last_p->bytes[PARSER_CBC_STREAM_PAGE_SIZE - 1] = first_byte; in parser_emit_two_bytes()
69 parser_cbc_stream_alloc_page (context_p, &context_p->byte_code); in parser_emit_two_bytes()
70 context_p->byte_code.last_p->bytes[0] = second_byte; in parser_emit_two_bytes()
71 context_p->byte_code in parser_emit_two_bytes()
[all...]
H A Djs-parser.c287 * Let's assume that each parser_mem_page of the byte_code
384 parser_mem_page_t *page_p = context_p->byte_code.first_p; in parse_update_branches()
386 parser_mem_page_t *last_page_p = context_p->byte_code.last_p; in parse_update_branches()
387 size_t last_position = context_p->byte_code.last_position; in parse_update_branches()
500 JERRY_ASSERT (last_page_p == context_p->byte_code.last_p); in parse_update_branches()
505 last_page_p = context_p->byte_code.last_p; in parse_update_branches()
508 context_p->byte_code.last_p = context_p->byte_code.first_p; in parse_update_branches()
509 context_p->byte_code.first_p = last_page_p; in parse_update_branches()
991 last_page_p = context_p->byte_code in parser_post_processing()
[all...]
H A Djs-parser-internal.h470 parser_mem_data_t byte_code; /**< byte code buffer */ member
540 parser_mem_data_t byte_code; /**< byte code buffer */ member
/third_party/node/deps/v8/src/snapshot/
H A Ddeserializer.cc887 // Use as "case CASE_RANGE(byte_code, num_bytecodes):"
888 #define CASE_RANGE(byte_code, num_bytecodes) \
890 (VerifyBytecodeCount<byte_code##Count, num_bytecodes>(byte_code)))
891 #define CASE_R1(byte_code) byte_code
892 #define CASE_R2(byte_code) CASE_R1(byte_code) : case CASE_R1(byte_code + 1)
893 #define CASE_R3(byte_code) CASE_R
[all...]

Completed in 24 milliseconds