Searched refs:table (Results 1 - 25 of 140) sorted by relevance

123456

/haiku/src/tools/fs_shell/
H A Dhash.cpp1 /* Generic hash table
35 struct hash_element **table; member in struct:FSShell::hash_table
51 next_element(hash_table *table, void *element) argument
54 return (void *)(*(unsigned long *)NEXT_ADDR(table, element));
75 t->table = (struct hash_element **)malloc(sizeof(void *) * table_size);
76 if (t->table == NULL) {
82 t->table[i] = NULL;
91 TRACE(("hash_init: created table %p, next_ptr_offset %d, compare_func %p, hash_func %p\n",
99 hash_uninit(struct hash_table *table) argument
101 ASSERT(table
111 hash_insert(struct hash_table *table, void *element) argument
130 hash_remove(struct hash_table *table, void *_element) argument
154 hash_remove_current(struct hash_table *table, struct hash_iterator *iterator) argument
188 hash_remove_first(struct hash_table *table, uint32_t *_cookie) argument
209 hash_find(struct hash_table *table, void *searchedElement) argument
224 hash_lookup(struct hash_table *table, const void *key) argument
239 hash_open(struct hash_table *table, struct hash_iterator *iterator) argument
254 hash_close(struct hash_table *table, struct hash_iterator *iterator, bool freeIterator) argument
262 hash_rewind(struct hash_table *table, struct hash_iterator *iterator) argument
270 hash_next(struct hash_table *table, struct hash_iterator *iterator) argument
[all...]
H A Dhash.h24 int hash_uninit(struct hash_table *table);
25 fssh_status_t hash_insert(struct hash_table *table, void *_element);
26 fssh_status_t hash_remove(struct hash_table *table, void *_element);
27 void hash_remove_current(struct hash_table *table, struct hash_iterator *iterator);
28 void *hash_remove_first(struct hash_table *table, uint32_t *_cookie);
29 void *hash_find(struct hash_table *table, void *e);
30 void *hash_lookup(struct hash_table *table, const void *key);
31 struct hash_iterator *hash_open(struct hash_table *table, struct hash_iterator *i);
32 void hash_close(struct hash_table *table, struct hash_iterator *i, bool free_iterator);
33 void *hash_next(struct hash_table *table, struc
[all...]
/haiku/src/system/libroot/posix/glibc/locale/
H A Dcoll-lookup.c26 /* Lookup in a table of int32_t, with default value 0. */
29 __collidx_table_lookup (const char *table, uint32_t wc) argument
31 uint32_t shift1 = ((const uint32_t *) table)[0];
33 uint32_t bound = ((const uint32_t *) table)[1];
36 uint32_t lookup1 = ((const uint32_t *) table)[5 + index1];
39 uint32_t shift2 = ((const uint32_t *) table)[2];
40 uint32_t mask2 = ((const uint32_t *) table)[3];
42 uint32_t lookup2 = ((const uint32_t *)(table + lookup1))[index2];
45 uint32_t mask3 = ((const uint32_t *) table)[4];
47 int32_t lookup3 = ((const int32_t *)(table
60 __collseq_table_lookup(const char *table, uint32_t wc) argument
[all...]
H A Dcoll-lookup.h22 /* Lookup in a table of int32_t, with default value 0. */
23 extern int32_t __collidx_table_lookup (const char *table, uint32_t wc)
26 /* Lookup in a table of uint32_t, with default value 0xffffffff. */
27 extern uint32_t __collseq_table_lookup (const char *table, uint32_t wc)
/haiku/docs/interface_guidelines/docbook-css/
H A Dtables.css13 display: table;
17 display: table-row;
21 display: table-header-group;
25 display: table-row-group;
29 display: table-cell;
43 * TODO: seems to break formatting when nested in a table entry
46 display: table;
50 display: table-row;
54 display: table-cell;
58 display: table
[all...]
/haiku/src/system/libroot/posix/glibc/wctype/
H A Dwchar-lookup.h40 The table contains the following uint32_t words:
46 - 1st-level table: s offsets, pointing into the 2nd-level table,
47 - 2nd-level table: k*2^q offsets, pointing into the 3rd-level table,
48 - 3rd-level table: j*2^p words, each containing 32 bits of data.
52 wctype_table_lookup (const char *table, uint32_t wc) argument
54 uint32_t shift1 = ((const uint32_t *) table)[0];
56 uint32_t bound = ((const uint32_t *) table)[1];
59 uint32_t lookup1 = ((const uint32_t *) table)[
83 wcwidth_table_lookup(const char *table, uint32_t wc) argument
116 wctrans_table_lookup(const char *table, uint32_t wc) argument
[all...]
/haiku/src/tests/system/kernel/util/
H A DBOpenHashTableTest.cpp132 BOpenHashTable<EntryDefinition> table; local
133 CPPUNIT_ASSERT_EQUAL(table.Init(), B_OK);
135 CPPUNIT_ASSERT_EQUAL(table.Insert(&entry), B_OK);
143 BOpenHashTable<EntryDefinition> table; local
144 CPPUNIT_ASSERT_EQUAL(table.Init(), B_OK);
146 table.InsertUnchecked(&entry);
154 BOpenHashTable<EntryDefinition> table; local
155 CPPUNIT_ASSERT_EQUAL(table.Init(), B_OK);
157 table.InsertUnchecked(&entry);
166 BOpenHashTable<EntryDefinition> table; local
195 BOpenHashTable<EntryDefinition> table; local
225 BOpenHashTable<EntryDefinition> table; local
236 BOpenHashTable<EntryDefinition> table; local
251 BOpenHashTable<EntryDefinition> table; local
268 BOpenHashTable<EntryDefinition> table; local
291 BOpenHashTable<EntryDefinition, true, true> table; local
319 BOpenHashTable<EntryDefinition, false> table; local
332 BOpenHashTable<EntryDefinition> table; local
346 BOpenHashTable<EntryDefinition> table; local
371 BOpenHashTable<EntryDefinition> table; local
[all...]
/haiku/headers/os/drivers/
H A Dmime_table.h5 / Description: Kernel mime table and matcher module API
26 status_t get_table(struct ext_mime **table)
27 Returns the current kernel mime table.
30 void free_table(struct ext_mime *table)
31 Frees the given mime table;
45 status_t (*get_table)(struct ext_mime **table);
46 void (*free_table)(struct ext_mime *table);
/haiku/src/add-ons/accelerants/intel_810/
H A Di810_watermark.cpp111 WatermarkInfo *table; local
119 table = watermarks_8;
123 table = watermarks_16;
133 for (i = 0; i < tableLen && table[i].freq < clockFreq; i++)
139 TRACE("chosen watermark 0x%lx (freq %f)\n", table[i].watermark,
140 table[i].freq);
142 return table[i].watermark;
/haiku/src/apps/debugger/user_interface/gui/util/
H A DGuiSettingsUtils.h26 AbstractTable* table);
30 AbstractTable* table);
H A DGuiSettingsUtils.cpp12 #include "table/AbstractTable.h"
49 AbstractTable* table)
52 table->SaveState(&settings);
60 AbstractTable* table)
63 table->LoadState(&settingsCopy);
48 ArchiveTableSettings(BMessage& settings, AbstractTable* table) argument
59 UnarchiveTableSettings(const BMessage& settings, AbstractTable* table) argument
/haiku/src/kits/interface/textview_support/
H A DWidthBuffer.cpp9 //! Caches string widths in a hash table, to avoid a trip to the app server.
50 to uniquely identify the character in the hash table.
148 // We've found some characters which aren't yet in the hash table.
176 /*! \brief Searches for the table for the given font.
179 the index of the table, if found, or -1, if not.
180 \return \c true if the function founds the table,
204 /*! \brief Creates and insert an empty table for the given font.
205 \param font The font to create the table for.
206 \return The index of the newly created table.
211 _width_table_ table; local
236 const _width_table_ &table = fBuffer[index]; local
295 _width_table_ &table = fBuffer[tableIndex]; local
[all...]
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A DPartitionMapParser.cpp86 const partition_table* table = (const partition_table*)block; local
87 error = _ParsePrimary(table, hadToReFitSize);
89 partition_table table; local
90 error = _ReadPartitionTable(0, &table);
92 error = _ParsePrimary(&table, hadToReFitSize);
106 error = _ParsePrimary(&table, hadToReFitSize);
115 error = _ParsePrimary(&table, hadToReFitSize);
132 PartitionMapParser::_ParsePrimary(const partition_table* table, argument
135 if (table == NULL)
139 if (table
295 _ReadPartitionTable(off_t offset, partition_table* table) argument
[all...]
H A DPartitionMapParser.h41 status_t _ParsePrimary(const partition_table* table,
46 partition_table* table = NULL);
/haiku/src/bin/pkgman/
H A Dcommand_search.cpp31 // The table code doesn't support full-width characters yet.
264 // print table
265 TextTable table; local
268 table.AddColumn("Repository");
269 table.AddColumn("Name");
270 table.AddColumn("Version");
271 table.AddColumn("Arch");
285 table.SetTextAt(i, 0, repository);
286 table.SetTextAt(i, 1, package->Name());
287 table
[all...]
/haiku/src/system/kernel/arch/x86/64/
H A Ddescriptors.cpp414 // Initialize the interrupt handler table.
415 interrupt_handler_function** table = gInterruptHandlerTable; local
417 table[i] = x86_invalid_exception;
420 table[i] = x86_hardware_interrupt;
423 table[0] = x86_unexpected_exception; // Divide Error Exception (#DE)
424 table[1] = x86_handle_debug_exception; // Debug Exception (#DB)
425 table[2] = x86_fatal_exception; // NMI Interrupt
426 table[3] = x86_handle_breakpoint_exception; // Breakpoint Exception (#BP)
427 table[4] = x86_unexpected_exception; // Overflow Exception (#OF)
428 table[
[all...]
/haiku/src/add-ons/kernel/generic/mime_table/
H A Dmodule.c43 status_t get_table(struct ext_mime **table) argument
45 if (!table)
48 *table = mimes;
52 void free_table(struct ext_mime *table) argument
/haiku/headers/os/support/
H A Dparsedate.h27 extern void set_dateformats(const char *table[]);
/haiku/src/add-ons/kernel/generic/smbios/
H A Dsmbios.cpp113 smbios_get_string(struct smbios_structure_header* table, uint8* tableEnd, argument
116 uint8* addr = (uint8*)table + table->length;
159 void* table; local
174 table = malloc(tablePhysLength);
175 if (table == NULL)
177 status = vm_memcpy_from_physical(table, tablePhysAddr,
182 tableEnd = (uint8*)table + tablePhysLength;
183 for (uint8* addr = (uint8*)table;
185 struct smbios_structure_header* table local
[all...]
/haiku/src/system/kernel/util/
H A Dqueue.cpp116 q->table = (void**)malloc(size * sizeof(void *));
117 if (!q->table)
131 free(q->table);
141 q->table[q->head++] = e;
158 e = q->table[q->tail++];
173 return q->table[q->tail];
/haiku/src/kits/shared/
H A DColorQuantizer.cpp110 BColorQuantizer::GetColorTable(RGBA* table) const
133 table[j].r = clip((float)nr / ns);
134 table[j].g = clip((float)ng / ns);
135 table[j].b = clip((float)nb / ns);
136 table[j].a = clip((float)na / ns);
139 memcpy(table, tmpPalette, fLeafCount * sizeof(RGBA));
142 _GetPaletteColors(fTree, table, &index, NULL);
258 BColorQuantizer::_GetPaletteColors(Node* node, RGBA* table, uint32* _index, argument
265 table[*_index].r = clip((float)node->sumR / node->pixelCount);
266 table[*_inde
[all...]
/haiku/src/libs/libtelnet/
H A Dgenget.c79 genget(char *name, char **table, int stlen) argument
88 for (c = table; *c != 0; c = (char **)((char *)c + stlen)) {
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DRegistersView.h11 #include "table/Table.h"
40 virtual void TableRowInvoked(Table* table, int32 rowIndex);
42 virtual void TableCellMouseDown(Table* table, int32 rowIndex,
/haiku/src/add-ons/translators/wonderbrush/support/
H A Dlab_convert.cpp25 uint8* table = new uint8[GAMMA_TOTAL_ENTRIES]; local
27 table[i] = 0;
29 table[i + GAMMA_ZERO_ENTRIES] = (uint8)(pow((float)i / (float)(GAMMA_ENTRIES - 1), 0.4) * 255.0 + 0.5);
31 table[i + GAMMA_ZERO_ENTRIES + GAMMA_ENTRIES] = 255;
32 return table;
39 float* table = new float[256]; local
41 table[i] = pow((float)i / 255.0, 2.5);
42 return table;
/haiku/src/apps/debuganalyzer/gui/main_window/
H A DTeamsPage.h10 #include "table/Table.h"
27 virtual void TableRowInvoked(Table* table, int32 rowIndex);

Completed in 167 milliseconds

123456