Home
last modified time | relevance | path

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

12

/third_party/libunwind/src/mi/
DGset_cache_size.c33 unsigned short log_size = 0; in unw_set_cache_size() local
51 log_size++; in unw_set_cache_size()
53 if (log_size >= 15) in unw_set_cache_size()
58 if (log_size == as->global_cache.log_size) in unw_set_cache_size()
61 as->global_cache.log_size = log_size; in unw_set_cache_size()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cES31CompatibilityTests.cpp123 glw::GLint log_size = 0; in iterate() local
125 gl.getShaderiv(shader, GL_INFO_LOG_LENGTH, &log_size); in iterate()
129 if (log_size) in iterate()
131 glw::GLchar* log = new glw::GLchar[log_size]; in iterate()
135 memset(log, 0, log_size); in iterate()
137 gl.getShaderInfoLog(shader, log_size, DE_NULL, log); in iterate()
409 glw::GLint log_size = 0; in createProgram() local
411 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in createProgram()
415 if (log_size) in createProgram()
417 glw::GLchar* log = new glw::GLchar[log_size]; in createProgram()
[all …]
Dgl4cIncompleteTextureAccessTests.cpp208 glw::GLint log_size = 0; in PrepareProgram() local
209 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
212 glw::GLchar* log_text = new glw::GLchar[log_size]; in PrepareProgram()
214 gl.getShaderInfoLog(shader[i].id, log_size, NULL, &log_text[0]); in PrepareProgram()
260 glw::GLint log_size = 0; in PrepareProgram() local
262 gl.getProgramiv(m_po, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
266 glw::GLchar* log_text = new glw::GLchar[log_size]; in PrepareProgram()
268 gl.getProgramInfoLog(m_po, log_size, NULL, &log_text[0]); in PrepareProgram()
Dgl4cDirectStateAccessVertexArraysTests.cpp358 glw::GLint log_size = 0; in BuildProgram() local
359 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in BuildProgram()
362 glw::GLchar* log_text = new glw::GLchar[log_size]; in BuildProgram()
364 gl.getShaderInfoLog(shader[i].id, log_size, NULL, &log_text[0]); in BuildProgram()
421 glw::GLint log_size = 0; in BuildProgram() local
423 gl.getProgramiv(po, GL_INFO_LOG_LENGTH, &log_size); in BuildProgram()
427 glw::GLchar* log_text = new glw::GLchar[log_size]; in BuildProgram()
429 gl.getProgramInfoLog(po, log_size, NULL, &log_text[0]); in BuildProgram()
924 glw::GLint log_size = 0; in PrepareProgram() local
925 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
[all …]
Dgl4cDirectStateAccessProgramPipelinesTests.cpp339 glw::GLsizei log_size = 0; in testProgramPipelineInfoLog() local
342 gl.getProgramPipelineInfoLog(m_program_pipeline_dsa, max_log_size, &log_size, log); in testProgramPipelineInfoLog()
348 if (0 != log_size) in testProgramPipelineInfoLog()
654 glw::GLsizei log_size = 0; in prepareShaderPrograms() local
656 gl.getProgramInfoLog(m_spo_v, max_log_size, &log_size, log); in prepareShaderPrograms()
683 glw::GLsizei log_size = 0; in prepareShaderPrograms() local
685 gl.getProgramInfoLog(m_spo_f, max_log_size, &log_size, log); in prepareShaderPrograms()
Dgl4cDirectStateAccessSamplersTests.cpp650 glw::GLint log_size = 0; in prepareProgram() local
651 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in prepareProgram()
654 glw::GLchar* log_text = new glw::GLchar[log_size]; in prepareProgram()
656 gl.getShaderInfoLog(shader[i].id, log_size, NULL, &log_text[0]); in prepareProgram()
699 glw::GLint log_size = 0; in prepareProgram() local
701 gl.getProgramiv(m_po, GL_INFO_LOG_LENGTH, &log_size); in prepareProgram()
705 glw::GLchar* log_text = new glw::GLchar[log_size]; in prepareProgram()
707 gl.getProgramInfoLog(m_po, log_size, NULL, &log_text[0]); in prepareProgram()
Dgl3cClipDistance.cpp1299 glw::GLint log_size = 0; in compileShader() local
1301 m_gl.getShaderiv(shader.shader_id, GL_INFO_LOG_LENGTH, &log_size); in compileShader()
1305 if (log_size) in compileShader()
1307 glw::GLchar* log = new glw::GLchar[log_size]; in compileShader()
1311 memset(log, 0, log_size); in compileShader()
1313 m_gl.getShaderInfoLog(shader.shader_id, log_size, DE_NULL, log); in compileShader()
1395 glw::GLint log_size = 0; in linkShaders() local
1397 m_gl.getProgramiv(program.program_id, GL_INFO_LOG_LENGTH, &log_size); in linkShaders()
1401 if (log_size) in linkShaders()
1403 glw::GLchar* log = new glw::GLchar[log_size]; in linkShaders()
[all …]
Dgl4cDirectStateAccessXFBTests.cpp1744 glw::GLint log_size = 0; in prepareProgram() local
1745 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in prepareProgram()
1748 glw::GLchar* log_text = new glw::GLchar[log_size]; in prepareProgram()
1750 gl.getShaderInfoLog(shader[i].id, log_size, NULL, &log_text[0]); in prepareProgram()
1797 glw::GLint log_size = 0; in prepareProgram() local
1799 gl.getProgramiv(m_po, GL_INFO_LOG_LENGTH, &log_size); in prepareProgram()
1803 glw::GLchar* log_text = new glw::GLchar[log_size]; in prepareProgram()
1805 gl.getProgramInfoLog(m_po, log_size, NULL, &log_text[0]); in prepareProgram()
Dgl4cDirectStateAccessQueriesTests.cpp1816 glw::GLint log_size = 0; in prepareProgram() local
1817 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in prepareProgram()
1820 glw::GLchar* log_text = new glw::GLchar[log_size]; in prepareProgram()
1822 gl.getShaderInfoLog(shader[i].id, log_size, NULL, &log_text[0]); in prepareProgram()
1869 glw::GLint log_size = 0; in prepareProgram() local
1871 gl.getProgramiv(m_po, GL_INFO_LOG_LENGTH, &log_size); in prepareProgram()
1875 glw::GLchar* log_text = new glw::GLchar[log_size]; in prepareProgram()
1877 gl.getProgramInfoLog(m_po, log_size, NULL, &log_text[0]); in prepareProgram()
Dgl3cTextureSizePromotion.cpp1481 glw::GLint log_size = 0; in buildProgram() local
1482 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in buildProgram()
1485 glw::GLchar* log_text = new glw::GLchar[log_size]; in buildProgram()
1487 gl.getShaderInfoLog(shader[i].id, log_size, NULL, &log_text[0]); in buildProgram()
1528 glw::GLint log_size = 0; in buildProgram() local
1530 gl.getProgramiv(program, GL_INFO_LOG_LENGTH, &log_size); in buildProgram()
1534 glw::GLchar* log_text = new glw::GLchar[log_size]; in buildProgram()
1536 gl.getProgramInfoLog(program, log_size, NULL, &log_text[0]); in buildProgram()
Dgl4cDirectStateAccessTexturesTests.cpp947 glw::GLint log_size = 0; in PrepareProgram() local
948 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
951 glw::GLchar* log_text = new glw::GLchar[log_size]; in PrepareProgram()
953 gl.getShaderInfoLog(shader[i].id, log_size, NULL, &log_text[0]); in PrepareProgram()
997 glw::GLint log_size = 0; in PrepareProgram() local
999 gl.getProgramiv(m_po, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
1003 glw::GLchar* log_text = new glw::GLchar[log_size]; in PrepareProgram()
1005 gl.getProgramInfoLog(m_po, log_size, NULL, &log_text[0]); in PrepareProgram()
2125 glw::GLint log_size = 0; in PrepareProgram() local
2126 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in PrepareProgram()
[all …]
/third_party/libunwind/src/arm/
DGtrace.c44 size_t log_size; member
74 munmap (cache->frames, (1u << cache->log_size) * sizeof(unw_tdep_frame_t)); in trace_cache_free()
132 cache->log_size = HASH_MIN_BITS; in trace_cache_create()
145 size_t old_size = (1u << cache->log_size); in trace_cache_expand()
146 size_t new_log_size = cache->log_size + 2; in trace_cache_expand()
155 Debug(5, "expanded cache from 2^%u to 2^%u buckets\n", cache->log_size, in trace_cache_expand()
159 cache->log_size = new_log_size; in trace_cache_expand()
291 uint32_t cache_size = 1u << cache->log_size; in trace_lookup()
326 cache_size = 1u << cache->log_size; in trace_lookup()
/third_party/libunwind/src/aarch64/
DGtrace.c43 size_t log_size; member
73 munmap (cache->frames, (1u << cache->log_size) * sizeof(unw_tdep_frame_t)); in trace_cache_free()
131 cache->log_size = HASH_MIN_BITS; in trace_cache_create()
144 size_t old_size = (1u << cache->log_size); in trace_cache_expand()
145 size_t new_log_size = cache->log_size + 2; in trace_cache_expand()
154 Debug(5, "expanded cache from 2^%lu to 2^%lu buckets\n", cache->log_size, new_log_size); in trace_cache_expand()
157 cache->log_size = new_log_size; in trace_cache_expand()
289 uint64_t cache_size = 1u << cache->log_size; in trace_lookup()
324 cache_size = 1u << cache->log_size; in trace_lookup()
/third_party/libunwind/src/dwarf/
DGparser.c34 #define DWARF_UNW_CACHE_SIZE(log_size) (1 << log_size) argument
35 #define DWARF_UNW_HASH_SIZE(log_size) (1 << (log_size + 1)) argument
569 if (cache->log_size == DWARF_DEFAULT_LOG_UNW_CACHE_SIZE in dwarf_flush_rs_cache()
574 cache->log_size = DWARF_DEFAULT_LOG_UNW_CACHE_SIZE; in dwarf_flush_rs_cache()
585 GET_MEMORY(cache->hash, DWARF_UNW_HASH_SIZE(cache->log_size) in dwarf_flush_rs_cache()
587 GET_MEMORY(cache->buckets, DWARF_UNW_CACHE_SIZE(cache->log_size) in dwarf_flush_rs_cache()
589 GET_MEMORY(cache->links, DWARF_UNW_CACHE_SIZE(cache->log_size) in dwarf_flush_rs_cache()
596 cache->prev_log_size = cache->log_size; in dwarf_flush_rs_cache()
601 for (i = 0; i < DWARF_UNW_CACHE_SIZE(cache->log_size); ++i) in dwarf_flush_rs_cache()
607 for (i = 0; i< DWARF_UNW_HASH_SIZE(cache->log_size); ++i) in dwarf_flush_rs_cache()
[all …]
/third_party/libunwind/src/x86_64/
DGtrace.c42 size_t log_size; member
72 munmap (cache->frames, (1u << cache->log_size) * sizeof(unw_tdep_frame_t)); in trace_cache_free()
130 cache->log_size = HASH_MIN_BITS; in trace_cache_create()
143 size_t old_size = (1u << cache->log_size); in trace_cache_expand()
144 size_t new_log_size = cache->log_size + 2; in trace_cache_expand()
153 Debug(5, "expanded cache from 2^%lu to 2^%lu buckets\n", cache->log_size, new_log_size); in trace_cache_expand()
156 cache->log_size = new_log_size; in trace_cache_expand()
287 uint64_t cache_size = 1u << cache->log_size; in trace_lookup()
322 cache_size = 1u << cache->log_size; in trace_lookup()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudanvrtc.c80 gsize log_size; in gst_cuda_nvrtc_compile() local
83 if (NvrtcGetProgramLogSize (prog, &log_size) == NVRTC_SUCCESS && in gst_cuda_nvrtc_compile()
84 log_size > 0) { in gst_cuda_nvrtc_compile()
85 gchar *compile_log = g_alloca (log_size); in gst_cuda_nvrtc_compile()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayETC2Support.cpp187 glw::GLint log_size = 0; in prepareProgram() local
188 gl.getShaderiv(shader[i].id, GL_INFO_LOG_LENGTH, &log_size); in prepareProgram()
191 glw::GLchar* log_text = new glw::GLchar[log_size]; in prepareProgram()
193 gl.getShaderInfoLog(shader[i].id, log_size, NULL, &log_text[0]); in prepareProgram()
244 glw::GLint log_size = 0; in prepareProgram() local
246 gl.getProgramiv(m_program, GL_INFO_LOG_LENGTH, &log_size); in prepareProgram()
250 glw::GLchar* log_text = new glw::GLchar[log_size]; in prepareProgram()
252 gl.getProgramInfoLog(m_program, log_size, NULL, &log_text[0]); in prepareProgram()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture_state.c69 uint32_t log_size; member
245 sv->log_size = in etna_create_sampler_view_state()
378 uint32_t log_size = sv->log_size; in etna_emit_new_texture_state() local
381 log_size |= VIVS_TE_SAMPLER_LOG_SIZE_INT_FILTER; in etna_emit_new_texture_state()
383 /*10100*/ EMIT_STATE(NTE_SAMPLER_LOG_SIZE(x), log_size); in etna_emit_new_texture_state()
510 uint32_t log_size = sv->log_size; in etna_emit_texture_state() local
513 log_size |= VIVS_TE_SAMPLER_LOG_SIZE_INT_FILTER; in etna_emit_texture_state()
515 /*02080*/ EMIT_STATE(TE_SAMPLER_LOG_SIZE(x), log_size); in etna_emit_texture_state()
/third_party/ltp/testcases/kernel/syscalls/bpf/
Dbpf_common.c85 const size_t log_size) in bpf_init_prog_attr() argument
104 attr->log_size = log_size; in bpf_init_prog_attr()
Dbpf_common.h55 char *const log_buf, const size_t log_size)
/third_party/libbpf/src/
Dbpf.c238 __u32 log_size, log_level, attach_prog_fd, attach_btf_obj_fd; in bpf_prog_load() local
288 log_size = OPTS_GET(opts, log_size, 0); in bpf_prog_load()
291 if (!!log_buf != !!log_size) in bpf_prog_load()
314 attr.log_size = log_size; in bpf_prog_load()
369 attr.log_size = log_size; in bpf_prog_load()
1066 size_t log_size; in bpf_btf_load() local
1078 log_size = OPTS_GET(opts, log_size, 0); in bpf_btf_load()
1081 if (log_size > UINT_MAX) in bpf_btf_load()
1083 if (log_size && !log_buf) in bpf_btf_load()
1095 attr.btf_log_size = (__u32)log_size; in bpf_btf_load()
[all …]
Dlibbpf_probes.c26 .log_size = log_buf_sz, in probe_prog_load()
52 opts.log_size = sizeof(buf); in probe_prog_load()
65 opts.log_size = sizeof(buf); in probe_prog_load()
Dbpf.h97 __u32 log_size; member
119 __u32 log_size; member
121 #define bpf_btf_load_opts__last_field log_size
Dskel_internal.h56 __u32 log_size; member
338 attr.log_size = opts->ctx->log_size; in bpf_load_and_run()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c136 if (opencode || (fix_fetch.u.log_size == 3 && fix_fetch.u.format == AC_FETCH_FORMAT_FLOAT) || in load_input_vs()
137 (fix_fetch.u.log_size == 2)) { in load_input_vs()
138 tmp = ac_build_opencoded_load_format(&ctx->ac, fix_fetch.u.log_size, in load_input_vs()
174 if (fix_fetch.u.log_size <= 1 && fix_fetch.u.num_channels_m1 == 2) { in load_input_vs()
176 fetch_stride = 1 << fix_fetch.u.log_size; in load_input_vs()
204 if (fix_fetch.u.log_size <= 1 && fix_fetch.u.num_channels_m1 == 2 && required_channels == 4) { in load_input_vs()
209 } else if (fix_fetch.u.log_size == 3 && in load_input_vs()

12