Home
last modified time | relevance | path

Searched refs:lookups (Results 1 - 25 of 43) sorted by relevance

12

/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DLookupList.java17 private Lookup[] lookups; field in LookupList
22 lookups = new Lookup[10]; in LookupList()
28 if (lookupCount >= lookups.length) { in addLookup()
29 Lookup[] newLookups = new Lookup[lookups.length + 5]; in addLookup()
31 System.arraycopy(lookups, 0, newLookups, 0, lookups.length); in addLookup()
32 lookups = newLookups; in addLookup()
35 lookups[lookupCount] = lookup; in addLookup()
56 lookups[i].writeLookup(writer); in writeLookupList()
H A DCanonGSUBBuilder.java320 int[] lookups = new int[2]; in buildLookups()
345 lookups[0] = lookupList.addLookup(compLookup); in buildLookups()
346 lookups[1] = lookupList.addLookup(dcmpLookup); in buildLookups()
348 return lookups; in buildLookups()
351 public static void addLookups(Feature feature, int[] lookups) in addLookups() argument
353 for (int i = 0; i < lookups.length; i += 1) { in addLookups()
354 feature.addLookup(lookups[i]); in addLookups()
471 // build common, inherited lookups... in buildDecompTables()
484 int[] lookups = buildLookups(data, lookupList, script); in buildDecompTables()
488 addLookups(ccmp, lookups); in buildDecompTables()
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-map.cc40 for (unsigned int i = 0; i < lookups[table_index].length; i++) in collect_lookups()
41 lookups_out->add (lookups[table_index][i].index); in collect_lookups()
142 hb_ot_map_t::lookup_map_t *lookup = m.lookups[table_index].push (); in add_lookups()
324 /* Sort lookups and merge duplicates */ in compile()
325 if (last_num_lookups < m.lookups[table_index].length) in compile()
327 m.lookups[table_index].qsort (last_num_lookups, m.lookups[table_index].length); in compile()
330 for (unsigned int i = j + 1; i < m.lookups[table_index].length; i++) in compile()
331 if (m.lookups[table_index][i].index != m.lookups[table_inde in compile()
[all...]
H A Dhb-ot-map.hh93 lookups[table_index].init (); in init()
102 lookups[table_index].fini (); in fini()
150 unsigned int end = stage < stages[table_index].length ? stages[table_index][stage].last_lookup : lookups[table_index].length; in get_stage_lookups()
151 *plookups = end == start ? nullptr : &lookups[table_index][start]; in get_stage_lookups()
155 HB_INTERNAL void collect_lookups (unsigned int table_index, hb_set_t *lookups) const;
171 hb_vector_t<lookup_map_t> lookups[2]; /* GSUB/GPOS */
H A Dhb-ot-shape.hh126 void collect_lookups (hb_tag_t table_tag, hb_set_t *lookups) const in collect_lookups()
134 map.collect_lookups (table_index, lookups); in collect_lookups()
H A Dhb-ot-shape-complex-indic.hh410 &lookups, &count); in init()
418 if (hb_ot_layout_lookup_would_substitute (face, lookups[i].index, glyphs, glyphs_count, zero_context)) in would_substitute()
424 const hb_ot_map_t::lookup_map_t *lookups; member
H A Dhb-subset-plan.cc141 hb_map_t *lookups, in _closure_glyphs_lookups_features()
161 _remap_indexes (&lookup_indices, lookups); in _closure_glyphs_lookups_features()
171 table->prune_features (lookups, &feature_indices); in _closure_glyphs_lookups_features()
173 table->find_duplicate_features (lookups, &feature_indices, &duplicate_feature_map); in _closure_glyphs_lookups_features()
360 // closure all glyphs/lookups/features needed for GSUB substitutions. in _populate_gids_to_retain()
138 _closure_glyphs_lookups_features(hb_face_t *face, hb_set_t *gids_to_retain, const hb_set_t *layout_features_to_retain, hb_map_t *lookups, hb_map_t *features, script_langsys_map *langsys_map) _closure_glyphs_lookups_features() argument
H A Dhb-ot-layout.cc77 * Does NOT test for kerning lookups in the GPOS table.
947 * @lookup_count: (inout) (optional): Input = the maximum number of lookups to return;
948 * Output = the actual number of lookups returned (may be zero)
951 * Fetches a list of all lookups enumerated for the specified feature, in
955 * Return value: Total number of lookups.
982 * Fetches the total number of lookups enumerated in the specified
985 * Return value: Total number of lookups.
1210 * @scripts: The array of scripts to collect lookups for
1211 * @languages: The array of languages to collect lookups for
1212 * @features: The array of features to collect lookups fo
1519 hb_ot_layout_lookups_substitute_closure(hb_face_t *face, const hb_set_t *lookups, hb_set_t *glyphs ) hb_ot_layout_lookups_substitute_closure() argument
[all...]
/third_party/selinux/libselinux/utils/
H A Davcstat.c27 #define HEADERS "lookups hits misses allocations reclaims frees"
30 unsigned long long lookups; member
177 printf("%10s %10s %10s %10s %10s %10s\n", "lookups", in main()
186 &tmp.lookups, in main()
195 tot.lookups += tmp.lookups; in main()
209 tot.lookups, tot.hits, tot.misses, in main()
212 rel.lookups = tot.lookups - last.lookups; in main()
[all...]
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
H A DBundleItemCreationDialog.java63 Hashtable lookups = new Hashtable(); field in BundleItemCreationDialog
195 if (item.getLookups() != null) lookups = item.getLookups(); in initComponents()
200 // Update the lookups if necessary in initComponents()
206 lookups.put(name,value); in initComponents()
209 // Remove old lookups if necessary in initComponents()
210 Enumeration keys = lookups.keys(); in initComponents()
214 lookups.remove(name); in initComponents()
217 // Add new lookups if necessary in initComponents()
222 if (!lookups.containsKey(name)) { in initComponents()
223 lookups in initComponents()
[all...]
H A DBundleItemDialog.java66 Box lookups[] = null; field in BundleItemDialog
152 lookups = new Box[item.getLookups().size()]; in initComponents()
160 lookups[i] = new Box(BoxLayout.X_AXIS); in initComponents()
165 lookups[i].add(Box.createHorizontalGlue()); in initComponents()
166 lookups[i].add(lookupLabels[i]); in initComponents()
167 lookups[i].add(Box.createHorizontalStrut(5)); in initComponents()
168 lookups[i].add(lookupFields[i]); in initComponents()
169 lookupBox.add(lookups[i]); in initComponents()
262 if (lookups != null) { in actionPerformed()
264 for (int i=0; i < lookups in actionPerformed()
[all...]
H A DRBSearchPanel.java111 Hashtable lookups = item.getLookups(); in performSearch()
112 Enumeration enum2 = lookups.keys(); in performSearch()
115 String lookup_value = (String)lookups.get(lookup_key); in performSearch()
137 Hashtable lookups = item.getLookups(); in performSearch()
138 Enumeration enum2 = lookups.keys(); in performSearch()
141 String lookup_value = (String)lookups.get(lookup_key); in performSearch()
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DBundleItem.java32 private Hashtable lookups; // A hash table of lookups for the item (i.e. ({#}, Meaning) pairs) field in BundleItem
52 lookups = new Hashtable(); in BundleItem()
129 * Returns a hashtable of the various lookups associated with the item. Lookups are
135 return lookups; in getLookups()
163 * Given a hashtable of lookups, associates those lookups with this item.
166 public void setLookups(Hashtable lookups) { in setLookups() argument
167 this.lookups = lookups; in setLookups()
[all...]
H A DRBTMXImporter.java153 Hashtable lookups = null; in importDoc()
193 if (lookups == null) lookups = new Hashtable(); in importDoc()
196 lookups.put(lkey, lvalue); in importDoc()
204 if (lookups != null) item.setLookups(lookups); in importDoc()
H A DRBTMXExporter.java117 Hashtable lookups = item.getLookups(); in appendTUV()
118 Enumeration keys = lookups.keys(); in appendTUV()
121 String value = (String)lookups.get(key); in appendTUV()
H A DRBManager.java467 public boolean editItem(BundleItem item, String name, String value, String groupName, String comment, Hashtable lookups) { in editItem() argument
486 oldItem.setLookups(lookups); in editItem()
509 public boolean createItem(String name, String value, String groupName, String comment, Hashtable lookups) { in createItem() argument
527 if (lookups != null) mainItem.setLookups(lookups); in createItem()
545 if (lookups != null) item.setLookups(lookups); in createItem()
/third_party/node/deps/cares/src/lib/
H A Dares_gethostbyaddr.c57 char *lookups; /* duplicate memory from channel for ares_reinit() */ member
93 aquery->lookups = ares_strdup(channel->lookups); in ares_gethostbyaddr_int()
94 if (aquery->lookups == NULL) { in ares_gethostbyaddr_int()
108 aquery->remaining_lookups = aquery->lookups; in ares_gethostbyaddr_int()
195 ares_free(aquery->lookups); in end_aquery()
H A Dares_options.c51 ares_free(options->lookups); in ares_destroy_options()
103 options->lookups = NULL; in ares_save_options()
172 options->lookups = ares_strdup(channel->lookups); in ares_save_options()
173 if (!options->lookups && channel->lookups) { in ares_save_options()
397 /* Set lookups, if given. */ in ares__init_by_options()
399 if (options->lookups == NULL) { in ares__init_by_options()
402 channel->lookups = ares_strdup(options->lookups); in ares__init_by_options()
[all...]
H A Dares_sysconfig_files.c320 char lookups[3]; in config_lookup() local
333 l = lookups; in config_lookup()
338 l < lookups + 2) { in config_lookup()
358 ares_free(sysconfig->lookups); in config_lookup()
359 sysconfig->lookups = ares_strdup(lookups); in config_lookup()
360 if (sysconfig->lookups == NULL) { in config_lookup()
H A Dares_init.c256 if (!channel->lookups) { in init_by_defaults()
257 channel->lookups = ares_strdup("fb"); in init_by_defaults()
258 if (!channel->lookups) { in init_by_defaults()
273 if (channel->lookups) { in init_by_defaults()
274 ares_free(channel->lookups); in init_by_defaults()
275 channel->lookups = NULL; in init_by_defaults()
H A Dares_getaddrinfo.c79 char *lookups; /* Duplicate memory from channel because of ares_reinit() */ member
84 struct ares_addrinfo *ai; /* store results between lookups */
353 ares_free(hquery->lookups); in end_hquery()
634 hquery->lookups = ares_strdup(channel->lookups); in ares_getaddrinfo_int()
635 if (!hquery->lookups) { in ares_getaddrinfo_int()
648 ares_free(hquery->lookups); in ares_getaddrinfo_int()
664 hquery->remaining_lookups = hquery->lookups; in ares_getaddrinfo_int()
668 /* Start performing lookups according to channel->lookups in ares_getaddrinfo_int()
[all...]
H A Dares_sysconfig.c992 ares_free(sysconfig->lookups); in ares_sysconfig_free()
1022 if (sysconfig->lookups && !(channel->optmask & ARES_OPT_LOOKUPS)) { in ares_sysconfig_apply()
1023 char *temp = ares_strdup(sysconfig->lookups); in ares_sysconfig_apply()
1028 ares_free(channel->lookups); in ares_sysconfig_apply()
1029 channel->lookups = temp; in ares_sysconfig_apply()
H A Dares_private.h251 char *lookups; member
389 char *lookups; member
563 (x && x->lookups && ares__slist_len(x->servers) > 0 && x->ndots > 0 && \
H A Dares_destroy.c98 ares_free(channel->lookups); in ares_destroy()
/third_party/skia/bench/
H A DSkGlyphCacheBench.cpp36 for (int lookups = 0; lookups < 10; lookups++) { in do_font_stuff()

Completed in 20 milliseconds

12