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/
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.size); in NinePixelShader9_GetFunction()
197 info.byte_code = This->byte_code.tokens; in NinePixelShader9_GetVariant()
[all …]
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.size); in NineVertexShader9_GetFunction()
223 info.byte_code = This->byte_code.tokens; in NineVertexShader9_GetVariant()
[all …]
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 & 0xFF… in NinePixelShader9_UpdateKey()
105 if (unlikely(ps->byte_code.version < 0x14)) { in NinePixelShader9_UpdateKey()
114 if (ps->byte_code.version < 0x30) { in NinePixelShader9_UpdateKey()
Dvertexshader9.h50 } byte_code; member
100 if (vs->byte_code.version < 0x30) in NineVertexShader9_UpdateKey()
Dnine_shader.h52 const DWORD *byte_code; /* in, pointer to shader tokens */ member
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()
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()
Dnine_state.c582 if (context->ps->byte_code.version < 0x30 && in prepare_ps_constants_userbuf()
/third_party/jerryscript/jerry-core/parser/js/
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.last_position = 1; in parser_emit_two_bytes()
[all …]
Djs-parser.c384 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.last_p; in parser_post_processing()
992 last_position = context_p->byte_code.last_position; in parser_post_processing()
1000 page_p = context_p->byte_code.first_p; in parser_post_processing()
[all …]
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/
Ddeserializer.cc883 #define CASE_RANGE(byte_code, num_bytecodes) \ argument
885 (VerifyBytecodeCount<byte_code##Count, num_bytecodes>(byte_code)))
886 #define CASE_R1(byte_code) byte_code argument
887 #define CASE_R2(byte_code) CASE_R1(byte_code) : case CASE_R1(byte_code + 1) argument
888 #define CASE_R3(byte_code) CASE_R2(byte_code) : case CASE_R1(byte_code + 2) argument
889 #define CASE_R4(byte_code) CASE_R2(byte_code) : case CASE_R2(byte_code + 2) argument
890 #define CASE_R8(byte_code) CASE_R4(byte_code) : case CASE_R4(byte_code + 4) argument
891 #define CASE_R16(byte_code) CASE_R8(byte_code) : case CASE_R8(byte_code + 8) argument
892 #define CASE_R32(byte_code) CASE_R16(byte_code) : case CASE_R16(byte_code + 16) argument
1267 #define UNUSED_CASE(byte_code) \ in ReadSingleBytecodeData() argument
[all …]