Searched refs:depth (Results 1 - 25 of 989) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/regress/
H A Dregress-2055.js31 function test1(depth) {
32 if (--depth < 0) {
35 return [ 0, test1(depth) ];
40 function test2(depth) {
41 if (--depth < 0) {
44 var o = [ 0, test2(depth) ];
45 return (depth == 0) ? 0.5 : o;
H A Dregress-353551.js28 var depth = 0; variable
32 depth++;
33 if (depth > 3000) return;
/external/clang/test/SemaCXX/
H A Dconstexpr-depth.cpp1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s -DMAX=128 -fconstexpr-depth 128
2 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s -DMAX=2 -fconstexpr-depth 2
3 // RUN: %clang -std=c++11 -fsyntax-only -Xclang -verify %s -DMAX=10 -fconstexpr-depth=10
5 constexpr int depth(int n) { return n > 1 ? depth(n-1) : 0; } // expected-note {{exceeded maximum depth}} expected-note +{{}} function
7 constexpr int kBad = depth(MAX + 1); // expected-error {{must be initialized by a constant expression}} expected-note {{in call to 'depth(}}
8 constexpr int kGood = depth(MAX);
/external/compiler-rt/test/asan/TestCases/
H A Ddeep_call_stack.cc11 void RecursiveFunc(int depth, int *ptr) { argument
12 if ((depth % 1000) == 0)
13 printf("[%05d] ptr: %p\n", depth, ptr);
14 if (depth == 0)
17 RecursiveFunc(depth - 1, &local);
H A Dheavy_uar_test.cc28 void RecursiveFunctionWithStackFrame(int depth) { argument
29 if (depth <= 0) return;
31 x[0] = depth;
33 RecursiveFunctionWithStackFrame<kFrameSize>(depth - 1);
38 int depth = argc >= 3 ? atoi(argv[2]) : 500; local
40 RecursiveFunctionWithStackFrame<10>(depth);
41 RecursiveFunctionWithStackFrame<100>(depth);
42 RecursiveFunctionWithStackFrame<500>(depth);
43 RecursiveFunctionWithStackFrame<1024>(depth);
44 RecursiveFunctionWithStackFrame<2000>(depth);
[all...]
H A Duar_and_exceptions.cc24 void Func(int depth) { argument
27 if (depth)
28 Func(depth - 1);
H A Ddeep_stack_uaf.cc10 template <int depth>
13 DeepFree<depth - 1>::free(x);
/external/lldb/test/lang/c/recurse/
H A Dmain.c5 recurse_crash (uint32_t depth) argument
7 if (depth > 0)
8 return recurse_crash (depth - 1);
15 // If we have more than one argument, then it should a depth to recurse to.
18 uint32_t depth = UINT32_MAX; local
22 depth = strtoul (argv[1], &end, 0);
24 depth = UINT32_MAX;
26 recurse_crash (depth);
/external/clang/test/CodeGen/
H A DPR4611-bitfield-layout.c6 unsigned int type:3, pack_id:16, depth:13; member in struct:object_entry
/external/valgrind/none/tests/amd64/
H A Dbug156404-amd64.stdout.exp0 depth 0: r = 1
2 depth 1: r = 1
3 depth 2: r = 1
4 depth 3: r = 1
5 depth 4: r = 1
6 depth 5: r = 1
7 depth 6: r = 1
8 depth 7: r = 1
9 depth 8: r = 1
10 depth
[all...]
/external/javassist/src/main/javassist/runtime/
H A DCflow.java27 private int depth; field in class:Cflow.Depth
28 Depth() { depth = 0; }
29 int get() { return depth; }
30 void inc() { ++depth; }
31 void dec() { --depth; }
/external/compiler-rt/test/msan/
H A Dstack-origin2.cc24 int f(int depth) { argument
25 if (depth) return f(depth - 1);
/external/v8/test/webkit/fast/js/
H A Ddeep-recursion-test.js26 function simpleRecursion(depth) {
27 if (depth)
28 simpleRecursion(depth - 1);
68 function tooManyArgsRecursion(depth) {
69 if (depth)
70 tooManyArgsRecursion(depth - 1, 1);
/external/valgrind/memcheck/tests/linux/
H A Dlsframe2.c13 int rec ( int depth )
17 if (depth == 0) return 0;
19 arr[i] = i * depth;
20 zzz = rec(depth-1);
/external/valgrind/none/tests/
H A Dstackgrowth.c7 static void test(int depth) argument
13 if (depth > 1)
14 test(depth-1);
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_clear.h41 double depth, unsigned stencil);
H A Dlp_clear.c51 double depth,
62 lp_setup_clear( llvmpipe->setup, color->f, depth, stencil, buffers );
48 llvmpipe_clear(struct pipe_context *pipe, unsigned buffers, const union pipe_color_union *color, double depth, unsigned stencil) argument
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_clear.h40 double depth, unsigned stencil);
/external/proguard/src/proguard/shrink/
H A DShortestUsageMark.java40 private final int depth; field in class:ShortestUsageMark
53 this.depth = 0;
88 this.depth = previousUsageMark.depth + cost;
104 this.depth = otherUsageMark.depth;
134 return this.depth < otherUsageMark.depth;
178 return "certain=" + certain + ", depth="+depth
[all...]
/external/mesa3d/src/mesa/main/
H A Ddepth.h2 * \file depth.h
44 _mesa_ClearDepth( GLclampd depth );
47 _mesa_ClearDepthf( GLclampf depth );
/external/llvm/tools/llvm-c-test/
H A Dcalc.c46 int depth = 0; local
59 if (depth < 2) {
64 stack[depth - 2] = LLVMBuildBinOp(builder, op_to_opcode(tok),
65 stack[depth - 1], stack[depth - 2], "");
66 depth--;
73 if (depth < 1) {
78 off = LLVMBuildGEP(builder, param, &stack[depth - 1], 1, "");
79 stack[depth - 1] = LLVMBuildLoad(builder, off, "");
92 if (depth >
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Misc/
H A DListStack`1.cs45 public T Peek(int depth) argument
48 if (!TryPeek(depth, out item))
59 public bool TryPeek(int depth, out T item) argument
61 if (depth >= Count)
67 item = this[Count - depth - 1];
/external/ltrace/sysdeps/linux-gnu/m68k/
H A Dtrace.c52 int depth; local
60 depth = proc->callstack_depth;
61 if (depth > 0 &&
62 proc->callstack[depth - 1].is_syscall &&
63 proc->callstack[depth - 1].c_un.syscall == *sysnum) {
/external/v8/test/webkit/
H A Dcached-call-uninitialized-arguments.js57 function callAfterRecursingForDepth(depth, func, arr) {
58 if (depth > 0) {
59 callAfterRecursingForDepth(depth - 1, func, arr);
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
H A DMultiSynch.java72 * @param depth
74 private static void run(Object[] params, Object[] synchArr, Action action, int depth) { argument
76 synchronized (synchArr[depth]) {
77 if (depth < synchArr.length - 1) {
78 run(params, synchArr, action, ++depth);

Completed in 1117 milliseconds

1234567891011>>