/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
|
/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;
|
/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...] |
/external/compiler-rt/test/msan/ |
stack-origin2.cc | 24 int f(int depth) { 25 if (depth) return f(depth - 1);
|
/external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/ |
AbstractGroupNode.java | 42 void genJava(PrintWriter writer, int depth) { 43 genJavaClass(writer, depth); 46 void genJavaWriteMethod(PrintWriter writer, int depth) { 47 genJavaWriteMethod(writer, depth, "private "); 50 void genJavaWriteMethod(PrintWriter writer, int depth, String modifier) { 52 indent(writer, depth); 55 genJavaWrites(writer, depth+1); 56 indent(writer, depth); 60 void genJavaClassSpecifics(PrintWriter writer, int depth) { 63 genJavaReadingClassBody(writer, depth, name()) [all...] |
BooleanTypeNode.java | 37 public void genJavaWrite(PrintWriter writer, int depth, 39 genJavaDebugWrite(writer, depth, writeLabel); 40 indent(writer, depth);
|
ByteTypeNode.java | 37 public void genJavaWrite(PrintWriter writer, int depth, 39 genJavaDebugWrite(writer, depth, writeLabel); 40 indent(writer, depth);
|
FieldTypeNode.java | 41 public void genJavaWrite(PrintWriter writer, int depth, 43 genJavaDebugWrite(writer, depth, writeLabel); 44 indent(writer, depth);
|
FrameTypeNode.java | 41 public void genJavaWrite(PrintWriter writer, int depth, 43 genJavaDebugWrite(writer, depth, writeLabel); 44 indent(writer, depth);
|
IntTypeNode.java | 37 public void genJavaWrite(PrintWriter writer, int depth, 39 genJavaDebugWrite(writer, depth, writeLabel); 40 indent(writer, depth);
|
LocationTypeNode.java | 41 public void genJavaWrite(PrintWriter writer, int depth, 43 genJavaDebugWrite(writer, depth, writeLabel); 44 indent(writer, depth);
|
LongTypeNode.java | 37 public void genJavaWrite(PrintWriter writer, int depth, 39 genJavaDebugWrite(writer, depth, writeLabel); 40 indent(writer, depth);
|
MethodTypeNode.java | 41 public void genJavaWrite(PrintWriter writer, int depth, 43 genJavaDebugWrite(writer, depth, writeLabel); 44 indent(writer, depth);
|
StringTypeNode.java | 41 public void genJavaWrite(PrintWriter writer, int depth, 43 genJavaDebugWrite(writer, depth, writeLabel); 44 indent(writer, depth);
|
TypeNode.java | 36 void genJavaWrite(PrintWriter writer, int depth, String writeLabel); 38 void genJavaRead(PrintWriter writer, int depth, String readLabel); 40 void genJavaDeclaration(PrintWriter writer, int depth);
|
UntaggedValueTypeNode.java | 37 public void genJavaWrite(PrintWriter writer, int depth, 39 genJavaDebugWrite(writer, depth, writeLabel); 40 indent(writer, depth);
|
ValueTypeNode.java | 41 public void genJavaWrite(PrintWriter writer, int depth, 43 genJavaDebugWrite(writer, depth, writeLabel); 44 indent(writer, depth);
|
OutNode.java | 46 void genProcessMethod(PrintWriter writer, int depth) { 48 indent(writer, depth); 54 indent(writer, depth+5); 58 indent(writer, depth+6); 60 indent(writer, depth+1); 68 indent(writer, depth+1); 70 indent(writer, depth); 74 void genEnqueueMethod(PrintWriter writer, int depth) { 76 indent(writer, depth); 82 indent(writer, depth+5) [all...] |
ErrorSetNode.java | 54 void genJavaComment(PrintWriter writer, int depth) {} 56 void genJava(PrintWriter writer, int depth) {} 60 void genJavaDebugWrite(PrintWriter writer, int depth, 63 void genJavaDebugWrite(PrintWriter writer, int depth, 66 public void genJavaRead(PrintWriter writer, int depth, 69 void genJavaDebugRead(PrintWriter writer, int depth, 72 void genJavaPreDef(PrintWriter writer, int depth) {}
|
RepeatNode.java | 69 public void genJavaWrite(PrintWriter writer, int depth, 71 genJavaDebugWrite(writer, depth, writeLabel, "\"\""); 72 indent(writer, depth); 74 indent(writer, depth); 76 ((TypeNode)member).genJavaWrite(writer, depth+1, writeLabel + "[i]"); 77 indent(writer, depth); 86 public void genJavaRead(PrintWriter writer, int depth, 88 genJavaDebugRead(writer, depth, readLabel, "\"\""); 90 indent(writer, depth); 92 indent(writer, depth); [all...] |
SelectNode.java | 87 void genJavaClassSpecifics(PrintWriter writer, int depth) { 88 indent(writer, depth); 91 indent(writer, depth+1); 94 indent(writer, depth+1); 97 indent(writer, depth); 99 typeNode.genJavaDeclaration(writer, depth); 100 indent(writer, depth); 102 super.genJavaClassSpecifics(writer, depth); 105 void genJavaClassBodyComponents(PrintWriter writer, int depth) { 109 void genJavaWritingClassBody(PrintWriter writer, int depth, [all...] |
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
params.h | 24 // Return the value of the given depth-dependent parameter given a leaf's depth. 25 float ResolveParam(const DepthDependentParam& param, int32 depth);
|
/external/tensorflow/tensorflow/compiler/xla/ |
array4d.h | 47 // Second dimension: depth, feature, z, n2 58 Array4D(int64 planes, int64 depth, int64 height, int64 width) 59 : Array<T>(std::vector<int64>{planes, depth, height, width}) {} 62 Array4D(int64 planes, int64 depth, int64 height, int64 width, T value) 63 : Array<T>(std::vector<int64>{planes, depth, height, width}, value) {} 71 Array4D(int64 planes, int64 depth, int64 height, int64 width, 73 : Array4D(planes, depth, height, width) { 105 int64 depth() const { return this->dim(1); } function in class:xla::Array4D 113 for (int64 depth = 0; depth < this->depth(); ++depth) [all...] |