Searched refs:string_size (Results 1 - 15 of 15) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/virtio/venus-protocol/
H A Dvn_protocol_driver_instance.h35 const size_t string_size = strlen(val->pApplicationName) + 1; local in function:vn_sizeof_VkApplicationInfo_self
36 size += vn_sizeof_array_size(string_size);
37 size += vn_sizeof_char_array(val->pApplicationName, string_size);
43 const size_t string_size = strlen(val->pEngineName) + 1; local in function:vn_sizeof_VkApplicationInfo_self
44 size += vn_sizeof_array_size(string_size);
45 size += vn_sizeof_char_array(val->pEngineName, string_size);
78 const size_t string_size = strlen(val->pApplicationName) + 1; local in function:vn_encode_VkApplicationInfo_self
79 vn_encode_array_size(enc, string_size);
80 vn_encode_char_array(enc, val->pApplicationName, string_size);
86 const size_t string_size local in function:vn_encode_VkApplicationInfo_self
127 const size_t string_size = strlen(val->ppEnabledLayerNames[i]) + 1; local in function:vn_sizeof_VkInstanceCreateInfo_self
138 const size_t string_size = strlen(val->ppEnabledExtensionNames[i]) + 1; local in function:vn_sizeof_VkInstanceCreateInfo_self
178 const size_t string_size = strlen(val->ppEnabledLayerNames[i]) + 1; local in function:vn_encode_VkInstanceCreateInfo_self
189 const size_t string_size = strlen(val->ppEnabledExtensionNames[i]) + 1; local in function:vn_encode_VkInstanceCreateInfo_self
466 const size_t string_size = strlen(pLayerName) + 1; local in function:vn_sizeof_vkEnumerateInstanceExtensionProperties
494 const size_t string_size = strlen(pLayerName) + 1; local in function:vn_encode_vkEnumerateInstanceExtensionProperties
[all...]
H A Dvn_protocol_driver_pipeline.h96 const size_t string_size = strlen(val->pName) + 1; local in function:vn_sizeof_VkPipelineShaderStageCreateInfo_self
97 size += vn_sizeof_array_size(string_size);
98 size += vn_sizeof_char_array(val->pName, string_size);
135 const size_t string_size = strlen(val->pName) + 1; local in function:vn_encode_VkPipelineShaderStageCreateInfo_self
136 vn_encode_array_size(enc, string_size);
137 vn_encode_char_array(enc, val->pName, string_size);
H A Dvn_protocol_driver_device.h5631 const size_t string_size = strlen(val->ppEnabledLayerNames[i]) + 1; local in function:vn_sizeof_VkDeviceCreateInfo_self
5632 size += vn_sizeof_array_size(string_size);
5633 size += vn_sizeof_char_array(val->ppEnabledLayerNames[i], string_size);
5642 const size_t string_size = strlen(val->ppEnabledExtensionNames[i]) + 1; local in function:vn_sizeof_VkDeviceCreateInfo_self
5643 size += vn_sizeof_array_size(string_size);
5644 size += vn_sizeof_char_array(val->ppEnabledExtensionNames[i], string_size);
5845 const size_t string_size = strlen(val->ppEnabledLayerNames[i]) + 1; local in function:vn_encode_VkDeviceCreateInfo_self
5846 vn_encode_array_size(enc, string_size);
5847 vn_encode_char_array(enc, val->ppEnabledLayerNames[i], string_size);
5856 const size_t string_size local in function:vn_encode_VkDeviceCreateInfo_self
11417 const size_t string_size = strlen(pLayerName) + 1; local in function:vn_sizeof_vkEnumerateDeviceExtensionProperties
11446 const size_t string_size = strlen(pLayerName) + 1; local in function:vn_encode_vkEnumerateDeviceExtensionProperties
[all...]
/xsrc/external/mit/mkfontscale/dist/
H A Dident.c263 int format, count, nprops, i, string_size; local in function:pcfIdentify
312 string_size = getInt32(f, format);
313 if (string_size < 0 || string_size > 100000)
315 strings = malloc(string_size);
319 rc = fontFileRead(f, strings, string_size);
320 if (rc != string_size)
325 props[i].name >= string_size - 4 || props[i].value >= string_size)
/xsrc/external/mit/freetype/dist/src/type42/
H A Dt42parse.c543 FT_ULong n, string_size, old_string_size, real_size; local in function:t42_parse_sfnts
575 string_size = 0;
607 string_size = (FT_ULong)( ( parser->root.cursor - cur - 2 + 1 ) / 2 );
608 if ( !string_size )
614 if ( FT_REALLOC( string_buf, old_string_size, string_size ) )
620 (void)T1_ToBytes( parser, string_buf, string_size, &real_size, 1 );
621 old_string_size = string_size;
622 string_size = real_size;
646 string_size = (FT_ULong)tmp;
654 if ( (FT_ULong)( limit - parser->root.cursor ) <= string_size )
[all...]
/xsrc/external/mit/libXfont/dist/src/bitmap/
H A Dpcfread.c249 int string_size; local in function:pcfGetProperties
302 string_size = pcfGetINT32(file, format);
303 if (string_size < 0) goto Bail;
305 strings = malloc(string_size);
307 pcfError("pcfGetProperties(): Couldn't allocate strings (%d)\n", string_size);
310 FontFileRead(file, strings, string_size);
312 position += string_size;
314 if (props[i].name >= string_size) {
315 pcfError("pcfGetProperties(): String starts out of bounds (%ld/%d)\n", props[i].name, string_size);
319 strnlen(strings + props[i].name, string_size
[all...]
/xsrc/external/mit/libXfont2/dist/src/bitmap/
H A Dpcfread.c251 int string_size; local in function:pcfGetProperties
304 string_size = pcfGetINT32(file, format);
305 if (string_size < 0) goto Bail;
307 strings = malloc(string_size);
309 pcfError("pcfGetProperties(): Couldn't allocate strings (%d)\n", string_size);
312 FontFileRead(file, strings, string_size);
314 position += string_size;
316 if (props[i].name >= string_size) {
317 pcfError("pcfGetProperties(): String starts out of bounds (%ld/%d)\n", props[i].name, string_size);
321 strnlen(strings + props[i].name, string_size
[all...]
/xsrc/external/mit/freetype/dist/src/pcf/
H A Dpcfread.c488 FT_ULong string_size; local in function:pcf_get_properties
585 (void)FT_READ_ULONG( string_size );
587 (void)FT_READ_ULONG_LE( string_size );
591 FT_TRACE4(( " string size: %ld\n", string_size ));
594 if ( string_size > size - orig_nprops * PCF_PROPERTY_SIZE )
602 if ( string_size > 16777472 ) /* 256 * (65536 + 1) */
606 string_size = 16777472;
610 if ( FT_NEW_ARRAY( strings, string_size + 1 ) )
613 error = FT_Stream_Read( stream, (FT_Byte*)strings, string_size );
629 ( (FT_ULong)name_offset > string_size ) )
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/nir/
H A Dinvocation.cpp586 info.strings.resize(printf_infos[i].string_size);
587 memcpy(info.strings.data(), printf_infos[i].strings, printf_infos[i].string_size);
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dvtn_opencl.c749 unsigned idx = info->string_size;
752 info->string_size += c->num_elements;
789 info->string_size = 0;
/xsrc/external/mit/MesaLib/dist/src/microsoft/clc/
H A Dclc_compiler.c956 metadata->printf.infos[i].str = malloc(nir->printf_info[i].string_size);
957 memcpy(metadata->printf.infos[i].str, nir->printf_info[i].strings, nir->printf_info[i].string_size);
/xsrc/external/mit/MesaLib/src/mapi/glapi/gen/
H A Dmarshal_generated3.c1412 int string_size = len; local in function:_mesa_marshal_ProgramStringARB
1413 int cmd_size = sizeof(struct marshal_cmd_ProgramStringARB) + string_size;
1415 if (unlikely(string_size < 0 || (string_size > 0 && !string) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
1425 memcpy(variable_data, string, string_size);
3364 int string_size = stringlen; local in function:_mesa_marshal_NamedStringARB
3365 int cmd_size = sizeof(struct marshal_cmd_NamedStringARB) + name_size + string_size;
3367 if (unlikely(name_size < 0 || (name_size > 0 && !name) || string_size < 0 || (string_size > 0 && !string) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
3379 memcpy(variable_data, string, string_size);
[all...]
H A Dmarshal_generated6.c7310 int string_size = len; local in function:_mesa_marshal_NamedProgramStringEXT
7311 int cmd_size = sizeof(struct marshal_cmd_NamedProgramStringEXT) + string_size;
7313 if (unlikely(string_size < 0 || (string_size > 0 && !string) || (unsigned)cmd_size > MARSHAL_MAX_CMD_SIZE)) {
7324 memcpy(variable_data, string, string_size);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir.h3347 unsigned string_size; member in struct:nir_printf_info
/xsrc/external/mit/xterm/dist/
H A Dcharproc.c1746 size_t string_size; member in struct:ParseState
3269 sp->string_size = 0;
3273 SafeAlloc(Char, sp->string_area, sp->string_used, sp->string_size);
3279 SafeFree(sp->string_area, sp->string_size);

Completed in 76 milliseconds