Home
last modified time | relevance | path

Searched refs:new_format (Results 1 – 18 of 18) sorted by relevance

/third_party/python/Lib/multiprocessing/
Dshared_memory.py449 new_format = self._types_mapping[type(value)]
459 new_format = current_format
461 new_format = self._types_mapping[str] % (
467 new_format,
470 struct.pack_into(new_format, self.shm.buf, offset, encoded_value)
/third_party/skia/third_party/externals/freetype/src/winfonts/
Dwinfnt.c213 FT_Bool new_format; in fnt_font_load() local
235 new_format = FT_BOOL( font->header.version == 0x300 ); in fnt_font_load()
236 size = new_format ? 148 : 118; in fnt_font_load()
1008 FT_Bool new_format; in FNT_Load_Glyph() local
1033 new_format = FT_BOOL( font->header.version == 0x300 ); in FNT_Load_Glyph()
1034 len = new_format ? 6 : 4; in FNT_Load_Glyph()
1037 offset = ( new_format ? 148 : 118 ) + len * glyph_index; in FNT_Load_Glyph()
1039 if ( offset >= font->header.file_size - 2 - ( new_format ? 4 : 2 ) ) in FNT_Load_Glyph()
1051 if ( new_format ) in FNT_Load_Glyph()
/third_party/flutter/skia/third_party/externals/freetype/src/winfonts/
Dwinfnt.c214 FT_Bool new_format; in fnt_font_load() local
232 new_format = FT_BOOL( font->header.version == 0x300 ); in fnt_font_load()
233 size = new_format ? 148 : 118; in fnt_font_load()
997 FT_Bool new_format; in FNT_Load_Glyph() local
1022 new_format = FT_BOOL( font->header.version == 0x300 ); in FNT_Load_Glyph()
1023 len = new_format ? 6 : 4; in FNT_Load_Glyph()
1026 offset = ( new_format ? 148 : 118 ) + len * glyph_index; in FNT_Load_Glyph()
1028 if ( offset >= font->header.file_size - 2 - ( new_format ? 4 : 2 ) ) in FNT_Load_Glyph()
1040 if ( new_format ) in FNT_Load_Glyph()
/third_party/freetype/src/winfonts/
Dwinfnt.c213 FT_Bool new_format; in fnt_font_load() local
231 new_format = FT_BOOL( font->header.version == 0x300 ); in fnt_font_load()
232 size = new_format ? 148 : 118; in fnt_font_load()
1000 FT_Bool new_format; in FNT_Load_Glyph() local
1025 new_format = FT_BOOL( font->header.version == 0x300 ); in FNT_Load_Glyph()
1026 len = new_format ? 6 : 4; in FNT_Load_Glyph()
1029 offset = ( new_format ? 148 : 118 ) + len * glyph_index; in FNT_Load_Glyph()
1031 if ( offset >= font->header.file_size - 2 - ( new_format ? 4 : 2 ) ) in FNT_Load_Glyph()
1043 if ( new_format ) in FNT_Load_Glyph()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.c80 enum pipe_format new_format = zink_decompose_vertex_format(elem->src_format); in zink_create_vertex_elements_state() local
81 assert(new_format); in zink_create_vertex_elements_state()
83 … assert(screen->format_props[new_format].bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT); in zink_create_vertex_elements_state()
84 if (util_format_get_blocksize(new_format) == 4) in zink_create_vertex_elements_state()
86 else if (util_format_get_blocksize(new_format) == 2) in zink_create_vertex_elements_state()
90 format = zink_get_format(screen, new_format); in zink_create_vertex_elements_state()
Dzink_format.c156 enum pipe_format new_format; in zink_decompose_vertex_format() local
195 return new_format; in zink_decompose_vertex_format()
Dzink_screen.c1031 enum pipe_format new_format = zink_decompose_vertex_format(format); in zink_is_format_supported() local
1032 if (!new_format) in zink_is_format_supported()
1034 … if (!(screen->format_props[new_format].bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT)) in zink_is_format_supported()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout-gpos-table.hh178 unsigned int new_format = 0; in get_effective_format() local
181 new_format = new_format | get_effective_format (&values); in get_effective_format()
183 return new_format; in get_effective_format()
187 unsigned int new_format, in copy_values()
195 if (format & xPlacement) copy_value (c, new_format, xPlacement, *values++); in copy_values()
196 if (format & yPlacement) copy_value (c, new_format, yPlacement, *values++); in copy_values()
197 if (format & xAdvance) copy_value (c, new_format, xAdvance, *values++); in copy_values()
198 if (format & yAdvance) copy_value (c, new_format, yAdvance, *values++); in copy_values()
207 unsigned int new_format, in copy_value()
212 if (!(new_format & flag)) return; in copy_value()
[all …]
/third_party/harfbuzz/src/
Dhb-ot-layout-gpos-table.hh178 unsigned int new_format = 0; in get_effective_format() local
181 new_format = new_format | get_effective_format (&values); in get_effective_format()
183 return new_format; in get_effective_format()
187 unsigned int new_format, in copy_values()
195 if (format & xPlacement) copy_value (c, new_format, xPlacement, *values++); in copy_values()
196 if (format & yPlacement) copy_value (c, new_format, yPlacement, *values++); in copy_values()
197 if (format & xAdvance) copy_value (c, new_format, xAdvance, *values++); in copy_values()
198 if (format & yAdvance) copy_value (c, new_format, yAdvance, *values++); in copy_values()
207 unsigned int new_format, in copy_value()
212 if (!(new_format & flag)) return; in copy_value()
[all …]
/third_party/gstreamer/gstplugins_base/gst/rawparse/
Dgstrawaudioparse.c329 GstRawAudioParseFormat new_format = g_value_get_enum (value); in gst_raw_audio_parse_set_property() local
333 if (new_format != raw_audio_parse->properties_config.format) { in gst_raw_audio_parse_set_property()
334 raw_audio_parse->properties_config.format = new_format; in gst_raw_audio_parse_set_property()
Dgstrawvideoparse.c422 GstVideoFormat new_format = g_value_get_enum (value); in gst_raw_video_parse_set_property() local
426 if (new_format != props_cfg->format) { in gst_raw_video_parse_set_property()
427 props_cfg->format = new_format; in gst_raw_video_parse_set_property()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dmsgfmt.cpp743 Format* new_format = newFormat.clone(); in setFormat() local
744 if (new_format) { in setFormat()
746 setCustomArgStartFormat(partIndex, new_format, status); in setFormat()
793 Format* new_format = newFormat.clone(); in setFormat() local
794 if (new_format == NULL) { in setFormat()
798 setCustomArgStartFormat(partIndex, new_format, status); in setFormat()
/third_party/icu/icu4c/source/i18n/
Dmsgfmt.cpp743 Format* new_format = newFormat.clone(); in setFormat() local
744 if (new_format) { in setFormat()
746 setCustomArgStartFormat(partIndex, new_format, status); in setFormat()
793 Format* new_format = newFormat.clone(); in setFormat() local
794 if (new_format == NULL) { in setFormat()
798 setCustomArgStartFormat(partIndex, new_format, status); in setFormat()
/third_party/node/deps/icu-small/source/i18n/
Dmsgfmt.cpp743 Format* new_format = newFormat.clone(); in setFormat() local
744 if (new_format) { in setFormat()
746 setCustomArgStartFormat(partIndex, new_format, status); in setFormat()
793 Format* new_format = newFormat.clone(); in setFormat() local
794 if (new_format == NULL) { in setFormat()
798 setCustomArgStartFormat(partIndex, new_format, status); in setFormat()
/third_party/skia/third_party/externals/icu/source/i18n/
Dmsgfmt.cpp743 Format* new_format = newFormat.clone(); in setFormat() local
744 if (new_format) { in setFormat()
746 setCustomArgStartFormat(partIndex, new_format, status); in setFormat()
793 Format* new_format = newFormat.clone(); in setFormat() local
794 if (new_format == NULL) { in setFormat()
798 setCustomArgStartFormat(partIndex, new_format, status); in setFormat()
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.cc1639 NumberFormat new_format; in FormatOutOfCountryKeepingAlphaChars() local
1640 new_format.MergeFrom(*formatting_pattern); in FormatOutOfCountryKeepingAlphaChars()
1643 new_format.set_pattern("(\\d+)(.*)"); in FormatOutOfCountryKeepingAlphaChars()
1646 new_format.set_format("$1$2"); in FormatOutOfCountryKeepingAlphaChars()
1653 FormatNsnUsingPattern(raw_input_copy, new_format, NATIONAL, in FormatOutOfCountryKeepingAlphaChars()
/third_party/mesa3d/src/mesa/main/
Dvarray.c640 struct gl_vertex_format new_format; in _mesa_update_array_format() local
645 _mesa_set_vertex_format(&new_format, size, type, format, in _mesa_update_array_format()
649 !memcmp(&new_format, &array->Format, sizeof(new_format))) in _mesa_update_array_format()
653 array->Format = new_format; in _mesa_update_array_format()
/third_party/ffmpeg/fftools/
Dffplay.c839 static int realloc_texture(SDL_Texture **texture, Uint32 new_format, int new_width, int new_height,… in realloc_texture() argument
843 …ture, &format, &access, &w, &h) < 0 || new_width != w || new_height != h || new_format != format) { in realloc_texture()
848 …if (!(*texture = SDL_CreateTexture(renderer, new_format, SDL_TEXTUREACCESS_STREAMING, new_width, n… in realloc_texture()
858 …SE, "Created %dx%d texture with %s.\n", new_width, new_height, SDL_GetPixelFormatName(new_format)); in realloc_texture()