Home
last modified time | relevance | path

Searched +full:stack +full:- +full:utils (Results 1 – 25 of 920) sorted by relevance

12345678910>>...37

/external/libgav1/src/
Dresidual_buffer_pool.h8 * http://www.apache.org/licenses/LICENSE-2.0
26 #include "src/utils/common.h"
27 #include "src/utils/compiler_attributes.h"
28 #include "src/utils/constants.h"
29 #include "src/utils/memory.h"
30 #include "src/utils/queue.h"
31 #include "src/utils/types.h"
43 buffer->buffer_ = MakeAlignedUniquePtr<uint8_t>(32, buffer_size); in Create()
44 if (buffer->buffer_ == nullptr || in Create()
45 !buffer->transform_parameters_.Init(queue_size) || in Create()
[all …]
Dtile_scratch_buffer.h8 * http://www.apache.org/licenses/LICENSE-2.0
29 #include "src/utils/common.h"
30 #include "src/utils/compiler_attributes.h"
31 #include "src/utils/constants.h"
32 #include "src/utils/memory.h"
33 #include "src/utils/stack.h"
63 // Quiet msan warnings in ConvolveScale2D_NEON(). Set with random non-zero in Init()
74 // will be created for the Y plane and will be re-used for the U & V planes.
82 // Compound prediction calculations always output 16-bit values. Depending
120 // spec uses "-1" as an index to access the left and top borders. In the
[all …]
Dresidual_buffer_pool_test.cc7 // http://www.apache.org/licenses/LICENSE-2.0
22 #include "src/utils/constants.h"
23 #include "src/utils/queue.h"
24 #include "src/utils/types.h"
34 uint8_t* const buffer1_ptr = buffer1->buffer(); in TEST()
38 uint8_t* const buffer2_ptr = buffer2->buffer(); in TEST()
46 uint8_t* const buffer3_ptr = buffer3->buffer(); in TEST()
52 uint8_t* const buffer4_ptr = buffer4->buffer(); in TEST()
73 uint8_t* const buffer5_ptr = buffer5->buffer(); in TEST()
88 uint8_t* const buffer1_ptr = buffer1->buffer(); in TEST()
[all …]
Dframe_scratch_buffer.h8 * http://www.apache.org/licenses/LICENSE-2.0
33 #include "src/utils/array_2d.h"
34 #include "src/utils/block_parameters_holder.h"
35 #include "src/utils/compiler_attributes.h"
36 #include "src/utils/constants.h"
37 #include "src/utils/dynamic_buffer.h"
38 #include "src/utils/memory.h"
39 #include "src/utils/stack.h"
40 #include "src/utils/types.h"
125 Stack<std::unique_ptr<FrameScratchBuffer>, kMaxThreads> buffers_
/external/autotest/client/cros/crash/
Duser_crash_test.py2 # Use of this source code is governed by a BSD-style license that can be
16 from autotest_lib.client.bin import utils
44 utils.make()
74 utils.system('cd %s; tar xzf crasher.tgz-unmasked' %
79 utils.system('chmod -R a+rx ' + self.bindir)
87 <symbol-root>/<module_name>/<file_id>/<module_name>.sym
91 utils.system('rm -rf %s' % self._symbol_dir)
95 utils.system('dump_syms %s > %s.sym' % (self._crasher_path, basename))
97 symbols = utils.read_file(sym_name)
114 line_number, stack):
[all …]
/external/perfetto/src/trace_processor/perfetto_sql/intrinsics/functions/
Dstack_functions.cc8 * http://www.apache.org/licenses/LICENSE-2.0
33 #include "protos/perfetto/trace_processor/stack.pbzero.h"
45 using protos::pbzero::Stack;
61 // Creates a Stack by concatenating other Stacks. Also accepts strings for which
84 protozero::HeapBuffered<Stack> stack; in RunImpl() local
87 // Stack expects the opposite, thus iterates the args in reverse order. in RunImpl()
88 for (size_t i = argc; i > 0; --i) { in RunImpl()
89 size_t arg_index = i - 1; in RunImpl()
90 SqlValue value = sqlite::utils::SqliteValueToSqlValue(argv[arg_index]); in RunImpl()
93 stack->AppendRawProtoBytes(value.bytes_value, value.bytes_count); in RunImpl()
[all …]
Dpprof_functions.cc8 * http://www.apache.org/licenses/LICENSE-2.0
32 #include "perfetto/ext/base/utils.h"
36 #include "protos/perfetto/trace_processor/stack.pbzero.h"
50 using protos::pbzero::Stack;
72 base::StatusOr<SqlValue> value = sqlite::utils::ExtractArgument( in Step()
73 argc, argv, "stack", 0, SqlValue::kBytes); in Step()
78 Stack::Decoder stack(static_cast<const uint8_t*>(value->bytes_value), in Step()
79 value->bytes_count); in Step()
80 if (stack.bytes_left() != 0) { in Step()
81 return sqlite::utils::ToInvalidArgumentError( in Step()
[all …]
/external/libgav1/src/tile/bitstream/
Dtransform_size.cc7 // http://www.apache.org/licenses/LICENSE-2.0
23 #include "src/utils/array_2d.h"
24 #include "src/utils/block_parameters_holder.h"
25 #include "src/utils/common.h"
26 #include "src/utils/constants.h"
27 #include "src/utils/entropy_decoder.h"
28 #include "src/utils/segmentation.h"
29 #include "src/utils/stack.h"
30 #include "src/utils/types.h"
75 *block_parameters_holder_.Find(row4x4 - 1, column4x4); in GetTopTransformWidth()
[all …]
/external/autotest/server/hosts/
Dssh_host.py26 from autotest_lib.server import utils
33 from autotest_lib.utils.frozen_chromite.lib import metrics
35 metrics = utils.metrics_mock
50 configured for password-less login, for example through public key
57 serial console available then ordinary SSH-based commands will
101 """ Get the server stack frame status.
106 stack_frames = inspect.stack()
107 stack = ''
110 stack = '%s|%s' % (function_name, stack)
112 return stack[:-1] # Delete the last '|' character
[all …]
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/renderer/
DLegendRenderer.java18 import com.github.mikephil.charting.utils.ColorTemplate;
19 import com.github.mikephil.charting.utils.FSize;
20 import com.github.mikephil.charting.utils.Utils;
21 import com.github.mikephil.charting.utils.ViewPortHandler;
50 mLegendLabelPaint.setTextSize(Utils.convertDpToPixel(9f)); in LegendRenderer()
196 if (j < clrs.size() - 1 && j < entryCount - 1) { in computeLegend()
248 float labelLineHeight = Utils.getLineHeight(mLegendLabelPaint, legendFontMetrics);
249 float labelLineSpacing = Utils.getLineSpacing(mLegendLabelPaint, legendFontMetrics)
250 + Utils.convertDpToPixel(mLegend.getYEntrySpace());
251 float formYOffset = labelLineHeight - Utils.calcTextHeight(mLegendLabelPaint, "ABC") / 2.f;
[all …]
/external/bcc/examples/lua/
Dmemleak.lua1 #!/usr/bin/env bcc-lua
2 --[[
9 http://www.apache.org/licenses/LICENSE-2.0
85 address, info->size);
91 return function(BPF, utils)
92 local parser = utils.argparse("memleak", "Catch memory leaks")
93 parser:flag("-t --trace")
94 parser:flag("-a --show-allocs")
95 parser:option("-p --pid"):convert(tonumber)
97 parser:option("-i --interval", "", 5):convert(tonumber)
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DStylesheetHandler.java10 * http://www.apache.org/licenses/LICENSE-2.0
19 * $Id: StylesheetHandler.java 468640 2006-10-28 06:53:53Z minchau $
23 import java.util.Stack;
41 import org.apache.xml.utils.BoolStack;
42 import org.apache.xml.utils.NamespaceSupport2;
43 import org.apache.xml.utils.NodeConsumer;
44 import org.apache.xml.utils.PrefixResolver;
45 import org.apache.xml.utils.SAXSourceLocator;
46 import org.apache.xml.utils.XMLCharacterRecognizer;
62 * a ContentHandler stack, and pushing appropriate content
[all …]
/external/autotest/server/
Dsite_crashcollect.py2 # Use of this source code is governed by a BSD-style license that can be
9 from autotest_lib.client.common_lib import utils as client_utils
15 from autotest_lib.server import utils
18 from autotest_lib.utils.frozen_chromite.lib import metrics
33 symbol_dir = '%s/../../../lib/debug' % utils.get_server_dir()
63 Generates a stack trace for the specified minidump by consulting devserver.
94 Tries to generate a stack trace for the file located at |minidump|.
100 logging.info('Trying to generate stack trace locally for %s', minidump)
102 logging.info('Generated stack trace for dump %s', minidump)
105 logging.info('Failed to generate stack trace locally for '
[all …]
/external/tensorflow/tensorflow/python/saved_model/registration/
DREADME.md6 Currently, only TensorFlow-internal
22 [`tf.keras.utils.register_keras_serializable(package, name)`](https://www.tensorflow.org/api_docs/p…
27 registration.register_tf_serializable(name) # If TensorFlow-internal.
57 def save_fn(trackables, file_prefix): -> List[shard filenames]
80 def restore_fn(trackables, file_prefix): -> None
101 Below shows a `Stack` module that contains multiple `Parts` (a subclass of
102 `tf.Variable`). When a `Stack` is saved to a checkpoint, the `Parts` are stacked
104 is restored to all of the `Parts` in the `Stack`.
119 class Stack(tracking.AutoTrackable):
126 return array_ops.stack(self.parts)
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/
DXPathContext.java10 * http://www.apache.org/licenses/LICENSE-2.0
19 * $Id: XPathContext.java 524809 2007-04-02 15:51:51Z zongaro $
24 import java.util.Stack;
43 import org.apache.xml.utils.IntStack;
44 import org.apache.xml.utils.NodeVector;
45 import org.apache.xml.utils.ObjectStack;
46 import org.apache.xml.utils.PrefixResolver;
47 import org.apache.xml.utils.SAXSourceLocator;
48 import org.apache.xml.utils.XMLString;
67 * Stack of cached "reusable" DTMs for Result Tree Fragments.
[all …]
/external/libtextclassifier/native/utils/tflite/
Dstring_projection.cc8 * http://www.apache.org/licenses/LICENSE-2.0
17 #include "utils/tflite/string_projection.h"
22 #include "utils/strings/utf8.h"
23 #include "utils/tflite/string_projection_base.h"
24 #include "utils/utf8/unilib-common.h"
44 constexpr int kInvalid = -1;
56 if (bytes_read <= 0 || bytes_read > text.length() - i) { in IsDigitString()
109 if (bytes_read <= 0 || bytes_read > len - i) break; in SplitByCharInternal()
110 tokens->emplace_back(input_ptr + i, bytes_read); in SplitByCharInternal()
111 if (max_tokens != kInvalid && tokens->size() == max_tokens) { in SplitByCharInternal()
[all …]
/external/trace-cmd/Documentation/trace-cmd/
Dtrace-cmd-stack.1.txt1 TRACE-CMD-STACK(1)
5 ----
6 trace-cmd-stack - read, enable or disable Ftrace Linux kernel stack tracing.
9 --------
10 *trace-cmd stack*
13 -----------
14 The trace-cmd(1) stack enables the Ftrace stack tracer within the kernel.
15 The stack tracer enables the function tracer and at each function call
16 within the kernel, the stack is checked. When a new maximum usage stack
19 When no option is used, the current stack is displayed.
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/manual/
DBulkParseTest.java5 import com.github.javaparser.utils.CodeGenerationUtils;
6 import com.github.javaparser.utils.Log;
7 import com.github.javaparser.utils.SourceRoot;
8 import com.github.javaparser.utils.SourceZip;
24 import static com.github.javaparser.utils.CodeGenerationUtils.*;
25 import static com.github.javaparser.utils.CodeGenerationUtils.f;
26 import static com.github.javaparser.utils.SourceRoot.Callback.Result.DONT_SAVE;
27 import static com.github.javaparser.utils.TestUtils.download;
28 import static com.github.javaparser.utils.TestUtils.temporaryDirectory;
33 … this will download a version of the OpenJDK, unzip it, and parse it. If it throws a stack overflow
[all …]
/external/libgav1/src/utils/
Dstack_test.cc7 // http://www.apache.org/licenses/LICENSE-2.0
15 #include "src/utils/stack.h"
28 Stack<int, kStackSize> stack; in TEST() local
29 EXPECT_TRUE(stack.Empty()); in TEST()
32 stack.Push(i); in TEST()
33 EXPECT_FALSE(stack.Empty()); in TEST()
36 for (int i = kStackSize - 1; i >= 0; --i) { in TEST()
37 EXPECT_EQ(stack.Pop(), i); in TEST()
39 EXPECT_TRUE(stack.Empty()); in TEST()
53 Stack<LargeMoveOnlyStruct, kStackSize> stack; in TEST() local
[all …]
/external/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp1 //===- DemoteRegToStack.cpp - Move a virtual register to the stack --------===//
8 //===----------------------------------------------------------------------===//
10 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
16 #include "llvm/Transforms/Utils/Local.h"
19 /// DemoteRegToStack - This function takes a virtual register computed by an
20 /// Instruction and replaces it with a slot in the stack frame, allocated via
23 /// the alloca inserted to create a stack slot for I.
31 // Create a stack slot to hold the value. in DemoteRegToStack()
37 Function *F = I.getParent()->getParent(); in DemoteRegToStack()
39 &F->getEntryBlock().front()); in DemoteRegToStack()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DAVTPartXPath.java10 * http://www.apache.org/licenses/LICENSE-2.0
19 * $Id: AVTPartXPath.java 468643 2006-10-28 06:56:03Z minchau $
23 import org.apache.xml.utils.FastStringBuffer;
36 static final long serialVersionUID = -4460373807550527675L;
45 * This function is used to fixup variables from QNames to stack frame
51 * in the stack frame (but variables above the globalsTop value will need
52 * to be offset to the current stack frame).
99 String val, org.apache.xml.utils.PrefixResolver nsNode, in AVTPartXPath()
131 … XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode) in evaluate()
DAVTPartSimple.java10 * http://www.apache.org/licenses/LICENSE-2.0
19 * $Id: AVTPartSimple.java 468643 2006-10-28 06:56:03Z minchau $
23 import org.apache.xml.utils.FastStringBuffer;
32 static final long serialVersionUID = -3744957690598727913L;
60 * This function is used to fixup variables from QNames to stack frame
66 * in the stack frame (but variables above the globalsTop value will need
67 * to be offset to the current stack frame).
71 // no-op in fixupVariables()
88 org.apache.xml.utils.PrefixResolver nsNode) in evaluate()
DAVTPart.java10 * http://www.apache.org/licenses/LICENSE-2.0
19 * $Id: AVTPart.java 468643 2006-10-28 06:56:03Z minchau $
23 import org.apache.xml.utils.FastStringBuffer;
33 static final long serialVersionUID = -1747749903613916025L;
60 org.apache.xml.utils.PrefixResolver nsNode) in evaluate()
82 * This function is used to fixup variables from QNames to stack frame
88 * in the stack frame (but variables above the globalsTop value will need
89 * to be offset to the current stack frame).
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAlwaysInlinePass.cpp1 //===-- AMDGPUAlwaysInlinePass.cpp - Promote Allocas ----------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
17 #include "Utils/AMDGPUBaseInfo.h"
20 #include "llvm/Transforms/Utils/Cloning.h"
27 "amdgpu-stress-function-calls",
51 INITIALIZE_PASS(AMDGPUAlwaysInline, "amdgpu-always-inline",
59 SmallVector<User *, 16> Stack; in recursivelyVisitUsers() local
64 Stack.push_back(U); in recursivelyVisitUsers()
[all …]
/external/tensorflow/tensorflow/python/autograph/
D__init__.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Conversion of eager-style Python into TensorFlow graph code.
18 `tf.function`. This module contains lower-level APIs for advanced use.
34 from tensorflow.python.autograph import utils
46 from tensorflow.python.autograph.lang.special_functions import stack
47 from tensorflow.python.autograph.utils import ag_logging
67 'stack',
70 'utils',

12345678910>>...37