Home
last modified time | relevance | path

Searched refs:stackContext (Results 1 – 5 of 5) sorted by relevance

/openbmc/libbej/include/libbej/
H A Dbej_common.h186 void* stackContext; member
191 bool (*stackEmpty)(void* stackContext);
197 void* (*stackPeek)(void* stackContext);
205 void* (*stackPop)(void* stackContext);
212 int (*stackPush)(void* p, void* stackContext);
217 void (*deleteStack)(void* stackContext);
/openbmc/libbej/src/
H A Dbej_encoder_metadata.c547 RETURN_IF_IERROR(stack->stackPush(childPtr, stack->stackContext)); in bejProcessChildNodes()
588 RETURN_IF_IERROR(stack->stackPush(root, stack->stackContext)); in bejUpdateNodeMetadata()
590 while (!stack->stackEmpty(stack->stackContext)) in bejUpdateNodeMetadata()
596 stack->stackPeek(stack->stackContext); in bejUpdateNodeMetadata()
606 if (parent != stack->stackPeek(stack->stackContext)) in bejUpdateNodeMetadata()
616 parent = stack->stackPop(stack->stackContext); in bejUpdateNodeMetadata()
628 stack->stackPeek(stack->stackContext); in bejUpdateNodeMetadata()
H A Dbej_encoder_core.c233 return stack->stackPush(parent, stack->stackContext); in bejPushParentToStack()
285 while (!stack->stackEmpty(stack->stackContext)) in bejEncodeTree()
288 stack->stackPeek(stack->stackContext); in bejEncodeTree()
302 if (parent != stack->stackPeek(stack->stackContext)) in bejEncodeTree()
306 stack->stackPop(stack->stackContext); in bejEncodeTree()
H A Dbej_encoder_json.cpp68 .stackContext = &stack, in encode()
/openbmc/libbej/test/
H A Dbej_encoder_test.cpp359 .stackContext = &pointerStack, in TEST_P()