Home
last modified time | relevance | path

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

/dports/textproc/xmlcatmgr/xmlcatmgr-2.2/src/
H A Dgrstr.c66 gs->gs_text = (char *)malloc(GRSTR_MINSIZE); in grstr_new()
67 if (gs->gs_text == NULL) { in grstr_new()
88 assert(gs != NULL && gs->gs_text != NULL); in grstr_free()
90 free(gs->gs_text); in grstr_free()
107 text = gs->gs_text; in grstr_to_text()
131 if ((nt = (char *)realloc(gs->gs_text, nl)) == NULL) { in grstr_append_char()
135 gs->gs_text = nt; in grstr_append_char()
137 gs->gs_text[gs->gs_len++] = ch; in grstr_append_char()
138 gs->gs_text[gs->gs_len] = '\0'; in grstr_append_char()
142 gs->gs_text[gs->gs_len++] = ch; in grstr_append_char()
[all …]
H A Dgrstr.h38 char *gs_text; member
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_transform_feedback_overflow_query/
H A Dbasic.c97 build_and_use_program(const char *gs_text, const char **gs_varyings, in build_and_use_program() argument
102 if (program_in_use == gs_text) in build_and_use_program()
107 GL_GEOMETRY_SHADER, gs_text, 0); in build_and_use_program()
120 program_in_use = gs_text; in build_and_use_program()
248 const char *gs_text; in run_subtest() local
262 gs_text = gs_overflow_multi; in run_subtest()
266 gs_text = gs_overflow_single; in run_subtest()
271 if (!build_and_use_program(gs_text, gs_varyings, varyings_size)) { in run_subtest()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_geometry_shader4/execution/program-parameter/
H A Dcommon.h69 static const char gs_text[] = variable
88 create_shader(const char *const vs_text, const char *const gs_text, in create_shader() argument
98 gs = piglit_compile_shader_text(GL_GEOMETRY_SHADER, gs_text); in create_shader()
H A Dinput-type.c58 prog = create_shader(vs_text, gs_text, fs_text); in piglit_init()
H A Doutput-type.c78 prog = create_shader(vs_text, gs_text, fs_text); in piglit_init()
H A Dinput-type-draw.c108 prog = create_shader(vs_text, gs_text, fs_text); in piglit_init()
H A Dvertices-out.c235 gs_string = gs_text; in piglit_init()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/glsl-1.50/execution/geometry/
H A Dprimitive-id-restart.c154 char *gs_text; in piglit_init() local
187 (void)!asprintf(&gs_text, gs_template, input_layout); in piglit_init()
188 gs = piglit_compile_shader_text(GL_GEOMETRY_SHADER, gs_text); in piglit_init()
189 free(gs_text); in piglit_init()
H A Dtri-strip-ordering-with-prim-restart.c181 char *gs_text; in piglit_init() local
210 (void)!asprintf(&gs_text, gs_template, test->input_layout, in piglit_init()
212 gs = piglit_compile_shader_text(GL_GEOMETRY_SHADER, gs_text); in piglit_init()
213 free(gs_text); in piglit_init()
H A Dprimitive-types.c381 char *gs_text; in piglit_init() local
401 (void)!asprintf(&gs_text, gs_template, test->input_layout, in piglit_init()
403 gs = piglit_compile_shader_text(GL_GEOMETRY_SHADER, gs_text); in piglit_init()
404 free(gs_text); in piglit_init()
H A Dgs-max-output.cpp129 static const char gs_text[] = variable
263 if (asprintf(&text, gs_text, tc->num_invocations, tc->num_outputs, in add_testcase()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_gpu_shader5/execution/
H A Dxfb-streams-without-invocations.c109 char *gs_text; in build_glsl_program() local
114 &gs_text, NULL)) in build_glsl_program()
121 free(gs_text); in build_glsl_program()
128 GL_GEOMETRY_SHADER, gs_text, 0); in build_glsl_program()
133 free(gs_text); in build_glsl_program()
H A Dxfb-streams.c150 char *gs_text; in build_and_use_program() local
152 (void)!asprintf(&gs_text, gs_template, gs_invocation_n); in build_and_use_program()
155 GL_GEOMETRY_SHADER, gs_text, 0); in build_and_use_program()
156 free(gs_text); in build_and_use_program()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_transform_feedback3/
H A Dext_interleaved_two_bufs.c131 char *gs_text; in build_and_use_program() local
133 (void)!asprintf(&gs_text, gs_text_two_sets_tmpl, gs_invocation_n); in build_and_use_program()
136 GL_GEOMETRY_SHADER, gs_text, 0); in build_and_use_program()
137 free(gs_text); in build_and_use_program()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_enhanced_layouts/
H A Dtransform-feedback-layout-qualifiers.c197 char *gs_text; in build_and_use_program() local
199 (void)!asprintf(&gs_text, gs_text_two_sets_tmpl, gs_invocation_n); in build_and_use_program()
202 GL_GEOMETRY_SHADER, gs_text, 0); in build_and_use_program()
203 free(gs_text); in build_and_use_program()
H A Dgs-stream-location-aliasing.c49 static const char gs_text[] = variable
82 GL_GEOMETRY_SHADER, gs_text, 0); in build_and_use_program()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_gpu_shader5/linker/
H A Dtf-wrong-stream-value.c55 static const char gs_text[] = variable
90 GL_GEOMETRY_SHADER, gs_text, 0); in piglit_init()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/shaders/
H A Dcreateshaderprogram-bad-type.c43 static const char gs_text[] = variable
128 pass = try_CreateShaderProgram(GL_GEOMETRY_SHADER_ARB, gs_text, expect) in piglit_init()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_geometry_shader4/execution/
H A Dvertices-in.c49 static const char *gs_text = variable
92 gs = piglit_compile_shader_text(GL_GEOMETRY_SHADER, gs_text); in piglit_init()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_program_interface_query/
H A Dcompare-with-shader-subroutine.c149 static const char *gs_text = { variable
266 GL_GEOMETRY_SHADER, gs_text, in create_program()
H A Dresource-query.c336 const char *gs_text; member
678 GL_GEOMETRY_SHADER, st.gs_text, in run_subtest()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/gl-3.2/
H A Dadj-prims.c503 const char *gs_text; in make_gs_program() local
509 gs_text = gs_text_lines; in make_gs_program()
513 gs_text = gs_text_triangles; in make_gs_program()
522 GL_GEOMETRY_SHADER, gs_text, in make_gs_program()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_gpu_shader_fp64/execution/
H A Dgs-getuniformdv.c51 static const char gs_text[] = variable
227 GL_GEOMETRY_SHADER, gs_text, in piglit_init()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_tessellation_shader/
H A Dtes-gs-max-output.cpp211 static const char gs_text[] = variable
382 if (asprintf(&text, gs_text, tc->num_invocations, tc->num_outputs, in add_testcase()