/external/clang/test/SemaCXX/ |
constexpr-depth.cpp | 1 // 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/Posix/ |
deep_call_stack.cc | 10 void RecursiveFunc(int depth, int *ptr) { 11 if ((depth % 1000) == 0) 12 printf("[%05d] ptr: %p\n", depth, ptr); 13 if (depth == 0) 16 RecursiveFunc(depth - 1, &local);
|
/external/clang/test/CodeGen/ |
PR4611-bitfield-layout.c | 6 unsigned int type:3, pack_id:16, depth:13; member in struct:object_entry
|
/external/valgrind/none/tests/amd64/ |
bug156404-amd64.stdout.exp | 0 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 9: r = [all...] |
/external/javassist/src/main/javassist/runtime/ |
Cflow.java | 26 private static class Depth { 27 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; } 35 return new Depth(); 41 public void enter() { ((Depth)get()).inc(); } 46 public void exit() { ((Depth)get()).dec(); [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
LayerInfo.java | 21 * several consecutive depth levels. 27 LayerInfo(int depth) { 28 frontDepth = depth; 29 backDepth = depth;
|
DepthTransform.java | 20 * Interface defining a depth transform that translates real depth values 25 * @return The near depth value 30 * @return The far depth value 40 * @return the quantized value that corresponds to the given depth value 42 public int quantize(float depth); 45 * @return the depth value that corresponds to the given quantized value
|
/external/compiler-rt/test/asan/TestCases/ |
heavy_uar_test.cc | 27 void RecursiveFunctionWithStackFrame(int depth) { 28 if (depth <= 0) return; 30 x[0] = depth; 32 RecursiveFunctionWithStackFrame<kFrameSize>(depth - 1); 43 int depth = argc >= 3 ? atoi(argv[2]) : 500; local 45 RecursiveFunctionWithStackFrame<10>(depth); 46 RecursiveFunctionWithStackFrame<100>(depth); 47 RecursiveFunctionWithStackFrame<500>(depth); 48 RecursiveFunctionWithStackFrame<1024>(depth); 49 RecursiveFunctionWithStackFrame<2000>(depth); [all...] |
uar_and_exceptions.cc | 21 void Func(int depth) { 24 if (depth) 25 Func(depth - 1);
|
/external/compiler-rt/test/msan/ |
stack-origin2.cc | 24 int f(int depth) { 25 if (depth) return f(depth - 1);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
LayerInfo.java | 5 * several consecutive depth levels. 11 LayerInfo(int depth) { 12 frontDepth = depth; 13 backDepth = depth;
|
DepthTransform.java | 5 * Interface defining a depth transform that translates real depth values 12 * @return The near depth value 17 * @return The far depth value 27 * @return the quantized value that corresponds to the given depth value 29 public int quantize(float depth); 32 * @return the depth value that corresponds to the given quantized value
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
PortableThreadSampler.java | 27 private int depth; field in class:PortableThreadSampler 29 @Override public void setDepth(int depth) { 30 this.depth = depth; 38 if (stackFrames.length > depth) { 39 stackFrames = Arrays.copyOfRange(stackFrames, 0, depth);
|
DalvikThreadSampler.java | 24 private int depth; field in class:DalvikThreadSampler 27 * Reusable storage for sampling sized for the specified depth. 31 @Override public void setDepth(int depth) { 32 this.depth = depth; 33 this.mutableStackTraceElements = new StackTraceElement[depth+1][]; 40 int count = VMStack.fillStackTraceElements(thread, mutableStackTraceElements[depth]); 44 if (count < depth) { 45 System.arraycopy(mutableStackTraceElements[depth], 0,
|
ThreadSampler.java | 29 * Used to specify the maximum stack depth to collect. 31 public void setDepth(int depth); 35 * maximum depth specified by {@link #setDepth setDepth}. May
|
/external/valgrind/memcheck/tests/linux/ |
lsframe2.c | 13 int rec ( int depth ) 17 if (depth == 0) return 0; 19 arr[i] = i * depth; 20 zzz = rec(depth-1);
|
/external/valgrind/memcheck/tests/solaris/ |
lsframe2.c | 11 int rec(int depth) 15 if (depth == 0) return 0; 17 arr[i] = i * depth; 18 zzz = rec(depth-1);
|
/external/valgrind/none/tests/ |
stackgrowth.c | 4 #define DEPTH (4*1024) 7 static void test(int depth) 13 if (depth > 1) 14 test(depth-1); 19 test(DEPTH);
|
/prebuilts/go/darwin-x86/test/bench/garbage/ |
tree.go | 45 var n = flag.Int("n", 16, "depth") 52 func bottomUpTree(item, depth int) *Node { 53 if depth <= 0 { 56 return &Node{item, bottomUpTree(2*item-1, depth-1), bottomUpTree(2*item, depth-1)} 80 fmt.Printf("stretch tree of depth %d\t check: %d\n", stretchDepth, check) 84 for depth := minDepth; depth <= maxDepth; depth += 2 { 85 iterations := 1 << uint(maxDepth-depth+minDepth [all...] |
/prebuilts/go/linux-x86/test/bench/garbage/ |
tree.go | 45 var n = flag.Int("n", 16, "depth") 52 func bottomUpTree(item, depth int) *Node { 53 if depth <= 0 { 56 return &Node{item, bottomUpTree(2*item-1, depth-1), bottomUpTree(2*item, depth-1)} 80 fmt.Printf("stretch tree of depth %d\t check: %d\n", stretchDepth, check) 84 for depth := minDepth; depth <= maxDepth; depth += 2 { 85 iterations := 1 << uint(maxDepth-depth+minDepth [all...] |
/cts/common/util/src/com/android/compatibility/common/util/ |
Stacktrace.java | 60 StackTraceElement[] elements, int depth, boolean includeLineNumber) { 61 depth = Math.min(depth, elements.length - 1); 63 builder.append(elements[depth].getClassName()).append("#") 64 .append(elements[depth].getMethodName()); 66 builder.append(":").append(elements[depth].getLineNumber());
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
DirectoryWalker.java | 32 * This class operates with a {@link FileFilter} and maximum depth to 65 * protected boolean handleDirectory(File directory, int depth, Collection results) { 76 * protected void handleFile(File file, int depth, Collection results) { 206 * private void handleIsCancelled(File file, int depth, Collection results) { 226 * protected boolean handleDirectory(File directory, int depth, Collection results) throws IOException { 229 * throw new CancelException(file, depth); 234 * protected void handleFile(File file, int depth, Collection results) throws IOException { 237 * throw new CancelException(file, depth); 258 * The limit on the directory depth to walk. 263 * Construct an instance with no filtering and unlimited <i>depth</i> 574 private int depth = -1; field in class:DirectoryWalker.CancelException [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_clear.h | 41 double depth, unsigned stencil);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_clear.h | 40 double depth, unsigned stencil);
|
/external/proguard/src/proguard/shrink/ |
ShortestUsageMark.java | 40 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...] |