/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/clang/test/CodeGen/ |
PR4611-bitfield-layout.c | 6 unsigned int type:3, pack_id:16, depth:13; member in struct:object_entry
|
/external/webkit/Source/WebKit/chromium/public/ |
WebScreenInfo.h | 39 // The screen depth in bits per pixel 40 int depth; member in struct:WebKit::WebScreenInfo 67 : depth(0)
|
/frameworks/rs/driver/ |
rsdFrameBuffer.cpp | 35 DrvAllocation *depth = NULL; local 37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv; 39 if (depth->uploadDeferred) { 44 fbo->setDepthTarget(depth);
|
/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,
|
/external/chromium/base/debug/ |
trace_event_win.cc | 84 DWORD depth = CaptureStackBackTrace(0, local 88 event.SetField(3, sizeof(depth), &depth); 89 event.SetField(4, sizeof(backtrace[0]) * depth, backtrace);
|
/external/chromium/base/ |
logging_win.cc | 67 DWORD depth = 0; local 72 depth = CaptureStackBackTrace(2, kMaxBacktraceDepth, backtrace, NULL); 79 event.SetField(0, sizeof(depth), &depth); 80 event.SetField(1, sizeof(backtrace[0]) * depth, &backtrace);
|
/external/expat/examples/ |
elements.c | 49 int depth = 0; local 50 XML_SetUserData(parser, &depth);
|
/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...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
ArraySerializer.java | 49 int depth = 0; local 52 depth++; 55 int[] dimensions = new int[depth]; 57 if (depth > 1) collectDimensions(array, 1, dimensions);
|
/external/smack/src/org/jivesoftware/smackx/provider/ |
CapsExtensionProvider.java | 38 int depth = 0; local 52 if (depth < MAX_DEPTH) { 53 depth++;
|
XHTMLExtensionProvider.java | 56 int depth = parser.getDepth(); local 63 depth = parser.getDepth(); 73 if (parser.getName().equals("body") && parser.getDepth() <= depth) {
|
/external/webkit/Source/WebCore/platform/brew/ |
ScreenBrew.cpp | 46 int depth; member in struct:WebCore::DisplayInfo 59 info.depth = bitmapInfo.nDepth; 80 return info.depth;
|
/external/webkit/Source/WebCore/platform/qt/ |
PlatformScreenQt.cpp | 56 return QApplication::desktop()->screen(screenNumber(w))->depth(); 61 int depth = QApplication::desktop()->screen(0)->depth(); local 68 depth = view->depth(); 73 // values for each screen depth and assume RGB/RGBA where appropriate. 77 switch (depth) { 83 return qRound(depth / 3);
|
/frameworks/compile/mclinker/lib/LD/ |
Diagnostic.cpp | 41 unsigned int depth = 0; local 43 if (0 == depth && *pBegin == pVal) 45 if (0 != depth && *pBegin == '}') 46 --depth; 61 ++depth;
|
/sdk/emulator/opengl/tests/ut_renderer/ |
X11RendererSurface.cpp | 44 int depth = DefaultDepth(dpy, defaultScreen); local
|
/dalvik/dx/src/com/android/dx/merge/ |
SortableType.java | 39 if (a.depth != b.depth) { 40 return a.depth - b.depth; 48 private int depth = -1; field in class:SortableType 68 * Assigns this type's depth if the depths of its supertype and implemented 69 * interfaces are known. Returns false if the depth couldn't be computed 80 } else if (sortableSupertype.depth == -1) { 83 max = sortableSupertype.depth; 91 } else if (implemented.depth == -1) [all...] |
/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...] |
/external/webkit/Source/WebCore/html/canvas/ |
WebGLContextAttributes.cpp | 70 bool WebGLContextAttributes::depth() const function in class:WebCore::WebGLContextAttributes 72 return m_attrs.depth; 75 void WebGLContextAttributes::setDepth(bool depth) 77 m_attrs.depth = depth;
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
Surface.h | 101 , depth(0) 110 // records depth within non-mergeable parents (clipping, fixed, scrolling) 114 // counts layer tree depth for debugging 115 int depth; member in class:WebCore::LayerMergeState
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
QTDecompressionSession.cpp | 78 // The depth and cType fields of the ImageDescriptionHandle are filled 86 unsigned int depth = 24; // The default depth is 24. local 88 depth = 32; // Any pixel format with alpha gets a depth of 32. 92 // and 8-bit grayscale have the same pixel depth. 93 depth = 32 + std::min<unsigned int>(8, pixelFormatInfo.bitsPerPixel[0]); 95 // Indexed pixel formats get a depth of 1 through 8, depending on 97 depth = pixelFormatInfo.bitsPerPixel[0]; 115 (**description).depth = depth [all...] |
/frameworks/wilhelm/src/itf/ |
I3DMacroscopic.c | 23 SLmillimeter width, SLmillimeter height, SLmillimeter depth) 29 (0 <= depth) && (depth <= SL_MILLIMETER_MAX))) { 36 thiz->mSize.mDepth = depth; 57 SLmillimeter depth = thiz->mSize.mDepth; local 61 *pDepth = depth;
|
/system/core/libpixelflinger/ |
clear.cpp | 30 static void ggl_clearDepthx(void* c, GGLclampx depth); 45 c->state.clear.depth = FIXED_ONE; 111 if (c->state.buffers.depth.format == 0) 136 uint32_t depth = fixedToZ(c->state.clear.depth); local 137 c->state.clear.depthPacked = (depth<<16)|depth; 140 memset2d(c, c->state.buffers.depth, packed, l, t, w, h); 157 static void ggl_clearDepthx(void* con, GGLclampx depth) 160 c->state.clear.depth = gglClampx(depth) [all...] |
/dalvik/vm/native/ |
dalvik_system_VMStack.cpp | 77 size_t depth = dvmComputeExactFrameDepth(fp); local 78 UniquePtr<const Method*[]> methods(new const Method*[depth]); 79 dvmFillStackTraceArray(fp, methods.get(), depth); 84 for (size_t i = kSkip; i < depth && size < maxSize; ++i) { 115 for (size_t i = kSkip; i < depth; ++i) { 131 * thread is not still alive. *depth is set to the length of a
|