Searched refs:stack (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/libs/surfaceflinger_client/
H A DSharedBufferStack.cpp113 SharedBufferStack& stack( *mSharedStack );
114 return stack.identity;
119 SharedBufferStack& stack( *mSharedStack );
120 return stack.status;
125 SharedBufferStack& stack( *mSharedStack );
126 return size_t( stack.head );
134 SharedBufferStack& stack( *mSharedStack );
135 int tail = (mNumBuffers + stack.head - stack.available + 1) % mNumBuffers;
139 prefix, stack
[all...]
H A DSurface.cpp681 CallStack stack; local
682 stack.update();
683 stack.dump("");
689 CallStack stack; local
690 stack.update();
691 stack.dump("");
/frameworks/base/tools/preload/
H A DProc.java46 /** Maps thread ID to operation stack. */
96 LinkedList<Operation> stack = stacks.get(threadId);
97 if (stack == null) {
98 stack = new LinkedList<Operation>();
99 stacks.put(threadId, stack);
102 if (!stack.isEmpty()) {
103 stack.getLast().subops.add(o);
106 stack.add(o);
118 LinkedList<Operation> stack = stacks.get(threadId);
120 if (stack
[all...]
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dustack.h14 /// \class stack ustack.h ustl.h
20 class stack { class in namespace:ustl
29 inline stack (void) : m_Storage () { } function in class:ustl::stack
30 explicit inline stack (const Sequence& s) : m_Storage (s) { } function in class:ustl::stack
37 inline bool operator== (const stack& s) { return (m_Storage == s.m_Storage); }
38 inline bool operator< (const stack& s) { return (m_Storage.size() < s.m_Storage.size()); }
/frameworks/base/include/private/surfaceflinger/
H A DSharedBufferStack.h35 * These classes manage a stack of buffers in shared memory.
38 * SharedBufferStack: represents a stack of buffers
160 SharedBufferStack& stack; member in struct:android::SharedBufferBase::ConditionBase
162 : stack(*sbc->mSharedStack) { }
166 SharedBufferStack& stack; member in struct:android::SharedBufferBase::UpdateBase
168 : stack(*sbb->mSharedStack) { }
181 const SharedBufferStack& stack( *mSharedStack );
186 (stack.identity == mIdentity) &&
187 (stack.status == NO_ERROR))
198 stack
[all...]
/frameworks/base/tools/localize/
H A DXMLHandler.cpp172 vector<XMLHandler*> stack; member in struct:xml_handler_data
471 list_contains(const vector<XMLHandler*>& stack, XMLHandler* handler) argument
473 const size_t N = stack.size();
475 if (stack[i] == handler) {
487 XMLHandler* handler = data->stack[data->stack.size()-1];
511 data->stack.push_back(next);
519 XMLHandler* handler = data->stack[data->stack.size()-1];
520 data->stack
[all...]
/frameworks/base/test-runner/src/junit/runner/
H A DBaseTestRunner.java262 * Returns a filtered stack trace
274 * Filters stack frames from internal JUnit classes
276 public static String getFilteredTrace(String stack) { argument
278 return stack;
282 StringReader sr= new StringReader(stack);
295 return stack; // return the stack unfiltered
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DPduComposer.java101 * Message compose buffer stack.
1037 private int currentStackSize; // Current stack size
1057 private LengthRecordNode stack = null; field in class:PduComposer.BufferStack
1063 * Create a new message buffer and push it into the stack.
1078 temp.next = stack;
1079 stack = temp;
1088 * Pop the message before and record current message in the stack.
1094 mMessage = stack.currentMessage;
1095 mPosition = stack.currentPosition;
1097 toCopy = stack;
[all...]
/frameworks/base/tools/aapt/
H A DXMLNode.cpp996 if (st->stack.size() > 0) {
997 st->stack.itemAt(st->stack.size()-1)->addChild(node);
1001 st->stack.push(node);
1017 if (st->stack.size() > 0) {
1018 st->stack.itemAt(st->stack.size()-1)->addChild(node);
1022 st->stack.push(node);
1036 if (st->stack.size() == 0) {
1039 sp<XMLNode> parent = st->stack
[all...]
H A DXMLNode.h147 Vector<sp<XMLNode> > stack; member in struct:XMLNode::ParseState
/frameworks/base/opengl/libagl/
H A Dmatrix.cpp127 // Validate the projection stack (in fact, it's never needed)
152 // Validate the texture stack
387 stack = new matrixf_t[depth];
396 delete [] stack;
402 stack[depth].loadIdentity();
409 stack[depth].load(rhs);
415 stack[depth].load(rhs);
421 stack[depth].multiply(rhs);
427 stack[depth].translate(x,y,z);
433 stack[dept
912 matrix_stack_t* stack = 0; local
[all...]
/frameworks/base/libs/rs/
H A Dspec.l1 %option stack
/frameworks/base/libs/binder/
H A DIMemory.cpp247 CallStack stack; local
248 stack.update();
249 stack.dump("callstack");
/frameworks/base/libs/utils/
H A DRefBase.cpp148 snprintf(name, 100, "/data/%p.stack", this);
166 CallStack stack; member in struct:android::RefBase::weakref_impl::ref_entry
182 ref->stack.update(2);
221 out->append(refs->stack.toString("\t\t"));
234 // Collect stack traces on addref and removeref, instead of deleting the stack references
H A DThreads.cpp660 status_t Thread::run(const char* name, int32_t priority, size_t stack) argument
683 this, name, priority, stack, &mThread);
686 this, name, priority, stack, &mThread);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DStubMethodAdapter.java152 /* Pops the stack, depending on the return type.
249 // Pop the last word from the stack since invoke will generate its own return.
283 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument
285 mParentVisitor.visitFrame(type, nLocal, local, nStack, stack);
H A DAsmAnalyzer.java550 public void visitFrame(int type, int local, Object[] local2, int stack, Object[] stack2) { argument
574 // instruction to load a constant from the stack
/frameworks/base/include/private/opengles/
H A Dgl_context.h453 matrixf_t *stack; member in struct:android::gl::matrix_stack_t
467 matrixf_t& top() { return stack[depth]; }
468 const matrixf_t& top() const { return stack[depth]; }
/frameworks/base/include/utils/
H A Dthreads.h407 size_t stack = 0);
/frameworks/base/services/java/com/android/server/
H A DWatchdog.java830 // We've waited half the deadlock-detection interval. Pull a stack
834 File stack = ActivityManagerService.dumpStackTraces(true, pids);
841 // First collect stack traces from all threads of the system process.
852 File stack = ActivityManagerService.dumpStackTraces(!waitedHalf, pids);
854 // Give some extra time to make sure the stack traces get written.
863 mActivity.addErrorToDropBox("watchdog", null, null, null, name, null, stack, null);
879 String tracesPath = SystemProperties.get("dalvik.vm.stack-trace-file", null);

Completed in 298 milliseconds