Home
last modified time | relevance | path

Searched refs:tables (Results 1 - 25 of 120) sorted by relevance

12345

/third_party/python/Tools/unicode/
H A Dmkstringprep.py48 ############## Read the tables in the RFC #######################
53 tables = [] variable
70 tables.append((curname, table))
110 ########### Generate compact Python versions of the tables #############
113 \"\"\"Library that exposes various tables found in the StringPrep RFC 3454.
115 There are two kinds of tables: sets, for which a member test is provided,
126 name, table = tables[0]
127 del tables[0]
149 name, table = tables[0]
150 del tables[
[all...]
/third_party/vulkan-loader/scripts/
H A Dloader_extension_generator.py259 # Write generate and write dispatch tables to output file
315 # Process commands, adding to appropriate dispatch tables
818 # Creates code to initialize the various dispatch tables
821 tables = ''
832 tables += '// Init Device function pointer dispatch table with core commands\n'
833 tables += 'VKAPI_ATTR void VKAPI_CALL loader_init_device_dispatch_table(struct loader_dev_dispatch_table *dev_table, PFN_vkGetDeviceProcAddr gpa,\n'
834 tables += ' VkDevice dev) {\n'
835 tables += ' VkLayerDispatchTable *table = &dev_table->core_dispatch;\n'
836 tables += ' if (table->magic != DEVICE_DISP_TABLE_MAGIC_NUMBER) { abort(); }\n'
837 tables
[all...]
/third_party/pcre2/pcre2/src/
H A Dpcre2_serialize.c81 const uint8_t *tables; in pcre2_serialize_encode() local
94 tables = NULL; in pcre2_serialize_encode()
101 if (tables == NULL) in pcre2_serialize_encode()
102 tables = re->tables; in pcre2_serialize_encode()
103 else if (tables != re->tables) in pcre2_serialize_encode()
124 memcpy(dst_bytes, tables, TABLES_LENGTH); in pcre2_serialize_encode()
137 specify the size of a pointer. If sizeof(uint8_t *) is used (tables is a in pcre2_serialize_encode()
144 (void)memset(dst_bytes + offsetof(pcre2_real_code, tables), in pcre2_serialize_encode()
172 uint8_t *tables; pcre2_serialize_decode() local
[all...]
H A Dpcre2_dftables.c43 character tables for PCRE2. The tables are built using the pcre2_maketables()
47 variable. By default, the tables are written in source form, but if -b is
101 const unsigned char *tables; in main() local
143 /* Make the tables */ in main()
145 tables = maketables(); in main()
146 base_of_tables = tables; in main()
155 /* If -b was specified, we write the tables in binary. */ in main()
160 size_t len = fwrite(tables, 1, TABLES_LENGTH, f); in main()
172 /* Write the tables a in main()
[all...]
H A Dpcre2_maketables.c43 character tables for PCRE2 in the current locale. The file is compiled on its
58 * Create PCRE2 character tables *
61 /* This function builds a set of character tables for use by PCRE2 and returns
103 /* Then the character class tables. Don't try to be clever and save effort on
154 pcre2_maketables_free(pcre2_general_context *gcontext, const uint8_t *tables) argument
157 gcontext->memctl.free((void *)tables, gcontext->memctl.memory_data);
159 free((void *)tables);
/third_party/mesa3d/src/mesa/main/
H A Dget_hash_generator.py28 # Generate a C header file containing hash tables of glGet parameter
95 def print_tables(tables):
96 for table in tables:
100 for table in tables:
113 # Merge tables with matching parameter lists (i.e. GL and GL_CORE)
114 def merge_tables(tables):
116 for api, indices in sorted(tables.items()):
141 tables = defaultdict(lambda:{})
169 add_to_hash_table(tables[api], hash_val, len(params))
170 # Also add GLES2 items to the GLES3+ hash tables
[all...]
/third_party/rust/crates/unicode-ident/tests/
H A Dstatic_size.rs8 #[path = "../src/tables.rs"] in test_size()
9 mod tables; in test_size() modules
11 let size = size_of_val(&tables::ASCII_START) in test_size()
12 + size_of_val(&tables::ASCII_CONTINUE) in test_size()
13 + size_of_val(&tables::TRIE_START) in test_size()
14 + size_of_val(&tables::TRIE_CONTINUE) in test_size()
15 + size_of_val(&tables::LEAF); in test_size()
22 #[path = "tables/mod.rs"] in test_xid_size()
23 mod tables; in test_xid_size() modules
25 let size = size_of_val(tables in test_xid_size()
[all...]
/third_party/skia/third_party/externals/freetype/src/pcf/
H A Dpcfread.c99 PCF_Table tables; in pcf_read_TOC() local
119 /* and there can be most 9 tables */ in pcf_read_TOC()
123 FT_TRACE0(( "pcf_read_TOC: adjusting number of tables" in pcf_read_TOC()
130 if ( FT_QNEW_ARRAY( face->toc.tables, toc->count ) ) in pcf_read_TOC()
133 tables = face->toc.tables; in pcf_read_TOC()
136 if ( FT_STREAM_READ_FIELDS( pcf_table_header, tables ) ) in pcf_read_TOC()
138 tables++; in pcf_read_TOC()
141 /* Sort tables and check for overlaps. Because they are almost */ in pcf_read_TOC()
144 tables in pcf_read_TOC()
372 pcf_seek_to_table_type( FT_Stream stream, PCF_Table tables, FT_ULong ntables, FT_ULong type, FT_ULong *aformat, FT_ULong *asize ) pcf_seek_to_table_type() argument
411 pcf_has_table_type( PCF_Table tables, FT_ULong ntables, FT_ULong type ) pcf_has_table_type() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-face.cc107 * convenient to provide data for individual tables instead of the whole font
536 * Return value: Total number of tables, or zero if it is not possible to list
627 hb_hashmap_t<hb_tag_t, hb_blob_t *> tables; member
650 data->tables.init (); in _hb_face_builder_data_create()
660 for (hb_blob_t* b : data->tables.values()) in _hb_face_builder_data_destroy()
663 data->tables.fini (); in _hb_face_builder_data_destroy()
672 unsigned int table_count = data->tables.get_population (); in _hb_face_builder_data_reference_blob()
675 for (hb_blob_t* b : data->tables.values()) in _hb_face_builder_data_reference_blob()
683 c.propagate_error (data->tables); in _hb_face_builder_data_reference_blob()
686 bool is_cff = (data->tables in _hb_face_builder_data_reference_blob()
[all...]
H A Dhb-open-file.hh84 unsigned int get_table_count () const { return tables.len; } in get_table_count()
86 { return tables[i]; } in get_table()
93 + tables.sub_array (start_offset, table_count) in get_table_tags()
98 return tables.len; in get_table_tags()
107 if (tables.len < 16) in find_table_index()
108 return tables.lfind (t, table_index, HB_NOT_FOUND_STORE, Index::NOT_FOUND_INDEX); in find_table_index()
110 return tables.bfind (t, table_index, HB_NOT_FOUND_STORE, Index::NOT_FOUND_INDEX); in find_table_index()
135 if (unlikely (!tables.serialize (c, num_items))) return_trace (false); in serialize()
151 TableRecord &rec = tables.arrayZ[i]; in serialize()
179 tables in serialize()
209 tables; global() member
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
H A Dstats.cc44 const TableMap* tables = font->GetTableMap(); in PrintComparison() local
45 for (TableMap::const_iterator it = tables->begin(), in PrintComparison()
46 e = tables->end(); it != e; ++it) { in PrintComparison()
72 const TableMap* tables = font->GetTableMap(); in PrintStats() local
73 for (TableMap::const_iterator it = tables->begin(), in PrintStats()
74 e = tables->end(); it != e; ++it) { in PrintStats()
/third_party/skia/third_party/externals/freetype/src/gxvalid/
H A Dgxvbsln.c150 gxv_bsln_parts_fmt0_validate( FT_Bytes tables, in gxv_bsln_parts_fmt0_validate() argument
154 FT_Bytes p = tables; in gxv_bsln_parts_fmt0_validate()
169 gxv_bsln_parts_fmt1_validate( FT_Bytes tables, in gxv_bsln_parts_fmt1_validate() argument
173 FT_Bytes p = tables; in gxv_bsln_parts_fmt1_validate()
194 gxv_bsln_parts_fmt2_validate( FT_Bytes tables, in gxv_bsln_parts_fmt2_validate() argument
198 FT_Bytes p = tables; in gxv_bsln_parts_fmt2_validate()
238 gxv_bsln_parts_fmt3_validate( FT_Bytes tables, in gxv_bsln_parts_fmt3_validate() argument
242 FT_Bytes p = tables; in gxv_bsln_parts_fmt3_validate()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
H A DMtxFontBuilder.java34 private Map<Integer, ReadableFontData> tables; field in MtxFontBuilder
38 tables = new HashMap<Integer, ReadableFontData>(); in MtxFontBuilder()
53 tables.put(tag, data); in addTable()
79 * Build the font, packing all tables into an OpenType (SFNT) structure.
86 TreeSet<Integer> tags = new TreeSet<Integer>(tables.keySet()); in build()
87 int nTables = tables.size(); in build()
89 for (Map.Entry<Integer, ReadableFontData> entry : tables.entrySet()) { in build()
110 ReadableFontData data = tables.get(tag); in build()
/third_party/ffmpeg/libavcodec/x86/
H A Dcabac.h55 #define TABLES_ARG , "r"(tables)
80 #define BRANCHLESS_GET_CABAC(ret, retq, statep, low, lowword, range, rangeq, tmp, tmpbyte, byte, end, norm_off, lps_off, mlps_off, tables) \
85 "movzbl "lps_off"("tables", %%rcx), "range" \n\t"\
90 "movzbl "norm_off"("tables", "rangeq"), %%ecx \n\t"\
92 "movzbl "mlps_off"+128("tables", "retq"), "tmp" \n\t"\
107 "movzbl "norm_off"("tables", %%rcx), %%ecx \n\t"\
144 #define BRANCHLESS_GET_CABAC(ret, retq, statep, low, lowword, range, rangeq, tmp, tmpbyte, byte, end, norm_off, lps_off, mlps_off, tables) \
190 void *tables; in get_cabac_inline_x86() local
194 : "=&r"(tables) in get_cabac_inline_x86()
H A Dh264_cabac.c56 void *tables; in decode_significance_x86() local
60 : "=&r"(tables) in decode_significance_x86()
132 void *tables; in decode_significance_8x8_x86() local
136 : "=&r"(tables) in decode_significance_8x8_x86()
/third_party/cups-filters/fontembed/
H A Dsfnt.c176 otf->tables=malloc(sizeof(OTF_DIRENT)*otf->numTables); in otf_do_load()
177 if (!otf->tables) { in otf_do_load()
187 otf->tables[iA].tag=get_ULONG(buf); in otf_do_load()
188 otf->tables[iA].checkSum=get_ULONG(buf+4); in otf_do_load()
189 otf->tables[iA].offset=get_ULONG(buf+8); in otf_do_load()
190 otf->tables[iA].length=get_ULONG(buf+12); in otf_do_load()
191 if ( (otf->tables[iA].tag==OTF_TAG('C','F','F',' '))&& in otf_do_load()
196 } else if ( (otf->tables[iA].tag==OTF_TAG('g','l','y','p'))&& in otf_do_load()
356 free(otf->tables); in otf_close()
386 char *tables in otf_find_table()
[all...]
/third_party/ffmpeg/libavcodec/
H A Daptx.c402 ConstTables *tables) in aptx_invert_quantization()
407 qr = tables->quantize_intervals[idx] / 2; in aptx_invert_quantization()
411 qr = rshift64_clip24((qr * (1LL<<32)) + MUL64(dither, tables->invert_quantize_dither_factors[idx]), 32); in aptx_invert_quantization()
416 factor_select = rshift32(factor_select + (tables->quantize_factor_select_offset[idx] * (1 << 15)), 15); in aptx_invert_quantization()
417 invert_quantize->factor_select = av_clip(factor_select, 0, tables->factor_max); in aptx_invert_quantization()
421 shift = (tables->factor_max - invert_quantize->factor_select) >> 8; in aptx_invert_quantization()
467 ConstTables *tables) in aptx_process_subband()
471 aptx_invert_quantization(invert_quantize, quantized_sample, dither, tables); in aptx_process_subband()
494 tables->prediction_order); in aptx_process_subband()
400 aptx_invert_quantization(InvertQuantize *invert_quantize, int32_t quantized_sample, int32_t dither, ConstTables *tables) aptx_invert_quantization() argument
464 aptx_process_subband(InvertQuantize *invert_quantize, Prediction *prediction, int32_t quantized_sample, int32_t dither, ConstTables *tables) aptx_process_subband() argument
/third_party/rust/crates/unicode-width/scripts/
H A Dunicode.py13 # This script uses the following Unicode tables:
54 codepoint and those tables offsets are stored according to `offset_type`.
58 MODULE_FILENAME = "tables.rs"
245 Typically, tables contain a list of buckets of codepoints. Bucket `i`'s codepoints should
247 indexes into the bucket list (~= indexes into the sub-tables of the next-level table.) The
248 key to compression is that two different buckets in two different sub-tables may have the
316 tables = []
321 tables.append(table)
322 return tables
326 out_name: str, unicode_version: "tuple[int, int, int]", tables
[all...]
/third_party/ffmpeg/libavformat/
H A Drtpenc_jpeg.c68 int tables, j; in ff_rtp_send_jpeg() local
74 tables = AV_RB16(&buf[i + 2]) / 65; in ff_rtp_send_jpeg()
75 if (i + 5 + tables * 65 > size) { in ff_rtp_send_jpeg()
79 if (nb_qtables + tables > 4) { in ff_rtp_send_jpeg()
80 av_log(s1, AV_LOG_ERROR, "Invalid number of quantisation tables\n"); in ff_rtp_send_jpeg()
84 for (j = 0; j < tables; j++) in ff_rtp_send_jpeg()
86 nb_qtables += tables; in ff_rtp_send_jpeg()
168 "RFC 2435 requires standard Huffman tables for jpeg\n"); in ff_rtp_send_jpeg()
173 "RFC 2435 suggests two quantization tables, %d provided\n", in ff_rtp_send_jpeg()
207 /* set quantization tables heade in ff_rtp_send_jpeg()
[all...]
/third_party/rust/crates/unicode-width/src/
H A Dlib.rs59 use tables::charwidth as cw;
60 pub use tables::UNICODE_VERSION;
64 mod tables; modules
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftgxval.c5 * FreeType API for validating TrueTypeGX/AAT tables (body).
39 FT_Bytes tables[FT_VALIDATE_GX_LENGTH], in FT_EXPORT_DEF()
52 if ( !tables ) in FT_EXPORT_DEF()
63 tables, in FT_EXPORT_DEF()
/third_party/rust/crates/unicode-ident/tests/tables/
H A Dmod.rs5 mod tables; modules
7 pub(crate) use self::tables::*;
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
H A DFont.java93 * Ordering of tables for different font types.
327 private Map<Integer, ? extends Table> tables; // these get set in the builder field in Font
374 * Get the number of tables in this font.
376 * @return the number of tables
379 return this.tables.size(); in numTables()
383 * Get an iterator over all the tables in the font.
388 return this.tables.values().iterator(); in iterator()
398 return this.tables.containsKey(tag); in hasTable()
410 return (T) this.tables.get(tag); in getTable()
414 * Get a map of the tables i
[all...]
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dsfwoff.c103 WOFF_Table tables = NULL; in FT_LOCAL_DEF() local
197 /* tag value, the tables themselves are not. We thus have to */ in FT_LOCAL_DEF()
200 if ( FT_NEW_ARRAY( tables, woff.num_tables ) || in FT_LOCAL_DEF()
213 WOFF_Table table = tables + nn; in FT_LOCAL_DEF()
339 /* Write the tables. */ in FT_LOCAL_DEF()
343 WOFF_Table table = tables + nn; in FT_LOCAL_DEF()
409 FT_FREE( tables ); in FT_LOCAL_DEF()
/third_party/rust/crates/unicode-ident/src/
H A Dlib.rs32 //! The *static storage* column shows the total size of `static` tables that the
249 mod tables; modules
251 use crate::tables::{ASCII_CONTINUE, ASCII_START, CHUNK, LEAF, TRIE_CONTINUE, TRIE_START};

Completed in 14 milliseconds

12345