Home
last modified time | relevance | path

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

12345678910>>...25

/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/libs/gui/
DLayerState.cpp45 status_t layer_state_t::read(const Parcel& input) in read() argument
47 surface = input.readStrongBinder(); in read()
48 what = input.readUint32(); in read()
49 x = input.readFloat(); in read()
50 y = input.readFloat(); in read()
51 z = input.readUint32(); in read()
52 w = input.readUint32(); in read()
53 h = input.readUint32(); in read()
54 layerStack = input.readUint32(); in read()
55 alpha = input.readFloat(); in read()
[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 …]
DPixelUtils.java44 public static void copyPixels(ByteBuffer input, in copyPixels() argument
51 if (input.remaining() != output.remaining()) { in copyPixels()
53 } else if (input.remaining() % 4 != 0) { in copyPixels()
57 } else if ((width * height * 4) != input.remaining()) { in copyPixels()
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride); in copyPixels()
67 private static native void nativeCopyPixels(ByteBuffer input, in nativeCopyPixels() argument
/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 …]
DScriptReader.cpp37 bool ScriptReader::isMyFormat(Input& input, bool& doContinue) const { in isMyFormat() argument
45 Input& input = pScriptFile.input(); in readScript() local
46 size_t size = input.memArea()->size(); in readScript()
47 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size); in readScript()
DGroupCmd.cpp54 InputToken* input = llvm::cast<InputToken>(*it); in dump() local
55 cur = input->asNeeded(); in dump()
61 if (input->type() == InputToken::NameSpec) in dump()
63 mcld::outs() << input->name() << " "; in dump()
154 Input* input = *m_Builder.getCurrentNode(); in activate() local
155 assert(input != NULL); in activate()
156 if (!m_Builder.setMemory(*input, FileHandle::OpenMode(FileHandle::ReadOnly), in activate()
158 error(diag::err_cannot_open_input) << input->name() << input->path(); in activate()
160 m_Builder.setContext(*input); in activate()
/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.java88 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/libs/hwui/
DInterpolator.cpp31 float AccelerateDecelerateInterpolator::interpolate(float input) { in interpolate() argument
32 return (float)(cosf((input + 1) * M_PI) / 2.0f) + 0.5f; in interpolate()
35 float AccelerateInterpolator::interpolate(float input) { in interpolate() argument
37 return input * input; in interpolate()
39 return pow(input, mDoubleFactor); in interpolate()
72 float CycleInterpolator::interpolate(float input) { in interpolate() argument
73 return sinf(2 * mCycles * M_PI * input); in interpolate()
76 float DecelerateInterpolator::interpolate(float input) { in interpolate() argument
79 result = 1.0f - (1.0f - input) * (1.0f - input); in interpolate()
81 result = 1.0f - pow((1.0f - input), 2 * mFactor); in interpolate()
[all …]
DInterpolator.h31 virtual float interpolate(float input) = 0;
41 virtual float interpolate(float input) override;
47 virtual float interpolate(float input) override;
56 virtual float interpolate(float input) override;
64 virtual float interpolate(float input) override;
71 virtual float interpolate(float input) override;
77 virtual float interpolate(float input) override;
85 virtual float interpolate(float input) override;
92 virtual float interpolate(float input) override { return input; } in interpolate() argument
98 virtual float interpolate(float input) override;
[all …]
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp129 std::stringstream input(kXmlPreamble); in testParse() local
130 input << "<resources>\n" << str << "\n</resources>" << std::endl; in testParse()
132 std::make_shared<SourceXmlPullParser>(input)); in testParse()
168 std::stringstream input(kXmlPreamble); in TEST_F() local
169 input << "<attr name=\"foo\"/>" << std::endl; in TEST_F()
170 ResourceParser parser(mTable, {}, {}, std::make_shared<SourceXmlPullParser>(input)); in TEST_F()
175 std::string input = "<string name=\"foo\"> \" hey there \" </string>"; in TEST_F() local
176 ASSERT_TRUE(testParse(input)); in TEST_F()
185 std::string input = "<string name=\"foo\">\\?123</string>"; in TEST_F() local
186 ASSERT_TRUE(testParse(input)); in TEST_F()
[all …]
DLocale_test.cpp25 static ::testing::AssertionResult TestLanguage(const char* input, const char* lang) { in TestLanguage() argument
26 std::vector<std::string> parts = util::splitAndLowercase(std::string(input), '-'); in TestLanguage()
30 return ::testing::AssertionFailure() << " failed to parse '" << input << "'."; in TestLanguage()
35 << " parts were consumed parsing '" << input << "' but expected 1."; in TestLanguage()
46 static ::testing::AssertionResult TestLanguageRegion(const char* input, const char* lang, in TestLanguageRegion() argument
48 std::vector<std::string> parts = util::splitAndLowercase(std::string(input), '-'); in TestLanguageRegion()
52 return ::testing::AssertionFailure() << " failed to parse '" << input << "'."; in TestLanguageRegion()
57 << " parts were consumed parsing '" << input << "' but expected 2."; in TestLanguageRegion()
61 return ::testing::AssertionFailure() << "expected " << input << " but got " in TestLanguageRegion()
DBindingXmlPullParser_test.cpp29 std::stringstream input; in TEST() local
30 input << "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" in TEST()
38 std::shared_ptr<XmlPullParser> sourceParser = std::make_shared<SourceXmlPullParser>(input); in TEST()
70 std::stringstream input; in TEST() local
71 input << "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" in TEST()
77 std::shared_ptr<XmlPullParser> sourceParser = std::make_shared<SourceXmlPullParser>(input); in TEST()
93 std::stringstream input; in TEST() local
94 input << "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" in TEST()
100 std::shared_ptr<XmlPullParser> sourceParser = std::make_shared<SourceXmlPullParser>(input); in TEST()
DScopedXmlPullParser_test.cpp27 std::stringstream input; in TEST() local
28 input << "<?xml version=\"1.0\" encoding=\"utf-8\"?>" << std::endl in TEST()
31 SourceXmlPullParser sourceParser(input); in TEST()
53 std::stringstream input; in TEST() local
54 input << "<?xml version=\"1.0\" encoding=\"utf-8\"?>" << std::endl in TEST()
57 SourceXmlPullParser sourceParser(input); in TEST()
76 std::stringstream input; in TEST() local
77 input << "<?xml version=\"1.0\" encoding=\"utf-8\"?>" << std::endl in TEST()
80 SourceXmlPullParser sourceParser(input); in TEST()
/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/av/media/libeffects/lvm/lib/Common/src/
DAbs_32.c33 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()
/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/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 …]
DDiagReaders.inc7 "cannot parse .eh_frame section in input %0",
8 "cannot parse .eh_frame section in input %0.")
11 "cannot scan .eh_frame section in input %0",
12 "cannot scan .eh_frame section in input %0.")
15 "cannot read input %0",
16 "cannot read input %0")
/frameworks/base/core/java/android/content/pm/
DVerifierDeviceIdentity.java103 private static final String encodeBase32(long input) { in encodeBase32() argument
127 final int group = (int) (input & 0x1F); in encodeBase32()
128 input >>>= 5; in encodeBase32()
137 private static final long decodeBase32(byte[] input) throws IllegalArgumentException { in decodeBase32() argument
141 final int N = input.length; in decodeBase32()
143 final int group = input[i]; in decodeBase32()
210 final byte[] input; in parse()
212 input = deviceIdentity.getBytes("US-ASCII"); in parse()
217 return new VerifierDeviceIdentity(decodeBase32(input)); in parse()
/frameworks/base/docs/html/ndk/reference/
Dglobals_func.jd206 : <a class="el" href="group___input.html#ga9dd3fd81e51dbfde19ab861541242aa1">input.h</a>
209 : <a class="el" href="group___input.html#gac90d4b497669dbc709ec9650db4e49be">input.h</a>
212 : <a class="el" href="group___input.html#ga8292ae06aa8120c52d7380d228600b9c">input.h</a>
215 : <a class="el" href="group___input.html#ga900711156bfb58d1a4b158da7874930f">input.h</a>
218 : <a class="el" href="group___input.html#gaeebe9f83392ac79b31ca40a6fd4dbeff">input.h</a>
221 : <a class="el" href="group___input.html#ga17e87e0f35d47d729eac31a0dfb1ac33">input.h</a>
224 : <a class="el" href="group___input.html#ga88de12e2b39787ba7d3e4ce2ea46a48c">input.h</a>
227 : <a class="el" href="group___input.html#ga2b72ad6ab5ef656e8c41163aa7871c96">input.h</a>
230 : <a class="el" href="group___input.html#gadecd32e6c7aefa4a508b355550d3eaa9">input.h</a>
233 : <a class="el" href="group___input.html#ga36ec0b59f98f86a7ca263ba91279896d">input.h</a>
[all …]
Dglobals.jd455 …roup___input.html#gga61dadd085c1777f559549e05962b2c9ea696f0d7635f7a24c17d3f1e4ccdd44ba">input.h</a>
458 …roup___input.html#gga61dadd085c1777f559549e05962b2c9ea2182dfda2cceb5425dcc2823b9b6b56a">input.h</a>
461 …roup___input.html#ggaaf105ae5beaca1dee30ae54530691fceaba1f5ab6bc79749ba96a5d2a3af0e574">input.h</a>
464 …roup___input.html#ggaaf105ae5beaca1dee30ae54530691fceaf0226d750ea830eb557ae68bd4a1c82a">input.h</a>
467 …roup___input.html#ggaaf105ae5beaca1dee30ae54530691fcea32cb7ce34cdce7095962f0766cc6c3ac">input.h</a>
470 …roup___input.html#gga80155586fa275b28773c9b203f52cabaaf9be9c04a41b610d994a3d1d7e90d06d">input.h</a>
473 …roup___input.html#gga80155586fa275b28773c9b203f52cabaa79aca706b12b28d0ab14762902fed31a">input.h</a>
476 …roup___input.html#gga80155586fa275b28773c9b203f52cabaa46f3a6cf859fb161cd29398d8448c688">input.h</a>
479 …roup___input.html#gga80155586fa275b28773c9b203f52cabaaa860f54aa9e5a269dba6a54bbcf3c27c">input.h</a>
482 …roup___input.html#gga80155586fa275b28773c9b203f52cabaa19226f6cf713c1b4d0973a163daf6cf1">input.h</a>
[all …]
/frameworks/support/v4/java/android/support/v4/view/animation/
DLookupTableInterpolator.java36 public float getInterpolation(float input) { in getInterpolation() argument
37 if (input >= 1.0f) { in getInterpolation()
40 if (input <= 0f) { in getInterpolation()
46 int position = Math.min((int) (input * (mValues.length - 1)), mValues.length - 2); in getInterpolation()
50 float diff = input - quantized; in getInterpolation()

12345678910>>...25