Searched refs:elem (Results 1 - 25 of 127) sorted by relevance

123456

/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dsimple_list.h52 * \param elem element to remove.
54 #define remove_from_list(elem) \
56 (elem)->next->prev = (elem)->prev; \
57 (elem)->prev->next = (elem)->next; \
58 make_empty_list(elem); \
65 * \param elem element to insert.
67 #define insert_at_head(list, elem) \
69 (elem)
[all...]
H A Du_dynarray.h165 #define util_dynarray_foreach(buf, type, elem) \
166 for (type *elem = (type *)(buf)->data; \
167 elem < (type *)((char *)(buf)->data + (buf)->size); elem++)
169 #define util_dynarray_foreach_reverse(buf, type, elem) \
171 for (type *elem = util_dynarray_top_ptr(buf, type); \
172 elem; \
173 elem = elem > (type *)(buf)->data ? elem
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dsimple_list.h52 * \param elem element to remove.
54 #define remove_from_list(elem) \
56 (elem)->next->prev = (elem)->prev; \
57 (elem)->prev->next = (elem)->next; \
58 make_empty_list(elem); \
65 * \param elem element to insert.
67 #define insert_at_head(list, elem) \
69 (elem)
[all...]
H A Du_dynarray.h185 #define util_dynarray_foreach(buf, type, elem) \
186 for (type *elem = (type *)(buf)->data; \
187 elem < (type *)((char *)(buf)->data + (buf)->size); elem++)
189 #define util_dynarray_foreach_reverse(buf, type, elem) \
191 for (type *elem = util_dynarray_top_ptr(buf, type); \
192 elem; \
193 elem = elem > (type *)(buf)->data ? elem
[all...]
/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Dsimple_list.h47 * \param elem element to remove.
49 #define remove_from_list(elem) \
51 (elem)->next->prev = (elem)->prev; \
52 (elem)->prev->next = (elem)->next; \
59 * \param elem element to insert.
61 #define insert_at_head(list, elem) \
63 (elem)->prev = list; \
64 (elem)
[all...]
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Dsimple_list.h48 * \param elem element to remove.
50 #define remove_from_list(elem) \
52 (elem)->next->prev = (elem)->prev; \
53 (elem)->prev->next = (elem)->next; \
60 * \param elem element to insert.
62 #define insert_at_head(list, elem) \
64 (elem)->prev = list; \
65 (elem)
[all...]
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Dsimple_list.h48 * \param elem element to remove.
50 #define remove_from_list(elem) \
52 (elem)->next->prev = (elem)->prev; \
53 (elem)->prev->next = (elem)->next; \
60 * \param elem element to insert.
62 #define insert_at_head(list, elem) \
64 (elem)->prev = list; \
65 (elem)
[all...]
/xsrc/external/mit/freetype/dist/docs/reference/javascripts/
H A Dextra.js10 function offsetY(elem) {
11 if(!elem) elem = this;
12 var y = elem.offsetTop;
13 while (elem = elem.offsetParent) {
14 y += elem.offsetTop;
/xsrc/external/mit/MesaLib/dist/src/util/tests/sparse_array/
H A Dmulti_threaded.c43 uint32_t *elem = util_sparse_array_get(arr, idx); local in function:test_thread
44 *elem = idx;
72 uint32_t *elem = util_sparse_array_get(&arr, i); local in function:run_test
73 assert(*elem == 0 || *elem == i);
/xsrc/external/mit/MesaLib.old/dist/src/egl/main/
H A Deglarray.h41 typedef EGLBoolean (*_EGLArrayForEach)(void *elem, void *foreach_data);
62 _eglAppendArray(_EGLArray *array, void *elem);
70 _eglFindArray(_EGLArray *array, void *elem);
H A Deglarray.c106 _eglAppendArray(_EGLArray *array, void *elem) argument
111 array->Elements[array->Size++] = elem;
135 _eglFindArray(_EGLArray *array, void *elem) argument
143 if (array->Elements[i] == elem)
144 return elem;
/xsrc/external/mit/MesaLib/dist/src/egl/main/
H A Deglarray.h41 typedef EGLBoolean (*_EGLArrayForEach)(void *elem, void *foreach_data);
62 _eglAppendArray(_EGLArray *array, void *elem);
70 _eglFindArray(_EGLArray *array, void *elem);
H A Deglarray.c106 _eglAppendArray(_EGLArray *array, void *elem) argument
111 array->Elements[array->Size++] = elem;
135 _eglFindArray(_EGLArray *array, void *elem) argument
143 if (array->Elements[i] == elem)
144 return elem;
/xsrc/external/mit/MesaLib/dist/src/freedreno/decode/
H A Dscript.c164 struct rnndelem *elem; member in struct:rnndoff
169 push_rnndoff(lua_State *L, struct rnn *rnn, struct rnndelem *elem, argument
174 rnndoff->elem = elem;
179 struct rnndelem *elem, uint64_t offset);
180 static int l_rnn_etype_reg(lua_State *L, struct rnn *rnn, struct rnndelem *elem,
213 l_rnn_etype(lua_State *L, struct rnn *rnn, struct rnndelem *elem, argument
218 DBG("elem=%p (%d), offset=%lu", elem, elem
250 struct rnndelem *elem = rnndoff->elem; local in function:l_rnn_struct_meta_index
269 l_rnn_etype_struct(lua_State * L,struct rnn * rnn,struct rnndelem * elem,uint64_t offset) argument
292 struct rnndelem *elem = rnndoff->elem; local in function:l_rnn_array_meta_index
316 l_rnn_etype_array(lua_State * L,struct rnn * rnn,struct rnndelem * elem,uint64_t offset) argument
339 struct rnndelem *elem = rnndoff->elem; local in function:l_rnn_reg_meta_index
420 l_rnn_etype_reg(lua_State * L,struct rnn * rnn,struct rnndelem * elem,uint64_t offset) argument
443 struct rnndelem *elem; local in function:l_rnn_meta_index
681 struct rnndelem *elem; local in function:l_rnn_meta_dom_index
[all...]
H A Drnnutil.c164 struct rnndelem *elem = domain->subelems[i]; local in function:regelem
165 if (!strcmp(elem->name, name))
166 return elem;
175 struct rnndelem *elem = regelem(rnn->dom[0], name); local in function:rnn_regelem
176 if (elem)
177 return elem;
186 struct rnndelem *elem = domain->subelems[i]; local in function:regoff
187 if (elem->offset == offset)
188 return elem;
197 struct rnndelem *elem local in function:rnn_regoff
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/rnn/
H A Dheadergen2.c234 static void printdelem (struct rnndelem *elem, uint64_t offset, const char *str) { argument
238 if (elem->varinfo.dead)
241 use_offset_fxn = elem->offsets || elem->doffset || elem->doffsets;
242 assert((!!elem->offsets + !!elem->doffset + !!elem->doffsets) <= 1);
245 asprintf(&offsetfn, "__offset_%s", elem->name);
247 if (elem
[all...]
/xsrc/external/mit/xorg-server/dist/Xext/
H A Dhashtable.c128 BucketRec *elem = calloc(1, sizeof(BucketRec)); local in function:ht_add
129 if (!elem) {
132 elem->key = malloc(ht->keySize);
133 if (!elem->key) {
137 elem->data = calloc(1, ht->dataSize);
138 if (ht->dataSize && !elem->data) {
141 xorg_list_add(&elem->l, bucket);
144 memcpy(elem->key, key, ht->keySize);
150 xorg_list_del(&elem->l);
157 return elem
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/util/
H A Dgen_enum_to_str.py288 def add_value_from_xml(self, elem, extension=None):
290 if 'value' in elem.attrib:
291 self.add_value(elem.attrib['name'],
292 value=int(elem.attrib['value'], base=0))
293 elif 'alias' in elem.attrib:
294 self.add_value(elem.attrib['name'],
295 value=self.name_to_value[elem.attrib['alias']])
297 error = 'dir' in elem.attrib and elem.attrib['dir'] == '-'
298 if 'extnumber' in elem
[all...]
H A Dvk_util.h164 * vk_outarray_append(&a, elem) {
165 * elem->foo = ...;
166 * elem->bar = ...;
170 * VK_OUTARRAY_MAKE(). The variable `elem` is block-scoped and has type
175 * executes the block. When the block is executed, `elem` is non-null and
178 #define vk_outarray_append(a, elem) \
179 for (vk_outarray_typeof_elem(a) *elem = vk_outarray_next(a); \
180 elem != NULL; elem = NULL)
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dgen_enum_to_str.py318 def add_value_from_xml(self, elem, extension=None):
320 if 'value' in elem.attrib:
321 self.add_value(elem.attrib['name'],
322 value=int(elem.attrib['value'], base=0))
323 elif 'bitpos' in elem.attrib:
324 self.add_value(elem.attrib['name'],
325 value=(1 << int(elem.attrib['bitpos'], base=0)))
326 elif 'alias' in elem.attrib:
327 self.add_value(elem.attrib['name'], alias=elem
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mapi/new/
H A DgenCommon.py167 for elem in root.findall("commands/command"):
168 yield _parseCommandElem(elem)
170 def _parseCommandElem(elem):
171 protoElem = elem.find("proto")
175 for ch in elem.findall("param"):
182 def _parseProtoElem(elem):
184 text = _flattenText(elem)
197 raise ValueError("Can't parse element %r -> %r" % (elem, text))
199 def _flattenText(elem):
205 if elem
[all...]
/xsrc/external/mit/MesaLib/dist/src/mapi/new/
H A DgenCommon.py167 for elem in root.findall("commands/command"):
168 yield _parseCommandElem(elem)
170 def _parseCommandElem(elem):
171 protoElem = elem.find("proto")
175 for ch in elem.findall("param"):
182 def _parseProtoElem(elem):
184 text = _flattenText(elem)
197 raise ValueError("Can't parse element %r -> %r" % (elem, text))
199 def _flattenText(elem):
205 if elem
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/
H A Dwsi_common_queue.h92 uint32_t *elem; local in function:wsi_queue_push
99 elem = u_vector_add(&queue->vector);
100 *elem = index;
145 uint32_t *elem = u_vector_remove(&queue->vector); local in function:wsi_queue_pull
146 *index = *elem;
/xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/
H A Dwsi_common_queue.h90 uint32_t *elem; local in function:wsi_queue_push
97 elem = u_vector_add(&queue->vector);
98 *elem = index;
143 uint32_t *elem = u_vector_remove(&queue->vector); local in function:wsi_queue_pull
144 *index = *elem;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_linear_llvm.c380 LLVMValueRef elem; local in function:llvmpipe_fs_variant_linear_llvm
391 elem = lp_build_array_get(bld.gallivm, interpolators_ptr, index);
392 assert(LLVMGetTypeKind(LLVMTypeOf(elem)) == LLVMPointerTypeKind);
394 fetch_ptr = lp_build_pointer_get(builder, elem,
399 elem = LLVMBuildBitCast(builder, elem, pint8t, "");
400 inputs_ptr = LLVMBuildCall(builder, fetch_ptr, &elem, 1, "");
421 LLVMValueRef elem; local in function:llvmpipe_fs_variant_linear_llvm
432 elem = lp_build_array_get(bld.gallivm, samplers_ptr, index);
433 assert(LLVMGetTypeKind(LLVMTypeOf(elem))
476 LLVMValueRef buf, elem, result, pixel_ptr; local in function:llvmpipe_fs_variant_linear_llvm
[all...]

Completed in 29 milliseconds

123456