| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | ralloc.c | 512 size_t new_length; local in function:ralloc_vasprintf_rewrite_tail 524 new_length = printf_length(fmt, args); 526 ptr = resize(*str, *start + new_length + 1); 530 vsnprintf(ptr + *start, new_length + 1, fmt, args); 532 *start += new_length; 848 size_t new_length; local in function:linear_vasprintf_rewrite_tail 859 new_length = printf_length(fmt, args); 861 ptr = linear_realloc(parent, *str, *start + new_length + 1); 865 vsnprintf(ptr + *start, new_length + 1, fmt, args); 867 *start += new_length; [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | ralloc.c | 511 size_t new_length; local in function:ralloc_vasprintf_rewrite_tail 523 new_length = u_printf_length(fmt, args); 525 ptr = resize(*str, *start + new_length + 1); 529 vsnprintf(ptr + *start, new_length + 1, fmt, args); 531 *start += new_length; 847 size_t new_length; local in function:linear_vasprintf_rewrite_tail 858 new_length = u_printf_length(fmt, args); 860 ptr = linear_realloc(parent, *str, *start + new_length + 1); 864 vsnprintf(ptr + *start, new_length + 1, fmt, args); 866 *start += new_length; [all...] |
| /xsrc/external/mit/brotli/dist/c/enc/ |
| H A D | entropy_encode.c | 416 size_t new_length = length; local in function:BrotliWriteHuffmanTree 419 --new_length; 429 DecideOverRleUse(depth, new_length, 434 for (i = 0; i < new_length;) { 440 for (k = i + 1; k < new_length && depth[k] == value; ++k) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_pack.c | 217 unsigned new_length, i; local in function:lp_build_concat 224 new_length = src_type.length; 231 new_length <<= 1; 232 for (i = 0; i < new_length; i++) { 237 LLVMConstVector(shuffles, new_length), ""); 937 unsigned new_length = src_type.length / size_ratio; local in function:lp_build_resize 940 unsigned start_index = (i % size_ratio) * new_length; 942 start_index, new_length); 945 src_type.length = new_length;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_pack.c | 217 unsigned new_length, i; local in function:lp_build_concat 224 new_length = src_type.length; 231 new_length <<= 1; 232 for (i = 0; i < new_length; i++) { 237 LLVMConstVector(shuffles, new_length), ""); 937 unsigned new_length = src_type.length / size_ratio; local in function:lp_build_resize 940 unsigned start_index = (i % size_ratio) * new_length; 942 start_index, new_length); 945 src_type.length = new_length;
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | link_uniform_blocks.cpp | 245 size_t new_length = name_length; local in function:process_block_array 249 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", element_idx); 254 process_block_array(ub_array->array, name, new_length, blocks,
|
| H A D | link_uniforms.cpp | 356 size_t new_length = name_length; local in function:program_resource_visitor::recursion 363 ralloc_asprintf_rewrite_tail(name, &new_length, "%s", field); 365 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field); 383 recursion(t->fields.structure[i].type, name, new_length, 416 size_t new_length = name_length; local in function:program_resource_visitor::recursion 419 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); 421 recursion(t->fields.array, name, new_length, row_major,
|
| H A D | lower_ubo_reference.cpp | 197 size_t new_length; local in function:__anonf648b2340110::interface_field_name 208 new_length = base_length; 210 char *end = ralloc_strdup(NULL, &name_copy[new_length]); 229 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[0]%s", 232 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[%d]%s",
|
| H A D | gl_nir_link_uniforms.c | 895 size_t new_length = name_length; local in function:find_and_update_named_uniform_storage 902 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", 910 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); 914 var, name, new_length, 1220 size_t new_length = name_length; local in function:nir_link_uniform 1244 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", 1267 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); 1272 state, name, new_length,
|
| H A D | link_varyings.cpp | 82 size_t new_length = name_length; local in function:create_xfb_varying_names 85 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", ifc_member_name); 87 create_xfb_varying_names(mem_ctx, ifc_member_t, name, new_length, count, 92 size_t new_length = name_length; local in function:create_xfb_varying_names 94 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field); 97 new_length, count, NULL, NULL, 104 size_t new_length = name_length; local in function:create_xfb_varying_names 107 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); 109 create_xfb_varying_names(mem_ctx, t->fields.array, name, new_length,
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | link_uniform_blocks.cpp | 245 size_t new_length = name_length; local in function:process_block_array 248 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", 252 process_block_array(ub_array->array, name, new_length, blocks,
|
| H A D | link_uniforms.cpp | 141 size_t new_length = name_length; local in function:program_resource_visitor::recursion 148 ralloc_asprintf_rewrite_tail(name, &new_length, "%s", field); 150 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field); 168 recursion(t->fields.structure[i].type, name, new_length, 201 size_t new_length = name_length; local in function:program_resource_visitor::recursion 204 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); 206 recursion(t->fields.array, name, new_length, row_major,
|
| H A D | lower_ubo_reference.cpp | 195 size_t new_length; local in function:__anon515fc8010110::interface_field_name 206 new_length = base_length; 208 char *end = ralloc_strdup(NULL, &name_copy[new_length]); 227 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[0]%s", 230 ralloc_asprintf_rewrite_tail(&name_copy, &new_length, "[%d]%s",
|
| H A D | link_varyings.cpp | 75 size_t new_length = name_length; local in function:create_xfb_varying_names 78 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", ifc_member_name); 80 create_xfb_varying_names(mem_ctx, ifc_member_t, name, new_length, count, 85 size_t new_length = name_length; local in function:create_xfb_varying_names 87 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field); 90 new_length, count, NULL, NULL, 97 size_t new_length = name_length; local in function:create_xfb_varying_names 100 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i); 102 create_xfb_varying_names(mem_ctx, t->fields.array, name, new_length,
|
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/ |
| H A D | anv_batch_chain.c | 124 size_t new_length = MAX2(16, list->array_length * 2); local in function:anv_reloc_list_grow 125 while (new_length < list->num_relocs + num_additional_relocs) 126 new_length *= 2; 130 new_length * sizeof(*list->relocs), 8, 138 new_length * sizeof(*list->reloc_bos), 8, 144 list->array_length = new_length; 157 uint32_t new_length = MAX2(32, list->dep_words * 2); local in function:anv_reloc_list_grow_deps 158 while (new_length < min_num_words) 159 new_length *= 2; 162 vk_realloc(alloc, list->deps, new_length * sizeo [all...] |
| /xsrc/external/mit/freetype/dist/src/base/ |
| H A D | ftrfork.c | 876 size_t new_length; local in function:raccess_make_file_name 882 new_length = ft_strlen( original_name ) + ft_strlen( insertion ); 883 if ( FT_ALLOC( new_name, new_length + 1 ) )
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| H A D | anv_batch_chain.c | 123 size_t new_length = list->array_length * 2; local in function:anv_reloc_list_grow 124 while (new_length < list->num_relocs + num_additional_relocs) 125 new_length *= 2; 128 vk_alloc(alloc, new_length * sizeof(*list->relocs), 8, 134 vk_alloc(alloc, new_length * sizeof(*list->reloc_bos), 8, 148 list->array_length = new_length;
|
| /xsrc/external/mit/libxcb/dist/src/ |
| H A D | xcb_in.c | 242 uint64_t new_length = ((uint64_t)p[2]) * ((uint64_t)p[3]); local in function:read_packet 243 if(new_length >= (UINT32_MAX / UINT32_C(16))) 248 genrep.length = (uint32_t)(new_length * UINT64_C(2));
|
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imstb_textedit.h | 504 static void stb_text_makeundo_replace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length); 1328 static void stb_text_makeundo_replace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length) argument 1331 STB_TEXTEDIT_CHARTYPE *p = stb_text_createundo(&state->undostate, where, old_length, new_length);
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imstb_textedit.h | 504 static void stb_text_makeundo_replace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length); 1328 static void stb_text_makeundo_replace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length) argument 1331 STB_TEXTEDIT_CHARTYPE *p = stb_text_createundo(&state->undostate, where, old_length, new_length);
|
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| H A D | dxil_nir.c | 1185 int new_length = (old_length + var->data.location_frac) - 4; local in function:dxil_nir_split_clip_cull_distance_instr 1186 old_length -= new_length; 1189 if (new_length <= 0) 1196 new_var->type = glsl_array_type(glsl_float_type(), new_length, 0);
|
| /xsrc/external/mit/xterm/dist/ |
| H A D | charproc.c | 1671 size_t new_length = size; \ 1672 if (new_length == 0) { \ 1673 new_length = 1024; \ 1674 new_string = TypeMallocN(type, new_length); \ 1675 } else if (used+1 >= new_length) { \ 1676 new_length = size * 2; \ 1677 new_string = TypeMallocN(type, new_length); \ 1689 size = new_length 2339 (unsigned long) new_length, c); 3205 (unsigned long) new_length); [all...] |