/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
D | xmlnsstack_unittest.cc | 44 XmlnsStack stack; in TEST() local 46 EXPECT_EQ(std::string(NS_XML), stack.NsForPrefix("xml").first); in TEST() 47 EXPECT_EQ(std::string(NS_XMLNS), stack.NsForPrefix("xmlns").first); in TEST() 48 EXPECT_EQ("", stack.NsForPrefix("").first); in TEST() 50 EXPECT_EQ("xml", stack.PrefixForNs(NS_XML, false).first); in TEST() 51 EXPECT_EQ("xmlns", stack.PrefixForNs(NS_XMLNS, false).first); in TEST() 52 EXPECT_EQ("", stack.PrefixForNs("", false).first); in TEST() 53 EXPECT_EQ("", stack.PrefixForNs("", true).first); in TEST() 57 XmlnsStack stack; in TEST() local 58 stack.AddXmlns("pre1", "ns1"); in TEST() [all …]
|
/external/freetype/src/cff/ |
D | cf2stack.c | 58 CF2_Stack stack = NULL; in cf2_stack_init() local 61 if ( !FT_QNEW( stack ) ) in cf2_stack_init() 64 stack->memory = memory; in cf2_stack_init() 65 stack->error = e; in cf2_stack_init() 66 stack->top = &stack->buffer[0]; /* empty stack */ in cf2_stack_init() 69 return stack; in cf2_stack_init() 74 cf2_stack_free( CF2_Stack stack ) in cf2_stack_free() argument 76 if ( stack ) in cf2_stack_free() 78 FT_Memory memory = stack->memory; in cf2_stack_free() 82 FT_FREE( stack ); in cf2_stack_free() [all …]
|
/external/chromium_org/third_party/freetype/src/cff/ |
D | cf2stack.c | 58 CF2_Stack stack = NULL; in cf2_stack_init() local 61 if ( !FT_QNEW( stack ) ) in cf2_stack_init() 64 stack->memory = memory; in cf2_stack_init() 65 stack->error = e; in cf2_stack_init() 66 stack->top = &stack->buffer[0]; /* empty stack */ in cf2_stack_init() 69 return stack; in cf2_stack_init() 74 cf2_stack_free( CF2_Stack stack ) in cf2_stack_free() argument 76 if ( stack ) in cf2_stack_free() 78 FT_Memory memory = stack->memory; in cf2_stack_free() 82 FT_FREE( stack ); in cf2_stack_free() [all …]
|
/external/proguard/src/proguard/evaluation/ |
D | Processor.java | 44 private final Stack stack; field in Processor 62 Stack stack, in Processor() argument 68 this.stack = stack; in Processor() 85 stack.push(valueFactory.createReferenceValueNull()); in visitSimpleInstruction() 97 stack.push(valueFactory.createIntegerValue(simpleInstruction.constant)); in visitSimpleInstruction() 102 stack.push(valueFactory.createLongValue(simpleInstruction.constant)); in visitSimpleInstruction() 108 stack.push(valueFactory.createFloatValue((float)simpleInstruction.constant)); in visitSimpleInstruction() 113 stack.push(valueFactory.createDoubleValue((double)simpleInstruction.constant)); in visitSimpleInstruction() 120 stack.ipop(); in visitSimpleInstruction() 121 stack.apop(); in visitSimpleInstruction() [all …]
|
/external/chromium_org/third_party/bintrees/bintrees/ |
D | stack.c | 15 node_stack_t *stack; in stack_init() local 17 stack = PyMem_Malloc(sizeof(node_stack_t)); in stack_init() 18 stack->stack = PyMem_Malloc(sizeof(node_t *) * size); in stack_init() 19 stack->size = size; in stack_init() 20 stack->stackptr = 0; in stack_init() 21 return stack; in stack_init() 25 stack_delete(node_stack_t *stack) in stack_delete() argument 27 PyMem_Free(stack->stack); in stack_delete() 28 PyMem_Free(stack); in stack_delete() 32 stack_push(node_stack_t *stack, node_t *node) in stack_push() argument [all …]
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 124 static void assert_count(skiatest::Reporter* reporter, const SkClipStack& stack, in assert_count() argument 126 SkClipStack::B2TIter iter(stack); in assert_count() 137 SkClipStack stack; in test_iterators() local 148 stack.clipDevRect(gRects[i], SkRegion::kUnion_Op, false); in test_iterators() 151 assert_count(reporter, stack, 4); in test_iterators() 157 SkClipStack::B2TIter iter(stack); in test_iterators() 172 SkClipStack::Iter iter(stack, SkClipStack::Iter::kTop_IterStart); in test_iterators() 187 SkClipStack::Iter iter(stack, SkClipStack::Iter::kBottom_IterStart); in test_iterators() 247 SkClipStack stack; in test_bounds() local 256 stack.save(); in test_bounds() [all …]
|
/external/srec/srec/crec/ |
D | astar.c | 52 int astar_draw_tree_as_dotty(const char* file, srec* rec, AstarStack* stack); 238 void list_free_parps(AstarStack* stack, char* msg); 240 #define list_free_parps(stack,msg) argument 248 partial_path* make_new_partial_path(AstarStack* stack); 289 partial_path* extend_path(AstarStack* stack, in extend_path() argument 383 extended_parp = make_new_partial_path(stack); in extend_path() 421 void check_stack_root_sanity(AstarStack* stack) in check_stack_root_sanity() argument 423 partial_path* parp1 = stack->root_path; in check_stack_root_sanity() 433 partial_path* make_new_partial_path(AstarStack* stack) in make_new_partial_path() argument 435 partial_path* return_parp = stack->free_parp_list; in make_new_partial_path() [all …]
|
D | srec_results.c | 112 AstarStack* stack = rec ? rec->astar_stack : 0; in srec_nbest_prepare_list() local 114 if (!stack) in srec_nbest_prepare_list() 119 rc = astar_stack_prepare(stack, n, rec); in srec_nbest_prepare_list() 129 if (stack->num_complete_paths) in srec_nbest_prepare_list() 131 *bestcost = stack->complete_paths[0]->costsofar; in srec_nbest_prepare_list() 144 AstarStack* stack = rec ? rec->astar_stack : 0; in srec_nbest_destroy_list() local 145 astar_stack_clear(stack); in srec_nbest_destroy_list() 151 AstarStack* stack = rec ? rec->astar_stack : 0; in srec_nbest_get_num_choices() local 152 return stack ? stack->num_complete_paths : 0; in srec_nbest_get_num_choices() 158 AstarStack* stack = rec ? rec->astar_stack : 0; in srec_nbest_put_confidence_value() local [all …]
|
/external/easymock/src/org/easymock/internal/ |
D | LastControl.java | 48 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in reportMatcher() local 49 if (stack == null) { in reportMatcher() 50 stack = new Stack<IArgumentMatcher>(); in reportMatcher() 51 threadToArgumentMatcherStack.set(stack); in reportMatcher() 53 stack.push(matcher); in reportMatcher() 57 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in pullMatchers() local 58 if (stack == null) { in pullMatchers() 62 return new ArrayList<IArgumentMatcher>(stack); in pullMatchers() 66 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get(); in reportAnd() local 67 assertState(stack != null, "no matchers found."); in reportAnd() [all …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | CodeAnalyzer.java | 40 int[] stack = new int[length]; in computeMaxStack() local 42 initStack(stack, codeAttr); in computeMaxStack() 47 if (stack[i] < 0) { in computeMaxStack() 49 visitBytecode(ci, stack, i); in computeMaxStack() 55 if (stack[i] > maxStack) in computeMaxStack() 56 maxStack = stack[i]; in computeMaxStack() 61 private void initStack(int[] stack, CodeAttribute ca) { in initStack() argument 62 stack[0] = -1; in initStack() 67 stack[et.handlerPc(i)] = -2; // an exception is on stack in initStack() 71 private void visitBytecode(CodeIterator ci, int[] stack, int index) in visitBytecode() argument [all …]
|
/external/speex/libspeex/ |
D | stack_alloc.h | 91 #define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1)) argument 93 …stack, size, type) (VALGRIND_MAKE_NOACCESS(stack, 1000),ALIGN((stack),sizeof(type)),VALGRIND_MAKE_… argument 97 #define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1)) argument 99 #define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)),(stack)+=((size)*sizeof(type)),(type*)… argument 111 #define ALLOC(var, size, type) var = PUSH(stack, size, type)
|
/external/libffi/src/pa/ |
D | ffi.c | 140 void ffi_prep_args_pa32(UINT32 *stack, extended_cif *ecif, unsigned bytes) in ffi_prep_args_pa32() argument 149 debug(1, "%s: stack = %p, ecif = %p, bytes = %u\n", __FUNCTION__, stack, in ffi_prep_args_pa32() 162 *(SINT32 *)(stack - slot) = *(SINT8 *)(*p_argv); in ffi_prep_args_pa32() 166 *(UINT32 *)(stack - slot) = *(UINT8 *)(*p_argv); in ffi_prep_args_pa32() 170 *(SINT32 *)(stack - slot) = *(SINT16 *)(*p_argv); in ffi_prep_args_pa32() 174 *(UINT32 *)(stack - slot) = *(UINT16 *)(*p_argv); in ffi_prep_args_pa32() 182 *(UINT32 *)(stack - slot) = *(UINT32 *)(*p_argv); in ffi_prep_args_pa32() 189 *(UINT64 *)(stack - slot) = *(UINT64 *)(*p_argv); in ffi_prep_args_pa32() 195 *(UINT32 *)(stack - slot) = *(UINT32 *)(*p_argv); in ffi_prep_args_pa32() 199 case 0: fldw(stack - slot, fr4); break; in ffi_prep_args_pa32() [all …]
|
/external/chromium_org/v8/test/mjsunit/ |
D | stack-traces-overflow.js | 36 assertTrue(e.stack.indexOf("rec1") > 0); 37 e.stack = "123"; 38 assertEquals("123", e.stack); 45 assertTrue(e.stack.indexOf("rec2") > 0); 46 assertTrue(e.stack.indexOf("rec3") > 0); 47 e.stack = "123"; 48 assertEquals("123", e.stack); 55 assertTrue(e.stack.indexOf("rec1") > 0); 64 object.stack = "123"; 65 assertEquals("123", object.stack); [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | StackExtensions.cs | 45 public static T elementAt<T>( this Stack<T> stack, int index ) in elementAt() argument 47 return stack.ElementAt( index ); in elementAt() 51 public static T peek<T>( this Stack<T> stack ) in peek() argument 53 return stack.Peek(); in peek() 57 public static T pop<T>( this Stack<T> stack ) in pop() argument 59 return stack.Pop(); in pop() 63 public static void push<T>( this Stack<T> stack, T obj ) in push() argument 65 stack.Push( obj ); in push() 69 public static int size<T>( this Stack<T> stack ) in size() argument 71 return stack.Count; in size() [all …]
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
D | Frame.java | 25 private Type[] stack; field in Frame 36 public Frame(int locals, int stack) { in Frame() argument 38 this.stack = new Type[stack]; in Frame() 69 return stack[index]; in getStack() 79 stack[index] = type; in setStack() 120 return stack[top - 1]; in peek() 131 return stack[--top]; in pop() 140 stack[top++] = type; in push() 151 Frame frame = new Frame(locals.length, stack.length); in copy() 153 System.arraycopy(stack, 0, frame.stack, 0, stack.length); in copy() [all …]
|
/external/chromium_org/chrome/browser/ui/panels/ |
D | stacked_panel_drag_handler.cc | 20 StackedPanelCollection* stack = panel->stack(); in HandleDrag() local 21 DCHECK(stack); in HandleDrag() 24 if (in_orginal_collection && panel != stack->top_panel()) in HandleDrag() 30 stack->panels().begin(); in HandleDrag() 31 iter != stack->panels().end(); ++iter) { in HandleDrag() 47 stack->MoveAllDraggingPanelsInstantly(delta_origin); in HandleDrag() 54 StackedPanelCollection* stack = panel->stack(); in FinalizeDrag() local 55 DCHECK(stack); in FinalizeDrag() 59 if (stack->top_panel() != panel) in FinalizeDrag() 67 stack->panels().begin(); in FinalizeDrag() [all …]
|
/external/chromium_org/third_party/opus/src/celt/ |
D | stack_alloc.h | 128 #define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1)) argument 129 …stack, size, type) (VALGRIND_MAKE_MEM_NOACCESS(stack, global_stack_top-stack),ALIGN((stack),sizeof… argument 135 #define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1)) argument 136 #define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)/sizeof(char)),(stack)+=(size)*(sizeof(t… argument
|
/external/libffi/src/ia64/ |
D | ffi.c | 278 struct ia64_args *stack; in ffi_call() local 289 stack = alloca (cif->bytes); in ffi_call() 298 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i]; in ffi_call() 301 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i]; in ffi_call() 304 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i]; in ffi_call() 307 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i]; in ffi_call() 310 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i]; in ffi_call() 313 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call() 317 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call() 321 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i]; in ffi_call() [all …]
|
/external/stlport/stlport/stl/ |
D | _stack.h | 47 class stack 50 : public __stlport_class<stack<_Tp> > 52 : public __stlport_class<stack<_Tp, _Sequence> > 58 typedef stack<_Tp> _Self; 60 typedef stack<_Tp, _Sequence> _Self; 74 stack() : c() {} in stack() function 75 explicit stack(const _Sequence& __s) : c(__s) {} in stack() function 78 stack(__move_source<_Self> src) in stack() function 106 inline bool _STLP_CALL operator==(const stack< _STLP_STACK_ARGS >& __x, 107 const stack< _STLP_STACK_ARGS >& __y) [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | win_ftol2.ll | 11 ; the x87 stack instead of the callstack. The input value is popped by the 42 ;; stack is empty 44 ;; stack is %z 46 ;; stack is %y %z 48 ;; stack is %x %y %z 50 ;; stack is %x %1 %z 52 ;; stack is %1 %2 56 ;; stack is %2 %1 62 ;; stack is empty 76 ;; stack is empty [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
D | stack_utils.py | 37 stack = _find_thread_stack(thread_id) 38 assert(stack is not None) 41 _log_stack(logger, stack) 48 for tid, stack in sys._current_frames().items(): 50 return stack 54 def _log_stack(logger, stack): argument 56 for filename, lineno, name, line in traceback.extract_stack(stack): 63 stack = traceback.extract_tb(tb) 64 for frame_str in traceback.format_list(stack):
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
D | css.js | 106 stack: [], 164 var context = state.stack[state.stack.length-1]; 166 if (type == "variable-definition") state.stack.push("propertyValue"); 255 state.stack.pop(); 256 state.stack[state.stack.length-1] = "@media{"; 260 state.stack.push(newContext); 264 var lastState = state.stack[state.stack.length - 1]; 266 state.stack.pop(); 267 if (context == "propertyValue") state.stack.pop(); 269 else if (type == "interpolation") state.stack.push("interpolation"); [all …]
|
/external/v8/src/ |
D | json.js | 64 function SerializeArray(value, replacer, stack, indent, gap) { argument 65 if (!%PushIfAbsent(stack, value)) { 73 var strP = JSONSerialize($String(i), value, replacer, stack, 90 stack.pop(); 94 function SerializeObject(value, replacer, stack, indent, gap) { argument 95 if (!%PushIfAbsent(stack, value)) { 106 var strP = JSONSerialize(p, value, replacer, stack, indent, gap); 118 var strP = JSONSerialize(p, value, replacer, stack, indent, gap); 138 stack.pop(); 142 function JSONSerialize(key, holder, replacer, stack, indent, gap) { argument [all …]
|
/external/chromium-trace/trace-viewer/src/base/ |
D | utils.js | 42 stack: ['<unknown>'] 48 stack: e.stack ? e.stack : ['<unknown>'] 53 var stack = new Error().stack + ''; 54 stack = stack.split('\n'); 55 return stack.slice(2);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | NamespaceMappings.java | 119 Stack stack; in initNamespaces() local 122 stack = createPrefixStack(EMPTYSTRING); in initNamespaces() 123 stack.push(nn); in initNamespaces() 127 stack = createPrefixStack(XML_PREFIX); in initNamespaces() 128 stack.push(nn); in initNamespaces() 141 final Stack stack = getPrefixStack(prefix); in lookupNamespace() local 142 if (stack != null && !stack.isEmpty()) { in lookupNamespace() 143 uri = ((MappingRecord) stack.peek()).m_uri; in lookupNamespace() 152 final Stack stack = (Stack) m_namespaces.get(prefix); in getMappingFromPrefix() local 153 return stack != null && !stack.isEmpty() ? in getMappingFromPrefix() [all …]
|