Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DMessage.java100 private Stack<Object> stack = new Stack<Object>(); field in Message.MessageBuilder
106 if (!c.isInstance(stack.peek())) { in expect()
109 + stack.peek().getClass().getName() + "'"); in expect()
117 if (stack.isEmpty()) { in startMessage()
118 stack.push(Message.this); in startMessage()
122 ((Entity) stack.peek()).setBody(m); in startMessage()
123 stack.push(m); in startMessage()
132 stack.pop(); in endMessage()
139 stack.push(new Header()); in startHeader()
147 ((Header) stack.peek()).addField(Field.parse(fieldData)); in field()
[all …]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeMessage.java540 private final Stack<Object> stack = new Stack<Object>(); field in MimeMessage.MimeMessageBuilder
546 if (!c.isInstance(stack.peek())) { in expect()
548 + c.getName() + "' found '" + stack.peek().getClass().getName() + "'"); in expect()
554 if (stack.isEmpty()) { in startMessage()
555 stack.push(MimeMessage.this); in startMessage()
560 ((Part)stack.peek()).setBody(m); in startMessage()
561 stack.push(m); in startMessage()
571 stack.pop(); in endMessage()
584 ((Part)stack.peek()).addHeader(tokens[0], tokens[1].trim()); in field()
599 final Part e = (Part)stack.peek(); in startMultipart()
[all …]
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeMessage.java539 private final Stack<Object> stack = new Stack<Object>(); field in MimeMessage.MimeMessageBuilder
545 if (!c.isInstance(stack.peek())) { in expect()
547 + c.getName() + "' found '" + stack.peek().getClass().getName() + "'"); in expect()
553 if (stack.isEmpty()) { in startMessage()
554 stack.push(MimeMessage.this); in startMessage()
559 ((Part)stack.peek()).setBody(m); in startMessage()
560 stack.push(m); in startMessage()
570 stack.pop(); in endMessage()
583 ((Part)stack.peek()).addHeader(tokens[0], tokens[1].trim()); in field()
598 final Part e = (Part)stack.peek(); in startMultipart()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTreeBuilder.java39 private final List<HTML.Element> stack = new ArrayList<HTML.Element>(); field in HtmlTreeBuilder
59 while (stack.size() > 0) { in finish()
103 while (pos < stack.size() - 1) { in visitEndTag()
130 for (int i = stack.size() - 1; i >= 0; i--) { in findStartTag()
131 HTML.Element e = stack.get(i); in findStartTag()
153 stack.add(element); in push()
158 return stack.remove(stack.size() - 1); in pop()
DHtmlTree.java268 int stack = 0; in getHtmlChunks() local
279 stack++; in getHtmlChunks()
285 if (stack == 0) { in getHtmlChunks()
288 stack--; in getHtmlChunks()
293 if (stack == 0 && sb.length() >= chunkSize) { in getHtmlChunks()
307 if (!balanced || stack != 0) { in getHtmlChunks()
979 private Stack<Integer> stack;
984 stack = new Stack<Integer>(); in start()
990 X.assertTrue(stack.size() == 0); in finish()
1002 stack.add(parent); in addStartTag()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java83 Stack<Position> stack = new Stack<>(); in readUnigramsAndBigramsBinaryInner() local
87 stack.push(initPos); in readUnigramsAndBigramsBinaryInner()
89 while (!stack.empty()) { in readUnigramsAndBigramsBinaryInner()
90 Position p = stack.peek(); in readUnigramsAndBigramsBinaryInner()
106 stack.pop(); in readUnigramsAndBigramsBinaryInner()
124 stack.pop(); in readUnigramsAndBigramsBinaryInner()
132 stack.push(childrenPos); in readUnigramsAndBigramsBinaryInner()
DFusionDictionary.java286 ArrayList<PtNode> stack = ptNodeArray.mData; in checkStack() local
288 for (int i = 0; i < stack.size(); ++i) { in checkStack()
289 int currentValue = stack.get(i).mChars[0]; in checkStack()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java74 public void addSample(String[] stack) { in addSample() argument
75 int[] ids = new int[stack.length]; in addSample()
76 for (int i = 0; i < stack.length; i++) { in addSample()
77 ids[i] = nameToId(stack[i]); in addSample()
81 for (int i = stack.length - 1; i >= 0; i--) { in addSample()
DProfile.java127 StackTraceElement[] stack = thread.getStackTrace(); in sampleStack() local
128 String[] lines = new String[stack.length]; in sampleStack()
129 for (int i = 0; i < stack.length; i++) { in sampleStack()
130 lines[i] = stack[i].toString(); in sampleStack()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderSelectorAdapter.java237 final Deque<TreeNode> stack = new ArrayDeque<TreeNode>(10); in folderSort() local
238 stack.push(root); in folderSort()
240 while ((currentNode = stack.poll()) != null) { in folderSort()
241 final TreeNode parentNode = stack.peek(); in folderSort()
267 stack.push(currentNode); in folderSort()
269 stack.push(childNode); in folderSort()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp372 int stack[DM]; in rcssort() local
415 sj = stack[--m]; in rcssort()
416 si = stack[--m]; in rcssort()
423 stack[m++] = si; in rcssort()
424 stack[m++] = sL; in rcssort()
434 sj = stack[--m]; in rcssort()
435 si = stack[--m]; in rcssort()
442 stack[m++] = sk; in rcssort()
443 stack[m++] = sj; in rcssort()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduComposer.java1135 private LengthRecordNode stack = null; field in PduComposer.BufferStack
1157 temp.next = stack; in newbuf()
1158 stack = temp; in newbuf()
1173 mMessage = stack.currentMessage; in pop()
1174 mPosition = stack.currentPosition; in pop()
1176 toCopy = stack; in pop()
1179 stack = stack.next; in pop()
/packages/services/Car/libvehiclenetwork/native/
DHandlerThread.cpp38 status_t HandlerThread::start(const char* name, int32_t priority, size_t stack) { in start() argument
39 return run(name, priority, stack); in start()
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt3818 408K /dev/ashmem/dalvik-allocation stack (deleted)
4688 228K /dev/ashmem/dalvik-live stack (deleted)
5443 140K [stack:1764]
5446 140K [stack:2827]
5449 140K [stack:2792]
5452 140K [stack:1894]
5455 140K [stack:1886]
5458 140K [stack:2094]
5461 140K [stack:2753]
5464 140K [stack:1901]
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfeatures.md51 * Recursive parser is faster but prone to stack overflow in extreme cases.
52 * Iterative parser use custom stack to keep parsing state.
87 …* A stack-based allocator (allocate sequentially, prohibit to free individual allocations, suitabl…
Ddom.md115 `kParseIterativeFlag` | Iterative(constant complexity in terms of function call stack size)…
258 …his by letting user to provide a buffer. The buffer can be on the program stack, or a "scratch buf…
262 Here is an example of using stack memory. The first allocator is for storing values, while the seco…
Dinternals.md344 This also makes the estimation of stack size more easier.
351 in its internal stack, which may be different from a conventional implementation.
Dsax.md159 …emplate parameter `Allocator` is the allocator type for internal data structure (actually a stack).
262 …llocator` is the type of allocator, which is used for allocating internal data structure (a stack).
/packages/apps/Messaging/
Dproguard.flags15 # Keep enough data for stack traces
49 # Preserve the name of the getCaller method so it can find itself in the stack trace it generates
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
Dbluetooth.proto47 // https://cs.corp.google.com/#android/system/bt/stack/include/btm_api.h&q=major_computer.
123 // https://cs.corp.google.com/#android/system/bt/stack/include/hcidefs.h&q=failed_establish.
/packages/services/Car/libvehiclenetwork/include/
DHandlerThread.h34 status_t start(const char* name = 0, int32_t priority = PRIORITY_DEFAULT, size_t stack = 0);
/packages/apps/Test/connectivity/sl4n/rapidjson/
DCHANGELOG.md20 * Change Document::ParseStream() to use stack allocator for Reader (ffbe38614732af8e0b3abdc8b50071f…
/packages/apps/Calculator/
Darity-2.1.2.jar ... javia.arity.TokenConsumer { java.util.Stack stack int prevTokenId org.javia.arity.TokenConsumer ...
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dreader.h617 StackStream(internal::Stack<StackAllocator>& stack) : stack_(stack), length_(0) {} in StackStream() argument
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...

12