Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 2022) sorted by relevance

12345678910>>...81

/external/valgrind/none/tests/amd64/
Dbug156404-amd64.stdout.exp1 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 = 1
[all …]
/external/python/cpython2/Parser/
Dasdl_c.py28 def reflow_lines(s, depth): argument
38 size = MAX_COL - depth * TABSIZE
89 def emit(self, s, depth, reflow=True): argument
92 lines = reflow_lines(s, depth)
96 line = (" " * TABSIZE * depth) + line + "\n"
105 def visitType(self, type, depth=0): argument
106 self.visit(type.value, type.name, depth)
108 def visitSum(self, sum, name, depth): argument
110 self.simple_sum(sum, name, depth)
112 self.sum_with_constructors(sum, name, depth)
[all …]
/external/libmojo/mojo/public/cpp/bindings/tests/
Dsample_service_unittest.cc157 void PrintSpacer(int depth) { in PrintSpacer() argument
158 for (int i = 0; i < depth; ++i) in PrintSpacer()
162 void Print(int depth, const char* name, bool value) { in Print() argument
163 PrintSpacer(depth); in Print()
167 void Print(int depth, const char* name, int32_t value) { in Print() argument
168 PrintSpacer(depth); in Print()
172 void Print(int depth, const char* name, uint8_t value) { in Print() argument
173 PrintSpacer(depth); in Print()
178 void Print(int depth, in Print() argument
181 PrintSpacer(depth); in Print()
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternUtilDemo.java29 private static final void printMessage(MessagePatternUtil.MessageNode msg, int depth) { in printMessage() argument
30 String indent = manySpaces.substring(0, depth * 2); in printMessage()
38 printArg((MessagePatternUtil.ArgNode)contents, depth); in printMessage() local
47 private static final void printArg(MessagePatternUtil.ArgNode arg, int depth) { in printArg() argument
48 System.out.print(manySpaces.substring(0, depth * 2) + "arg: «" + arg.getName() + "»"); in printArg()
63 printComplexArgStyle(arg.getComplexStyle(), depth + 1); in printArg() local
69 int depth) { in printComplexArgStyle() argument
71 System.out.println(manySpaces.substring(0, depth * 2) + "offset: " + style.getOffset()); in printComplexArgStyle()
73 String indent = manySpaces.substring(0, depth * 2); in printComplexArgStyle()
94 printMessage(variant.getMessage(), depth + 1); in printComplexArgStyle() local
[all …]
/external/compiler-rt/test/asan/TestCases/
Dheavy_uar_test.cc27 void RecursiveFunctionWithStackFrame(int depth) { in RecursiveFunctionWithStackFrame() argument
28 if (depth <= 0) return; in RecursiveFunctionWithStackFrame()
30 x[0] = depth; in RecursiveFunctionWithStackFrame()
32 RecursiveFunctionWithStackFrame<kFrameSize>(depth - 1); in RecursiveFunctionWithStackFrame()
43 int depth = argc >= 3 ? atoi(argv[2]) : 500; in main() local
45 RecursiveFunctionWithStackFrame<10>(depth); in main()
46 RecursiveFunctionWithStackFrame<100>(depth); in main()
47 RecursiveFunctionWithStackFrame<500>(depth); in main()
48 RecursiveFunctionWithStackFrame<1024>(depth); in main()
49 RecursiveFunctionWithStackFrame<2000>(depth); in main()
[all …]
/external/v8/src/compiler/
Djs-context-specialization.cc36 DCHECK_LE(new_depth, access.depth()); in SimplifyJSLoadContext()
38 if (new_depth == access.depth() && in SimplifyJSLoadContext()
55 DCHECK_LE(new_depth, access.depth()); in SimplifyJSStoreContext()
57 if (new_depth == access.depth() && in SimplifyJSStoreContext()
73 size_t depth = access.depth(); in ReduceJSLoadContext() local
76 Node* outer = NodeProperties::GetOuterContext(node, &depth); in ReduceJSLoadContext()
83 return SimplifyJSLoadContext(node, outer, depth); in ReduceJSLoadContext()
87 for (; depth > 0; --depth) { in ReduceJSLoadContext()
94 return SimplifyJSLoadContext(node, jsgraph()->Constant(concrete), depth); in ReduceJSLoadContext()
105 return SimplifyJSLoadContext(node, jsgraph()->Constant(concrete), depth); in ReduceJSLoadContext()
[all …]
/external/gemmlowp/standalone/
Dneon-gemm-kernel-benchmark.cc274 AccumulatorType* accum_ptr, int depth) { in Run()
439 [depth] "+r"(depth) in Run()
463 AccumulatorType* accum_ptr, int depth) { in Run()
555 [depth] "+r"(depth) in Run()
581 AccumulatorType* accum_ptr, int depth) { in Run()
583 std::size_t run_depth = depth; in Run()
828 AccumulatorType* accum_ptr, int depth) { in Run()
892 [depth] "+r"(depth) in Run()
913 AccumulatorType* accum_ptr, int depth) { in Run()
978 [depth] "+r"(depth) in Run()
[all …]
/external/llvm/tools/llvm-c-test/
Dcalc.c45 int depth = 0; in build_from_tokens() local
58 if (depth < 2) { in build_from_tokens()
63 stack[depth - 2] = LLVMBuildBinOp(builder, op_to_opcode(tok), in build_from_tokens()
64 stack[depth - 1], stack[depth - 2], ""); in build_from_tokens()
65 depth--; in build_from_tokens()
72 if (depth < 1) { in build_from_tokens()
77 off = LLVMBuildGEP(builder, param, &stack[depth - 1], 1, ""); in build_from_tokens()
78 stack[depth - 1] = LLVMBuildLoad(builder, off, ""); in build_from_tokens()
91 if (depth >= MAX_DEPTH) { in build_from_tokens()
96 stack[depth++] = LLVMConstInt(LLVMInt64Type(), val, 1); in build_from_tokens()
[all …]
/external/mesa3d/src/mesa/main/
Dtexgetimage.c79 GLsizei width, GLsizei height, GLint depth, in get_tex_depth() argument
91 for (img = 0; img < depth; img++) { in get_tex_depth()
128 GLsizei width, GLsizei height, GLint depth, in get_tex_depth_stencil() argument
138 for (img = 0; img < depth; img++) { in get_tex_depth_stencil()
177 GLsizei width, GLsizei height, GLint depth, in get_tex_stencil() argument
185 for (img = 0; img < depth; img++) { in get_tex_stencil()
223 GLsizei width, GLsizei height, GLint depth, in get_tex_ycbcr() argument
229 for (img = 0; img < depth; img++) { in get_tex_ycbcr()
309 GLsizei width, GLsizei height, GLint depth, in get_tex_rgba_compressed() argument
326 tempImage = malloc(width * height * depth * 4 * sizeof(GLfloat)); in get_tex_rgba_compressed()
[all …]
Dtexstorage.c143 GLsizei width, GLsizei height, GLsizei depth, in initialize_texture_fields() argument
148 GLint level, levelWidth = width, levelHeight = height, levelDepth = depth; in initialize_texture_fields()
276 GLsizei height, GLsizei depth) in _mesa_AllocTextureStorage_sw() argument
284 (void) depth; in _mesa_AllocTextureStorage_sw()
309 GLsizei width, GLsizei height, GLsizei depth, in tex_storage_error_check() argument
318 if (!_mesa_valid_tex_storage_dim(width, height, depth)) { in tex_storage_error_check()
351 if (levels > _mesa_get_tex_max_num_levels(target, width, height, depth)) { in tex_storage_error_check()
394 GLsizei height, GLsizei depth, bool dsa) in _mesa_texture_storage() argument
403 internalformat, width, height, depth, dsa)) { in _mesa_texture_storage()
413 width, height, depth, 0); in _mesa_texture_storage()
[all …]
/external/libcxx/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/
Dcopy_assign.pass.cpp44 while (it.depth() != 1) { in TEST_SUITE()
48 TEST_ASSERT(it.depth() == 1); in TEST_SUITE()
67 while (it.depth() != 2) { in createDifferentInterestingIterator()
71 TEST_ASSERT(it.depth() == 2); in createDifferentInterestingIterator()
92 TEST_CHECK(to.depth() == from.depth()); in TEST_CASE()
117 TEST_CHECK(it2.depth() != it.depth()); in TEST_CASE()
124 TEST_CHECK(it2.depth() == it.depth()); in TEST_CASE()
144 TEST_CHECK(it2.depth() == it.depth()); in TEST_CASE()
153 TEST_CHECK(it2.depth() == it.depth()); in TEST_CASE()
Dmove_assign.pass.cpp50 while (it.depth() != 1) { in TEST_SUITE()
54 TEST_ASSERT(it.depth() == 1); in TEST_SUITE()
72 while (it.depth() != 2) { in createDifferentInterestingIterator()
76 TEST_ASSERT(it.depth() == 2); in createDifferentInterestingIterator()
101 TEST_CHECK(to.depth() == from_copy.depth()); in TEST_CASE()
129 TEST_CHECK(it2.depth() != it.depth()); in TEST_CASE()
136 TEST_CHECK(it2.depth() == it_copy.depth()); in TEST_CASE()
157 TEST_CHECK(it2.depth() == it.depth()); in TEST_CASE()
163 TEST_CHECK(it2.depth() == it.depth()); in TEST_CASE()
/external/gemmlowp/internal/
Dcompute.h51 void Compute(int depth) { in Compute() argument
52 depth = RoundUp<Format::kDepth>(depth); in Compute()
53 assert(depth <= block_params_.l2_depth); in Compute()
54 for (int d = 0; d < depth; d += block_params_.l1_depth) { in Compute()
55 int ds = std::min(block_params_.l1_depth, depth - d); in Compute()
67 int depth) GEMMLOWP_NOINLINE { in ComputeRun() argument
74 packed_rhs_.current_data(), start_depth, depth); in ComputeRun()
78 int start_depth, int depth) { in ComputeL1() argument
81 assert(depth % Format::kDepth == 0); in ComputeL1()
85 ComputeRun(start_row + r, start_col + c, start_depth, depth); in ComputeL1()
[all …]
/external/libdivsufsort/lib/
Dsssort.c143 saidx_t depth) { in ss_compare() argument
146 for(U1 = T + depth + *p1, in ss_compare()
147 U2 = T + depth + *p2, in ss_compare()
168 saidx_t *first, saidx_t *last, saidx_t depth) { in ss_insertionsort() argument
174 for(t = *i, j = i + 1; 0 < (r = ss_compare(T, PA + t, PA + *j, depth));) { in ss_insertionsort()
292 saidx_t *first, saidx_t *last, saidx_t depth) { in ss_partition() argument
296 for(; (++a < b) && ((PA[*a] + depth) >= (PA[*a + 1] + 1));) { *a = ~*a; } in ss_partition()
297 for(; (a < --b) && ((PA[*b] + depth) < (PA[*b + 1] + 1));) { } in ss_partition()
312 saidx_t depth) { in ss_mintrosort() argument
326 if(1 < (last - first)) { ss_insertionsort(T, PA, first, last, depth); } in ss_mintrosort()
[all …]
/external/dtc/libfdt/
Dfdt.c162 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument
181 if (depth) in fdt_next_node()
182 (*depth)++; in fdt_next_node()
186 if (depth && ((--(*depth)) < 0)) in fdt_next_node()
192 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
204 int depth = 0; in fdt_first_subnode() local
206 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode()
207 if (offset < 0 || depth != 1) in fdt_first_subnode()
215 int depth = 1; in fdt_next_subnode() local
222 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode()
[all …]
/external/python/cpython2/Lib/test/
Dtest_runpy.py116 def _make_pkg(self, source, depth, mod_base="runpy_test"): argument
123 for i in range(depth):
133 mod_name = (pkg_name+".")*depth + mod_base
136 def _del_pkg(self, top, depth, mod_name): argument
161 def _check_module(self, depth): argument
163 self._make_pkg("x=1\n", depth))
180 self._del_pkg(pkg_dir, depth, mod_name)
183 def _check_package(self, depth): argument
185 self._make_pkg("x=1\n", depth, "__main__"))
203 self._del_pkg(pkg_dir, depth, pkg_name)
[all …]
/external/libpng/contrib/gregbook/
Drpng-x.c143 static int depth; variable
455 depth = DisplayPlanes(display, screen); in rpng_x_create_window()
464 if (/* depth != 8 && */ depth != 16 && depth != 24 && depth != 32) { in rpng_x_create_window()
467 depth); in rpng_x_create_window()
471 XMatchVisualInfo(display, screen, depth, in rpng_x_create_window()
472 (depth == 8)? PseudoColor : TrueColor, &visual_info); in rpng_x_create_window()
475 if (depth != 16 && depth != 24 && depth != 32) { in rpng_x_create_window()
479 depth)) in rpng_x_create_window()
483 visual_info.depth = 24; in rpng_x_create_window()
489 " 24-bit visuals found\n", depth); in rpng_x_create_window()
[all …]
/external/proguard/src/proguard/shrink/
DShortestUsageMark.java40 private final int depth; field in ShortestUsageMark
53 this.depth = 0; in ShortestUsageMark()
88 this.depth = previousUsageMark.depth + cost; in ShortestUsageMark()
104 this.depth = otherUsageMark.depth; in ShortestUsageMark()
134 return this.depth < otherUsageMark.depth; in isShorter()
178 return "certain=" + certain + ", depth="+depth+": " + in toString()
/external/owasp/sanitizer/src/main/org/owasp/html/
DTrie.java57 private Trie(List<Map.Entry<String, Integer>> elements, int depth) { in Trie() argument
58 this(elements, depth, 0, elements.size()); in Trie()
70 List<Map.Entry<String, Integer>> elements, int depth, in Trie() argument
72 this.terminal = depth == elements.get(start).getKey().length(); in Trie()
89 char ch = elements.get(i).getKey().charAt(depth); in Trie()
100 char lastCh = elements.get(start).getKey().charAt(depth); in Trie()
102 char ch = elements.get(i).getKey().charAt(depth); in Trie()
106 elements, depth + 1, childStart, i); in Trie()
112 children[childIndex++] = new Trie(elements, depth + 1, childStart, end); in Trie()
179 private void toStringBuilder(int depth, StringBuilder sb) { in toStringBuilder() argument
[all …]
/external/brotli/enc/
Dcompress_fragment.c129 uint8_t depth[128], uint16_t bits[128], size_t* storage_ix, in BuildAndStoreCommandPrefixCode()
136 BrotliCreateHuffmanTree(histogram, 64, 15, tree, depth); in BuildAndStoreCommandPrefixCode()
137 BrotliCreateHuffmanTree(&histogram[64], 64, 14, tree, &depth[64]); in BuildAndStoreCommandPrefixCode()
143 memcpy(cmd_depth, depth, 24); in BuildAndStoreCommandPrefixCode()
144 memcpy(cmd_depth + 24, depth + 40, 8); in BuildAndStoreCommandPrefixCode()
145 memcpy(cmd_depth + 32, depth + 24, 8); in BuildAndStoreCommandPrefixCode()
146 memcpy(cmd_depth + 40, depth + 48, 8); in BuildAndStoreCommandPrefixCode()
147 memcpy(cmd_depth + 48, depth + 32, 8); in BuildAndStoreCommandPrefixCode()
148 memcpy(cmd_depth + 56, depth + 56, 8); in BuildAndStoreCommandPrefixCode()
156 BrotliConvertBitDepthsToSymbols(&depth[64], 64, &bits[64]); in BuildAndStoreCommandPrefixCode()
[all …]
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_zs.c51 STATIC_ASSERT(ARRAY_SIZE(zs->depth) >= 5); in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER()
52 zs->depth[0] = dw1; in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER()
53 zs->depth[1] = 0; in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER()
54 zs->depth[2] = 0; in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER()
55 zs->depth[3] = 0; in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER()
56 zs->depth[4] = 0; in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER()
282 uint16_t *depth, uint16_t *min_array_elem, in zs_get_gen6_depth_slices() argument
343 *depth = d - 1; in zs_get_gen6_depth_slices()
388 uint16_t width, height, depth, array_base, view_extent; in zs_set_gen6_3DSTATE_DEPTH_BUFFER() local
395 !zs_get_gen6_depth_slices(dev, info, &depth, &array_base, in zs_set_gen6_3DSTATE_DEPTH_BUFFER()
[all …]
/external/dtc/tests/
Dsupernode_atdepth_offset.c33 int depth = 0; in path_depth() local
42 depth++; in path_depth()
48 return depth; in path_depth()
51 static int path_prefix(const char *path, int depth) in path_prefix() argument
59 if (depth == 0) in path_prefix()
63 for (i = 0; i < depth; i++) in path_prefix()
70 int depth) in check_supernode_atdepth() argument
77 pathprefixlen = path_prefix(path, depth); in check_supernode_atdepth()
83 path, pdepth, depth, superpath); in check_supernode_atdepth()
94 depth, &nodedepth); in check_supernode_atdepth()
/external/v8/src/
Dd8.js26 function Stringify(x, depth) { argument
27 if (depth === undefined)
28 depth = stringifyDepthLimit;
29 else if (depth === 0)
32 return StringifyProxy(x, depth);
51 {}.hasOwnProperty.call(x, i) ? Stringify(x[i], depth - 1) : "");
68 props.push(name + ": " + Stringify(desc.value, depth - 1));
85 function StringifyProxy(proxy, depth) { argument
91 return '[' + proxy_type + ' Proxy ' + Stringify(info_object, depth-1) + ']';
/external/skia/fuzz/
DFuzzCanvas.cpp240 static sk_sp<SkPicture> make_fuzz_picture(Fuzz*, int depth);
242 static sk_sp<SkColorFilter> make_fuzz_colorfilter(Fuzz* fuzz, int depth) { in make_fuzz_colorfilter() argument
243 if (depth <= 0) { in make_fuzz_colorfilter()
258 sk_sp<SkColorFilter> outer = make_fuzz_colorfilter(fuzz, depth - 1); in make_fuzz_colorfilter()
259 sk_sp<SkColorFilter> inner = make_fuzz_colorfilter(fuzz, depth - 1); in make_fuzz_colorfilter()
318 static sk_sp<SkShader> make_fuzz_shader(Fuzz* fuzz, int depth) { in make_fuzz_shader() argument
329 if (depth <= 0) { in make_fuzz_shader()
356 shader1 = make_fuzz_shader(fuzz, depth - 1); // limit recursion. in make_fuzz_shader()
360 shader1 = make_fuzz_shader(fuzz, depth - 1); // limit recursion. in make_fuzz_shader()
361 colorFilter = make_fuzz_colorfilter(fuzz, depth - 1); in make_fuzz_shader()
[all …]
/external/mesa3d/src/mesa/program/
Dsymbol_table.c49 unsigned depth; member
81 unsigned depth; member
91 table->depth--; in _mesa_symbol_table_pop_scope()
127 table->depth++; in _mesa_symbol_table_push_scope()
154 assert(sym->depth <= table->depth); in _mesa_symbol_table_symbol_scope()
155 return sym->depth - table->depth; in _mesa_symbol_table_symbol_scope()
181 if (sym && sym->depth == table->depth) in _mesa_symbol_table_add_symbol()
205 new_sym->depth = table->depth; in _mesa_symbol_table_add_symbol()
238 if (sym->depth == 0) in _mesa_symbol_table_add_global_symbol()

12345678910>>...81