Home
last modified time | relevance | path

Searched refs:maps (Results 1 – 25 of 813) sorted by relevance

12345678910>>...33

/third_party/mindspore/mindspore/lite/tools/converter/config_parser/
Dconfig_file_parser.cc32 std::map<std::string, std::map<std::string, std::string>> maps; in ParseConfigFile() local
33 auto ret = mindspore::lite::ParseConfigFile(config_file_path, &maps); in ParseConfigFile()
38 ret = ParseDataPreProcessString(maps); in ParseConfigFile()
43 ret = ParseCommonQuantString(maps); in ParseConfigFile()
48 ret = ParseMixedBitQuantString(maps); in ParseConfigFile()
53 ret = ParseFullQuantString(maps); in ParseConfigFile()
58 ret = ParseRegistryInfoString(maps); in ParseConfigFile()
80 …:ParseDataPreProcessString(const std::map<std::string, std::map<std::string, std::string>> &maps) { in ParseDataPreProcessString() argument
81 if (maps.find(kDataPreprocessParam) != maps.end()) { in ParseDataPreProcessString()
82 const auto &map = maps.at(kDataPreprocessParam); in ParseDataPreProcessString()
[all …]
Dconfig_file_parser.h71 …t ParseDataPreProcessString(const std::map<std::string, std::map<std::string, std::string>> &maps);
72 int ParseCommonQuantString(const std::map<std::string, std::map<std::string, std::string>> &maps);
73 …nt ParseMixedBitQuantString(const std::map<std::string, std::map<std::string, std::string>> &maps);
74 int ParseFullQuantString(const std::map<std::string, std::map<std::string, std::string>> &maps);
75 …int ParseRegistryInfoString(const std::map<std::string, std::map<std::string, std::string>> &maps);
/third_party/typescript_eslint/packages/typescript-estree/tests/lib/
Dconvert.test.ts114 const maps = instance.getASTMaps(); constant
124 maps.esTreeNodeToTSNodeMap.get(
125 maps.tsNodeToESTreeNodeMap.get(node as any),
134 maps.esTreeNodeToTSNodeMap.get(maps.tsNodeToESTreeNodeMap.get(ast)),
148 const maps = instance.getASTMaps(); constant
157 maps.esTreeNodeToTSNodeMap.get(
158 maps.tsNodeToESTreeNodeMap.get(node as any),
167 maps.esTreeNodeToTSNodeMap.get(maps.tsNodeToESTreeNodeMap.get(ast)),
181 const maps = instance.getASTMaps(); constant
187 maps.esTreeNodeToTSNodeMap.get(maps.tsNodeToESTreeNodeMap.get(ast)),
[all …]
/third_party/pulseaudio/src/tests/
Dremix-test.c43 static const pa_channel_map maps[] = { in main() local
81 for (i = 0; maps[i].channels > 0; i++) in main()
82 for (j = 0; maps[j].channels > 0; j++) { in main()
87 ss1.channels = maps[i].channels; in main()
88 ss2.channels = maps[j].channels; in main()
94 …info("Converting from '%s' to '%s' with flags %s.", pa_channel_map_snprint(a, sizeof(a), &maps[i]), in main()
95 pa_channel_map_snprint(b, sizeof(b), &maps[j]), flag_sets[k].str); in main()
97 … r = pa_resampler_new(pool, &ss1, &maps[i], &ss2, &maps[j], crossover_freq, PA_RESAMPLER_AUTO, in main()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstelements_private.c360 GstMapInfo *maps; in gst_writev_buffer() local
374 maps = g_newa (GstMapInfo, num_mem); in gst_writev_buffer()
383 if (gst_memory_map (mem, &maps[i], GST_MAP_READ)) { in gst_writev_buffer()
384 vecs[i].iov_base = maps[i].data; in gst_writev_buffer()
385 vecs[i].iov_len = maps[i].size; in gst_writev_buffer()
435 gst_memory_unmap (maps[i].memory, &maps[i]); in gst_writev_buffer()
500 GstMapInfo *maps; in gst_writev_buffer_list() local
511 maps = g_newa (GstMapInfo, GST_IOV_MAX); in gst_writev_buffer_list()
527 if (gst_memory_map (mem, &maps[num_vecs], GST_MAP_READ)) { in gst_writev_buffer_list()
528 vecs[num_vecs].iov_base = maps[num_vecs].data; in gst_writev_buffer_list()
[all …]
/third_party/mesa3d/src/gallium/frontends/nine/
Dbuffer9.c56 This->maps = MALLOC(sizeof(struct NineTransfer)); in NineBuffer9_ctor()
57 if (!This->maps) in NineBuffer9_ctor()
188 if (This->maps) { in NineBuffer9_dtor()
193 FREE(This->maps); in NineBuffer9_dtor()
367 REALLOC(This->maps, sizeof(struct NineTransfer)*This->maxmaps, in NineBuffer9_Lock()
373 This->maps = newmaps; in NineBuffer9_Lock()
395 This->maps[This->nmaps-1].should_destroy_buf = true; in NineBuffer9_Lock()
403 This->maps[This->nmaps].transfer = NULL; in NineBuffer9_Lock()
404 This->maps[This->nmaps].is_pipe_secondary = false; in NineBuffer9_Lock()
405 This->maps[This->nmaps].buf = NULL; in NineBuffer9_Lock()
[all …]
/third_party/openssl/crypto/x509v3/
Dpcy_map.c22 int policy_cache_set_mapping(X509 *x, POLICY_MAPPINGS *maps) in policy_cache_set_mapping() argument
29 if (sk_POLICY_MAPPING_num(maps) == 0) { in policy_cache_set_mapping()
33 for (i = 0; i < sk_POLICY_MAPPING_num(maps); i++) { in policy_cache_set_mapping()
34 map = sk_POLICY_MAPPING_value(maps, i); in policy_cache_set_mapping()
78 sk_POLICY_MAPPING_pop_free(maps, POLICY_MAPPING_free); in policy_cache_set_mapping()
/third_party/node/deps/npm/node_modules/colors/lib/
Dcolors.js187 colors.maps = {};
188 colors.maps.america = require('./maps/america')(colors);
189 colors.maps.zebra = require('./maps/zebra')(colors);
190 colors.maps.rainbow = require('./maps/rainbow')(colors);
191 colors.maps.random = require('./maps/random')(colors);
193 for (var map in colors.maps) {
196 return sequencer(colors.maps[map], str);
/third_party/python/Lib/test/
Dtest_nis.py13 maps = nis.maps()
20 maps.remove("passwd.adjunct.byname")
25 for nismap in maps:
/third_party/flutter/skia/third_party/externals/freetype/src/psnames/
Dpsmodule.c330 table->maps = NULL; in ps_unicodes_init()
332 if ( !FT_NEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) ) in ps_unicodes_init()
340 map = table->maps; in ps_unicodes_init()
381 count = (FT_UInt)( map - table->maps ); in ps_unicodes_init()
386 FT_FREE( table->maps ); in ps_unicodes_init()
395 (void)FT_RENEW_ARRAY( table->maps, in ps_unicodes_init()
403 ft_qsort( table->maps, count, sizeof ( PS_UniMap ), in ps_unicodes_init()
423 min = table->maps; in ps_unicodes_char_index()
479 map = table->maps + mid; in ps_unicodes_char_next()
506 map = table->maps + min; in ps_unicodes_char_next()
/third_party/freetype/src/psnames/
Dpsmodule.c329 table->maps = NULL; in ps_unicodes_init()
331 if ( !FT_NEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) ) in ps_unicodes_init()
339 map = table->maps; in ps_unicodes_init()
380 count = (FT_UInt)( map - table->maps ); in ps_unicodes_init()
385 FT_FREE( table->maps ); in ps_unicodes_init()
394 (void)FT_RENEW_ARRAY( table->maps, in ps_unicodes_init()
402 ft_qsort( table->maps, count, sizeof ( PS_UniMap ), in ps_unicodes_init()
422 min = table->maps; in ps_unicodes_char_index()
478 map = table->maps + mid; in ps_unicodes_char_next()
505 map = table->maps + min; in ps_unicodes_char_next()
/third_party/boost/libs/hana/test/map/
Dlaws.cpp26 auto maps = hana::make_tuple( in main() local
34 hana::test::TestComparable<hana::map_tag>{maps}; in main()
35 hana::test::TestSearchable<hana::map_tag>{maps, hana::make_tuple(key<1>(), key<4>())}; in main()
36 hana::test::TestFoldable<hana::map_tag>{maps}; in main()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_debug_flush.c72 struct debug_map_item maps[DEBUG_FLUSH_MAP_DEPTH]; member
135 FREE(fbuf->maps[i].frame); in debug_flush_buf_reference()
231 FALSE, fbuf->maps[fbuf->last_sync_map].frame); in debug_flush_map()
234 fbuf->maps[fbuf->map_count].frame = in debug_flush_map()
236 fbuf->maps[fbuf->map_count].persistent = persistent; in debug_flush_map()
282 if (!fbuf->maps[i].persistent) { in debug_flush_unmap()
287 FREE(fbuf->maps[fbuf->map_count].frame); in debug_flush_unmap()
288 fbuf->maps[fbuf->map_count].frame = NULL; in debug_flush_unmap()
316 FALSE, fbuf->maps[fbuf->last_sync_map].frame); in debug_flush_cb_reference()
356 fbuf->maps[fbuf->last_sync_map].frame); in debug_flush_might_flush_cb()
/third_party/skia/third_party/externals/freetype/src/psnames/
Dpsmodule.c329 if ( !FT_QNEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) ) in ps_unicodes_init()
337 map = table->maps; in ps_unicodes_init()
378 count = (FT_UInt)( map - table->maps ); in ps_unicodes_init()
383 FT_FREE( table->maps ); in ps_unicodes_init()
392 FT_MEM_QRENEW_ARRAY( table->maps, in ps_unicodes_init()
400 ft_qsort( table->maps, count, sizeof ( PS_UniMap ), in ps_unicodes_init()
420 min = table->maps; in ps_unicodes_char_index()
476 map = table->maps + mid; in ps_unicodes_char_next()
503 map = table->maps + min; in ps_unicodes_char_next()
/third_party/gstreamer/gstplugins_bad/gst/gdp/
Ddataprotocol.c136 static guint16 gst_dp_crc_from_memory_maps (const GstMapInfo * maps,
160 GstMapInfo *maps; in gst_dp_payload_buffer() local
167 maps = g_newa (GstMapInfo, n_maps); in gst_dp_payload_buffer()
173 gst_memory_map (mem, &maps[i], GST_MAP_READ); in gst_dp_payload_buffer()
174 buffer_size += maps[i].size; in gst_dp_payload_buffer()
177 crc = gst_dp_crc_from_memory_maps (maps, n_maps); in gst_dp_payload_buffer()
180 gst_memory_unmap (maps[i].memory, &maps[i]); in gst_dp_payload_buffer()
398 gst_dp_crc_from_memory_maps (const GstMapInfo * maps, guint n_maps) in gst_dp_crc_from_memory_maps() argument
406 g_assert (maps != NULL); in gst_dp_crc_from_memory_maps()
410 guint8 *buffer = maps->data; in gst_dp_crc_from_memory_maps()
[all …]
/third_party/mindspore/mindspore/lite/tools/common/
Dparse_config_utils.cc51 …SplitLineToMap(std::ifstream *ifs, std::map<std::string, std::map<std::string, std::string>> *maps, in SplitLineToMap() argument
53 if (ifs == nullptr || maps == nullptr) { in SplitLineToMap()
97 (*maps)[section][key] = value; in SplitLineToMap()
103 std::map<std::string, std::map<std::string, std::string>> *maps) { in ParseConfigFile() argument
115 ret = SplitLineToMap(&ifs, maps, '#', '='); in ParseConfigFile()
/third_party/boost/libs/property_map/doc/
Ddynamic_property_map.rst20 property maps through a dynamically-typed interface. An algorithm can
21 use it to manipulate property maps without knowing their key or
23 maps to interface more easily and completely with scripting languages
32 generic algorithms. Typically, an algorithm that uses property maps is
33 parameterized on the types of the property maps it uses, and it
67 compile-time, the value and key types of the property maps. The code
83 interface to property maps. For example, the Boost Graph Library (BGL)
90 parameterized on a fixed number of property maps, the traditional
91 techniques for handling property maps do not suffice to implement them.
93 Dynamic property maps specifically address the need for an interface
[all …]
/third_party/ltp/lib/
Dtst_buffers.c18 static struct map *maps; variable
66 map->next = maps; in tst_alloc()
67 maps = map; in tst_alloc()
132 struct map *i = maps; in tst_free_all()
142 maps = NULL; in tst_free_all()
/third_party/openGLES/extensions/AMD/
DAMD_compressed_3DC_texture.txt51 textures. For example, monochrome light maps used in a few popular games
55 Normal maps are special textures that are used to add detail to 3D surfaces.
58 otherwise smooth surfaces. Normal maps contain more detailed surface
66 compared to using color maps alone.
70 maps. They tend to have trouble capturing the small edges and subtle
71 curvature that normal maps are designed to capture, and they also introduce
74 Because normal maps are used to capture light reflections and realistic
78 surfaces, and instead limit themselves to lower resolution maps on selected
82 provides up to 4:1 compression of normal maps, with image quality that is
85 developers are freed to use higher resolution, more detailed normal maps,
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_compressed_3DC_texture.txt51 textures. For example, monochrome light maps used in a few popular games
55 Normal maps are special textures that are used to add detail to 3D surfaces.
58 otherwise smooth surfaces. Normal maps contain more detailed surface
66 compared to using color maps alone.
70 maps. They tend to have trouble capturing the small edges and subtle
71 curvature that normal maps are designed to capture, and they also introduce
74 Because normal maps are used to capture light reflections and realistic
78 surfaces, and instead limit themselves to lower resolution maps on selected
82 provides up to 4:1 compression of normal maps, with image quality that is
85 developers are freed to use higher resolution, more detailed normal maps,
[all …]
/third_party/typescript/src/harness/
DcompilerImpl.ts55 public readonly maps: ReadonlyMap<string, documents.TextDocument>; property in compiler.CompilationResult
71 …const maps = this.maps = new collections.SortedMap<string, documents.TextDocument>({ comparer: thi… constant
80 maps.set(document.file, document);
104 map: maps.get(outFile + ".map")
126 … map: maps.get(this.getOutputPath(sourceFile.fileName, extname + ".map"))
186 const maps = this.result!.sourceMaps; constant
187 if (maps && maps.length > 0) {
188 …return Harness.SourceMapRecorder.getSourceMapRecord(maps, this.program!, Array.from(this.js.values…
/third_party/python/Modules/
Dnismodule.c307 nismaplist *maps; member
366 if (!xdr_pointer(xdrs, (char **)&objp->maps, in nis_xdr_ypresp_maplist()
422 return list->maps; in nis_maplist()
433 nismaplist *maps; in nis_maps() local
449 if ((maps = nis_maplist(state, domain)) == NULL) { in nis_maps()
455 for (; maps; maps = maps->next) { in nis_maps()
456 PyObject *str = PyUnicode_FromString(maps->map); in nis_maps()
/third_party/libunwind/tests/
Dcrasher.c21 FILE *maps = fopen("/proc/self/maps", "r"); in write_maps() local
24 if (!maps || !out) in write_maps()
27 while (fgets(buf, sizeof(buf), maps)) in write_maps()
41 fclose(maps); in write_maps()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/autogenerated/
Dcmap_basic_test.cc104 TiXmlNodeVector* maps = GetNodesWithName(*it, "map"); in TEST_P() local
105 for (TiXmlNodeVector::iterator jt = maps->begin(); in TEST_P()
106 jt != maps->end(); ++jt) { in TEST_P()
116 delete maps; in TEST_P()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/autogenerated/
Dcmap_basic_test.cc104 TiXmlNodeVector* maps = GetNodesWithName(*it, "map"); in TEST_P() local
105 for (TiXmlNodeVector::iterator jt = maps->begin(); in TEST_P()
106 jt != maps->end(); ++jt) { in TEST_P()
116 delete maps; in TEST_P()

12345678910>>...33