Searched refs:map (Results 1 - 25 of 286) sorted by relevance

1234567891011>>

/haiku/src/tests/kits/shared/
H A DLRUCacheTest.cpp30 /*! This tests the insertion of various letters into the map and the subsequent
37 LRUCache<HashString, BString> map(5);
46 map.Put(HashString(tmpKey), tmpValue);
50 CPPUNIT_ASSERT_EQUAL(5, map.Size());
52 CPPUNIT_ASSERT_EQUAL(BString(""), map.Get(HashString("a")));
53 CPPUNIT_ASSERT_EQUAL(BString(""), map.Get(HashString("u")));
55 CPPUNIT_ASSERT_EQUAL(BString("zz"), map.Get(HashString("z")));
56 CPPUNIT_ASSERT_EQUAL(BString("yy"), map.Get(HashString("y")));
57 CPPUNIT_ASSERT_EQUAL(BString("xx"), map.Get(HashString("x")));
58 CPPUNIT_ASSERT_EQUAL(BString("ww"), map
[all...]
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPJobConfiguration.h13 #include <map>
32 map<string, string> fStringSettings;
33 map<string, bool> fBooleanSettings;
34 map<string, int32> fIntSettings;
35 map<string, int32> fDimensionSettings;
36 map<string, double> fDoubleSettings;
H A DGPCapabilities.h19 #include <map>
44 typedef map<int32, GPArray<struct BaseCap> > DriverSpecificCapabilitiesType;
/haiku/headers/cpp/
H A Dmap.h34 using __STD::map;
H A Dstl.h9 #include <map>
H A Dstl_map.h48 class map { class
61 friend class map<_Key,_Tp,_Compare,_Alloc>;
74 _Rep_type _M_t; // red-black tree representing map
90 map() : _M_t(_Compare(), allocator_type()) {} function in class:map
91 explicit map(const _Compare& __comp, function in class:map
97 map(_InputIterator __first, _InputIterator __last) function in class:map
102 map(_InputIterator __first, _InputIterator __last, const _Compare& __comp, function in class:map
106 map(const value_type* __first, const value_type* __last) function in class:map
110 map(const value_type* __first, function in class:map
115 map(const_iterato function in class:map
119 map(const_iterator __first, const_iterator __last, const _Compare& __comp, function in class:map
125 map(const map<_Key,_Tp,_Compare,_Alloc>& __x) argument
127 operator =(const map<_Key, _Tp, _Compare, _Alloc>& __x) argument
210 operator ==(const map<_Key,_Tp,_Compare,_Alloc>& __x, const map<_Key,_Tp,_Compare,_Alloc>& __y) argument
216 operator <(const map<_Key,_Tp,_Compare,_Alloc>& __x, const map<_Key,_Tp,_Compare,_Alloc>& __y) argument
[all...]
/haiku/src/system/libroot/posix/glibc/iconv/
H A Dgconv_builtin.c41 } map[] = variable in typeref:struct:builtin_map
67 for (cnt = 0; cnt < sizeof (map) / sizeof (map[0]); ++cnt)
68 if (strcmp (name, map[cnt].name) == 0)
71 assert (cnt < sizeof (map) / sizeof (map[0]));
73 step->__fct = map[cnt].fct;
74 step->__btowc_fct = map[cnt].btowc_fct;
80 step->__min_needed_from = map[cnt].min_needed_from;
81 step->__max_needed_from = map[cn
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dbus_dma.cpp197 _prepare_bounce_buffer(bus_dmamap_t map, bus_size_t reqsize, int flags) argument
199 if (map->buffer_type == bus_dmamap::BUFFER_PROHIBITED) {
203 if (map->buffer_type != bus_dmamap::BUFFER_NONE) {
208 if (map->bounce_buffer_size >= reqsize)
211 if (map->bounce_buffer != NULL) {
212 kernel_contigfree(map->bounce_buffer, map->bounce_buffer_size, 0);
213 map->bounce_buffer = NULL;
217 int error = bus_dmamem_alloc(map->dmat, &map
228 bus_dmamap_destroy(bus_dma_tag_t dmat, bus_dmamap_t map) argument
310 bus_dmamem_free(bus_dma_tag_t dmat, void* vaddr, bus_dmamap_t map) argument
386 bus_dmamap_load(bus_dma_tag_t dmat, bus_dmamap_t map, void *buf, bus_size_t buflen, bus_dmamap_callback_t *callback, void *callback_arg, int flags) argument
427 bus_dmamap_load_mbuf_sg(bus_dma_tag_t dmat, bus_dmamap_t map, struct mbuf* mb, bus_dma_segment_t* segs, int* _nsegs, int flags) argument
469 bus_dmamap_load_mbuf(bus_dma_tag_t dmat, bus_dmamap_t map, struct mbuf* mb, bus_dmamap_callback2_t* callback, void* callback_arg, int flags) argument
486 bus_dmamap_unload(bus_dma_tag_t dmat, bus_dmamap_t map) argument
498 bus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map, bus_dmasync_op_t op) argument
527 bus_dmamap_sync_etc(bus_dma_tag_t dmat, bus_dmamap_t map, bus_addr_t offset, bus_size_t length, bus_dmasync_op_t op) argument
[all...]
/haiku/src/preferences/input/
H A DMouseSettings.cpp92 if (get_mouse_map(&fSettings.map) != B_OK)
139 printf("button[%d]: %" B_PRId32 "\n", i, fSettings.map.button[i]);
190 mouse_map map; local
191 if (get_mouse_map(&map) != B_OK) {
193 map.button[0] = B_PRIMARY_MOUSE_BUTTON;
194 map.button[1] = B_SECONDARY_MOUSE_BUTTON;
195 map.button[2] = B_TERTIARY_MOUSE_BUTTON;
196 map.button[3] = B_MOUSE_BUTTON(4);
197 map.button[4] = B_MOUSE_BUTTON(5);
198 map
325 SetMapping(mouse_map& map) argument
[all...]
/haiku/headers/private/storage/mime/
H A DSupportingApps.h15 #include <map>
44 std::map<std::string, std::set<std::string> > fSupportedTypes; // app sig => set of supported types
45 std::map<std::string, std::set<std::string> > fSupportingApps; // mime type => set of supporting apps
46 std::map<std::string, std::set<std::string> > fStrandedTypes; // app sig => set of no longer supported types for whom the
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Dvirtual_memory.cpp30 physical_entry *map, uint32 max_entries, uint32 *num_entries, size_t *mapped_len)
57 // map one iovec
68 &map[cur_idx], &cur_num_entries)) != B_OK) {
77 cur_mapped_len += map[tmp_idx].size;
93 && map[cur_idx].address
94 == map[cur_idx - 1].address + map[cur_idx - 1].size) {
96 map[cur_idx - 1].size += map[cur_idx].size;
97 memcpy(&map[cur_id
29 get_iovec_memory_map(iovec *vec, size_t vec_count, size_t vec_offset, size_t len, physical_entry *map, uint32 max_entries, uint32 *num_entries, size_t *mapped_len) argument
[all...]
/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DBufferMixer.h11 #include <map>
25 std::map<int32, BBuffer *> groupedBuffers;
/haiku/src/apps/cortex/support/
H A DProfileTarget.h40 #include <map>
70 typedef map<BString, block_entry> block_entry_map;
/haiku/src/kits/media/
H A DTimeSourceObjectManager.h9 #include <map>
31 typedef std::map<media_node_id, BTimeSource*> NodeMap;
/haiku/src/tests/system/kernel/cache/
H A Dfile_map_test.cpp82 _Error("Creating file map failed.");
247 debugger("file map error");
288 Map* map = (Map*)vnode; local
289 return map->GetFileMap(offset, length, vecs, _vecCount);
310 Map map("shrink1", 4096);
311 map.Add(0, 1024, 4096).Add(1024, 3072, 8192);
312 map.Test();
313 map.SetSize(0).Clear();
314 map.Test();
315 map
[all...]
/haiku/src/tools/cppunit/
H A DBTestSuite.cpp5 using std::map;
26 for ( map<string, CppUnit::Test*>::iterator it = fTests.begin();
38 for ( map<string, CppUnit::Test*>::iterator it = fTests.begin();
57 for ( map<string, CppUnit::Test *>::const_iterator it = fTests.begin();
91 const map<string, CppUnit::Test*> &
/haiku/headers/tools/cppunit/
H A DTestSuite.h6 #include <map>
27 const std::map<std::string, CppUnit::Test*> &getTests() const;
30 std::map<std::string, CppUnit::Test*> fTests;
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DVerifyHeader.h22 int howManyBlocksFurther, ExtentMapEntry* map, int8 WhichDirectory)
38 if(map != NULL) {
39 uint64 actualBlockToRead = inode->FileSystemBlockToAddr(map->br_startblock
21 VerifyHeader(T* header, char* buffer, Inode* inode, int howManyBlocksFurther, ExtentMapEntry* map, int8 WhichDirectory) argument
/haiku/src/apps/pairs/
H A DPairs.h15 #include <map>
34 typedef std::map<size_t, vector_icon*> IconMap;
/haiku/src/servers/media/
H A DAppManager.h9 #include <map>
37 typedef std::map<team_id, BMessenger> AppMap;
/haiku/src/servers/registrar/
H A DWatchingService.h30 #include <map>
50 typedef std::map<BMessenger,Watcher*> watcher_map;
/haiku/src/apps/webpositive/
H A DBookmarkBar.h9 #include <map>
42 std::map<ino_t, BPrivate::IconMenuItem*> fItemsMap;
/haiku/src/system/kernel/arch/m68k/
H A Darch_vm_translation_map_impl.cpp25 a 1-bit first level (2 entries top level table) that would map kernel
119 #define IS_KERNEL_MAP(map) (map->arch_data->rtdir_phys == sKernelPhysicalPageRoot)
125 static void flush_tmap(vm_translation_map *map);
130 _m68k_translation_map_get_pgdir(vm_translation_map *map) argument
132 return map->arch_data->rtdir_phys;
270 /*! Acquires the map's recursive lock, and resets the invalidate pages counter
274 lock_tmap(vm_translation_map *map) argument
276 TRACE(("lock_tmap: map %p\n", map));
294 unlock_tmap(vm_translation_map *map) argument
309 destroy_tmap(vm_translation_map *map) argument
517 map_tmap(vm_translation_map *map, addr_t va, addr_t pa, uint32 attributes) argument
646 unmap_tmap(vm_translation_map *map, addr_t start, addr_t end) argument
722 query_tmap_interrupt(vm_translation_map *map, addr_t va, addr_t *_physical, uint32 *_flags) argument
778 query_tmap(vm_translation_map *map, addr_t va, addr_t *_physical, uint32 *_flags) argument
861 get_mapped_size_tmap(vm_translation_map *map) argument
868 protect_tmap(vm_translation_map *map, addr_t start, addr_t end, uint32 attributes) argument
948 clear_flags_tmap(vm_translation_map *map, addr_t va, uint32 flags) argument
1031 flush_tmap(vm_translation_map *map) argument
1163 m68k_vm_translation_map_init_map(vm_translation_map *map, bool kernel) argument
1229 m68k_vm_translation_map_init_kernel_map_post_sem(vm_translation_map *map) argument
[all...]
/haiku/headers/private/input/
H A Dkb_mouse_settings.h30 mouse_map map; member in struct:__anon992
/haiku/headers/private/interface/
H A Dinput_globals.h16 void _get_key_map(key_map **map, char **key_buffer, ssize_t *key_buffer_size);

Completed in 242 milliseconds

1234567891011>>