/external/selinux/libsepol/cil/src/ |
cil_stack.c | 40 void cil_stack_init(struct cil_stack **stack) 43 new_stack->stack = cil_malloc(sizeof(*(new_stack->stack)) * CIL_STACK_INIT_SIZE); 46 *stack = new_stack; 49 void cil_stack_destroy(struct cil_stack **stack) 51 if (stack == NULL || *stack == NULL) { 55 free((*stack)->stack); 56 free(*stack); [all...] |
cil_stack.h | 34 struct cil_stack_item *stack; member in struct:cil_stack 44 #define cil_stack_for_each_starting_at(stack, start, pos, item) \ 45 for (pos = start, item = cil_stack_peek_at(stack, pos); item != NULL; pos++, item = cil_stack_peek_at(stack, pos)) 47 #define cil_stack_for_each(stack, pos, item) cil_stack_for_each_starting_at(stack, 0, pos, item) 50 void cil_stack_init(struct cil_stack **stack); 51 void cil_stack_destroy(struct cil_stack **stack); 53 void cil_stack_empty(struct cil_stack *stack); 54 int cil_stack_is_empty(struct cil_stack *stack); [all...] |
/external/epid-sdk/epid/common/src/ |
stack.c | 18 * \brief Stack container implementation. 20 #include "epid/common/src/stack.h" 24 /// Internal representation of a Stack 25 struct Stack { 29 size_t top; ///< Stack top, the number of elements in the stack 32 bool CreateStack(size_t element_size, Stack** stack) { 33 if (!stack || 0 == element_size) return false; 34 *stack = SAFE_ALLOC(sizeof(Stack)) [all...] |
stack.h | 20 * \brief Stack container interface. 27 /// A stack 28 typedef struct Stack Stack; 30 /// Create stack 33 Size of stack element 34 \param[out] stack 35 Stack context to be created 37 \returns true is operation succeed, false if stack were failed to allocate 41 bool CreateStack(size_t element_size, Stack** stack) [all...] |
/external/libcxx/test/std/containers/container.adaptors/stack/stack.defn/ |
empty.fail.cpp | 11 // <stack> 13 // class stack 20 #include <stack> 26 std::stack<int> c;
|
types.fail.cpp | 27 #include <stack> 34 std::stack<double, std::deque<int>> t;
|
size.pass.cpp | 10 // <stack> 14 #include <stack> 19 std::stack<int> q;
|
/external/libnetfilter_conntrack/include/internal/ |
stack.h | 4 struct stack; 6 struct stack *stack_create(size_t elem_size, int max_elems); 7 void stack_destroy(struct stack *s); 8 int stack_push(struct stack *s, void *data); 9 int stack_pop(struct stack *s, void *data);
|
/external/webrtc/webrtc/libjingle/xmllite/ |
xmlnsstack_unittest.cc | 27 XmlnsStack stack; local 29 EXPECT_EQ(std::string(NS_XML), stack.NsForPrefix("xml").first); 30 EXPECT_EQ(std::string(NS_XMLNS), stack.NsForPrefix("xmlns").first); 31 EXPECT_EQ("", stack.NsForPrefix("").first); 33 EXPECT_EQ("xml", stack.PrefixForNs(NS_XML, false).first); 34 EXPECT_EQ("xmlns", stack.PrefixForNs(NS_XMLNS, false).first); 35 EXPECT_EQ("", stack.PrefixForNs("", false).first); 36 EXPECT_EQ("", stack.PrefixForNs("", true).first); 40 XmlnsStack stack; local 41 stack.AddXmlns("pre1", "ns1") 55 XmlnsStack stack; local 90 XmlnsStack stack; local 166 XmlnsStack stack; local 214 XmlnsStack stack; local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/util/ |
ArrayStackTest.java | 23 ArrayStack<Integer> stack = new ArrayStack<Integer>(25); local 24 assertTrue(stack.isEmpty()); 25 stack.push(new Integer(1)); 26 stack.push(new Integer(2)); 27 assertFalse(stack.isEmpty()); 28 stack.clear(); 29 assertTrue(stack.isEmpty());
|
/external/libchrome/base/containers/ |
stack.h | 8 #include <stack> 14 // Provides a definition of base::stack that's like std::stack but uses a 15 // base::circular_deque instead of std::deque. Since std::stack is just a 19 using stack = std::stack<T, Container>;
|
/external/toolchain-utils/binary_search_tool/full_bisect_test/ |
stack.c | 6 pop (struct stack_struct **stack) 8 if (*stack == NULL) 12 tree_ptr value = (*stack)->data; 13 (*stack) = (*stack)->next; 19 push (struct stack_struct **stack, tree_ptr value) 23 new_node->next = *stack; 24 *stack = new_node;
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
StackExtensions.cs | 45 public static T elementAt<T>( this Stack<T> stack, int index ) 47 return stack.ElementAt( index ); 51 public static T peek<T>( this Stack<T> stack ) 53 return stack.Peek(); 57 public static T pop<T>( this Stack<T> stack ) 59 return stack.Pop(); 63 public static void push<T>( this Stack<T> stack, T obj [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/util/ |
ArrayStack.java | 21 private ArrayList<T> stack; field in class:ArrayStack 24 stack = new ArrayList<T>(initSize); 28 stack.add(obj); 32 return stack.remove(stack.size() - 1); 36 return stack.isEmpty(); 40 stack.clear();
|
/external/libcxx/test/std/containers/container.adaptors/stack/stack.cons/ |
deduct.fail.cpp | 10 // <stack> 21 #include <stack> 32 // stack(const Container&, const Alloc&); 34 std::stack stk(std::list<int>({1,2,3}), 45); // expected-error {{no viable constructor or deduction guide for deduction of template arguments of 'stack'}} 38 // stack(const stack&, const Alloc&); 40 std::stack<int> source; 41 std::stack stk(source, 45); // expected-error {{no viable constructor or deduction guide for deduction of template arguments of 'stack'}} [all...] |
default_noexcept.pass.cpp | 12 // <stack> 14 // stack() 20 #include <stack> 30 typedef std::stack<MoveOnly> C;
|
dtor_noexcept.pass.cpp | 10 // <stack> 12 // ~stack() // implied noexcept; 16 #include <stack> 24 typedef std::stack<MoveOnly> C;
|
move_assign_noexcept.pass.cpp | 10 // <stack> 12 // stack& operator=(stack&& c) 19 #include <stack> 27 typedef std::stack<MoveOnly> C;
|
move_noexcept.pass.cpp | 12 // <stack> 14 // stack(stack&&) 19 #include <stack> 29 typedef std::stack<MoveOnly> C;
|
/external/freetype/src/psaux/ |
psstack.c | 5 * Adobe's code for emulating a CFF stack (body). 59 CF2_Stack stack = NULL; local 62 if ( !FT_NEW( stack ) ) 65 stack->memory = memory; 66 stack->error = e; 69 /* allocate the stack buffer */ 70 if ( FT_NEW_ARRAY( stack->buffer, stackSize ) ) 72 FT_FREE( stack ); 76 stack->stackSize = stackSize; 77 stack->top = stack->buffer; /* empty stack * [all...] |
/external/llvm/test/MC/COFF/ |
section-invalid-flags.s | 11 .section .stack, "w", @nobits
|
/external/strace/tests/ |
strace-k-demangle.test | 4 test_prog=../stack-fcall-mangled
|
/external/strace/tests-m32/ |
strace-k-demangle.test | 4 test_prog=../stack-fcall-mangled
|
/external/strace/tests-mx32/ |
strace-k-demangle.test | 4 test_prog=../stack-fcall-mangled
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/COFF/ |
section-invalid-flags.s | 11 .section .stack, "w", @nobits
|