/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureHelper.java | 163 int depth = blenderContext.getBlenderKey().getGeneratedTextureDepth();
local 184 result = textureGenerator.generate(tex, width, height, depth, blenderContext);
233 int depth = sources.get(0).getImage().getDepth();
local 242 if(source.getImage().getDepth() != depth) {
243 throw new IllegalArgumentException("The texture " + source.getName() + " has invalid depth! It should be: " + depth + '!');
250 if(depth==0) {
251 depth = 1;
258 int pixelsAmount = width * height * depth;
283 if(depth==1) { [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/ |
TextureBlenderLuminance.java | 40 int depth = texture.getImage().getDepth();
local 41 if (depth == 0) {
42 depth = 1;
44 ByteBuffer newData = BufferUtils.createByteBuffer(width * height * depth * 4);
62 return new Texture3D(new Image(Format.RGBA8, width, height, depth, dataArray));
|
/external/qemu/android/utils/ |
timezone.c | 235 int depth ) 259 if ( S_ISDIR(ent_st.st_mode) && depth < 2 ) 262 result = scan_timezone_dir( scan, p, depth + 1 ); 266 else if ( S_ISREG(ent_st.st_mode) && (depth >= 1 && depth <= 2) )
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
RenderScript.java | 365 int width, int height, int depth, 370 int width, int height, int depth, 376 dstMip, width, height, depth, 380 native void rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, byte[] d, int sizeBytes); 381 synchronized void nAllocationData3D(int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, byte[] d, int sizeBytes) { 383 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes); 385 native void rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, short[] d, int sizeBytes); 386 synchronized void nAllocationData3D(int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, short[] d, int sizeBytes) { 388 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes); 390 native void rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, int[] d, int sizeBytes) [all...] |
/external/eigen/Eigen/src/Core/products/ |
GeneralMatrixMatrix.h | 28 Index rows, Index cols, Index depth, 41 ::run(cols,rows,depth,rhs,rhsStride,lhs,lhsStride,res,resStride,alpha,blocking,info); 54 static void run(Index rows, Index cols, Index depth, 91 for(Index k=0; k<depth; k+=kc) 93 const Index actual_kc = (std::min)(k+kc,depth)-k; // => rows of B', and cols of the A' 162 for(Index k2=0; k2<depth; k2+=kc) 164 const Index actual_kc = (std::min)(k2+kc,depth)-k2; 296 gemm_blocking_space(DenseIndex /*rows*/, DenseIndex /*cols*/, DenseIndex /*depth*/) 331 gemm_blocking_space(DenseIndex rows, DenseIndex cols, DenseIndex depth) 335 this->m_kc = depth; [all...] |
GeneralBlockPanelKernel.h | 531 void operator()(ResScalar* res, Index resStride, const LhsScalar* blockA, const RhsScalar* blockB, Index rows, Index depth, Index cols, ResScalar alpha, 536 if(strideA==-1) strideA = depth; 537 if(strideB==-1) strideB = depth; 544 const Index peeled_kc = (depth/4)*4; 549 // loops on each micro vertical panel of rhs (depth x nr) 552 traits.unpackRhs(depth*nr,&blockB[j2*strideB+offsetB*nr],unpackedB); 554 // loops on each largest micro horizontal panel of lhs (mr x depth) 704 for(Index k=peeled_kc; k<depth; k++) 894 for(Index k=peeled_kc; k<depth; k++) [all...] |
/external/opencv/cxcore/src/ |
cxarithm.cpp | 284 int y, dy, type, depth, cn, cont_flag = 0; local 322 depth = CV_MAT_DEPTH(type); 323 if( depth <= CV_16S ) 325 func_sfs = (CvFunc2D_3A1I)(sub_tab.fn_2d[depth]); 340 func = (CvFunc2D_3A)(sub_tab.fn_2d[depth]); 375 depth = CV_MAT_DEPTH(type); 386 if( depth == CV_32F ) 401 if( depth == CV_64F ) 465 if( depth <= CV_16S ) 468 func_sfs = (CvFunc2D_3A1I)(sub_tab.fn_2d[depth]); 535 int sctype, y, dy, type, depth, cn, coi = 0, cont_flag = 0; local 759 int y, dy, type, depth, cn, cont_flag = 0; local 1007 int sctype, y, dy, type, depth, cn, coi = 0, cont_flag = 0; local 1318 int type, depth, coi = 0; local [all...] |
/external/tinyxml/ |
tinyxml.cpp | 766 void TiXmlElement::Print( FILE* cfile, int depth ) const 769 for ( i=0; i<depth; i++ ) 780 attrib->Print( cfile, depth ); 795 firstChild->Print( cfile, depth + 1 ); 808 node->Print( cfile, depth+1 ); 811 for( i=0; i<depth; ++i ) 1136 void TiXmlDocument::Print( FILE* cfile, int depth ) const 1141 node->Print( cfile, depth ); 1198 void TiXmlAttribute::Print( FILE* cfile, int /*depth*/ ) const 1290 void TiXmlComment::Print( FILE* cfile, int depth ) cons [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11video.c | 363 this->hidden->depth, InputOutput, SDL_Visual, 398 this->hidden->depth, InputOutput, SDL_Visual, 667 /* Determine the default screen depth: 668 Use the default visual (or at least one with the same depth) */ 671 if(this->hidden->visuals[i].depth == DefaultDepth(SDL_Display, 685 this->hidden->depth = this->hidden->visuals[i].depth; 692 if ( this->hidden->depth == 32 ) { 918 int i, depth; local 945 depth = vi->depth [all...] |
/bionic/libc/bionic/ |
malloc_debug_check.cpp | 344 int depth = get_backtrace(bt, MAX_BACKTRACE_DEPTH); local 357 log_backtrace(bt, depth); 361 log_backtrace(bt, depth); 387 int depth = get_backtrace(bt, MAX_BACKTRACE_DEPTH); local 400 log_backtrace(bt, depth); 410 log_backtrace(bt, depth);
|
/external/chromium/chrome/browser/password_manager/ |
password_form_manager.cc | 436 // regardless of the matching depth in the URL path). 449 size_t depth = 0; local 452 while ((depth < max_dirs) && (form_path_tokens_[depth] == 453 candidate_path_tokens[depth])) { 454 depth++; 458 score += (depth > 0) ? 1 << 4 : 0;
|
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
xmlelement.cc | 376 int depth) { 378 while (depth--) { 417 XmlElement::AddText(const std::string & text, int depth) { 421 while (depth--) { 438 XmlElement::AddElement(XmlElement *pelChild, int depth) { 440 while (depth--) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
BIHTree.java | 214 // private BIHNode createNode2(int l, int r, BoundingBox nodeBbox, int depth){ 215 // if ((r - l) < maxTrisPerNode || depth > 100) 219 // int axis = depth % 3; 283 // node.left = createNode2(l, splitIndex-1, leftBbox, depth+1); 287 // node.right = createNode2(splitIndex, r, rightBbox, depth+1); 291 private BIHNode createNode(int l, int r, BoundingBox nodeBbox, int depth) { 292 if ((r - l) < maxTrisPerNode || depth > MAX_TREE_DEPTH) { 332 return createNode(l, r, rbbox, depth + 1); 337 return createNode(l, r, lbbox, depth + 1); 348 node.setLeftChild(createNode(l, max(l, pivot - 1), lbbox, depth + 1)); //Recursive cal [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedInputStreamTest.java | 403 private TestRecursiveMessage makeRecursiveMessage(int depth) { 404 if (depth == 0) { 408 .setA(makeRecursiveMessage(depth - 1)).build(); 412 private void assertMessageDepth(TestRecursiveMessage message, int depth) { 413 if (depth == 0) { 418 assertMessageDepth(message.getA(), depth - 1);
|
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/ |
Driver.java | 372 final int depth = pp.getDepth() - 1; local 374 (level > depth) ? pp.getNamespaceCount(depth) : 0; 376 final int count = pp.getNamespaceCount(depth + 1); 427 final int depth = pp.getDepth(); local 429 (level > depth) ? pp.getNamespaceCount(pp.getDepth()) : 0;
|
/system/extras/tests/sdcard/ |
sdcard_perf_test.cpp | 113 {"depth", required_argument, 0, 'D'}, 135 " -D --depth: Depth of directory tree to create for traversal.\n", 228 case 'D': // tree depth 614 size_t depth = testCase->treeDepth(); local 615 for (size_t i = 0; i < depth; i++) { 620 // Create some files at this depth 624 for (size_t j = 0; j < depth; j++) { 663 int expectedDirs = depth + 1; 669 int expectedFiles = depth * depth [all...] |
/external/linux-tools-perf/util/ |
hist.c | 355 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, 361 for (i = 0; i < depth; i++) 373 int depth, int depth_mask, int period, 381 for (i = 0; i < depth; i++) { 386 if (!period && i == depth - 1) { 418 u64 total_samples, int depth, 447 * The depth mask manages the output of pipes that show 448 * the depth. We don't want to keep the pipes of the current 449 * level for the last child of this depth. 455 new_depth_mask &= ~(1 << (depth - 1)) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
SDL_dgavideo.c | 250 mode->depth == 24 ? mode->bitsPerPixel : mode->depth, 289 int a_bpp = a->depth == 24 ? a->bitsPerPixel : a->depth; 290 int b_bpp = b->depth == 24 ? b->bitsPerPixel : b->depth; 366 /* Determine the current screen depth */ 380 if ( vformat->BitsPerPixel == pix_format[i].depth ) 476 int depth; local 478 depth = modes[i].depth [all...] |
/external/quake/quake/src/WinQuake/ |
vid_sunx.cpp | 375 cursormask = XCreatePixmap(display, root, 1, 1, 1/*depth*/); 402 pwidth = x_visinfo->depth / 8; 413 x_visinfo->depth, 454 x_visinfo->depth, 669 printf("Found more than one visual id at depth %d:\n", template.depth); 678 Sys_Error("VID: No visuals at depth %d\n", template.depth); 686 printf(" depth %d\n", x_visinfo->depth); [all...] |
vid_x.cpp | 279 cursormask = XCreatePixmap(display, root, 1, 1, 1/*depth*/); 328 pwidth = x_visinfo->depth / 8; 334 x_visinfo->depth, 399 x_visinfo->depth, 541 printf("Found more than one visual id at depth %d:\n", template.depth); 550 Sys_Error("VID: No visuals at depth %d\n", template.depth); 587 x_visinfo->depth, 599 if (x_visinfo->depth == 8 [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/ |
cpp.c | 268 int atom,depth=0; local 287 depth++; cpp->ifdepth++; cpp->elsetracker++; 291 if(--depth<0){ 300 else if (((int)(matchelse) != 0)&& depth==0) { 477 CPPErrorToInfoLog("max #if nesting depth exceeded"); 503 CPPErrorToInfoLog("max #if nesting depth exceeded"); 936 int i,j, token, depth=0; local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/ |
unigram_dictionary.cpp | 325 // Depth first search 747 int depth = 0; local [all...] |
/dalvik/hit/src/com/android/hit/ |
Heap.java | 68 int depth) { 72 trace = trace.fromDepth(depth);
|
State.java | 87 int depth) { 88 return mCurrentHeap.getStackTraceAtDepth(traceSerialNumber, depth);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ThreadGroupTest.java | 170 final int DEPTH = 4; 171 final Vector<ThreadGroup> subgroups = buildRandomTreeUnder(testRoot, DEPTH); 458 final int DEPTH = 4; 459 buildRandomTreeUnder(testRoot, DEPTH); 947 final int depth, final Vector<ThreadGroup> allCreated) { 948 if (depth <= 0) { 955 final String name = " Depth = " + depth + ",N = " + iClone 964 asyncBuildRandomTreeUnder(newGroup, depth - 1, allCreated); 973 final int depth) { [all...] |