Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 5823) sorted by relevance

12345678910>>...233

/third_party/mesa3d/src/mesa/main/
Dhash.c53 struct _mesa_HashTable *table = CALLOC_STRUCT(_mesa_HashTable); in _mesa_NewHashTable() local
55 if (table) { in _mesa_NewHashTable()
56 table->ht = _mesa_hash_table_create(NULL, uint_key_hash, in _mesa_NewHashTable()
58 if (table->ht == NULL) { in _mesa_NewHashTable()
59 free(table); in _mesa_NewHashTable()
64 _mesa_hash_table_set_deleted_key(table->ht, uint_key(DELETED_KEY_VALUE)); in _mesa_NewHashTable()
65 simple_mtx_init(&table->Mutex, mtx_plain); in _mesa_NewHashTable()
71 return table; in _mesa_NewHashTable()
85 _mesa_DeleteHashTable(struct _mesa_HashTable *table) in _mesa_DeleteHashTable() argument
87 assert(table); in _mesa_DeleteHashTable()
[all …]
Dhash.h120 extern void _mesa_DeleteHashTable(struct _mesa_HashTable *table);
122 extern void *_mesa_HashLookup(struct _mesa_HashTable *table, GLuint key);
124 extern void _mesa_HashInsert(struct _mesa_HashTable *table, GLuint key, void *data,
127 extern void _mesa_HashRemove(struct _mesa_HashTable *table, GLuint key);
139 _mesa_HashLockMutex(struct _mesa_HashTable *table) in _mesa_HashLockMutex() argument
141 assert(table); in _mesa_HashLockMutex()
142 simple_mtx_lock(&table->Mutex); in _mesa_HashLockMutex()
152 _mesa_HashUnlockMutex(struct _mesa_HashTable *table) in _mesa_HashUnlockMutex() argument
154 assert(table); in _mesa_HashUnlockMutex()
155 simple_mtx_unlock(&table->Mutex); in _mesa_HashUnlockMutex()
[all …]
/third_party/skia/third_party/externals/imgui/
Dimgui_tables.cpp334 ImGuiTable* table = g.Tables.GetOrAddByKey(id); in BeginTableEx() local
335 … const int instance_no = (table->LastFrameActive != g.FrameCount) ? 0 : table->InstanceCurrent + 1; in BeginTableEx()
337 const ImGuiTableFlags table_last_flags = table->Flags; in BeginTableEx()
339 …IM_ASSERT(table->ColumnsCount == columns_count && "BeginTable(): Cannot change columns count mid-f… in BeginTableEx()
342 const int table_idx = g.Tables.GetIndex(table); in BeginTableEx()
346 … ImGuiTableTempData* temp_data = table->TempData = &g.TablesTempDataStack[g.CurrentTableStackIdx]; in BeginTableEx()
348 table->DrawSplitter = &table->TempData->DrawSplitter; in BeginTableEx()
349 table->DrawSplitter->Clear(); in BeginTableEx()
352 table->IsDefaultSizingPolicy = (flags & ImGuiTableFlags_SizingMask_) == 0; in BeginTableEx()
356 table->ID = id; in BeginTableEx()
[all …]
/third_party/mindspore/mindspore/lite/schema/
Dops.fbs223 table Abs {
226 table Activation {
234 table ActivationGrad {
239 table Adam {
244 table AddFusion {
248 table AdderFusion {
261 table AddGrad {
264 table AddN {
267 table All {
271 table ApplyMomentum {
[all …]
Dops_v0.fbs135 table Pad {
141 table Maximum {
144 table Minimum {
147 table Flatten {
149 table FlattenGrad {
151 table Concat {
156 table SoftMax {
160 table Activation {
166 table ActivationGrad {
172 table Conv2D {
[all …]
/third_party/libxml2/
Dhash.c69 struct _xmlHashEntry *table; member
86 xmlHashComputeKey(xmlHashTablePtr table, const xmlChar *name, in xmlHashComputeKey() argument
92 value = table->random_seed; in xmlHashComputeKey()
112 return (value % table->size); in xmlHashComputeKey()
119 xmlHashComputeQKey(xmlHashTablePtr table, in xmlHashComputeQKey() argument
127 value = table->random_seed; in xmlHashComputeQKey()
169 return (value % table->size); in xmlHashComputeQKey()
182 xmlHashTablePtr table; in xmlHashCreate() local
187 table = xmlMalloc(sizeof(xmlHashTable)); in xmlHashCreate()
188 if (table) { in xmlHashCreate()
[all …]
/third_party/gettext/gnulib-local/lib/libxml/
Dhash.c79 struct _xmlHashEntry *table; member
93 xmlHashComputeKey(xmlHashTablePtr table, const xmlChar *name, in xmlHashComputeKey() argument
99 value = table->random_seed; in xmlHashComputeKey()
119 return (value % table->size); in xmlHashComputeKey()
123 xmlHashComputeQKey(xmlHashTablePtr table, in xmlHashComputeQKey() argument
131 value = table->random_seed; in xmlHashComputeQKey()
173 return (value % table->size); in xmlHashComputeQKey()
186 xmlHashTablePtr table; in xmlHashCreate() local
191 table = xmlMalloc(sizeof(xmlHashTable)); in xmlHashCreate()
192 if (table) { in xmlHashCreate()
[all …]
/third_party/parse5/test/data/parser-feedback/
Dtables01.test4 "description": "<table><th>",
5 "input": "<table><th>",
9 "table",
20 "description": "<table><td>",
21 "input": "<table><td>",
25 "table",
36 "description": "<table><col foo='bar'>",
37 "input": "<table><col foo='bar'>",
41 "table",
54 "description": "<table><colgroup></html>foo",
[all …]
Dtests7.test35 "description": "<!doctype html><table><title>X</title></table>",
36 "input": "<!doctype html><table><title>X</title></table>",
47 "table",
65 "table"
135 "description": "<!doctype html><table><meta></table>",
136 "input": "<!doctype html><table><meta></table>",
147 "table",
157 "table"
162 "description": "<!doctype html><table>X<tr><td><table> <meta></table></table>",
163 "input": "<!doctype html><table>X<tr><td><table> <meta></table></table>",
[all …]
/third_party/mesa3d/src/glx/
Dglxhash.c159 __glxHashTablePtr table; in __glxHashCreate() local
162 table = HASH_ALLOC(sizeof(*table)); in __glxHashCreate()
163 if (!table) in __glxHashCreate()
165 table->magic = HASH_MAGIC; in __glxHashCreate()
166 table->hits = 0; in __glxHashCreate()
167 table->partials = 0; in __glxHashCreate()
168 table->misses = 0; in __glxHashCreate()
171 table->buckets[i] = NULL; in __glxHashCreate()
172 return table; in __glxHashCreate()
178 __glxHashTablePtr table = (__glxHashTablePtr) t; in __glxHashDestroy() local
[all …]
/third_party/skia/third_party/externals/freetype/src/base/
Dftdbgmem.c226 ft_mem_table_alloc( FT_MemTable table, in ft_mem_table_alloc() argument
229 FT_Memory memory = table->memory; in ft_mem_table_alloc()
233 memory->user = table->memory_user; in ft_mem_table_alloc()
234 block = table->alloc( memory, size ); in ft_mem_table_alloc()
235 memory->user = table; in ft_mem_table_alloc()
242 ft_mem_table_free( FT_MemTable table, in ft_mem_table_free() argument
245 FT_Memory memory = table->memory; in ft_mem_table_free()
248 memory->user = table->memory_user; in ft_mem_table_free()
249 table->free( memory, block ); in ft_mem_table_free()
250 memory->user = table; in ft_mem_table_free()
[all …]
/third_party/freetype/src/base/
Dftdbgmem.c226 ft_mem_table_alloc( FT_MemTable table, in ft_mem_table_alloc() argument
229 FT_Memory memory = table->memory; in ft_mem_table_alloc()
233 memory->user = table->memory_user; in ft_mem_table_alloc()
234 block = table->alloc( memory, size ); in ft_mem_table_alloc()
235 memory->user = table; in ft_mem_table_alloc()
242 ft_mem_table_free( FT_MemTable table, in ft_mem_table_free() argument
245 FT_Memory memory = table->memory; in ft_mem_table_free()
248 memory->user = table->memory_user; in ft_mem_table_free()
249 table->free( memory, block ); in ft_mem_table_free()
250 memory->user = table; in ft_mem_table_free()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftdbgmem.c226 ft_mem_table_alloc( FT_MemTable table, in ft_mem_table_alloc() argument
229 FT_Memory memory = table->memory; in ft_mem_table_alloc()
233 memory->user = table->memory_user; in ft_mem_table_alloc()
234 block = table->alloc( memory, size ); in ft_mem_table_alloc()
235 memory->user = table; in ft_mem_table_alloc()
242 ft_mem_table_free( FT_MemTable table, in ft_mem_table_free() argument
245 FT_Memory memory = table->memory; in ft_mem_table_free()
248 memory->user = table->memory_user; in ft_mem_table_free()
249 table->free( memory, block ); in ft_mem_table_free()
250 memory->user = table; in ft_mem_table_free()
[all …]
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DLoadTile.h158 static INLINE void InitLoadTileColorTable(PFN_LOAD_TILES (&table)[NUM_SWR_FORMATS]) in InitLoadTileColorTable()
160 memset(table, 0, sizeof(table)); in InitLoadTileColorTable()
162table[R32G32B32A32_FLOAT] = LoadMacroTile<TilingTraits<TTileMode, 128>, R32G32B32A32_… in InitLoadTileColorTable()
163table[R32G32B32A32_SINT] = LoadMacroTile<TilingTraits<TTileMode, 128>, R32G32B32A32_… in InitLoadTileColorTable()
164table[R32G32B32A32_UINT] = LoadMacroTile<TilingTraits<TTileMode, 128>, R32G32B32A32_… in InitLoadTileColorTable()
165table[R32G32B32X32_FLOAT] = LoadMacroTile<TilingTraits<TTileMode, 128>, R32G32B32X32_… in InitLoadTileColorTable()
166table[R32G32B32A32_SSCALED] = LoadMacroTile<TilingTraits<TTileMode, 128>, R32G32B32A32_… in InitLoadTileColorTable()
167table[R32G32B32A32_USCALED] = LoadMacroTile<TilingTraits<TTileMode, 128>, R32G32B32A32_… in InitLoadTileColorTable()
168table[R32G32B32_FLOAT] = LoadMacroTile<TilingTraits<TTileMode, 96>, R32G32B32_FLOA… in InitLoadTileColorTable()
169table[R32G32B32_SINT] = LoadMacroTile<TilingTraits<TTileMode, 96>, R32G32B32_SINT… in InitLoadTileColorTable()
[all …]
/third_party/libdrm/
Dxf86drmHash.c107 HashTablePtr table; in drmHashCreate() local
109 table = drmMalloc(sizeof(*table)); in drmHashCreate()
110 if (!table) return NULL; in drmHashCreate()
111 table->magic = HASH_MAGIC; in drmHashCreate()
113 return table; in drmHashCreate()
118 HashTablePtr table = (HashTablePtr)t; in drmHashDestroy() local
123 if (table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashDestroy()
126 for (bucket = table->buckets[i]; bucket;) { in drmHashDestroy()
132 drmFree(table); in drmHashDestroy()
139 static HashBucketPtr HashFind(HashTablePtr table, in HashFind() argument
[all …]
/third_party/mesa3d/src/glx/tests/
Dindirect_api.cpp416 … target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) { } in __indirect_glColorTable() argument
431 void __indirect_glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table) { } in __indirect_glGetColorTable() argument
717 _glapi_proc *table; member in IndirectAPI
723 this->table = (_glapi_proc *) __glXNewIndirectAPI(); in SetUp()
729 free(this->table); in TearDown()
730 this->table = NULL; in TearDown()
742 _glapi_table *table = __glXNewIndirectAPI(); in TEST_F() local
747 free(table); in TEST_F()
758 EXPECT_NE(nil, table[i]); in TEST_F()
764 EXPECT_EQ((_glapi_proc) __indirect_glAccum, table[_gloffset_Accum]); in TEST_F()
[all …]
/third_party/node/deps/uvwasi/src/
Dfd_table.c19 struct uvwasi_fd_table_t* table, in uvwasi__insert_stdio() argument
38 table, in uvwasi__insert_stdio()
59 struct uvwasi_fd_table_t* table, in uvwasi_fd_table_insert() argument
106 uv_rwlock_wrlock(&table->rwlock); in uvwasi_fd_table_insert()
109 if (table->used >= table->size) { in uvwasi_fd_table_insert()
110 new_size = table->size * 2; in uvwasi_fd_table_insert()
111 new_fds = uvwasi__realloc(uvwasi, table->fds, new_size * sizeof(*new_fds)); in uvwasi_fd_table_insert()
118 for (i = table->size; i < new_size; ++i) in uvwasi_fd_table_insert()
121 index = table->size; in uvwasi_fd_table_insert()
122 table->fds = new_fds; in uvwasi_fd_table_insert()
[all …]
/third_party/gn/src/gn/
Dhash_table_base_unittest.cc194 TestHashTable table; in TEST() local
195 EXPECT_TRUE(table.empty()); in TEST()
196 EXPECT_EQ(table.size(), 0u); in TEST()
197 EXPECT_EQ(table.begin(), table.end()); in TEST()
208 TestHashTable table; in TEST() local
209 table.insert(1); in TEST()
210 table.insert(5); in TEST()
211 table.insert(7); in TEST()
213 EXPECT_FALSE(table.empty()); in TEST()
214 EXPECT_EQ(table.size(), 3u); in TEST()
[all …]
/third_party/mesa3d/src/mesa/program/
Dsymbol_table.c87 _mesa_symbol_table_pop_scope(struct _mesa_symbol_table *table) in _mesa_symbol_table_pop_scope() argument
89 struct scope_level *const scope = table->current_scope; in _mesa_symbol_table_pop_scope()
92 table->current_scope = scope->next; in _mesa_symbol_table_pop_scope()
93 table->depth--; in _mesa_symbol_table_pop_scope()
99 struct hash_entry *hte = _mesa_hash_table_search(table->ht, in _mesa_symbol_table_pop_scope()
108 _mesa_hash_table_remove(table->ht, hte); in _mesa_symbol_table_pop_scope()
119 _mesa_symbol_table_push_scope(struct _mesa_symbol_table *table) in _mesa_symbol_table_push_scope() argument
127 scope->next = table->current_scope; in _mesa_symbol_table_push_scope()
128 table->current_scope = scope; in _mesa_symbol_table_push_scope()
129 table->depth++; in _mesa_symbol_table_push_scope()
[all …]
/third_party/libdrm/tests/
Dhash.c104 static void compute_dist(HashTablePtr table) in compute_dist() argument
110 table->entries, table->hits, table->partials, table->misses); in compute_dist()
113 bucket = table->buckets[i]; in compute_dist()
124 static int check_table(HashTablePtr table, in check_table() argument
128 int retcode = drmHashLookup(table, key, &retval); in check_table()
134 table->magic, key, value, retval); in check_table()
157 HashTablePtr table; in main() local
162 table = drmHashCreate(); in main()
164 drmHashInsert(table, i, (void *)(i << 16 | i)); in main()
166 ret |= check_table(table, i, (void *)(i << 16 | i)); in main()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
DOtTableTagger.java7 import com.google.typography.font.sfntly.table.FontDataTable;
8 import com.google.typography.font.sfntly.table.opentype.AlternateSubst;
9 import com.google.typography.font.sfntly.table.opentype.ChainContextSubst;
10 import com.google.typography.font.sfntly.table.opentype.ClassDefTable;
11 import com.google.typography.font.sfntly.table.opentype.ContextSubst;
12 import com.google.typography.font.sfntly.table.opentype.CoverageTable;
13 import com.google.typography.font.sfntly.table.opentype.ExtensionSubst;
14 import com.google.typography.font.sfntly.table.opentype.FeatureListTable;
15 import com.google.typography.font.sfntly.table.opentype.FeatureTable;
16 import com.google.typography.font.sfntly.table.opentype.GSubTable;
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
DOtTableTagger.java7 import com.google.typography.font.sfntly.table.FontDataTable;
8 import com.google.typography.font.sfntly.table.opentype.AlternateSubst;
9 import com.google.typography.font.sfntly.table.opentype.ChainContextSubst;
10 import com.google.typography.font.sfntly.table.opentype.ClassDefTable;
11 import com.google.typography.font.sfntly.table.opentype.ContextSubst;
12 import com.google.typography.font.sfntly.table.opentype.CoverageTable;
13 import com.google.typography.font.sfntly.table.opentype.ExtensionSubst;
14 import com.google.typography.font.sfntly.table.opentype.FeatureListTable;
15 import com.google.typography.font.sfntly.table.opentype.FeatureTable;
16 import com.google.typography.font.sfntly.table.opentype.GSubTable;
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Deloop.c84 struct eloop_sock *table; member
141 static void eloop_trace_sock_add_ref(struct eloop_sock_table *table) in eloop_trace_sock_add_ref() argument
145 if (table == NULL || table->table == NULL) in eloop_trace_sock_add_ref()
147 for (i = 0; i < table->count; i++) { in eloop_trace_sock_add_ref()
148 wpa_trace_add_ref(&table->table[i], eloop, in eloop_trace_sock_add_ref()
149 table->table[i].eloop_data); in eloop_trace_sock_add_ref()
150 wpa_trace_add_ref(&table->table[i], user, in eloop_trace_sock_add_ref()
151 table->table[i].user_data); in eloop_trace_sock_add_ref()
156 static void eloop_trace_sock_remove_ref(struct eloop_sock_table *table) in eloop_trace_sock_remove_ref() argument
160 if (table == NULL || table->table == NULL) in eloop_trace_sock_remove_ref()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Deloop.c84 struct eloop_sock *table; member
141 static void eloop_trace_sock_add_ref(struct eloop_sock_table *table) in eloop_trace_sock_add_ref() argument
144 if (table == NULL || table->table == NULL) in eloop_trace_sock_add_ref()
146 for (i = 0; i < table->count; i++) { in eloop_trace_sock_add_ref()
147 wpa_trace_add_ref(&table->table[i], eloop, in eloop_trace_sock_add_ref()
148 table->table[i].eloop_data); in eloop_trace_sock_add_ref()
149 wpa_trace_add_ref(&table->table[i], user, in eloop_trace_sock_add_ref()
150 table->table[i].user_data); in eloop_trace_sock_add_ref()
155 static void eloop_trace_sock_remove_ref(struct eloop_sock_table *table) in eloop_trace_sock_remove_ref() argument
158 if (table == NULL || table->table == NULL) in eloop_trace_sock_remove_ref()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/
DRuleExtractor.java1 package com.google.typography.font.sfntly.table.opentype.component;
3 import com.google.typography.font.sfntly.table.opentype.AlternateSubst;
4 import com.google.typography.font.sfntly.table.opentype.ChainContextSubst;
5 import com.google.typography.font.sfntly.table.opentype.ClassDefTable;
6 import com.google.typography.font.sfntly.table.opentype.ContextSubst;
7 import com.google.typography.font.sfntly.table.opentype.CoverageTable;
8 import com.google.typography.font.sfntly.table.opentype.ExtensionSubst;
9 import com.google.typography.font.sfntly.table.opentype.LigatureSubst;
10 import com.google.typography.font.sfntly.table.opentype.LookupListTable;
11 import com.google.typography.font.sfntly.table.opentype.LookupTable;
[all …]

12345678910>>...233