Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 848) sorted by relevance

12345678910>>...34

/frameworks/compile/mclinker/lib/LD/
DGroupReader.cpp50 Module::input_iterator input = --pRoot; in readGroup() local
53 while (input != pEnd) { in readGroup()
56 if ((*input)->type() == Input::Script || in readGroup()
57 (*input)->type() == Input::Archive || in readGroup()
58 (*input)->type() == Input::External) { in readGroup()
59 ++input; in readGroup()
63 if (Input::Object == (*input)->type()) { in readGroup()
64 m_Module.getObjectList().push_back(*input); in readGroup()
68 if (Input::DynObj == (*input)->type()) { in readGroup()
69 m_Module.getLibraryList().push_back(*input); in readGroup()
[all …]
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
Dtrace_creator.py20 increment.time_stamp = int(input("Time stamp of action: "))
60 return int(input("> "))
86 return int(input("> "))
92 = bool(input("Is transaction synchronous (True/False): "))
94 = bool(input("Is transaction animated (True/False): "))
108 change.id = int(input("ID of layer/display to undergo a change: "))
163 increment.surface_creation.id = int(input("Enter id: "))
166 increment.surface_creation.w = input("Enter w: ")
167 increment.surface_creation.h = input("Enter h: ")
170 increment.surface_deletion.id = int(input("Enter id: "))
[all …]
/frameworks/native/libs/gui/
DLayerState.cpp101 status_t layer_state_t::read(const Parcel& input) in read() argument
103 surface = input.readStrongBinder(); in read()
104 what = input.readUint64(); in read()
105 x = input.readFloat(); in read()
106 y = input.readFloat(); in read()
107 z = input.readInt32(); in read()
108 w = input.readUint32(); in read()
109 h = input.readUint32(); in read()
110 layerStack = input.readUint32(); in read()
111 alpha = input.readFloat(); in read()
[all …]
DITransactionCompletedListener.cpp54 status_t SurfaceStats::readFromParcel(const Parcel* input) { in readFromParcel() argument
55 status_t err = input->readStrongBinder(&surfaceControl); in readFromParcel()
59 err = input->readInt64(&acquireTime); in readFromParcel()
64 err = input->readBool(&hasFence); in readFromParcel()
70 err = input->read(*previousReleaseFence); in readFromParcel()
102 status_t TransactionStats::readFromParcel(const Parcel* input) { in readFromParcel() argument
103 status_t err = input->readInt64Vector(&callbackIds); in readFromParcel()
107 err = input->readInt64(&latchTime); in readFromParcel()
112 err = input->readBool(&hasFence); in readFromParcel()
118 err = input->read(*presentFence); in readFromParcel()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java45 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResult() local
48 input.informationElements = new InformationElement[] { in convertScanResult()
52 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResult()
54 validateScanDetail(input, output); in convertScanResult()
61 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResultWithAnqpLines() local
64 input.informationElements = new InformationElement[] { in convertScanResultWithAnqpLines()
67 input.anqpLines = Arrays.asList("LINE 1", "line 2", "Line 3"); in convertScanResultWithAnqpLines()
69 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResultWithAnqpLines()
71 validateScanDetail(input, output); in convertScanResultWithAnqpLines()
77 ScanResult input = new ScanResult(ssid, "ab:cd:01:ef:45:89", 1245, 0, "other caps", in convertScanResultWithoutWifiSsid() local
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp40 static const float input[] = {1.0f, 0.5f, -0.25f, -1.0f, 0.0f, 53.9f, -87.2f}; in TEST() local
46 int numInputFrames = sizeof(input) / sizeof(input[0]); in TEST()
47 sourceFloat.setData(input, numInputFrames); in TEST()
48 sourceFloat.output.connect(&sinkI16.input); in TEST()
59 static const float input[] = {1.0f, 2.0f, 3.0f}; in TEST() local
65 sourceFloat.setData(input, 3); in TEST()
67 sourceFloat.output.connect(&monoToStereo.input); in TEST()
68 monoToStereo.output.connect(&sinkFloat.input); in TEST()
72 EXPECT_EQ(input[0], output[0]); in TEST()
73 EXPECT_EQ(input[0], output[1]); in TEST()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DColorSpace.java42 ByteBuffer input, ByteBuffer output, int width, int height) { in convertYuv420pToRgba8888() argument
43 expectInputSize(input, (3 * width * height) / 2); in convertYuv420pToRgba8888()
45 nativeYuv420pToRgba8888(input, output, width, height); in convertYuv420pToRgba8888()
61 ByteBuffer input, ByteBuffer output, int width, int height) { in convertArgb8888ToRgba8888() argument
62 expectInputSize(input, width * height * 4); in convertArgb8888ToRgba8888()
64 nativeArgb8888ToRgba8888(input, output, width, height); in convertArgb8888ToRgba8888()
80 ByteBuffer input, ByteBuffer output, int width, int height) { in convertRgba8888ToHsva8888() argument
81 expectInputSize(input, width * height * 4); in convertRgba8888ToHsva8888()
83 nativeRgba8888ToHsva8888(input, output, width, height); in convertRgba8888ToHsva8888()
99 ByteBuffer input, ByteBuffer output, int width, int height) { in convertRgba8888ToYcbcra8888() argument
[all …]
/frameworks/compile/mclinker/lib/Script/
DInputCmd.cpp65 InputToken* input = llvm::cast<InputToken>(*it); in dump() local
66 cur = input->asNeeded(); in dump()
72 if (input->type() == InputToken::NameSpec) in dump()
74 mcld::outs() << input->name() << " "; in dump()
165 InputTree::iterator input = m_Builder.getCurrentNode(); in activate() local
167 input_begin = input; in activate()
170 assert(*input != NULL); in activate()
171 if (!m_Builder.setMemory(**input, in activate()
174 error(diag::err_cannot_open_input) << (*input)->name() in activate()
175 << (*input)->path(); in activate()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DAbs_32.cpp33 LVM_INT32 Abs_32(LVM_INT32 input) in Abs_32() argument
35 if(input < 0) in Abs_32()
37 if (input == (LVM_INT32)(0x80000000U)) in Abs_32()
40 input=(LVM_INT32) 0x7fffffff; in Abs_32()
45 input = (LVM_INT32)(-input); in Abs_32()
48 return input; in Abs_32()
50 LVM_FLOAT Abs_Float(LVM_FLOAT input) in Abs_Float() argument
52 if(input < 0) in Abs_Float()
55 input = (LVM_FLOAT)(-input); in Abs_Float()
57 return input; in Abs_Float()
/frameworks/compile/mclinker/lib/MC/
DFileAction.cpp23 Input* input = *pBuilder.getCurrentNode(); in activate() local
25 if (input->hasContext()) in activate()
29 if (input->type() == Input::Script || input->type() == Input::Object || in activate()
30 input->type() == Input::DynObj || input->type() == Input::Archive) in activate()
33 return pBuilder.setContext(*input); in activate()
46 Input* input = *pBuilder.getCurrentNode(); in activate() local
48 if (input->hasMemArea()) in activate()
52 if (input->type() == Input::Script || input->type() == Input::Object || in activate()
53 input->type() == Input::DynObj || input->type() == Input::Archive) in activate()
56 return pBuilder.setMemory(*input, m_Mode, m_Permission); in activate()
/frameworks/base/core/java/android/util/
DBase64.java90 public abstract boolean process(byte[] input, int offset, int len, boolean finish); in process() argument
137 public static byte[] decode(byte[] input, int flags) { in decode() argument
138 return decode(input, 0, input.length, flags); in decode()
157 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() argument
162 if (!decoder.process(input, offset, len, true)) { in decode()
265 public boolean process(byte[] input, int offset, int len, boolean finish) { in process() argument
299 (value = ((alphabet[input[p] & 0xff] << 18) | in process()
300 (alphabet[input[p+1] & 0xff] << 12) | in process()
301 (alphabet[input[p+2] & 0xff] << 6) | in process()
302 (alphabet[input[p+3] & 0xff]))) >= 0) { in process()
[all …]
/frameworks/ml/nn/common/
DOperationsUtils.cpp385 bool reshapePrepare(const Shape& input, const int32_t* targetDims, const int32_t targetDimsSize, in reshapePrepare() argument
391 int32_t numInputElements = (int32_t)getNumberOfElements(input); in reshapePrepare()
414 output->type = input.type; in reshapePrepare()
416 output->offset = input.offset; in reshapePrepare()
417 output->scale = input.scale; in reshapePrepare()
422 bool depthToSpacePrepare(const Shape& input, int32_t blockSize, Shape* output) { in depthToSpacePrepare() argument
423 NN_OPS_CHECK(getNumberOfDimensions(input) == 4); in depthToSpacePrepare()
426 uint32_t batches = getSizeOfDimension(input, 0); in depthToSpacePrepare()
427 uint32_t height = getSizeOfDimension(input, 1); in depthToSpacePrepare()
428 uint32_t width = getSizeOfDimension(input, 2); in depthToSpacePrepare()
[all …]
DQuantUtils.h30 void MatrixBatchVectorMultiplyAccumulate(const int8_t* input, const int32_t* bias, in MatrixBatchVectorMultiplyAccumulate() argument
40 int8_t input_val = input[batch * n_input + col]; in MatrixBatchVectorMultiplyAccumulate()
78 inline bool GetInvSqrtQuantizedMultiplierExp(int32_t input, int reverse_shift, in GetInvSqrtQuantizedMultiplierExp() argument
80 NN_RET_CHECK_GE(input, 0); in GetInvSqrtQuantizedMultiplierExp()
81 if (input <= 1) { in GetInvSqrtQuantizedMultiplierExp()
93 while (input >= (1 << 29)) { in GetInvSqrtQuantizedMultiplierExp()
94 input /= 4; in GetInvSqrtQuantizedMultiplierExp()
97 const unsigned max_left_shift_bits = CountLeadingZeros(static_cast<uint32_t>(input)) - 1; in GetInvSqrtQuantizedMultiplierExp()
101 input <<= 2 * left_shift_bit_pairs; in GetInvSqrtQuantizedMultiplierExp()
102 NN_RET_CHECK_GE(input, (1 << 27)); in GetInvSqrtQuantizedMultiplierExp()
[all …]
/frameworks/base/tools/aapt2/io/
DStringStream_test.cpp33 std::string input; in TEST() local
34 input.resize(kCount, 0x7f); in TEST()
35 input[0] = 0x00; in TEST()
36 input[kCount - 1] = 0xff; in TEST()
37 StringInputStream in(input); in TEST()
53 std::string input = "hello this is a string"; in TEST() local
54 StringInputStream in(input); in TEST()
59 ASSERT_THAT(size, Eq(input.size())); in TEST()
61 EXPECT_THAT(in.ByteCount(), Eq(input.size())); in TEST()
64 EXPECT_THAT(in.ByteCount(), Eq(input.size() - 6u)); in TEST()
[all …]
/frameworks/base/libs/hwui/
DInterpolator.cpp32 float AccelerateDecelerateInterpolator::interpolate(float input) { in interpolate() argument
33 return (float)(cosf((input + 1) * M_PI) / 2.0f) + 0.5f; in interpolate()
36 float AccelerateInterpolator::interpolate(float input) { in interpolate() argument
38 return input * input; in interpolate()
40 return pow(input, mDoubleFactor); in interpolate()
79 float CycleInterpolator::interpolate(float input) { in interpolate() argument
80 return sinf(2 * mCycles * M_PI * input); in interpolate()
83 float DecelerateInterpolator::interpolate(float input) { in interpolate() argument
86 result = 1.0f - (1.0f - input) * (1.0f - input); in interpolate()
88 result = 1.0f - pow((1.0f - input), 2 * mFactor); in interpolate()
[all …]
DInterpolator.h32 virtual float interpolate(float input) = 0;
42 virtual float interpolate(float input) override;
48 virtual float interpolate(float input) override;
58 virtual float interpolate(float input) override;
67 virtual float interpolate(float input) override;
75 virtual float interpolate(float input) override;
81 virtual float interpolate(float input) override;
90 virtual float interpolate(float input) override;
98 virtual float interpolate(float input) override { return input; } in interpolate() argument
104 virtual float interpolate(float input) override;
[all …]
/frameworks/compile/mclinker/lib/Object/
DObjectLinker.cpp148 Module::input_iterator input, inEnd = m_pModule->input_end(); in normalize() local
149 for (input = m_pModule->input_begin(); input != inEnd; ++input) { in normalize()
151 if (isGroup(input)) { in normalize()
153 input, inEnd, m_pBuilder->getInputBuilder(), m_Config); in normalize()
159 if ((*input)->type() == Input::Script || in normalize()
160 (*input)->type() == Input::Archive || in normalize()
161 (*input)->type() == Input::External) in normalize()
164 if (Input::Object == (*input)->type()) { in normalize()
165 m_pModule->getObjectList().push_back(*input); in normalize()
169 if (Input::DynObj == (*input)->type()) { in normalize()
[all …]
/frameworks/base/core/java/android/os/
DHidlMemoryUtil.java58 HidlMemory byteArrayToHidlMemory(@NonNull byte[] input) { in byteArrayToHidlMemory() argument
59 return byteArrayToHidlMemory(input, null); in byteArrayToHidlMemory()
73 HidlMemory byteArrayToHidlMemory(@NonNull byte[] input, @Nullable String name) { in byteArrayToHidlMemory() argument
74 Preconditions.checkNotNull(input); in byteArrayToHidlMemory()
76 if (input.length == 0) { in byteArrayToHidlMemory()
81 SharedMemory shmem = SharedMemory.create(name != null ? name : "", input.length); in byteArrayToHidlMemory()
83 buffer.put(input); in byteArrayToHidlMemory()
86 return new HidlMemory("ashmem", input.length, handle); in byteArrayToHidlMemory()
102 HidlMemory byteListToHidlMemory(@NonNull List<Byte> input) { in byteListToHidlMemory() argument
103 return byteListToHidlMemory(input, null); in byteListToHidlMemory()
[all …]
/frameworks/ml/nn/common/operations/
DLSHProjection.cpp60 const RunTimeOperandInfo* input = GetInput(operation, operands, kInputTensor); in Prepare() local
61 NN_CHECK(NumDimensions(input) >= 1); in Prepare()
76 NN_CHECK_EQ(SizeOfDimension(weight, 0), SizeOfDimension(input, 0)); in Prepare()
97 int runningSignBit(const RunTimeOperandInfo* input, const RunTimeOperandInfo* weight, float seed) { in runningSignBit() argument
99 int input_item_bytes = nonExtensionOperandSizeOfData(input->type, input->dimensions) / in runningSignBit()
100 SizeOfDimension(input, 0); in runningSignBit()
101 char* input_ptr = (char*)(input->buffer); in runningSignBit()
107 for (uint32_t i = 0; i < SizeOfDimension(input, 0); ++i) { in runningSignBit()
127 const RunTimeOperandInfo* input, const RunTimeOperandInfo* weight, in SparseLshProjection() argument
135 int bit = runningSignBit<T>(input, weight, static_cast<float>(seed)); in SparseLshProjection()
[all …]
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp53 std::string input = kXmlPreamble; in TEST() local
54 input += R"(<attr name="foo"/>)"; in TEST()
55 StringInputStream in(input); in TEST()
75 std::string input = kXmlPreamble; in TestParse() local
76 input += "<resources>\n"; in TestParse()
77 input.append(str.data(), str.size()); in TestParse()
78 input += "\n</resources>"; in TestParse()
79 StringInputStream in(input); in TestParse()
135 ASSERT_TRUE(TestParse(input)); in TEST_F()
202 std::string input = R"(<string name="foo"> <b> My <i> favorite</i> string </b> </string>)"; in TEST_F() local
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastcodemb.cpp74 VideoEncFrameIO *inputFrame = video->input; in CodeMB_H263()
79 UChar *rec, *input, *pred; in CodeMB_H263() local
130 input = inputFrame->yChan + offset; in CodeMB_H263()
131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ in CodeMB_H263()
147 input += 8; in CodeMB_H263()
152 input += dctMode; in CodeMB_H263()
162 input = inputFrame->uChan + offsetc; in CodeMB_H263()
163 if (lx != width) input -= (ind_y << 7); in CodeMB_H263()
168 sad = getBlockSum(input, width); in CodeMB_H263()
178 sad = Sad8x8(input, pred, width); in CodeMB_H263()
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreCipherSpiBase.java320 protected final byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
338 output = mMainDataStreamer.update(input, inputOffset, inputLen); in engineUpdate()
372 protected final int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument
374 byte[] outputCopy = engineUpdate(input, inputOffset, inputLen); in engineUpdate()
388 protected final int engineUpdate(ByteBuffer input, ByteBuffer output) in engineUpdate() argument
390 if (input == null) { in engineUpdate()
397 int inputSize = input.remaining(); in engineUpdate()
399 if (input.hasArray()) { in engineUpdate()
402 input.array(), input.arrayOffset() + input.position(), inputSize); in engineUpdate()
403 input.position(input.position() + inputSize); in engineUpdate()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp230 Mutexed<Input>::Locked input(mInput); in CCodecBufferChannel() local
231 input->buffers.reset(new DummyInputBuffers("")); in CCodecBufferChannel()
232 input->extraBuffers.flush(); in CCodecBufferChannel()
233 input->inputDelay = 0u; in CCodecBufferChannel()
234 input->pipelineDelay = 0u; in CCodecBufferChannel()
235 input->numSlots = kSmoothnessFactor; in CCodecBufferChannel()
236 input->numExtraSlots = 0u; in CCodecBufferChannel()
294 work->input.ordinal.timestamp = timeUs; in queueInputBufferInternal()
295 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal()
299 work->input.ordinal.customOrdinal = timeUs; in queueInputBufferInternal()
[all …]
/frameworks/compile/mclinker/unittests/
DInputTreeTest.cpp97 Input* input = m_pAlloc->produce("FileSpec", "path1"); in TEST_F() local
98 m_pTestee->insert<InputTree::Inclusive>(node, *input); in TEST_F()
103 Input* input = m_pAlloc->produce("FileSpec", "path1"); in TEST_F() local
104 m_pTestee->insert<InputTree::Inclusive>(node, *input); in TEST_F()
126 Input* input = m_pAlloc->produce("FileSpec", "path1"); in TEST_F() local
127 m_pTestee->insert(node, InputTree::Afterward, *input); in TEST_F()
140 Input* input = m_pAlloc->produce("111", "/"); in TEST_F() local
141 m_pTestee->insert<InputTree::Inclusive>(node, *input); in TEST_F()
144 input = m_pAlloc->produce("10", "/"); in TEST_F()
145 m_pTestee->insert<InputTree::Positional>(node, *input); in TEST_F()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DDiagAttribute.inc4 "unsupported format of attribute section in input %0 (version=%1).",
5 "unsupported format of attribute section in input %0 (version=%1).")
14 "input %0 has unknown CPU architecture profile.",
15 "input %0 has unknown CPU architecture profile.")
28 "the size of enumerated data item in input %0 (value=%1) is not "
30 "the size of enumerated data item in input %0 (value=%1) is not "
46 "conflicting procedure call standard config in input %0.",
47 "conflicting procedure call standard config in input %0.")
50 "conflicting way to use R9 in input %0.",
51 "conflicting way to use R9 in input %0.")
[all …]

12345678910>>...34