Home
last modified time | relevance | path

Searched refs:gs (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_tgsi_transform.c45 struct svga_geometry_shader *gs) in bind_gs_state() argument
47 svga->curr.gs = gs; in bind_gs_state()
71 struct svga_geometry_shader *gs = NULL; in emulate_point_sprite() local
83 key.gs.writes_psize = 1; in emulate_point_sprite()
84 key.gs.sprite_coord_enable = svga->curr.rast->templ.sprite_coord_enable; in emulate_point_sprite()
86 key.gs.sprite_origin_upper_left = in emulate_point_sprite()
89 key.gs.aa_point = svga->curr.rast->templ.point_smooth; in emulate_point_sprite()
99 key.gs.point_pos_stream_out = pos_out_index != -1; in emulate_point_sprite()
105 gs = (struct svga_geometry_shader *) in emulate_point_sprite()
114 if (!gs) { in emulate_point_sprite()
[all …]
Dsvga_pipe_gs.c44 struct svga_geometry_shader *gs = CALLOC_STRUCT(svga_geometry_shader); in svga_create_gs_state() local
46 if (!gs) in svga_create_gs_state()
51 gs->base.tokens = tgsi_dup_tokens(templ->tokens); in svga_create_gs_state()
55 tgsi_scan_shader(gs->base.tokens, &gs->base.info); in svga_create_gs_state()
57 gs->draw_shader = draw_create_geometry_shader(svga->swtnl.draw, templ); in svga_create_gs_state()
59 gs->base.id = svga->debug.shader_id++; in svga_create_gs_state()
61 gs->generic_outputs = svga_get_generic_outputs_mask(&gs->base.info); in svga_create_gs_state()
65 gs->base.stream_output = svga_create_stream_output(svga, &gs->base, in svga_create_gs_state()
70 return gs; in svga_create_gs_state()
77 struct svga_geometry_shader *gs = (struct svga_geometry_shader *)shader; in svga_bind_gs_state() local
[all …]
Dsvga_state_gs.c53 const struct svga_geometry_shader *gs, in translate_geometry_program() argument
57 return svga_tgsi_vgpu10_translate(svga, &gs->base, key, in translate_geometry_program()
67 struct svga_geometry_shader *gs, in compile_gs() argument
74 variant = translate_geometry_program(svga, gs, key); in compile_gs()
82 FREE((void *) gs->base.tokens); in compile_gs()
83 gs->base.tokens = dummy; in compile_gs()
84 variant = translate_geometry_program(svga, gs, key); in compile_gs()
105 struct svga_geometry_shader *gs = svga->curr.gs; in make_gs_key() local
114 memcpy(key->generic_remap_table, gs->generic_remap_table, in make_gs_key()
115 sizeof(gs->generic_remap_table)); in make_gs_key()
[all …]
/external/toybox/kconfig/
Dutil.c59 struct gstr gs; in str_new() local
60 gs.s = malloc(sizeof(char) * 64); in str_new()
61 gs.len = 16; in str_new()
62 strcpy(gs.s, "\0"); in str_new()
63 return gs; in str_new()
69 struct gstr gs; in str_assign() local
70 gs.s = strdup(s); in str_assign()
71 gs.len = strlen(s) + 1; in str_assign()
72 return gs; in str_assign()
76 void str_free(struct gstr *gs) in str_free() argument
[all …]
/external/u-boot/scripts/kconfig/
Dutil.c83 struct gstr gs; in str_new() local
84 gs.s = xmalloc(sizeof(char) * 64); in str_new()
85 gs.len = 64; in str_new()
86 gs.max_width = 0; in str_new()
87 strcpy(gs.s, "\0"); in str_new()
88 return gs; in str_new()
92 void str_free(struct gstr *gs) in str_free() argument
94 if (gs->s) in str_free()
95 free(gs->s); in str_free()
96 gs->s = NULL; in str_free()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c684 draw->gs.tgsi.sampler, in draw_geometry_shader_prepare()
685 draw->gs.tgsi.image, in draw_geometry_shader_prepare()
686 draw->gs.tgsi.buffer); in draw_geometry_shader_prepare()
695 draw->gs.tgsi.machine = tgsi_exec_machine_create(PIPE_SHADER_GEOMETRY); in draw_gs_init()
696 if (!draw->gs.tgsi.machine) in draw_gs_init()
699 draw->gs.tgsi.machine->Primitives = align_malloc( in draw_gs_init()
701 if (!draw->gs.tgsi.machine->Primitives) in draw_gs_init()
703 memset(draw->gs.tgsi.machine->Primitives, 0, in draw_gs_init()
712 if (draw->gs.tgsi.machine) { in draw_gs_destroy()
713 align_free(draw->gs.tgsi.machine->Primitives); in draw_gs_destroy()
[all …]
Ddraw_gs_tmp.h1 #define FUNC_VARS struct draw_geometry_shader *gs, \
13 const boolean last_vertex_last = !gs->draw->rasterizer->flatshade_first; \
27 #define POINT(i0) gs_point(gs,i0)
28 #define LINE(flags,i0,i1) gs_line(gs,i0,i1)
29 #define TRIANGLE(flags,i0,i1,i2) gs_tri(gs,i0,i1,i2)
30 #define LINE_ADJ(flags,i0,i1,i2,i3) gs_line_adj(gs,i0,i1,i2,i3)
31 #define TRIANGLE_ADJ(flags,i0,i1,i2,i3,i4,i5) gs_tri_adj(gs,i0,i1,i2,i3,i4,i5)
Ddraw_context.c184 draw_geometry_shader_new_instance(draw->gs.geometry_shader); in draw_new_instance()
588 if (draw->gs.geometry_shader) { in draw_get_shader_info()
589 return &draw->gs.geometry_shader->info; in draw_get_shader_info()
706 if (!draw->gs.geometry_shader) in draw_total_gs_outputs()
709 info = &draw->gs.geometry_shader->info; in draw_total_gs_outputs()
729 draw->gs.tgsi.sampler = sampler; in draw_texture_sampler()
747 draw->gs.tgsi.image = image; in draw_image()
765 draw->gs.tgsi.buffer = buffer; in draw_buffer()
827 if (draw->gs.geometry_shader) in draw_current_shader_outputs()
828 return draw->gs.num_gs_outputs; in draw_current_shader_outputs()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/X86/
DI386-64.s49 cmpsb %es:(%rdi), %gs:(%rsi)
53 cmpsl %es:(%rdi), %gs:(%rsi)
57 cmpsq %es:(%rdi), %gs:(%rsi)
61 cmpsw %es:(%rdi), %gs:(%rsi)
97 lodsl %gs:(%rsi), %eax
105 movsb %gs:(%rsi), %es:(%rdi)
141 movsl %gs:(%rsi), %es:(%rdi)
145 movsq %gs:(%rsi), %es:(%rdi)
149 movsw %gs:(%rsi), %es:(%rdi)
249 outsb %gs:(%rsi), %dx
[all …]
/external/harfbuzz_ng/util/
Dhb-shape.cc36 gs (nullptr), in output_buffer_t()
45 gs = g_string_new (nullptr); in init()
92 g_string_set_size (gs, 0); in consume_text()
93 format.serialize_buffer_of_text (buffer, line_no, text, text_len, font, gs); in consume_text()
94 fprintf (options.fp, "%s", gs->str); in consume_text()
98 g_string_set_size (gs, 0); in error()
99 format.serialize_message (line_no, "error", message, gs); in error()
100 fprintf (options.fp, "%s", gs->str); in error()
107 g_string_set_size (gs, 0); in consume_glyphs()
109 output_format, format_flags, gs); in consume_glyphs()
[all …]
Doptions.cc349 GString *gs = g_string_new (nullptr); in parse_unicodes() local
369 g_string_append_unichar (gs, u); in parse_unicodes()
374 text_opts->text_len = gs->len; in parse_unicodes()
375 text_opts->text = g_string_free (gs, FALSE); in parse_unicodes()
775 gs = g_string_new (nullptr); in get_line()
778 g_string_set_size (gs, 0); in get_line()
784 g_string_append_len (gs, buf, bytes); in get_line()
787 g_string_append_len (gs, buf, bytes); in get_line()
792 *len = gs->len; in get_line()
793 return !*len && feof (fp) ? nullptr : gs->str; in get_line()
[all …]
/external/libxml2/
Dglobals.c506 xmlInitializeGlobalState(xmlGlobalStatePtr gs) in xmlInitializeGlobalState() argument
510 (unsigned long) gs, xmlGetThreadId()); in xmlInitializeGlobalState()
522 initdocbDefaultSAXHandler(&gs->docbDefaultSAXHandler); in xmlInitializeGlobalState()
525 inithtmlDefaultSAXHandler(&gs->htmlDefaultSAXHandler); in xmlInitializeGlobalState()
528 gs->oldXMLWDcompatibility = 0; in xmlInitializeGlobalState()
529 gs->xmlBufferAllocScheme = xmlBufferAllocSchemeThrDef; in xmlInitializeGlobalState()
530 gs->xmlDefaultBufferSize = xmlDefaultBufferSizeThrDef; in xmlInitializeGlobalState()
532 initxmlDefaultSAXHandler(&gs->xmlDefaultSAXHandler, 1); in xmlInitializeGlobalState()
534 gs->xmlDefaultSAXLocator.getPublicId = xmlSAX2GetPublicId; in xmlInitializeGlobalState()
535 gs->xmlDefaultSAXLocator.getSystemId = xmlSAX2GetSystemId; in xmlInitializeGlobalState()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dwin_coreclr_chkstk.ll17 ; WIN_X64: movq %gs:16, %rcx
33 ; LINUX-NOT: movq %gs:16, %rcx
44 ; WIN_X64: movq %gs:16, %rcx
46 ; LINUX-NOT: movq %gs:16, %rcx
56 ; WIN_X64: movq %gs:16, %rcx
57 ; LINUX-NOT: movq %gs:16, %rcx
68 ; WIN_X64: movq %gs:16, %rcx
69 ; LINUX-NOT: movq %gs:16, %rcx
79 ; WIN_X64: movq %gs:16, %rcx
80 ; LINUX-NOT: movq %gs:16, %rcx
[all …]
Dshadow-call-stack.mir39 ; CHECK-NEXT: ADD64mi8 $r11, 1, $noreg, 0, $gs, 8, implicit-def $eflags
40 ; CHECK-NEXT: $r11 = MOV64rm $r11, 1, $noreg, 0, $gs
41 ; CHECK-NEXT: MOV64mr $r11, 1, $noreg, 0, $gs, $r10
46 ; CHECK-NEXT: $r10 = MOV64rm $r11, 1, $noreg, 0, $gs
47 ; CHECK-NEXT: $r10 = MOV64rm $r10, 1, $noreg, 0, $gs
48 ; CHECK-NEXT: SUB64mi8 $r11, 1, $noreg, 0, $gs, 8, implicit-def $eflags
134 ; CHECK-NEXT: ADD64mi8 $r11, 1, $noreg, 0, $gs, 8, implicit-def $eflags
135 ; CHECK-NEXT: $r11 = MOV64rm $r11, 1, $noreg, 0, $gs
136 ; CHECK-NEXT: MOV64mr $r11, 1, $noreg, 0, $gs, $r10
141 ; CHECK-NEXT: $r10 = MOV64rm $r11, 1, $noreg, 0, $gs
[all …]
Dgs-fold.ll15 ; Check that we are not assuming that gs contains the address of gs if we are not targeting Linux
16 ; CHECK-FBSD: movq %gs:0, %rax
18 ; Check that we are assuming that gs contains the address of gs if we are targeting Linux
19 ; CHECK-LINUX: movl %gs:8, %eax
Dtls.ll20 ; X86_LINUX: movl %gs:i1@NTPOFF, %eax
33 ; X64_WIN-NEXT: movq %gs:88, %rcx
51 ; X86_LINUX: movl %gs:0, %eax
66 ; X64_WIN-NEXT: movq %gs:88, %rcx
84 ; X86_LINUX-NEXT: movl %gs:(%eax), %eax
98 ; X64_WIN-NEXT: movq %gs:88, %rcx
116 ; X86_LINUX: movl %gs:0, %eax
131 ; X64_WIN-NEXT: movq %gs:88, %rcx
148 ; X86_LINUX: movl %gs:i3@NTPOFF, %eax
161 ; X64_WIN-NEXT: movq %gs:88, %rcx
[all …]
/external/llvm/test/CodeGen/X86/
Dwin_coreclr_chkstk.ll19 ; WIN_X64: movq %gs:16, %rcx
37 ; LINUX-NOT: movq %gs:16, %rcx
49 ; WIN_X64: movq %gs:16, %rcx
51 ; LINUX-NOT: movq %gs:16, %rcx
62 ; WIN_X64: movq %gs:16, %rcx
63 ; LINUX-NOT: movq %gs:16, %rcx
75 ; WIN_X64: movq %gs:16, %rcx
76 ; LINUX-NOT: movq %gs:16, %rcx
86 ; WIN_X64: movq %gs:16, %rcx
87 ; LINUX-NOT: movq %gs:16, %rcx
[all …]
Dgs-fold.ll15 ; Check that we are not assuming that gs contains the address of gs if we are not targeting Linux
16 ; CHECK-FBSD: movq %gs:0, %rax
18 ; Check that we are assuming that gs contains the address of gs if we are targeting Linux
19 ; CHECK-LINUX: movl %gs:8, %eax
Dtls.ll20 ; X32_LINUX: movl %gs:i1@NTPOFF, %eax
33 ; X64_WIN-NEXT: movq %gs:88, %rcx
51 ; X32_LINUX: movl %gs:0, %eax
66 ; X64_WIN-NEXT: movq %gs:88, %rcx
84 ; X32_LINUX-NEXT: movl %gs:(%eax), %eax
98 ; X64_WIN-NEXT: movq %gs:88, %rcx
116 ; X32_LINUX: movl %gs:0, %eax
131 ; X64_WIN-NEXT: movq %gs:88, %rcx
148 ; X32_LINUX: movl %gs:i3@NTPOFF, %eax
161 ; X64_WIN-NEXT: movq %gs:88, %rcx
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_gs.c80 llvmpipe_bind_gs_state(struct pipe_context *pipe, void *gs) in llvmpipe_bind_gs_state() argument
84 llvmpipe->gs = (struct lp_geometry_shader *)gs; in llvmpipe_bind_gs_state()
87 (llvmpipe->gs ? llvmpipe->gs->dgs : NULL)); in llvmpipe_bind_gs_state()
94 llvmpipe_delete_gs_state(struct pipe_context *pipe, void *gs) in llvmpipe_delete_gs_state() argument
99 (struct lp_geometry_shader *)gs; in llvmpipe_delete_gs_state()
/external/bzip2/
Dcompress.c241 Int32 v, t, i, j, gs, ge, totc, bt, bc, iter; in sendMTFValues() local
285 gs = 0; in sendMTFValues()
288 ge = gs-1; in sendMTFValues()
295 if (ge > gs in sendMTFValues()
305 nPart, gs, ge, aFreq, in sendMTFValues()
309 if (v >= gs && v <= ge) in sendMTFValues()
314 gs = ge+1; in sendMTFValues()
344 gs = 0; in sendMTFValues()
348 if (gs >= s->nMTF) break; in sendMTFValues()
349 ge = gs + BZ_G_SIZE - 1; in sendMTFValues()
[all …]
/external/u-boot/lib/bzip2/
Dbzlib_compress.c281 Int32 v, t, i, j, gs, ge, totc, bt, bc, iter; in sendMTFValues() local
326 gs = 0; in sendMTFValues()
329 ge = gs-1; in sendMTFValues()
336 if (ge > gs in sendMTFValues()
346 nPart, gs, ge, aFreq, in sendMTFValues()
350 if (v >= gs && v <= ge) in sendMTFValues()
355 gs = ge+1; in sendMTFValues()
385 gs = 0; in sendMTFValues()
389 if (gs >= s->nMTF) break; in sendMTFValues()
390 ge = gs + BZ_G_SIZE - 1; in sendMTFValues()
[all …]
/external/clang/test/CodeGen/
Dno-opt-volatile-memcpy.c9 struct s gs; variable
14 gs = gs; in foo()
15 ls = gs; in foo()
35 s.y = gs; in fee()
/external/clang/test/CodeGenCXX/
Dno-opt-volatile-memcpy.cpp9 struct s gs; variable
14 gs = gs; in foo()
15 ls = gs; in foo()
35 s.y = gs; in fee()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_gs_surface_state.c41 struct brw_stage_state *stage_state = &brw->gs.base; in brw_upload_gs_pull_constants()
51 const struct brw_stage_prog_data *prog_data = brw->gs.base.prog_data; in brw_upload_gs_pull_constants()
79 struct brw_stage_prog_data *prog_data = brw->gs.base.prog_data; in brw_upload_gs_ubo_surfaces()
81 brw_upload_ubo_surfaces(brw, prog, &brw->gs.base, prog_data); in brw_upload_gs_ubo_surfaces()
102 brw_upload_image_surfaces(brw, gp, &brw->gs.base, in brw_upload_gs_image_surfaces()
103 brw->gs.base.prog_data); in brw_upload_gs_image_surfaces()

12345678910>>...28