Searched refs:element (Results 1 - 25 of 149) sorted by relevance

123456

/barrelfish-master/lib/tenaciousd/
H A Dqueue.c46 struct tenaciousd_queue_element *element = local
48 assert(element != NULL);
52 QUEUE_MIN_ELEMENT_SIZE(queue), element);
59 storage_free(queue, element);
63 if (element->valid != QUEUE_ELEMENT_VALID) {
64 // Invalid element
65 storage_free(queue, element);
70 if(element->size + sizeof(struct tenaciousd_queue_element)
72 return element;
76 element
98 tenaciousd_queue_delete_entry(struct tenaciousd_queue *queue, struct tenaciousd_queue_element *element) argument
136 struct tenaciousd_queue_element *element = tenaciousd_queue_read_element(queue, queue->end); local
213 struct tenaciousd_queue_element *element = storage_malloc(queue->vsic, *size); local
224 tenaciousd_queue_add(struct tenaciousd_queue *queue, struct tenaciousd_queue_element *element) argument
250 struct tenaciousd_queue_element * element = tenaciousd_queue_read_element(queue, queue->last); local
266 struct tenaciousd_queue_element *element = local
[all...]
/barrelfish-master/lib/barrelfish/
H A Dnotificator.c7 /// Dequeue the element from the notificator queue
9 // struct notificator *element)
11 // if (element->next == element) {
12 // assert(element->prev == element);
13 // assert(*queue == element);
16 // element->prev->next = element->next;
17 // element
26 enqueue(struct notificator **queue, struct notificator *element) argument
[all...]
/barrelfish-master/lib/libc/stdlib/
H A Dremque.c17 remque(void *element) argument
21 elem = (struct que_elem *)element;
H A Dinsque.c21 insque(void *element, void *pred) argument
25 elem = (struct que_elem *)element;
/barrelfish-master/usr/eclipseclp/Visualisation/src/com/parctechnologies/eclipse/visualisation/viewers/
H A DCustRenderer.java40 /** Stores copy of element for which this Custom Renderer was
42 protected Element element; field in class:CustRenderer
46 public CustRenderer(Element element, argument
57 this.element = element;
63 * <p> Requires that element.object is a two element array
64 * containing the ContainerViewer and the element index for this
68 return (ViewletData)element.object;
72 * The method called when the element need
[all...]
H A DGrappaTextViewletType.java43 * Displays a textual representation of the viewable element as a
81 Element element) {
86 if (element instanceof Node) {
87 Node node = (Node)element;
91 element.setAttribute("color", getColor(data, false));
96 } else if (element instanceof Edge) {
98 Edge edge = (Edge)element;
110 element.setAttribute("color", getEdgeColor(data));
113 element.setAttribute("color", Color.white);
116 element
79 customizeElement(ViewletDataStore store, java.util.List index, Element element) argument
[all...]
H A DGanttTaskViewletType.java85 Element element) {
119 element.setAttribute("pos",x+",-"+y);
120 element.setAttribute("width",""+width);
121 element.setAttribute("height",""+height);
122 element.getGrappaNexus().updateShape();
125 DebuggingSupport.logMessage(this,"element.getAttribute(width)="+element.getAttribute("width"));
126 DebuggingSupport.logMessage(this,"element.getAttribute(height)="+element.getAttribute("height"));
128 element
83 customizeElement(ViewletDataStore store, java.util.List index, Element element) argument
266 Renderer(Element element, double x, double y, double w, double h) argument
[all...]
H A DChartBarViewletType.java140 Element element) {
142 DebuggingSupport.logMessage(this,"ChartBar Viewlet customize, element="+element);
144 if (element==null) {
158 element.setAttribute("pos",x+","+y);
159 element.setAttribute("width",""+width);
160 element.setAttribute("height",""+height);
161 element.getGrappaNexus().updateShape();
164 DebuggingSupport.logMessage(this,"element.getAttribute(width)="+element
138 customizeElement(ViewletDataStore store, java.util.List index, Element element) argument
230 BarRenderer(Element element, double x, double y, double w, double h) argument
316 PointRenderer(Element element, double x, double y, double w, double h) argument
[all...]
H A DBoundsViewletType.java86 Element element) {
88 if (element instanceof Node) {
90 DebuggingSupport.logMessage(this,"Bounds customizeElement for element "+element + " step 1");
93 element.setAttribute("shape",new Integer(Grappa.CUSTOM_SHAPE));
94 element.setAttribute(Grappa.CUSTOM_ATTR,getCustomRendererClass().getName());
96 DebuggingSupport.logMessage(this,"Bounds customizeElement for element "+element + " step 2");
99 element.setAttribute("label","");
101 DebuggingSupport.logMessage(this,"Bounds customizeElement for element "
84 customizeElement(ViewletDataStore store, java.util.List index, Element element) argument
651 Renderer(Element element, double x, double y, double w, double h) argument
[all...]
H A DTextViewletType.java41 * Displays a textual representation of the viewable element
110 Element element) {
112 if (element instanceof Node) {
113 // set the element data
114 element.object = data;
117 element.setAttribute("shape",new Integer(Grappa.CUSTOM_SHAPE));
118 element.setAttribute(Grappa.CUSTOM_ATTR,getCustomRendererClass().getName());
120 element.setAttribute("label",data.getText());
123 element.setAttribute("style", "filled");
126 element
108 customizeElement(ViewletDataStore store, java.util.List index, Element element) argument
490 Renderer(Element element, double x, double y, double w, double h) argument
[all...]
H A DFadeViewletType.java106 Element element) {
108 if (element instanceof Node) {
110 element.setAttribute("shape","box");
112 element.setAttribute("style","filled");
114 element.setAttribute("label","");
116 element.setAttribute("color",getColor(data, false));
104 customizeElement(ViewletDataStore store, java.util.List index, Element element) argument
/barrelfish-master/include/tenaciousd/
H A Dqueue.h26 struct tenaciousd_queue_element *element; member in struct:tenaciousd_queue_iter
39 struct tenaciousd_queue_element *element);
51 struct tenaciousd_queue_element *element);
63 return iter.element == NULL ? true : false;
68 return (void *)iter.element->data;
/barrelfish-master/lib/collections/
H A Dstack.c46 * \brief Returns the top element of the stack and removes it.
54 * \brief Push an element to the top of the stack.
56 void collections_stack_push(struct collections_stack *stack, void *element) argument
58 collections_list_insert(stack->elements, element);
64 * \brief Returns the top element of the stack, does not remove it.
/barrelfish-master/include/collections/
H A Dstack.h40 void collections_stack_push(struct collections_stack *stack, void *element);
/barrelfish-master/usr/skb/octopus/
H A Dskiplist.h27 char* element; member in struct:skip_node
H A Dskiplist.c101 * \brief Create a new skip list element.
103 static errval_t new_node(struct skip_node** sn, void* element, size_t level) argument
118 (*sn)->element = element;
156 printf("%s", cur->element);
166 * \brief Checks if a element is in the list.
169 * \param elem The element to find.
180 while(cur->forward[i] != NULL && strcmp(cur->forward[i]->element, elem) < 0) {
187 if (cur != NULL && strcmp(cur->element, elem) == 0) {
195 * \brief Insert element i
[all...]
/barrelfish-master/lib/net_sockets/
H A Dnet_sockets.c58 /// Dequeue the element from the net_socket queue
60 struct net_socket *element)
62 if (element->next == element) {
63 assert(element->prev == element);
64 assert(*queue == element);
67 element->prev->next = element->next;
68 element
59 dequeue(struct net_socket **queue, struct net_socket *element) argument
77 enqueue(struct net_socket **queue, struct net_socket *element) argument
[all...]
/barrelfish-master/usr/eclipseclp/Visualisation/src/com/parctechnologies/eclipse/visualisation/
H A DUpdateEvent.java53 * Given a list of ECLiPSe 'element(Index)' terms return a list
60 CompoundTerm element = (CompoundTerm)it.next();
61 result.add( element.arg(1) );
H A DGanttViewer.java212 Element element = graph.findNodeByName(newIndex.toString());
213 if (element == null) {
214 element = graph.findEdgeByName(newIndex.toString());
216 return element;
275 Element element = getElement(index);
277 elementToViewletType(index).customizeElement(viewletDataStore, index, element);
336 Element element = getElement(index);
339 type.customizeElement(store, index, element);
/barrelfish-master/usr/bench/mem_latency/
H A Dmemlatency.c315 volatile void *element; local
316 result[0] = run_benchmark(&ll_elements[elem_id[0]], &element);
320 if (!element) {
321 debug_printf("element %p was null.\n", element);
326 result[2] = run_benchmark(&ll_elements_numa[elem_id[0]], &element);
329 if (!element) {
330 debug_printf("element %p was null.\n", element);
342 result[1] = run_benchmark(l1_elements, &element);
[all...]
/barrelfish-master/usr/eclipseclp/Contrib/
H A Dxml_diagnosis.pl21 * element tag and <id> is the value of any attribute _named_ id.
49 element_fault( element(Tag, _Attributes, _Contents), _Indent, Tag, [], "Tag must be an atom" ) :-
51 element_fault( element(Tag, Attributes, _Contents), _Indent, Tag, [], "Attributes must be instantiated" ) :-
53 element_fault( element(Tag, Attributes, _Contents), _Indent, Faulty, Path, Message ) :-
57 element_fault( element(Tag, Attributes, Contents), Indent, Culprit, Path, Message ) :-
H A Dlistut.pl101 % is true when Xlist and Ylist are lists, X is an element of Xlist, Y is
102 % an element of Ylist, and X and Y are in similar places in their lists.
120 % is true when List is a List and Last is its last element. This could
139 % It may be used to select a particular element, or to find where some
140 % given element occurs, or to enumerate the elements and indices togther.
159 % counting the first as element 0. (That is, throw away the first
171 summary:"Access nth element of a list",
175 first as element 0. (That is, throw away the first N elements
199 summary:"Access nth element of a list",
203 first as element
[all...]
H A Darrays.pl20 % the element comes last, and the +0 is a zero updates count.
21 % Updating the 2nd element to a 5 for example would make the array into
25 % fetch(+N,+A,-Elem) Fetches Nth element
26 % store(+N,+A,+Elem,+NewA) Stores Elem at Nth element of A giving NewA
/barrelfish-master/usr/drivers/xeon_phi/
H A Dsysmem_caps.c348 volatile void *element; local
349 result[0] = sysmem_bench_run_round(&ll_elements[elem_id[0]], &element);
352 if (!element) {
353 debug_printf("element %p was null.\n", element);
357 debug_printf("sysmem_bench_run_round(&oll_elements[elem_id[0]], &element);\n");
358 result[2] = sysmem_bench_run_round(&oll_elements[elem_id[0]], &element);
361 if (!element) {
362 debug_printf("element %p was null.\n", element);
[all...]
/barrelfish-master/lib/openssl-1.0.0d/VMS/
H A Dmkshared.com270 $ entrynum=f$int(f$element(1," ",f$edit(line,"COMPRESS,TRIM")))
271 $ entryinfo=f$element(2," ",f$edit(line,"COMPRESS,TRIM"))
272 $ curentry=f$element(0," ",f$edit(line,"COMPRESS,TRIM"))
273 $ info_exist=f$element(0,":",entryinfo)
274 $ info_platforms=","+f$element(1,":",entryinfo)+","
275 $ info_kind=f$element(2,":",entryinfo)
276 $ info_algorithms=","+f$element(3,":",entryinfo)+","
283 $ plat_entry = f$element(plat_i,",",info_platforms)
318 $ alg_entry = f$element(alg_i,",",info_algorithms)
372 $ libverstr = f$element(
[all...]

Completed in 493 milliseconds

123456