Home
last modified time | relevance | path

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

12345678910>>...159

/third_party/vulkan-loader/loader/generated/
Dvk_dispatch_table_helper.h425 static inline void layer_init_device_dispatch_table(VkDevice device, VkLayerDispatchTable *table, P… in layer_init_device_dispatch_table() argument
426 memset(table, 0, sizeof(*table)); in layer_init_device_dispatch_table()
427 table->magic = DEVICE_DISP_TABLE_MAGIC_NUMBER; in layer_init_device_dispatch_table()
430 table->GetDeviceProcAddr = gpa; in layer_init_device_dispatch_table()
431 table->DestroyDevice = (PFN_vkDestroyDevice) gpa(device, "vkDestroyDevice"); in layer_init_device_dispatch_table()
432 table->GetDeviceQueue = (PFN_vkGetDeviceQueue) gpa(device, "vkGetDeviceQueue"); in layer_init_device_dispatch_table()
433 table->QueueSubmit = (PFN_vkQueueSubmit) gpa(device, "vkQueueSubmit"); in layer_init_device_dispatch_table()
434 table->QueueWaitIdle = (PFN_vkQueueWaitIdle) gpa(device, "vkQueueWaitIdle"); in layer_init_device_dispatch_table()
435 table->DeviceWaitIdle = (PFN_vkDeviceWaitIdle) gpa(device, "vkDeviceWaitIdle"); in layer_init_device_dispatch_table()
436 table->AllocateMemory = (PFN_vkAllocateMemory) gpa(device, "vkAllocateMemory"); in layer_init_device_dispatch_table()
[all …]
Dvk_loader_extensions.c339 VkLayerDispatchTable *table = &dev_table->core_dispatch; in loader_init_device_dispatch_table() local
340 table->magic = DEVICE_DISP_TABLE_MAGIC_NUMBER; in loader_init_device_dispatch_table()
344 table->GetDeviceProcAddr = gpa; in loader_init_device_dispatch_table()
345 table->DestroyDevice = (PFN_vkDestroyDevice)gpa(dev, "vkDestroyDevice"); in loader_init_device_dispatch_table()
346 table->GetDeviceQueue = (PFN_vkGetDeviceQueue)gpa(dev, "vkGetDeviceQueue"); in loader_init_device_dispatch_table()
347 table->QueueSubmit = (PFN_vkQueueSubmit)gpa(dev, "vkQueueSubmit"); in loader_init_device_dispatch_table()
348 table->QueueWaitIdle = (PFN_vkQueueWaitIdle)gpa(dev, "vkQueueWaitIdle"); in loader_init_device_dispatch_table()
349 table->DeviceWaitIdle = (PFN_vkDeviceWaitIdle)gpa(dev, "vkDeviceWaitIdle"); in loader_init_device_dispatch_table()
350 table->AllocateMemory = (PFN_vkAllocateMemory)gpa(dev, "vkAllocateMemory"); in loader_init_device_dispatch_table()
351 table->FreeMemory = (PFN_vkFreeMemory)gpa(dev, "vkFreeMemory"); in loader_init_device_dispatch_table()
[all …]
/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/node/deps/v8/src/objects/
Dordered-hash-table.cc37 Handle<Derived> table = Handle<Derived>::cast(backing_store); in Allocate() local
39 table->set(HashTableStartIndex() + i, Smi::FromInt(kNotFound)); in Allocate()
41 table->SetNumberOfBuckets(num_buckets); in Allocate()
42 table->SetNumberOfElements(0); in Allocate()
43 table->SetNumberOfDeletedElements(0); in Allocate()
44 return table; in Allocate()
58 Handle<Derived> table = Handle<Derived>::cast(backing_store); in AllocateEmpty() local
59 table->SetNumberOfBuckets(0); in AllocateEmpty()
60 table->SetNumberOfElements(0); in AllocateEmpty()
61 table->SetNumberOfDeletedElements(0); in AllocateEmpty()
[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/parse5/test/data/parser-feedback/
Dtables01.test5 "description": "<table><th>",
6 "input": "<table><th>",
10 "table",
22 "description": "<table><td>",
23 "input": "<table><td>",
27 "table",
39 "description": "<table><col foo='bar'>",
40 "input": "<table><col foo='bar'>",
44 "table",
58 "description": "<table><colgroup></html>foo",
[all …]
Dtests7.test37 "description": "<!doctype html><table><title>X</title></table>",
38 "input": "<!doctype html><table><title>X</title></table>",
49 "table",
67 "table"
140 "description": "<!doctype html><table><meta></table>",
141 "input": "<!doctype html><table><meta></table>",
152 "table",
162 "table"
168 "description": "<!doctype html><table>X<tr><td><table> <meta></table></table>",
169 "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/node/test/fixtures/wpt/wasm/jsapi/table/
Dget-set.any.js26 const table = new WebAssembly.Table(argument); constant
27 assert_throws_js(TypeError, () => table.get());
57 const table = new WebAssembly.Table(argument); constant
58 assert_throws_js(TypeError, () => table.set());
88 const table = new WebAssembly.Table(argument); constant
89 assert_equal_to_array(table, [null, null, null, null, null]);
93 assert_equals(table.set(0, fn), undefined, "set() returns undefined.");
94 table.set(2, fn2);
95 table.set(4, fn);
97 assert_equal_to_array(table, [fn, null, fn2, null, fn]);
[all …]
Dgrow.any.js11 const table = new WebAssembly.Table(argument); constant
12 assert_throws_js(TypeError, () => table.grow());
42 const table = new WebAssembly.Table(argument); constant
43 assert_equal_to_array(table, nulls(5), "before");
45 const result = table.grow(3);
47 assert_equal_to_array(table, nulls(8), "after");
52 const table = new WebAssembly.Table(argument); constant
53 assert_equal_to_array(table, nulls(3), "before");
55 const result = table.grow(2);
57 assert_equal_to_array(table, nulls(5), "after");
[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()
60 struct uvwasi_fd_table_t* table, in uvwasi_fd_table_insert() argument
119 uv_rwlock_wrlock(&table->rwlock); in uvwasi_fd_table_insert()
122 if (table->used >= table->size) { in uvwasi_fd_table_insert()
123 new_size = table->size * 2; in uvwasi_fd_table_insert()
124 new_fds = uvwasi__realloc(uvwasi, table->fds, new_size * sizeof(*new_fds)); in uvwasi_fd_table_insert()
131 for (i = table->size; i < new_size; ++i) in uvwasi_fd_table_insert()
134 index = table->size; in uvwasi_fd_table_insert()
135 table->fds = new_fds; in uvwasi_fd_table_insert()
[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/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/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/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/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/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 …]
/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/skia/third_party/externals/angle2/src/third_party/volk/
Dvolk.c33 static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, PFN_vkVoidFunction…
123 void volkLoadDeviceTable(struct VolkDeviceTable* table, VkDevice device) in volkLoadDeviceTable() argument
125 volkGenLoadDeviceTable(table, device, vkGetDeviceProcAddrStub); in volkLoadDeviceTable()
723 static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, PFN_vkVoidFunction… in volkGenLoadDeviceTable() argument
727table->vkAllocateCommandBuffers = (PFN_vkAllocateCommandBuffers)load(context, "vkAllocateCommandBu… in volkGenLoadDeviceTable()
728table->vkAllocateDescriptorSets = (PFN_vkAllocateDescriptorSets)load(context, "vkAllocateDescripto… in volkGenLoadDeviceTable()
729 table->vkAllocateMemory = (PFN_vkAllocateMemory)load(context, "vkAllocateMemory"); in volkGenLoadDeviceTable()
730 table->vkBeginCommandBuffer = (PFN_vkBeginCommandBuffer)load(context, "vkBeginCommandBuffer"); in volkGenLoadDeviceTable()
731 table->vkBindBufferMemory = (PFN_vkBindBufferMemory)load(context, "vkBindBufferMemory"); in volkGenLoadDeviceTable()
732 table->vkBindImageMemory = (PFN_vkBindImageMemory)load(context, "vkBindImageMemory"); in volkGenLoadDeviceTable()
[all …]
/third_party/lzma/C/
D7zCrcOpt.c10 #define CRC_UPDATE_BYTE_2(crc, b) (table[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
12 UInt32 Z7_FASTCALL CrcUpdateT4(UInt32 v, const void *data, size_t size, const UInt32 *table);
13 UInt32 Z7_FASTCALL CrcUpdateT4(UInt32 v, const void *data, size_t size, const UInt32 *table) in CrcUpdateT4() argument
22 (table + 0x300)[((v ) & 0xFF)] in CrcUpdateT4()
23 ^ (table + 0x200)[((v >> 8) & 0xFF)] in CrcUpdateT4()
24 ^ (table + 0x100)[((v >> 16) & 0xFF)] in CrcUpdateT4()
25 ^ (table + 0x000)[((v >> 24))]; in CrcUpdateT4()
32 UInt32 Z7_FASTCALL CrcUpdateT8(UInt32 v, const void *data, size_t size, const UInt32 *table);
33 UInt32 Z7_FASTCALL CrcUpdateT8(UInt32 v, const void *data, size_t size, const UInt32 *table) in CrcUpdateT8() argument
43 (table + 0x700)[((v ) & 0xFF)] in CrcUpdateT8()
[all …]
/third_party/skia/third_party/externals/freetype/src/otvalid/
Dotvgpos.c35 otv_Anchor_validate( FT_Bytes table,
39 otv_MarkArray_validate( FT_Bytes table,
59 otv_x_sxy( FT_Bytes table, in otv_x_sxy() argument
62 FT_Bytes p = table; in otv_x_sxy()
90 otv_Anchor_validate( table + anchor_offset, otvalid ); in otv_x_sxy()
93 otv_Anchor_validate( table + anchor_offset, otvalid ); in otv_x_sxy()
107 otv_u_O_O_u_O_O( FT_Bytes table, in otv_u_O_O_u_O_O() argument
110 FT_Bytes p = table; in otv_u_O_O_u_O_O()
127 otv_Coverage_validate( table + Coverage1, otvalid, -1 ); in otv_u_O_O_u_O_O()
128 otv_Coverage_validate( table + Coverage2, otvalid, -1 ); in otv_u_O_O_u_O_O()
[all …]

12345678910>>...159