Searched refs:entry (Results 1 - 25 of 872) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dopt_dead_code.cpp54 ir_variable_refcount_entry *entry = (ir_variable_refcount_entry *)e->data; local in function:do_dead_code
64 assert(entry->referenced_count >= entry->assigned_count);
68 entry->var->name, (void *) entry->var,
69 entry->referenced_count, entry->assigned_count,
70 entry->declaration ? "" : "not ");
73 if ((entry->referenced_count > entry
[all...]
H A Dir_variable_refcount.cpp45 free_entry(struct hash_entry *entry) argument
47 ir_variable_refcount_entry *ivre = (ir_variable_refcount_entry *) entry->data;
85 ir_variable_refcount_entry *entry = new ir_variable_refcount_entry(var); local in function:ir_variable_refcount_visitor::get_variable_entry
86 assert(entry->referenced_count == 0);
87 _mesa_hash_table_insert(this->ht, var, entry);
89 return entry;
96 ir_variable_refcount_entry *entry = this->get_variable_entry(ir); local in function:ir_variable_refcount_visitor::visit
97 if (entry)
98 entry->declaration = true;
108 ir_variable_refcount_entry *entry local in function:ir_variable_refcount_visitor::visit
131 ir_variable_refcount_entry *entry; local in function:ir_variable_refcount_visitor::visit_leave
[all...]
H A Dopt_dead_functions.cpp77 foreach_in_list(signature_entry, entry, &this->signature_list) {
78 if (entry->signature == sig)
79 return entry;
82 signature_entry *entry = new(mem_ctx) signature_entry(sig); local in function:ir_dead_functions_visitor::get_signature_entry
83 this->signature_list.push_tail(entry);
84 return entry;
91 signature_entry *entry = this->get_signature_entry(ir); local in function:ir_dead_functions_visitor::visit_enter
94 entry->used = true;
106 signature_entry *entry = this->get_signature_entry(ir->callee); local in function:ir_dead_functions_visitor::visit_enter
108 entry
[all...]
H A Dopt_constant_variable.cpp69 struct assignment_entry *entry; local in function:get_assignment_entry
72 entry = (struct assignment_entry *) hte->data;
74 entry = (struct assignment_entry *) calloc(1, sizeof(*entry));
75 entry->var = var;
76 _mesa_hash_table_insert(ht, var, entry);
79 return entry;
85 struct assignment_entry *entry = get_assignment_entry(ir, this->ht); local in function:ir_constant_variable_visitor::visit
86 entry->our_scope = true;
102 struct assignment_entry *entry; local in function:ir_constant_variable_visitor::visit_enter
162 struct assignment_entry *entry; local in function:ir_constant_variable_visitor::visit_enter
174 struct assignment_entry *entry; local in function:ir_constant_variable_visitor::visit_enter
182 struct assignment_entry *entry; local in function:ir_constant_variable_visitor::visit_enter
205 struct assignment_entry *entry = (struct assignment_entry *) hte->data; local in function:do_constant_variable
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dopt_dead_code.cpp54 ir_variable_refcount_entry *entry = (ir_variable_refcount_entry *)e->data; local in function:do_dead_code
64 assert(entry->referenced_count >= entry->assigned_count);
68 entry->var->name, (void *) entry->var,
69 entry->referenced_count, entry->assigned_count,
70 entry->declaration ? "" : "not ");
73 if ((entry->referenced_count > entry
[all...]
H A Dir_variable_refcount.cpp45 free_entry(struct hash_entry *entry) argument
47 ir_variable_refcount_entry *ivre = (ir_variable_refcount_entry *) entry->data;
85 ir_variable_refcount_entry *entry = new ir_variable_refcount_entry(var); local in function:ir_variable_refcount_visitor::get_variable_entry
86 assert(entry->referenced_count == 0);
87 _mesa_hash_table_insert(this->ht, var, entry);
89 return entry;
96 ir_variable_refcount_entry *entry = this->get_variable_entry(ir); local in function:ir_variable_refcount_visitor::visit
97 if (entry)
98 entry->declaration = true;
108 ir_variable_refcount_entry *entry local in function:ir_variable_refcount_visitor::visit
131 ir_variable_refcount_entry *entry; local in function:ir_variable_refcount_visitor::visit_leave
[all...]
H A Dopt_dead_functions.cpp77 foreach_in_list(signature_entry, entry, &this->signature_list) {
78 if (entry->signature == sig)
79 return entry;
82 signature_entry *entry = new(mem_ctx) signature_entry(sig); local in function:ir_dead_functions_visitor::get_signature_entry
83 this->signature_list.push_tail(entry);
84 return entry;
91 signature_entry *entry = this->get_signature_entry(ir); local in function:ir_dead_functions_visitor::visit_enter
94 entry->used = true;
106 signature_entry *entry = this->get_signature_entry(ir->callee); local in function:ir_dead_functions_visitor::visit_enter
108 entry
[all...]
H A Dopt_constant_variable.cpp66 struct assignment_entry *entry; local in function:get_assignment_entry
69 entry = (struct assignment_entry *) hte->data;
71 entry = (struct assignment_entry *) calloc(1, sizeof(*entry));
72 entry->var = var;
73 _mesa_hash_table_insert(ht, var, entry);
76 return entry;
82 struct assignment_entry *entry = get_assignment_entry(ir, this->ht); local in function:ir_constant_variable_visitor::visit
83 entry->our_scope = true;
99 struct assignment_entry *entry; local in function:ir_constant_variable_visitor::visit_enter
159 struct assignment_entry *entry; local in function:ir_constant_variable_visitor::visit_enter
170 struct assignment_entry *entry; local in function:ir_constant_variable_visitor::visit_enter
193 struct assignment_entry *entry = (struct assignment_entry *) hte->data; local in function:do_constant_variable
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/virgl/common/
H A Dvirgl_resource_cache.c27 /* Checks whether the resource represented by a cache entry is able to hold
31 virgl_resource_cache_entry_is_compatible(struct virgl_resource_cache_entry *entry, struct virgl_resource_params params) argument
33 if (entry->params.target == PIPE_BUFFER) {
34 return (entry->params.bind == params.bind &&
35 entry->params.format == params.format &&
36 entry->params.size >= params.size &&
37 entry->params.flags == params.flags &&
41 entry->params.size <= params.size * 2 &&
42 entry->params.width >= params.width &&
43 entry
50 virgl_resource_cache_entry_release(struct virgl_resource_cache * cache,struct virgl_resource_cache_entry * entry) argument
86 virgl_resource_cache_add(struct virgl_resource_cache * cache,struct virgl_resource_cache_entry * entry) argument
[all...]
/xsrc/external/mit/libICE/dist/src/
H A Dgetauth.c65 IceAuthFileEntry *entry; local in function:_IceGetPoAuthData
67 entry = IceGetAuthFileEntry (protocolName, networkId, authName);
69 if (entry)
71 *authDataLenRet = entry->auth_data_length;
73 if ((*authDataRet = malloc (entry->auth_data_length)) != NULL)
74 memcpy (*authDataRet, entry->auth_data, entry->auth_data_length);
82 IceFreeAuthFileEntry (entry);
96 IceAuthDataEntry *entry = NULL; local in function:_IceGetPaAuthData
102 entry
138 IceAuthFileEntry *entry; local in function:_IceGetPoValidAuthIndices
197 IceAuthDataEntry *entry; local in function:_IceGetPaValidAuthIndices
[all...]
/xsrc/external/mit/xedit/dist/
H A Dhash.c117 hash_put(hash_table *hash, hash_entry *entry) argument
122 /* Offset in hash table vector for this entry */
123 key = hash_value(entry->key) % hash->length;
128 /* Check if clashed with another entry */
130 /* Replace current entry */
131 if (hash_equal(hash, entry->key, ptr->key)) {
133 if (entry != ptr) {
135 hash->entries[key] = entry;
137 prev->next = entry;
138 entry
169 hash_entry *entry; local in function:hash_get
186 hash_entry *entry; local in function:hash_check
201 hash_rem_no_free(hash_table * hash,hash_entry * entry) argument
226 hash_rem(hash_table * hash,hash_entry * entry) argument
240 hash_entry *entry, *next, **entries; local in function:hash_rehash
295 hash_entry *entry, *next; local in function:hash_clr
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/util/tests/hash_table/
H A Ddelete_and_lookup.c51 struct hash_entry *entry; local in function:main
61 entry = _mesa_hash_table_search(ht, str2);
62 assert(strcmp(entry->key, str2) == 0);
64 entry = _mesa_hash_table_search(ht, str1);
65 assert(strcmp(entry->key, str1) == 0);
67 _mesa_hash_table_remove(ht, entry);
69 entry = _mesa_hash_table_search(ht, str1);
70 assert(entry == NULL);
72 entry = _mesa_hash_table_search(ht, str2);
73 assert(strcmp(entry
[all...]
H A Dremove_key.c38 struct hash_entry *entry; local in function:main
48 entry = _mesa_hash_table_search(ht, str2);
49 assert(strcmp(entry->key, str2) == 0);
51 entry = _mesa_hash_table_search(ht, str1);
52 assert(strcmp(entry->key, str1) == 0);
56 entry = _mesa_hash_table_search(ht, str1);
57 assert(entry == NULL);
59 entry = _mesa_hash_table_search(ht, str2);
60 assert(strcmp(entry->key, str2) == 0);
H A Ddelete_management.c53 struct hash_entry *entry; local in function:main
69 entry = _mesa_hash_table_search(ht, &delete_value);
70 _mesa_hash_table_remove(ht, entry);
76 entry = _mesa_hash_table_search(ht, keys + i);
77 assert(entry);
78 assert(key_value(entry->key) == i);
82 for (entry = _mesa_hash_table_next_entry(ht, NULL);
83 entry != NULL;
84 entry = _mesa_hash_table_next_entry(ht, entry)) {
[all...]
H A Dinsert_and_lookup.c41 struct hash_entry *entry; local in function:main
52 entry = _mesa_hash_table_search(ht, str1);
53 assert(strcmp(entry->key, str1) == 0);
55 entry = _mesa_hash_table_search(ht, str2);
56 assert(strcmp(entry->key, str2) == 0);
/xsrc/external/mit/MesaLib/dist/src/util/tests/hash_table/
H A Ddelete_and_lookup.c51 struct hash_entry *entry; local in function:main
61 entry = _mesa_hash_table_search(ht, str2);
62 assert(strcmp(entry->key, str2) == 0);
64 entry = _mesa_hash_table_search(ht, str1);
65 assert(strcmp(entry->key, str1) == 0);
67 _mesa_hash_table_remove(ht, entry);
69 entry = _mesa_hash_table_search(ht, str1);
70 assert(entry == NULL);
72 entry = _mesa_hash_table_search(ht, str2);
73 assert(strcmp(entry
[all...]
H A Dremove_key.c38 struct hash_entry *entry; local in function:main
48 entry = _mesa_hash_table_search(ht, str2);
49 assert(strcmp(entry->key, str2) == 0);
51 entry = _mesa_hash_table_search(ht, str1);
52 assert(strcmp(entry->key, str1) == 0);
56 entry = _mesa_hash_table_search(ht, str1);
57 assert(entry == NULL);
59 entry = _mesa_hash_table_search(ht, str2);
60 assert(strcmp(entry->key, str2) == 0);
H A Ddelete_management.c53 struct hash_entry *entry; local in function:main
69 entry = _mesa_hash_table_search(ht, &delete_value);
70 _mesa_hash_table_remove(ht, entry);
76 entry = _mesa_hash_table_search(ht, keys + i);
77 assert(entry);
78 assert(key_value(entry->key) == i);
82 for (entry = _mesa_hash_table_next_entry(ht, NULL);
83 entry != NULL;
84 entry = _mesa_hash_table_next_entry(ht, entry)) {
[all...]
/xsrc/external/mit/libXau/dist/
H A DAuGetAddr.c66 Xauth *entry; local in function:XauGetAuthByAddr
77 entry = XauReadAuth (auth_file);
78 if (!entry)
82 * either family or entry->family are FamilyWild or
83 * family and entry->family are the same and
84 * address and entry->address are the same
86 * either number or entry->number are empty or
87 * number and entry->number are the same
89 * either name or entry->name are empty or
90 * name and entry
[all...]
H A DAuGetBest.c66 Xauth *entry; local in function:XauGetBestAuthByAddr
83 entry = XauReadAuth (auth_file);
84 if (!entry)
88 * either family or entry->family are FamilyWild or
89 * family and entry->family are the same and
90 * address and entry->address are the same
92 * either number or entry->number are empty or
93 * number and entry->number are the same
95 * either name or entry->name are empty or
96 * name and entry
[all...]
/xsrc/external/mit/libXaw/dist/src/
H A DSmeBSB.c258 * Initializes the simple menu widget entry.
265 SmeBSBObject entry = (SmeBSBObject)cnew; local in function:XawSmeBSBInitialize
267 if (!entry->sme_bsb.font) XtError("Aborting: no font found\n");
269 if (entry->sme_bsb.label == NULL)
270 entry->sme_bsb.label = XtName(cnew);
272 entry->sme_bsb.label = XtNewString(entry->sme_bsb.label);
274 GetDefaultSize(cnew, &entry->rectangle.width, &entry->rectangle.height);
277 entry
294 SmeBSBObject entry = (SmeBSBObject)w; local in function:XawSmeBSBDestroy
318 SmeBSBObject entry = (SmeBSBObject)w; local in function:XawSmeBSBRedisplay
430 SmeBSBObject entry = (SmeBSBObject)cnew; local in function:XawSmeBSBSetValues
501 SmeBSBObject entry = (SmeBSBObject)w; local in function:XawSmeBSBQueryGeometry
543 SmeBSBObject entry = (SmeBSBObject)w; local in function:FlipColors
568 SmeBSBObject entry = (SmeBSBObject)w; local in function:GetDefaultSize
616 SmeBSBObject entry = (SmeBSBObject)w; local in function:DrawBitmaps
670 SmeBSBObject entry = (SmeBSBObject)w; local in function:GetBitmapInfo
707 SmeBSBObject entry = (SmeBSBObject)w; local in function:CreateGCs
764 SmeBSBObject entry = (SmeBSBObject)w; local in function:DestroyGCs
[all...]
/xsrc/external/mit/libdrm/dist/
H A Dxf86drmSL.c75 SLEntryPtr entry; local in function:SLCreateEntry
79 entry = drmMalloc(sizeof(*entry)
80 + (max_level + 1) * sizeof(entry->forward[0]));
81 if (!entry) return NULL;
82 entry->magic = SL_ENTRY_MAGIC;
83 entry->key = key;
84 entry->value = value;
85 entry->levels = max_level + 1;
87 return entry;
121 SLEntryPtr entry; local in function:drmSLDestroy
141 SLEntryPtr entry; local in function:SLLocate
158 SLEntryPtr entry; local in function:drmSLInsert
192 SLEntryPtr entry; local in function:drmSLDelete
219 SLEntryPtr entry; local in function:drmSLLookup
260 SLEntryPtr entry; local in function:drmSLNext
290 SLEntryPtr entry; local in function:drmSLDump
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_lower_parallelcopy.c45 copy_entry_size(const struct copy_entry *entry) argument
47 return (entry->flags & IR3_REG_HALF) ? 1 : 2;
86 const struct copy_entry *entry)
88 assert(!entry->src.flags);
90 if (entry->flags & IR3_REG_HALF) {
100 if (entry->src.reg >= RA_HALF_SIZE) {
102 physreg_t tmp = entry->dst < 2 ? 2 : 0;
107 .src = {.reg = entry->src.reg & ~1u},
109 .flags = entry->flags & ~IR3_REG_HALF,
116 (entry
85 do_swap(struct ir3_compiler * compiler,struct ir3_instruction * instr,const struct copy_entry * entry) argument
186 do_copy(struct ir3_compiler * compiler,struct ir3_instruction * instr,const struct copy_entry * entry) argument
285 entry_blocked(struct copy_entry * entry,struct copy_ctx * ctx) argument
296 split_32bit_copy(struct copy_ctx * ctx,struct copy_entry * entry) argument
321 struct copy_entry *entry = &ctx->entries[i]; local in function:_handle_copies
346 struct copy_entry *entry = &ctx->entries[i]; local in function:_handle_copies
373 struct copy_entry *entry = &ctx->entries[i]; local in function:_handle_copies
423 struct copy_entry *entry = &ctx->entries[i]; local in function:_handle_copies
[all...]
/xsrc/external/mit/MesaLib/dist/src/asahi/lib/
H A Dagx_formats.h41 * entry indicates an invalid format. */
46 struct agx_pixel_format_entry entry = agx_pixel_format[format]; local in function:agx_is_valid_pixel_format
47 return (entry.hw != 0) || entry.renderable;
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/config/
H A Dvdltodmx.c41 DMXConfigEntryPtr entry; local in function:main
54 entry = dmxVDLRead(argv[1]);
55 dmxConfigPrint(str, entry);

Completed in 18 milliseconds

1234567891011>>