/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/native/libs/gui/ |
D | LayerState.cpp | 101 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 …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | CodedInputStreamTest.java | 94 CodedInputStream input = CodedInputStream.newInstance(data); in assertReadVarint() local 95 assertEquals((int)value, input.readRawVarint32()); in assertReadVarint() 97 input = CodedInputStream.newInstance(data); in assertReadVarint() 98 assertEquals(value, input.readRawVarint64()); in assertReadVarint() 99 assertTrue(input.isAtEnd()); in assertReadVarint() 103 input = CodedInputStream.newInstance( in assertReadVarint() 105 assertEquals((int)value, input.readRawVarint32()); in assertReadVarint() 107 input = CodedInputStream.newInstance( in assertReadVarint() 109 assertEquals(value, input.readRawVarint64()); in assertReadVarint() 110 assertTrue(input.isAtEnd()); in assertReadVarint() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | FieldCodec.cs | 54 …return new FieldCodec<string>(input => input.ReadString(), (output, value) => output.WriteString(v… in ForString() 64 …return new FieldCodec<ByteString>(input => input.ReadBytes(), (output, value) => output.WriteBytes… in ForBytes() 74 …return new FieldCodec<bool>(input => input.ReadBool(), (output, value) => output.WriteBool(value),… in ForBool() 84 …return new FieldCodec<int>(input => input.ReadInt32(), (output, value) => output.WriteInt32(value)… in ForInt32() 94 …return new FieldCodec<int>(input => input.ReadSInt32(), (output, value) => output.WriteSInt32(valu… in ForSInt32() 104 …return new FieldCodec<uint>(input => input.ReadFixed32(), (output, value) => output.WriteFixed32(v… in ForFixed32() 114 …return new FieldCodec<int>(input => input.ReadSFixed32(), (output, value) => output.WriteSFixed32(… in ForSFixed32() 124 …return new FieldCodec<uint>(input => input.ReadUInt32(), (output, value) => output.WriteUInt32(val… in ForUInt32() 134 …return new FieldCodec<long>(input => input.ReadInt64(), (output, value) => output.WriteInt64(value… in ForInt64() 144 …return new FieldCodec<long>(input => input.ReadSInt64(), (output, value) => output.WriteSInt64(val… in ForSInt64() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | CodedInputStreamTest.java | 95 private void assertDataConsumed(byte[] data, CodedInputStream input) in assertDataConsumed() argument 97 assertEquals(data.length, input.getTotalBytesRead()); in assertDataConsumed() 98 assertTrue(input.isAtEnd()); in assertDataConsumed() 106 CodedInputStream input = CodedInputStream.newInstance(data); in assertReadVarint() local 107 assertEquals((int) value, input.readRawVarint32()); in assertReadVarint() 108 assertDataConsumed(data, input); in assertReadVarint() 110 input = CodedInputStream.newInstance(data); in assertReadVarint() 111 assertEquals(value, input.readRawVarint64()); in assertReadVarint() 112 assertDataConsumed(data, input); in assertReadVarint() 114 input = CodedInputStream.newInstance(data); in assertReadVarint() [all …]
|
/frameworks/av/media/libaaudio/tests/ |
D | test_flowgraph.cpp | 40 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/ |
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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/ |
D | CodedInputStreamTest.cs | 62 CodedInputStream input = new CodedInputStream(data); in AssertReadVarint() 63 Assert.AreEqual((uint) value, input.ReadRawVarint32()); in AssertReadVarint() 65 input = new CodedInputStream(data); in AssertReadVarint() 66 Assert.AreEqual(value, input.ReadRawVarint64()); in AssertReadVarint() 67 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint() 72 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint() 73 Assert.AreEqual((uint) value, input.ReadRawVarint32()); in AssertReadVarint() 75 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint() 76 Assert.AreEqual(value, input.ReadRawVarint64()); in AssertReadVarint() 77 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint() [all …]
|
/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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | AbstractParser.java | 82 public MessageType parsePartialFrom(CodedInputStream input) in parsePartialFrom() argument 84 return parsePartialFrom(input, EMPTY_REGISTRY); in parsePartialFrom() 88 public MessageType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom() argument 91 parsePartialFrom(input, extensionRegistry)); in parseFrom() 95 public MessageType parseFrom(CodedInputStream input) throws InvalidProtocolBufferException { in parseFrom() argument 96 return parseFrom(input, EMPTY_REGISTRY); in parseFrom() 104 CodedInputStream input = data.newCodedInput(); in parsePartialFrom() local 105 message = parsePartialFrom(input, extensionRegistry); in parsePartialFrom() 107 input.checkLastTagWas(0); in parsePartialFrom() 138 CodedInputStream input = CodedInputStream.newInstance(data, off, len); in parsePartialFrom() local [all …]
|
D | WireFormat.java | 182 Object readString(CodedInputStream input) throws IOException { in readString() argument 183 return input.readString(); in readString() 189 Object readString(CodedInputStream input) throws IOException { in readString() argument 190 return input.readStringRequireUtf8(); in readString() 196 Object readString(CodedInputStream input) throws IOException { in readString() argument 197 return input.readBytes(); in readString() 202 abstract Object readString(CodedInputStream input) throws IOException; in readString() argument 220 CodedInputStream input, in readPrimitiveField() argument 224 case DOUBLE : return input.readDouble (); in readPrimitiveField() 225 case FLOAT : return input.readFloat (); in readPrimitiveField() [all …]
|
D | TextFormatEscaper.java | 52 static String escapeBytes(final ByteSequence input) { in escapeBytes() argument 53 final StringBuilder builder = new StringBuilder(input.size()); in escapeBytes() 54 for (int i = 0; i < input.size(); i++) { in escapeBytes() 55 final byte b = input.byteAt(i); in escapeBytes() 93 static String escapeBytes(final ByteString input) { in escapeBytes() argument 97 return input.size(); in escapeBytes() 101 return input.byteAt(offset); in escapeBytes() 109 static String escapeBytes(final byte[] input) { 113 return input.length; 117 return input[offset]; [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/ml/nn/common/ |
D | OperationsUtils.cpp | 346 bool floorPrepare(const Shape& input, Shape* output) { in floorPrepare() argument 347 return SetShape(input, output); in floorPrepare() 350 bool depthwiseConvPrepare(const Shape& input, const Shape& filter, const Shape& bias, in depthwiseConvPrepare() argument 356 NN_OPS_CHECK(input.type == OperandType::TENSOR_QUANT8_ASYMM); in depthwiseConvPrepare() 358 NN_OPS_CHECK(input.type == filter.type); in depthwiseConvPrepare() 360 if (input.type == OperandType::TENSOR_QUANT8_ASYMM) { in depthwiseConvPrepare() 363 NN_OPS_CHECK(input.type == bias.type); in depthwiseConvPrepare() 365 NN_OPS_CHECK(getNumberOfDimensions(input) == 4); in depthwiseConvPrepare() 372 uint32_t channels_in = getSizeOfDimension(input, 3); in depthwiseConvPrepare() 373 uint32_t width = getSizeOfDimension(input, 2); in depthwiseConvPrepare() [all …]
|
/frameworks/ml/nn/runtime/test/generated/models/ |
D | prelu.model.cpp | 7 auto input = model->addOperand(&type0); in CreateModel() local 13 model->addOperation(ANEURALNETWORKS_PRELU, {input, alpha}, {output}); in CreateModel() 16 {input}, in CreateModel() 30 auto input = model->addOperand(&type0); in CreateModel_relaxed() local 36 model->addOperation(ANEURALNETWORKS_PRELU, {input, alpha}, {output}); in CreateModel_relaxed() 39 {input}, in CreateModel_relaxed() 56 auto input = model->addOperand(&type3); in CreateModel_quant8() local 62 model->addOperation(ANEURALNETWORKS_PRELU, {input, alpha}, {output}); in CreateModel_quant8() 65 {input}, in CreateModel_quant8() 80 auto input = model->addOperand(&type3); in CreateModel_quant8_2() local [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ScanResultUtilTest.java | 45 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/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/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 104 int ReadFromInput(ZeroCopyInputStream* input, void* data, int size); 109 void ReadString(ZeroCopyInputStream* input, const string& str); 116 void ReadStuff(ZeroCopyInputStream* input); 122 void ReadStuffLarge(ZeroCopyInputStream* input); 164 int IoTest::ReadFromInput(ZeroCopyInputStream* input, void* data, int size) { in ReadFromInput() argument 174 if (!input->Next(&in, &in_size)) { in ReadFromInput() 188 input->BackUp(in_size - out_size); in ReadFromInput() 203 void IoTest::ReadString(ZeroCopyInputStream* input, const string& str) { in ReadString() argument 206 EXPECT_EQ(ReadFromInput(input, buffer.get(), str.size()), str.size()); in ReadString() 226 void IoTest::ReadStuff(ZeroCopyInputStream* input) { in ReadStuff() argument [all …]
|
D | coded_stream_unittest.cc | 194 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D() local 197 CodedInputStream coded_input(&input); in TEST_2D() 204 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D() 209 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D() local 212 CodedInputStream coded_input(&input); in TEST_2D() 221 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D() 246 CodedInputStream input(&in); in TEST_F() local 247 input.ReadTag(); in TEST_F() 248 EXPECT_TRUE(input.ConsumedEntireMessage()); in TEST_F() 256 ArrayInputStream input(buffer_, sizeof(buffer_)); in TEST_1D() local [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | wire_format_lite.cc | 122 io::CodedInputStream* input, uint32 tag) { in SkipField() argument 126 if (!input->ReadVarint64(&value)) return false; in SkipField() 131 if (!input->ReadLittleEndian64(&value)) return false; in SkipField() 136 if (!input->ReadVarint32(&length)) return false; in SkipField() 137 if (!input->Skip(length)) return false; in SkipField() 141 if (!input->IncrementRecursionDepth()) return false; in SkipField() 142 if (!SkipMessage(input)) return false; in SkipField() 143 input->DecrementRecursionDepth(); in SkipField() 145 if (!input->LastTagWas(WireFormatLite::MakeTag( in SkipField() 157 if (!input->ReadLittleEndian32(&value)) return false; in SkipField() [all …]
|
D | wire_format_lite_inl.h | 62 io::CodedInputStream* input, 65 if (!input->ReadVarint32(&temp)) return false; 71 io::CodedInputStream* input, 74 if (!input->ReadVarint64(&temp)) return false; 80 io::CodedInputStream* input, 82 return input->ReadVarint32(value); 86 io::CodedInputStream* input, 88 return input->ReadVarint64(value); 92 io::CodedInputStream* input, 95 if (!input->ReadVarint32(&temp)) return false; [all …]
|
D | message_lite.cc | 104 io::CodedInputStream* input, MessageLite* message); 106 io::CodedInputStream* input, MessageLite* message); 108 io::CodedInputStream* input, MessageLite* message); 114 inline bool InlineMergeFromCodedStream(io::CodedInputStream* input, in InlineMergeFromCodedStream() argument 116 if (!message->MergePartialFromCodedStream(input)) return false; in InlineMergeFromCodedStream() 124 inline bool InlineParseFromCodedStream(io::CodedInputStream* input, in InlineParseFromCodedStream() argument 127 return InlineMergeFromCodedStream(input, message); in InlineParseFromCodedStream() 130 inline bool InlineParsePartialFromCodedStream(io::CodedInputStream* input, in InlineParsePartialFromCodedStream() argument 133 return message->MergePartialFromCodedStream(input); in InlineParsePartialFromCodedStream() 138 io::CodedInputStream input(reinterpret_cast<const uint8*>(data), size); in InlineParseFromArray() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Base64.java | 89 public abstract boolean process(byte[] input, int offset, int len, boolean finish); in process() argument 136 public static byte[] decode(byte[] input, int flags) { in decode() argument 137 return decode(input, 0, input.length, flags); in decode() 156 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() argument 161 if (!decoder.process(input, offset, len, true)) { in decode() 264 public boolean process(byte[] input, int offset, int len, boolean finish) { in process() argument 298 (value = ((alphabet[input[p] & 0xff] << 18) | in process() 299 (alphabet[input[p+1] & 0xff] << 12) | in process() 300 (alphabet[input[p+2] & 0xff] << 6) | in process() 301 (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 …]
|