/frameworks/compile/mclinker/lib/LD/ |
D | GroupReader.cpp | 50 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/ |
D | trace_creator.py | 20 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/support/compat/src/androidTest/java/androidx/core/app/ |
D | RemoteInputTest.java | 50 RemoteInput input = newDataOnlyRemoteInput(); in testRemoteInputBuilder_setDataOnly() local 52 assertTrue(input.isDataOnly()); in testRemoteInputBuilder_setDataOnly() 53 assertFalse(input.getAllowFreeFormInput()); in testRemoteInputBuilder_setDataOnly() 54 assertTrue(input.getChoices() == null || input.getChoices().length == 0); in testRemoteInputBuilder_setDataOnly() 55 assertEquals(1, input.getAllowedDataTypes().size()); in testRemoteInputBuilder_setDataOnly() 56 assertTrue(input.getAllowedDataTypes().contains(MIME_TYPE)); in testRemoteInputBuilder_setDataOnly() 61 RemoteInput input = newTextRemoteInput(); in testRemoteInputBuilder_setTextOnly() local 63 assertFalse(input.isDataOnly()); in testRemoteInputBuilder_setTextOnly() 64 assertTrue(input.getAllowFreeFormInput()); in testRemoteInputBuilder_setTextOnly() 65 assertTrue(input.getChoices() == null || input.getChoices().length == 0); in testRemoteInputBuilder_setTextOnly() [all …]
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 56 status_t layer_state_t::read(const Parcel& input) in read() argument 58 surface = input.readStrongBinder(); in read() 59 what = input.readUint32(); in read() 60 x = input.readFloat(); in read() 61 y = input.readFloat(); in read() 62 z = input.readInt32(); in read() 63 w = input.readUint32(); in read() 64 h = input.readUint32(); in read() 65 layerStack = input.readUint32(); in read() 66 alpha = input.readFloat(); in read() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ColorSpace.java | 42 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/ml/nn/common/ |
D | OperationsUtils.cpp | 219 bool floorPrepare(const Shape& input, Shape* output) { in floorPrepare() argument 220 return SetShape(input, output); in floorPrepare() 223 bool dequantizePrepare(const Shape& input, Shape* output) { in dequantizePrepare() argument 224 if (input.type != OperandType::TENSOR_QUANT8_ASYMM || in dequantizePrepare() 229 if (input.dimensions.size() != output->dimensions.size()) { in dequantizePrepare() 233 output->dimensions = input.dimensions; in dequantizePrepare() 237 bool convPrepare(const Shape& input, in convPrepare() argument 244 NN_OPS_CHECK(input.type == filter.type); in convPrepare() 245 if (input.type == OperandType::TENSOR_QUANT8_ASYMM) { in convPrepare() 248 NN_OPS_CHECK(input.type == bias.type); in convPrepare() [all …]
|
D | CpuExecutor.cpp | 429 const RunTimeOperandInfo& input = mOperands[ins[0]]; in executeOperation() local 433 if (input.type == OperandType::TENSOR_FLOAT32) { in executeOperation() 434 success = floorPrepare(input.shape(), &outShape) && in executeOperation() 436 floorFloat32(reinterpret_cast<const float*>(input.buffer), in executeOperation() 445 const RunTimeOperandInfo& input = mOperands[ins[0]]; in executeOperation() local 449 if (input.type == OperandType::TENSOR_QUANT8_ASYMM) { in executeOperation() 450 success = dequantizePrepare(input.shape(), &outShape) && in executeOperation() 453 reinterpret_cast<const uint8_t*>(input.buffer), in executeOperation() 455 input.shape()); in executeOperation() 464 const RunTimeOperandInfo& input = mOperands[ins[0]]; in executeOperation() local [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | Abs_32.c | 33 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() 51 LVM_FLOAT Abs_Float(LVM_FLOAT input) in Abs_Float() argument 53 if(input < 0) in Abs_Float() 56 input = (LVM_FLOAT)(-input); in Abs_Float() 58 return input; in Abs_Float()
|
/frameworks/compile/mclinker/lib/Script/ |
D | InputCmd.cpp | 65 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/compile/mclinker/lib/MC/ |
D | FileAction.cpp | 23 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ScanResultUtilTest.java | 44 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResult() local 47 input.informationElements = new InformationElement[] { in convertScanResult() 51 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResult() 53 validateScanDetail(input, output); in convertScanResult() 60 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResultWithAnqpLines() local 63 input.informationElements = new InformationElement[] { in convertScanResultWithAnqpLines() 66 input.anqpLines = Arrays.asList("LINE 1", "line 2", "Line 3"); in convertScanResultWithAnqpLines() 68 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResultWithAnqpLines() 70 validateScanDetail(input, output); in convertScanResultWithAnqpLines() 76 ScanResult input = new ScanResult(ssid, "ab:cd:01:ef:45:89", 1245, 0, "other caps", in convertScanResultWithoutWifiSsid() local [all …]
|
/frameworks/base/core/java/android/util/ |
D | Base64.java | 88 public abstract boolean process(byte[] input, int offset, int len, boolean finish); in process() argument 135 public static byte[] decode(byte[] input, int flags) { in decode() argument 136 return decode(input, 0, input.length, flags); in decode() 155 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() argument 160 if (!decoder.process(input, offset, len, true)) { in decode() 263 public boolean process(byte[] input, int offset, int len, boolean finish) { in process() argument 297 (value = ((alphabet[input[p] & 0xff] << 18) | in process() 298 (alphabet[input[p+1] & 0xff] << 12) | in process() 299 (alphabet[input[p+2] & 0xff] << 6) | in process() 300 (alphabet[input[p+3] & 0xff]))) >= 0) { in process() [all …]
|
/frameworks/base/tools/aapt2/io/ |
D | StringStream_test.cpp | 33 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/tools/aapt2/ |
D | ResourceParser_test.cpp | 52 std::string input = kXmlPreamble; in TEST() local 53 input += R"(<attr name="foo"/>)"; in TEST() 54 StringInputStream in(input); in TEST() 74 std::string input = kXmlPreamble; in TestParse() local 75 input += "<resources>\n"; in TestParse() 76 input.append(str.data(), str.size()); in TestParse() 77 input += "\n</resources>"; in TestParse() 78 StringInputStream in(input); in TestParse() 134 ASSERT_TRUE(TestParse(input)); in TEST_F() 201 std::string input = R"(<string name="foo"> <b> My <i> favorite</i> string </b> </string>)"; in TEST_F() local [all …]
|
/frameworks/base/libs/hwui/ |
D | Interpolator.cpp | 32 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 …]
|
D | Interpolator.h | 32 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/ |
D | ObjectLinker.cpp | 148 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/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/pom/ |
D | PomDependency.kt | 55 fun rewrite(input: PomDependency, versions: DependencyVersions): PomDependency { in rewrite() 56 var newVersion = input.version in rewrite() 62 groupId = groupId ?: input.groupId, in rewrite() 63 artifactId = artifactId ?: input.artifactId, in rewrite() 65 classifier = classifier ?: input.classifier, in rewrite() 66 type = type ?: input.type, in rewrite() 67 scope = scope ?: input.scope, in rewrite() 68 systemPath = systemPath ?: input.systemPath, in rewrite() 69 optional = optional ?: input.optional in rewrite()
|
D | PomRewriteRule.kt | 62 fun validateVersion(input: PomDependency, pomPath: Path? = null): Boolean { in validateVersion() 63 if (from.version == null || input.version == null) { in validateVersion() 67 if (!matches(input)) { in validateVersion() 71 if (!areVersionsMatching(from.version!!, input.version!!)) { in validateVersion() 73 "'%s:%s' in '%s' file.", from.version, input.version, input.groupId, in validateVersion() 74 input.artifactId, pomPath.toString()) in validateVersion() 103 fun matches(input: PomDependency): Boolean { in matches() 104 return input.artifactId == from.artifactId && input.groupId == from.groupId in matches()
|
/frameworks/ml/nn/runtime/test/ |
D | TestValidateOperations.cpp | 160 ANeuralNetworksOperandType input = {.type = ANEURALNETWORKS_TENSOR_QUANT8_ASYMM, in TEST() local 170 OperationTestBase dequantizeTest(ANEURALNETWORKS_DEQUANTIZE, {input}, {output}); in TEST() 231 ANeuralNetworksOperandType input = {.type = operandCode, in activationOpTest() local 237 input.scale = 1.f / 256; in activationOpTest() 240 ANeuralNetworksOperandType output = input; in activationOpTest() 241 OperationTestBase activationTest(operationCode, {input}, {output}); in activationOpTest() 295 ANeuralNetworksOperandType input = {.type = operandCode, in softmaxOpTest() local 301 input.scale = 1.f / 256; in softmaxOpTest() 304 ANeuralNetworksOperandType output = input; in softmaxOpTest() 311 OperationTestBase softmaxTest(ANEURALNETWORKS_SOFTMAX, {input, beta}, {output}); in softmaxOpTest() [all …]
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreCipherSpiBase.java | 320 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/libstagefright/codecs/m4v_h263/enc/src/ |
D | fastcodemb.cpp | 74 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/compile/mclinker/unittests/ |
D | InputTreeTest.cpp | 97 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/ |
D | DiagAttribute.inc | 4 "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 …]
|
/frameworks/ml/nn/common/operations/ |
D | LSHProjection.cpp | 50 const RunTimeOperandInfo* input = GetInput(operation, operands, kInputTensor); in Prepare() local 51 NN_CHECK(NumDimensions(input) >= 1); in Prepare() 64 NN_CHECK_EQ(SizeOfDimension(weight, 0), SizeOfDimension(input, 0)); in Prepare() 84 int running_sign_bit(const RunTimeOperandInfo* input, in running_sign_bit() argument 87 int input_item_bytes = sizeOfData(input->type, input->dimensions) / in running_sign_bit() 88 SizeOfDimension(input, 0); in running_sign_bit() 89 char* input_ptr = (char*)(input->buffer); in running_sign_bit() 95 for (uint32_t i = 0; i < SizeOfDimension(input, 0); ++i) { in running_sign_bit() 114 const RunTimeOperandInfo* input, in SparseLshProjection() argument 122 int bit = running_sign_bit(input, weight, seed); in SparseLshProjection() [all …]
|