/external/webrtc/webrtc/modules/ |
D | modules_unittests.isolate | 3 # Use of this source code is governed by a BSD-style license 13 '<(DEPTH)/data/audio_processing/output_data_fixed.pb', 20 '<(DEPTH)/data/audio_processing/output_data_float.pb', 21 '<(DEPTH)/data/audio_processing/output_data_mac.pb', 22 '<(DEPTH)/data/voice_engine/audio_tiny48.wav', 23 '<(DEPTH)/resources/att-downlink.rx', 24 '<(DEPTH)/resources/att-uplink.rx', 25 '<(DEPTH)/resources/audio_coding/neteq4_network_stats.dat', 26 '<(DEPTH)/resources/audio_coding/neteq4_rtcp_stats.dat', 27 '<(DEPTH)/resources/audio_coding/neteq4_universal_ref.pcm', [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | one_hot_op_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 56 indices = np.asarray([0, 2, -1, 1], dtype=np.int64) 57 depth = 3 59 off_value = np.asarray(-1.0, dtype=dtype) 62 [[1.0, -1.0, -1.0], [-1.0, -1.0, 1.0], [-1.0, -1.0, -1.0], 63 [-1.0, 1.0, -1.0]], 66 # axis == -1 69 depth=depth, 78 depth=depth, 86 indices = np.asarray([0, 2, -1, 1], dtype=np.int64) [all …]
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | sample_service_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 21 return static_cast<int32_t>(bar->alpha) << 16 | in Convert() 22 static_cast<int32_t>(bar->beta) << 8 | in Convert() 23 static_cast<int32_t>(bar->gamma); in Convert() 53 data[i] = static_cast<uint8_t>(data.size() - i); in MakeFoo() 103 EXPECT_EQ(20, foo.bar->alpha); in CheckFoo() 104 EXPECT_EQ(40, foo.bar->beta); in CheckFoo() 105 EXPECT_EQ(60, foo.bar->gamma); in CheckFoo() 106 EXPECT_EQ(Bar::Type::VERTICAL, foo.bar->type); in CheckFoo() 108 EXPECT_EQ(3u, foo.extra_bars->size()); in CheckFoo() [all …]
|
/external/libcxxabi/test/ |
D | dynamic_cast_stress.pass.cpp | 1 //===------------------------- dynamic_cast_stress.cpp --------------------------===// 8 //===----------------------------------------------------------------------===// 16 template <std::size_t Indx, std::size_t Depth> 18 : public virtual C<Indx, Depth-1>, 19 public virtual C<Indx+1, Depth-1> 30 template <std::size_t Indx, std::size_t Depth> 32 : public virtual C<Indx, Depth-1>, 33 public virtual C<Indx+1, Depth-1> 37 template <class Indx, std::size_t Depth> 40 template <std::size_t ...Indx, std::size_t Depth> [all …]
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArraySubImage3D.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2014-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 49 /* Width , Height, Depth */ 151 glw::GLuint depth = resolutions[resolution_index][DL_DEPTH]; in iterate() local 153 configureCubeMapArrayTexture(width, height, depth, static_cast<STORAGE_TYPE>(storage_index), 0); in iterate() 155 /* A single whole layer-face at index 0 should be replaced (both functions) */ in iterate() [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.pp.line.frag.out | 6 …unction Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float D… 14 0:126 move second child to first child ( temp 4-component vector of float) 15 0:126 Color: direct index for structure ( temp 4-component vector of float) 16 0:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 19 0:? Construct vec4 ( temp 4-component vector of float) 29 0:127 Depth: direct index for structure ( temp float) 30 0:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 36 0:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 41 …econd child to first child ( temp structure{ temp 4-component vector of float Color, temp float D… 42 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float De… [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | array4d.h | 7 http://www.apache.org/licenses/LICENSE-2.0 47 // Second dimension: depth, feature, z, n2 58 Array4D(int64 planes, int64 depth, int64 height, int64 width) in Array4D() argument 59 : Array<T>(std::vector<int64>{planes, depth, height, width}) {} in Array4D() 62 Array4D(int64 planes, int64 depth, int64 height, int64 width, T value) in Array4D() argument 63 : Array<T>(std::vector<int64>{planes, depth, height, width}, value) {} in Array4D() 71 Array4D(int64 planes, int64 depth, int64 height, int64 width, in Array4D() argument 73 : Array4D(planes, depth, height, width) { in Array4D() 74 this->SetValues(values); in Array4D() 83 // Creates an array of a floating-point type (half, bfloat16, float, [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texgetimage.c | 2 * Mesa 3-D graphics library 4 * Copyright (C) 1999-2008 Brian Paul All Rights Reserved. 74 * glGetTexImage for depth/Z pixels. 79 GLsizei width, GLsizei height, GLint depth, in get_tex_depth() argument 91 for (img = 0; img < depth; img++) { in get_tex_depth() 96 ctx->Driver.MapTextureImage(ctx, texImage, zoffset + img, in get_tex_depth() 102 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_depth() 106 _mesa_unpack_float_z_row(texImage->TexFormat, width, src, depthRow); in get_tex_depth() 107 _mesa_pack_depth_span(ctx, width, dest, type, depthRow, &ctx->Pack); in get_tex_depth() 110 ctx->Driver.UnmapTextureImage(ctx, texImage, zoffset + img); in get_tex_depth() [all …]
|
D | depth.c | 2 * Mesa 3-D graphics library 4 * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. 29 #include "depth.h" 42 _mesa_ClearDepth( GLclampd depth ) in _mesa_ClearDepth() argument 47 _mesa_debug(ctx, "glClearDepth(%f)\n", depth); in _mesa_ClearDepth() 49 ctx->Depth.Clear = CLAMP( depth, 0.0, 1.0 ); in _mesa_ClearDepth() 54 _mesa_ClearDepthf( GLclampf depth ) in _mesa_ClearDepthf() argument 56 _mesa_ClearDepth(depth); in _mesa_ClearDepthf() 63 if (ctx->Depth.Func == func) in depth_func() 83 FLUSH_VERTICES(ctx, ctx->DriverFlags.NewDepth ? 0 : _NEW_DEPTH); in depth_func() [all …]
|
D | texstorage.c | 2 * Mesa 3-D graphics library 65 return ctx->Extensions.ARB_texture_cube_map; in legal_texobj_target() 73 return ctx->Extensions.EXT_texture_array; in legal_texobj_target() 97 return ctx->Extensions.ARB_texture_cube_map; in legal_texobj_target() 100 return ctx->Extensions.NV_texture_rectangle; in legal_texobj_target() 103 return ctx->Extensions.EXT_texture_array; in legal_texobj_target() 112 return ctx->Extensions.EXT_texture_array; in legal_texobj_target() 114 return ctx->Extensions.ARB_texture_cube_map_array; in legal_texobj_target() 131 (texObj->Target == GL_TEXTURE_CUBE_MAP || in get_tex_image() 132 texObj->Target == GL_PROXY_TEXTURE_CUBE_MAP) in get_tex_image() [all …]
|
/external/python/cpython2/Parser/ |
D | asdl_c.py | 28 def reflow_lines(s, depth): argument 29 """Reflow the line s indented depth tabs. 33 exclusively on depth * TABSIZE. All following lines -- these are 34 the reflowed lines generated by this function -- start at the same 38 size = MAX_COL - depth * TABSIZE 48 if i == -1 and 'GeneratorExp' in cur: 50 assert i != -1, "Impossible line %d to reflow: %r" % (size, s) 57 size -= j 63 size -= j 89 def emit(self, s, depth, reflow=True): argument [all …]
|
/external/bcc/tools/old/ |
D | offwaketime.py | 3 # offwaketime Summarize blocked time by kernel off-CPU stack + waker stack 6 # USAGE: offwaketime [-h] [-u] [-p PID] [-T] [duration] 12 # The Off-CPU stack is currently limited to a stack trace depth of 20 20 # 20-Jan-2016 Brendan Gregg Created this. 30 ./offwaketime # trace off-CPU + waker stack time until Ctrl-C 32 ./offwaketime -f 5 # 5 seconds, and output in folded format 33 ./offwaketime -u # don't include kernel threads (user only) 34 ./offwaketime -p 185 # trace fo PID 185 only 40 parser.add_argument("-u", "--useronly", action="store_true", 42 parser.add_argument("-p", "--pid", [all …]
|
D | offcputime.py | 3 # offcputime Summarize off-CPU time by kernel stack trace 6 # USAGE: offcputime [-h] [-u] [-p PID] [-v] [-f] [duration] 12 # Currently limited to a stack trace depth of 21 (maxdepth + 1). 17 # 13-Jan-2016 Brendan Gregg Created this. 27 ./offcputime # trace off-CPU stack time until Ctrl-C 29 ./offcputime -f 5 # 5 seconds, and output in folded format 30 ./offcputime -u # don't include kernel threads (user only) 31 ./offcputime -p 185 # trace fo PID 185 only 34 description="Summarize off-CPU time by kernel stack trace", 37 parser.add_argument("-u", "--useronly", action="store_true", [all …]
|
/external/python/cpython3/Parser/ |
D | asdl_c.py | 21 def reflow_lines(s, depth): argument 22 """Reflow the line s indented depth tabs. 26 exclusively on depth * TABSIZE. All following lines -- these are 27 the reflowed lines generated by this function -- start at the same 31 size = MAX_COL - depth * TABSIZE 41 if i == -1 and 'GeneratorExp' in cur: 43 assert i != -1, "Impossible line %d to reflow: %r" % (size, s) 50 size -= j 56 size -= j 90 def emit(self, s, depth, reflow=True): argument [all …]
|
/external/eigen/test/ |
D | product_small.cpp | 4 // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> 43 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB> 44 typename internal::enable_if<! ( (Rows ==1&&Depth!=1&&OA==ColMajor) 45 || (Depth==1&&Rows !=1&&OA==RowMajor) 46 || (Cols ==1&&Depth!=1&&OB==RowMajor) 47 || (Depth==1&&Cols !=1&&OB==ColMajor) 50 test_lazy_single(int rows, int cols, int depth) in test_lazy_single() argument 52 Matrix<T,Rows,Depth,OA> A(rows,depth); A.setRandom(); in test_lazy_single() 53 Matrix<T,Depth,Cols,OB> B(depth,cols); B.setRandom(); in test_lazy_single() 59 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB> [all …]
|
/external/v8/src/compiler/ |
D | js-context-specialization.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "src/compiler/js-context-specialization.h" 7 #include "src/compiler/common-operator.h" 8 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-operator.h" 11 #include "src/compiler/node-matchers.h" 12 #include "src/compiler/node-properties.h" 13 #include "src/contexts-inl.h" 20 switch (node->opcode()) { in Reduce() 34 DCHECK_EQ(IrOpcode::kParameter, node->opcode()); in ReduceParameter() [all …]
|
/external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/ |
D | Node.java | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 82 void indent(PrintWriter writer, int depth) { in indent() argument 83 for (int i = 0; i < depth; i++) { in indent() 106 void genJavaComment(PrintWriter writer, int depth) { in genJavaComment() argument 108 indent(writer, depth); in genJavaComment() 111 indent(writer, depth); in genJavaComment() 114 indent(writer, depth); in genJavaComment() 120 return "-- WRONG ---"; in javaType() 123 void genJava(PrintWriter writer, int depth) { in genJava() argument 125 node.genJava(writer, depth); in genJava() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_depth.c | 2 * Mesa 3-D graphics library 4 * Copyright (C) 1999-2008 Brian Paul All Rights Reserved. 62 * Do depth test for an array of 16-bit Z values. 63 * @param zbuffer array of Z buffer values (16-bit) 64 * @param zfrag array of fragment Z values (use 16-bit in 32-bit uint) 72 const GLboolean write = ctx->Depth.Mask; in depth_test_span16() 76 switch (ctx->Depth.Func) { in depth_test_span16() 102 _mesa_problem(ctx, "Bad depth func in depth_test_span16"); in depth_test_span16() 110 * Do depth test for an array of 32-bit Z values. 111 * @param zbuffer array of Z buffer values (32-bit) [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | lrn_op.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 47 // When the depth is large and beta_ is 0.5 or 1.0, Single-threaded 49 // below. Benchmarks suggest switching to SingleThreadedLRN when depth > 384. 52 // Create a depth-by-depth band matrix with 1s along a swath of size (2 * 55 void GetBandMatrix(int depth, int depth_radius, in GetBandMatrix() argument 57 result->setZero(); in GetBandMatrix() 58 for (int row = 0; row < depth; ++row) { in GetBandMatrix() 59 const int begin = std::max<int>(0, row - depth_radius); in GetBandMatrix() 60 const int end = std::min<int>(depth, row + depth_radius + 1); in GetBandMatrix() 62 Eigen::DSizes<Eigen::DenseIndex, 2> sizes(1, end - begin); in GetBandMatrix() [all …]
|
D | summary_image_op.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 35 OP_REQUIRES_OK(context, context->GetAttr("max_images", &max_images_tmp)); in SummaryImageOp() 40 OP_REQUIRES_OK(context, context->GetAttr("bad_color", &proto)); in SummaryImageOp() 41 OP_REQUIRES_OK(context, context->device()->MakeTensorFromProto( in SummaryImageOp() 53 const Tensor& tags = c->input(0); in Compute() 54 const Tensor& tensor = c->input(1); in Compute() 62 "Tensor must be 4-D with last dim 1, 3, or 4, not ", in Compute() 79 const int depth = static_cast<int>(tensor.dim_size(3)); in Compute() local 81 OP_REQUIRES(c, hw > 0 && depth > 0, in Compute() 83 "input tensor must have non-zero dims. Found: [", in Compute() [all …]
|
D | crop_and_resize_op_gpu.cu.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 44 int image_width, int crop_height, int crop_width, int depth, int method_id, in CropAndResizeKernel() argument 47 // out_idx = d + depth * (w + crop_width * (h + crop_height * b)) in CropAndResizeKernel() 49 const int d = idx % depth; in CropAndResizeKernel() 50 idx /= depth; in CropAndResizeKernel() 67 (crop_height > 1) ? (y2 - y1) * (image_height - 1) / (crop_height - 1) in CropAndResizeKernel() 70 (crop_width > 1) ? (x2 - x1) * (image_width - 1) / (crop_width - 1) : 0; in CropAndResizeKernel() 73 ? y1 * (image_height - 1) + y * height_scale in CropAndResizeKernel() 74 : 0.5 * (y1 + y2) * (image_height - 1); in CropAndResizeKernel() 75 if (in_y < 0 || in_y > image_height - 1) { in CropAndResizeKernel() [all …]
|
D | dilation_ops_gpu.cu.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 41 int input_cols, int depth, int filter_rows, in DilationKernel() argument 47 // out_idx = d + depth * (w_out + output_cols * (h_out + output_rows * b)) in DilationKernel() 48 const int d = out_idx % depth; in DilationKernel() 49 const int out_idx2 = out_idx / depth; in DilationKernel() 54 int h_beg = h_out * stride_rows - pad_top; in DilationKernel() 55 int w_beg = w_out * stride_cols - pad_left; in DilationKernel() 64 input_ptr[d + depth * (w_in + in DilationKernel() 66 filter_ptr[d + depth * (w + filter_cols * h)]; in DilationKernel() 82 int depth, int filter_rows, int filter_cols, int output_rows, in DilationBackpropInputKernel() argument [all …]
|
/external/libaom/libaom/test/ |
D | cdef_test.cc | 43 depth = GET_PARAM(4); in SetUp() 51 int depth; member in __anond14d112b0111::CDEFBlockTest 59 cdef_filter_block_func ref_cdef, int boundary, int depth) { in test_cdef() argument 75 const unsigned int max_pos = size * size >> static_cast<int>(depth == 8); in test_cdef() 76 for (pridamping = 3 + depth - 8; pridamping < 7 - 3 * !!boundary + depth - 8; in test_cdef() 78 for (secdamping = 3 + depth - 8; in test_cdef() 79 secdamping < 7 - 3 * !!boundary + depth - 8; secdamping++) { in test_cdef() 81 for (level = 0; level < (1 << depth) && !error; in test_cdef() 82 level += (2 + 6 * !!boundary) << (depth - 8)) { in test_cdef() 83 for (bits = 1; bits <= depth && !error; bits += 1 + 3 * !!boundary) { in test_cdef() [all …]
|
/external/skqp/fuzz/ |
D | FuzzCanvas.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 94 fuzz->next(&t); in make_fuzz_t() 102 static sk_sp<SkPicture> make_fuzz_picture(Fuzz*, int depth); 104 static sk_sp<SkColorFilter> make_fuzz_colorfilter(Fuzz* fuzz, int depth) { in make_fuzz_colorfilter() argument 105 if (depth <= 0) { in make_fuzz_colorfilter() 109 fuzz->nextRange(&colorFilterType, 0, 8); in make_fuzz_colorfilter() 116 fuzz->next(&color); in make_fuzz_colorfilter() 117 fuzz->nextRange(&mode, 0, SkBlendMode::kLastMode); in make_fuzz_colorfilter() 121 sk_sp<SkColorFilter> outer = make_fuzz_colorfilter(fuzz, depth - 1); in make_fuzz_colorfilter() 125 sk_sp<SkColorFilter> inner = make_fuzz_colorfilter(fuzz, depth - 1); in make_fuzz_colorfilter() [all …]
|
/external/skia/fuzz/ |
D | FuzzCanvas.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 94 fuzz->next(&t); in make_fuzz_t() 102 static sk_sp<SkPicture> make_fuzz_picture(Fuzz*, int depth); 104 static sk_sp<SkColorFilter> make_fuzz_colorfilter(Fuzz* fuzz, int depth) { in make_fuzz_colorfilter() argument 105 if (depth <= 0) { in make_fuzz_colorfilter() 109 fuzz->nextRange(&colorFilterType, 0, 8); in make_fuzz_colorfilter() 116 fuzz->next(&color); in make_fuzz_colorfilter() 117 fuzz->nextRange(&mode, 0, SkBlendMode::kLastMode); in make_fuzz_colorfilter() 121 sk_sp<SkColorFilter> outer = make_fuzz_colorfilter(fuzz, depth - 1); in make_fuzz_colorfilter() 125 sk_sp<SkColorFilter> inner = make_fuzz_colorfilter(fuzz, depth - 1); in make_fuzz_colorfilter() [all …]
|