Home
last modified time | relevance | path

Searched refs:string_map (Results 1 – 25 of 810) sorted by relevance

12345678910>>...33

/dports/math/pspp/pspp-1.4.1/src/libpspp/
H A Dstring-map.h71 struct string_map
82 void string_map_init (struct string_map *);
83 void string_map_clone (struct string_map *, const struct string_map *);
84 void string_map_swap (struct string_map *, struct string_map *);
85 void string_map_destroy (struct string_map *); in getAsIRObject()
112 void string_map_clear (struct string_map *);
113 void string_map_insert_map (struct string_map *, const struct string_map *);
114 void string_map_replace_map (struct string_map *, const struct string_map *);
119 bool string_map_equals (const struct string_map *, const struct string_map *);
122 const struct string_map *); in anchor()
[all …]
H A Dstring-map.c31 const struct string_map *, const char *key, size_t length,
92 string_map_init (struct string_map *map) in string_map_init()
100 string_map_clone (struct string_map *map, const struct string_map *old) in string_map_clone()
114 string_map_swap (struct string_map *a, struct string_map *b) in string_map_swap()
121 string_map_destroy (struct string_map *map) in string_map_destroy()
151 string_map_find (const struct string_map *map, const char *key) in string_map_find()
271 string_map_delete (struct string_map *map, const char *key) in string_map_delete()
294 string_map_clear (struct string_map *map) in string_map_clear()
305 string_map_insert_map (struct string_map *dst, const struct string_map *src) in string_map_insert_map()
322 string_map_replace_map (struct string_map *dst, const struct string_map *src) in string_map_replace_map()
[all …]
/dports/devel/eastl/EASTL-3.13.06/include/EASTL/
H A Dstring_map.h36 string_map(const string_map& src, const allocator_type& allocator = allocator_type());
37 ~string_map();
62 string_map<T, Predicate, Allocator>::string_map(const string_map& src, const allocator_type& alloca… in string_map() function
69 string_map<T, Predicate, Allocator>::~string_map() in ~string_map()
76 string_map<T, Predicate, Allocator>::clear() in clear()
85 typename string_map<T, Predicate, Allocator>::this_type&
96 string_map<T, Predicate, Allocator>::insert(const char* key) in insert()
118 typename string_map<T, Predicate, Allocator>::iterator
128 typename string_map<T, Predicate, Allocator>::size_type
129 string_map<T, Predicate, Allocator>::erase(const char* key) in erase()
[all …]
/dports/devel/tig/tig-2.5.4/include/tig/
H A Dmap.h28 struct string_map { struct
37 void *string_map_get(struct string_map *map, const char *key); argument
38 void **string_map_get_at(struct string_map *map, const char *key);
39 void *string_map_put(struct string_map *map, const char *key, void *value);
40 void **string_map_put_to(struct string_map *map, const char *key);
41 void *string_map_remove(struct string_map *map, const char *key);
42 void string_map_clear(struct string_map *map);
43 void string_map_foreach(struct string_map *map, string_map_iterator_fn iterator, void *data);
56 static struct string_map name = { \
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/catapult/tracing/tracing/extras/symbolizer/
H A Dsymbolize_trace_unittest.py19 string_map = symbolize_trace.StringMap()
26 {'id': 1, 'name_sid': string_map.AddString('main')},
27 {'id': 45, 'name_sid': string_map.AddString('foo'), 'parent': 1},
29 string_map)
37 {'id': 33, 'name_sid': string_map.AddString('bar')},
39 string_map)
53 string_map=None)
65 string_map=None)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/tracing/tracing/extras/symbolizer/
H A Dsymbolize_trace_unittest.py19 string_map = symbolize_trace.StringMap()
26 {'id': 1, 'name_sid': string_map.AddString('main')},
27 {'id': 45, 'name_sid': string_map.AddString('foo'), 'parent': 1},
29 string_map)
37 {'id': 33, 'name_sid': string_map.AddString('bar')},
39 string_map)
53 string_map=None)
65 string_map=None)
/dports/devel/tig/tig-2.5.4/src/
H A Dmap.c25 struct string_map *map = (struct string_map *) map_; in string_map_equal()
32 string_map_get(struct string_map *map, const char *key) in string_map_get()
43 string_map_get_at(struct string_map *map, const char *key) in string_map_get_at()
54 string_map_put_to(struct string_map *map, const char *key) in string_map_put_to()
67 string_map_put(struct string_map *map, const char *key, void *value) in string_map_put()
79 string_map_remove(struct string_map *map, const char *key) in string_map_remove()
93 string_map_clear(struct string_map *map) in string_map_clear()
113 string_map_foreach(struct string_map *map, string_map_iterator_fn fn, void *data) in string_map_foreach()
/dports/devel/eastl/EASTL-3.13.06/test/source/
H A DTestStringMap.cpp15 template class eastl::string_map<int>; member in eastl
16 template class eastl::string_map<Align32>; member in eastl
27 string_map<int> stringMap; in TestStringMap()
29 string_map<int> stringMap2(stringMap); in TestStringMap()
36 string_map<int>::allocator_type& allocator = stringMap.get_allocator(); in TestStringMap()
53 string_map<int> stringMap; in TestStringMap()
92 typedef string_map<int> StringMapInt; in TestStringMap()
183 string_map<int> stringMap1(EASTLAllocatorType("TestStringMap")); in TestStringMap()
184 string_map<int> stringMap2(stringMap1); in TestStringMap()
192 string_map<int> stringMap3(stringMap1); in TestStringMap()
/dports/science/bddsolve/bddsolve-1.04_9/include/sat/
H A Dvariable_set.h65 typedef std::map<std::string, int> string_map; typedef
68 string_map m_data;
88 string_map::const_iterator i = m_data.find(s);
126 for(string_map::iterator i = m_data.begin(); i != m_data.end(); ++i) in sort()
134 for (string_map::iterator i = m_data.begin(); i != m_data.end(); ++i) in sort_01()
148 string_map::const_iterator i = m_data.find(s); in index()
154 string_map::const_iterator j = m_data.begin(); in name()
161 string_map::const_iterator j = m_data.begin(); in index()
179 for (string_map::const_iterator i = m_data.begin(); i != m_data.end(); ++i) in reversed_map()
201 for (string_map::iterator i = m_data.begin(); i != m_data.end(); ++i) in to_string()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/comm/calendar/libical/src/libical/
H A Dicalerror.c150 static const struct icalerror_string_map string_map[] = variable
169 for( i = 0; string_map[i].error != ICAL_UNKNOWN_ERROR; i++) in icalerror_error_from_string()
170 if (strcmp(string_map[i].str,str) == 0) in icalerror_error_from_string()
173 return string_map[i].error; in icalerror_error_from_string()
242 for (i=0; string_map[i].error != ICAL_UNKNOWN_ERROR; i++) { in icalerror_strerror()
243 if (string_map[i].error == e) { in icalerror_strerror()
244 return string_map[i].name; in icalerror_strerror()
248 return string_map[i].name; /* Return string for ICAL_UNKNOWN_ERROR*/ in icalerror_strerror()
/dports/devel/libical/libical-3.0.8/src/libical/
H A Dicalerror.c158 static const struct icalerror_string_map string_map[] = { variable
185 for (i = 0; string_map[i].error != ICAL_UNKNOWN_ERROR; i++) { in icalerror_error_from_string()
186 if (strcmp(string_map[i].str, str) == 0) { in icalerror_error_from_string()
191 return string_map[i].error; in icalerror_error_from_string()
251 for (i = 0; string_map[i].error != ICAL_UNKNOWN_ERROR; i++) { in icalerror_strerror()
252 if (string_map[i].error == e) { in icalerror_strerror()
253 return string_map[i].name; in icalerror_strerror()
257 return string_map[i].name; /* Return string for ICAL_UNKNOWN_ERROR */ in icalerror_strerror()
/dports/audio/ampache/ampache-php74-5.0.0/src/Module/Playback/
H A DStream.php176 $string_map = array(
182 $string_map['%MAXBITRATE%'] = $options['maxbitrate'];
184 $string_map['%MAXBITRATE%'] = 8000;
188 $string_map['%TIME%'] = $frame;
192 $string_map['%DURATION%'] = $duration;
195 $string_map['%RESOLUTION%'] = $options['resolution'];
197 $string_map['%RESOLUTION%'] = ($media->f_resolution) ?: '1280x720';
202 $string_map['%QUALITY%'] = 10;
209 foreach ($string_map as $search => $replace) {
294 $string_map = array(
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/device/usb/
H A Dusb_device_win.cc99 auto string_map = std::make_unique<std::map<uint8_t, base::string16>>(); in OnReadDescriptors() local
101 (*string_map)[descriptor->i_manufacturer] = base::string16(); in OnReadDescriptors()
103 (*string_map)[descriptor->i_product] = base::string16(); in OnReadDescriptors()
105 (*string_map)[descriptor->i_serial_number] = base::string16(); in OnReadDescriptors()
108 device_handle, std::move(string_map), in OnReadDescriptors()
121 std::unique_ptr<std::map<uint8_t, base::string16>> string_map) { in OnReadStringDescriptors() argument
125 device_info_->manufacturer_name = (*string_map)[i_manufacturer]; in OnReadStringDescriptors()
127 device_info_->product_name = (*string_map)[i_product]; in OnReadStringDescriptors()
129 device_info_->serial_number = (*string_map)[i_serial_number]; in OnReadStringDescriptors()
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/device/usb/
H A Dusb_device_win.cc109 auto string_map = std::make_unique<std::map<uint8_t, base::string16>>(); in OnReadDescriptors() local
111 (*string_map)[descriptor->i_manufacturer]; in OnReadDescriptors()
113 (*string_map)[descriptor->i_product]; in OnReadDescriptors()
115 (*string_map)[descriptor->i_serial_number]; in OnReadDescriptors()
118 device_handle, std::move(string_map), in OnReadDescriptors()
131 std::unique_ptr<std::map<uint8_t, base::string16>> string_map) { in OnReadStringDescriptors() argument
135 device_info_->manufacturer_name = (*string_map)[i_manufacturer]; in OnReadStringDescriptors()
137 device_info_->product_name = (*string_map)[i_product]; in OnReadStringDescriptors()
139 device_info_->serial_number = (*string_map)[i_serial_number]; in OnReadStringDescriptors()
/dports/math/pspp/pspp-1.4.1/tests/libpspp/
H A Dstring-map-test.c347 struct string_map map; in test_insert_delete()
516 struct string_map map; in test_insert_ordered()
557 struct string_map map; in test_replace()
651 struct string_map map; in for_each_map()
662 void (*cb)(struct string_map *a, int a_data[], int n_a, in for_each_pair_of_maps()
663 struct string_map *b, int b_data[], int n_b), in for_each_pair_of_maps()
673 struct string_map a_map, b_map; in for_each_pair_of_maps()
698 clone_cb (struct string_map *map, int data[], int n) in clone_cb()
700 struct string_map clone; in clone_cb()
742 swap_cb (struct string_map *a, int a_data[], int n_a, in swap_cb()
[all …]
/dports/lang/gcc9/gcc-9.4.0/gcc/
H A Dhash-map-tests.c99 hash_map <nofree_string_hash, int> string_map; in test_map_of_strings_to_int() local
100 ASSERT_EQ (false, string_map.put (ant, 1)); in test_map_of_strings_to_int()
101 ASSERT_EQ (1, string_map.elements ()); in test_map_of_strings_to_int()
102 ASSERT_EQ (true, string_map.put (another_ant, 5)); in test_map_of_strings_to_int()
103 ASSERT_EQ (1, string_map.elements ()); in test_map_of_strings_to_int()
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/
H A Dhash-map-tests.c99 hash_map <nofree_string_hash, int> string_map; in test_map_of_strings_to_int() local
100 ASSERT_EQ (false, string_map.put (ant, 1)); in test_map_of_strings_to_int()
101 ASSERT_EQ (1, string_map.elements ()); in test_map_of_strings_to_int()
102 ASSERT_EQ (true, string_map.put (another_ant, 5)); in test_map_of_strings_to_int()
103 ASSERT_EQ (1, string_map.elements ()); in test_map_of_strings_to_int()
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/
H A Dhash-map-tests.c99 hash_map <nofree_string_hash, int> string_map; in test_map_of_strings_to_int() local
100 ASSERT_EQ (false, string_map.put (ant, 1)); in test_map_of_strings_to_int()
101 ASSERT_EQ (1, string_map.elements ()); in test_map_of_strings_to_int()
102 ASSERT_EQ (true, string_map.put (another_ant, 5)); in test_map_of_strings_to_int()
103 ASSERT_EQ (1, string_map.elements ()); in test_map_of_strings_to_int()
/dports/games/wesnoth/wesnoth-1.14.17/src/gui/widgets/
H A Dmulti_page.hpp55 grid& add_page(const string_map& item);
71 grid& add_page(const std::string& type, int insert_pos, const string_map& item);
90 grid& add_page(const std::map<std::string /* widget id */, string_map>& data);
113 … std::string& type, int insert_pos, const std::map<std::string /* widget id */, string_map>& data);
189 void finalize(const std::vector<string_map>& page_data);
/dports/math/pspp/pspp-1.4.1/src/output/
H A Dcairo.h30 struct string_map;
33 struct xr_driver *xr_driver_create (cairo_t *, struct string_map *options);
45 void xr_rendering_apply_options (struct xr_rendering *, struct string_map *o);
88 void parse_color (struct output_driver *d, struct string_map *options,
H A Ddriver.h25 struct string_map;
44 struct string_map *options);
45 struct output_driver *output_driver_create (struct string_map *options);
/dports/games/wesnoth/wesnoth-1.14.17/src/gui/dialogs/
H A Dcore_selection.cpp97 string_map list_item; in pre_show()
98 std::map<std::string, string_map> list_item_item; in pre_show()
110 string_map detail_item; in pre_show()
111 std::map<std::string, string_map> detail_page; in pre_show()
/dports/finance/ledger/ledger-3.2.1/src/
H A Ditem.cc47 string_map::const_iterator i = metadata->find(tag); in has_tag()
63 foreach (const string_map::value_type& data, *metadata) { in has_tag()
80 string_map::const_iterator i = metadata->find(tag); in get_tag()
94 foreach (const string_map::value_type& data, *metadata) { in get_tag()
116 item_t::string_map::iterator
124 metadata = string_map(CaseInsensitiveKeyCompare()); in set_tag()
134 string_map::iterator i = metadata->find(tag); in set_tag()
136 std::pair<string_map::iterator, bool> result in set_tag()
188 string_map::iterator i = set_tag(r, none, overwrite_existing); in parse_tags()
200 string_map::iterator i; in parse_tags()
[all …]
/dports/games/springlobby/springlobby-0.180/src/lsl/src/lslunitsync/
H A Doptionswrapper.cpp129 …opt.string_map["restrictions"] = mmOptionString("List of restricted units", "restrictedunits", "Un… in loadOptions()
130 opt.string_map["mapname"] = mmOptionString("Map name", "mapname", "Map name", "", 0 ); in loadOptions()
203 else if ( gameoptions.string_map.find(key) != gameoptions.string_map.end()) in keyExists()
268 …for (OptionMapStringConstIter it = gameoptions.string_map.begin(); it != gameoptions.string_map.en… in getOptions()
293 …for (OptionMapStringConstIter it = gameoptions.string_map.begin(); it != gameoptions.string_map.en… in getOptionsMap()
364 return GetItem( tempOpt.string_map, key ).value ; in getSingleValue()
401 ret = GetItem( tempOpt.string_map, key ).def; in getDefaultValue()
454 unsigned int max_length = (gameoptions.string_map)[key].max_len; in setSingleOptionTypeSwitch()
461 (gameoptions.string_map)[key].value = value; in setSingleOptionTypeSwitch()
561 …for ( OptionMapStringConstIter it = other_opts.string_map.begin(); it != other_opts.string_map.end… in MergeOptions()
[all …]
/dports/audio/jack_ghero/jack_ghero-1.0.4/
H A Djack_ghero.c101 static const uint8_t *string_map; variable
161 if (string_map == NULL || string_map[string_index] == 0) in ghero_chord_output()
164 y = string_shift + string_map[string_index++]; in ghero_chord_output()
303 string_map = string_map_full_up; in ghero_read()
307 string_map = string_map_full_down; in ghero_read()
314 string_map = string_map_guitar_up; in ghero_read()
318 string_map = string_map_guitar_down; in ghero_read()
325 string_map = string_map_base_up; in ghero_read()
329 string_map = string_map_base_down; in ghero_read()

12345678910>>...33