/system/libhidl/transport/include/hidl/ |
HidlBinderSupport.h | 91 const void *out; local 97 &out);
|
/system/media/audio_utils/include/audio_utils/ |
primitives.h | 37 * Dither and clamp pairs of 32-bit input samples (sums) to 16-bit output samples (out). 45 * and out is an array of interleaved pairs of 16-bit samples per channel. 46 * For mono, c is the number of samples / 2, and out is an array of 16-bit samples. 49 * The out and sums buffers must either be completely separate (non-overlapping), or 52 void ditherAndClamp(int32_t* out, const int32_t *sums, size_t c); 966 int32_t out; local 984 int32_t out; local 1002 int32_t out; local 1031 int32_t out; local [all...] |
/system/security/keystore/ |
user_state.cpp | 116 int out = local 118 if (out < 0) { 121 size_t outLength = writeFully(out, (uint8_t*)&rawBlob, length); 122 if (close(out) != 0) {
|
/system/sepolicy/tests/ |
sepol_wrap.cpp | 34 struct type_iter *out = (struct type_iter *) local 37 if (!out) { 43 out->length = db->p_types.nprim; 44 out->bit = 0; 46 out->alltypes = TYPE_ITER_ALLATTRS; 48 out->alltypes = TYPE_ITER_ALLTYPES; 50 out->alltypes = TYPE_ITER_LOOKUP; 51 out->d = static_cast<type_datum *>(hashtab_search(db->p_types.table, type)); 52 if (is_attr && out->d->flavor != TYPE_ATTRIB) { 54 free(out); 245 struct avtab_iter *out = (struct avtab_iter *) local [all...] |
/system/tools/hidl/utils/ |
StringHelper.cpp | 35 std::string out{in}; 37 for (auto &ch : out) { 41 return out; 45 std::string out{in}; 47 for (auto &ch : out) { 51 return out; 55 std::string out{in}; 57 if(!out.empty()) { 58 out[0] = toupper(out[0]) 223 std::string out; local [all...] |
/system/update_engine/payload_generator/ |
extent_ranges.cc | 231 vector<Extent> out; local 233 return out; 241 out.push_back(extent); 250 out.back().set_num_blocks(blocks_needed); 253 CHECK(out_blocks == BlocksInExtents(out)); 254 return out;
|
/toolchain/binutils/binutils-2.25/bfd/ |
cpu-arm.c | 27 /* This routine is provided two arch_infos and works out which ARM 160 unsigned int out = bfd_get_mach (obfd); local 163 if (out == bfd_mach_arm_unknown) 174 else if (out == in) 185 && (out == bfd_mach_arm_XScale 186 || out == bfd_mach_arm_iWMMXt 187 || out == bfd_mach_arm_iWMMXt2)) 195 else if (out == bfd_mach_arm_ep9312 206 else if (in > out)
|
/toolchain/binutils/binutils-2.25/libiberty/ |
pex-common.c | 114 int out; local 122 out = mkstemps (name, 0); 123 if (out < 0) 133 close (out); 158 int in, out, errdes; local 166 out = -1; 217 /* Set OUT and OBJ->NEXT_INPUT/OBJ->NEXT_INPUT_NAME. */ 222 out = STDOUT_FILE_NO; 263 out = p[WRITE_PORT]; 267 if (out < 0 [all...] |
/tools/apksig/src/main/java/com/android/apksig/internal/jar/ |
ManifestWriter.java | 40 public static void writeMainSection(OutputStream out, Attributes attributes) 50 writeAttribute(out, Attributes.Name.MANIFEST_VERSION, manifestVersion); 55 writeAttributes(out, namedAttributes); 57 writeSectionDelimiter(out); 60 public static void writeIndividualSection(OutputStream out, String name, Attributes attributes) 62 writeAttribute(out, "Name", name); 65 writeAttributes(out, getAttributesSortedByName(attributes)); 67 writeSectionDelimiter(out); 70 static void writeSectionDelimiter(OutputStream out) throws IOException { 71 out.write(CRLF) [all...] |
/tools/loganalysis/src/com/android/loganalysis/item/ |
MemoryHealthItem.java | 87 JSONObject out = new JSONObject(); local 90 out.put(entry.getKey(), processToJson(entry.getValue())); 95 return out; 99 JSONObject out = new JSONObject(); local 102 out.put(entry.getKey(), entry.getValue()); 107 return out;
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
FakeTest.java | 96 final StringBuilder out = new StringBuilder(); local 111 out.append(c); 123 return out.toString();
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
CommandRunnerTest.java | 111 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 112 PrintWriter pw = new PrintWriter(out); 115 mStackTraceOutput = out.toString();
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTestUtils.java | 239 FileOutputStream out = null; local 252 out = new FileOutputStream(outputFile, false); 253 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 258 if (out != null) { 259 out.close();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestCross.java | 50 public Target.Floaty[] out; field in class:TestCross.ArgumentsFloatNFloatNFloatN 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 59 script.forEach_testCrossFloat3Float3Float3(inLeftVector, out); 60 verifyResultsCrossFloat3Float3Float3(inLeftVector, inRightVector, out, false); 61 out.destroy(); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 68 scriptRelaxed.forEach_testCrossFloat3Float3Float3(inLeftVector, out); 69 verifyResultsCrossFloat3Float3Float3(inLeftVector, inRightVector, out, true); 70 out.destroy(); 78 private void verifyResultsCrossFloat3Float3Float3(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed) 152 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 161 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 248 public Target.Floaty[] out; field in class:TestCross.ArgumentsHalfNHalfNHalfN 255 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 3), INPUTSIZE); local 264 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 3), INPUTSIZE); local 357 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 4), INPUTSIZE); local 366 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 4), INPUTSIZE); local [all...] |
TestFastDistance.java | 50 public Target.Floaty out; field in class:TestFastDistance.ArgumentsFloatFloatFloat 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 59 script.forEach_testFastDistanceFloatFloatFloat(inLeftVector, out); 60 verifyResultsFastDistanceFloatFloatFloat(inLeftVector, inRightVector, out, false); 61 out.destroy(); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 68 scriptRelaxed.forEach_testFastDistanceFloatFloatFloat(inLeftVector, out); 69 verifyResultsFastDistanceFloatFloatFloat(inLeftVector, inRightVector, out, true); 70 out.destroy(); 78 private void verifyResultsFastDistanceFloatFloatFloat(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed) 136 public Target.Floaty out; field in class:TestFastDistance.ArgumentsFloatNFloatNFloat 143 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 152 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 233 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 242 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 323 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 332 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local [all...] |
TestFrexp.java | 50 public Target.Floaty out; field in class:TestFrexp.ArgumentsFloatIntFloat 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 59 script.forEach_testFrexpFloatIntFloat(inV, out); 60 verifyResultsFrexpFloatIntFloat(inV, outExponent, out, false); 62 out.destroy(); 68 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 70 scriptRelaxed.forEach_testFrexpFloatIntFloat(inV, out); 71 verifyResultsFrexpFloatIntFloat(inV, outExponent, out, true); 73 out.destroy(); 80 private void verifyResultsFrexpFloatIntFloat(Allocation inV, Allocation outExponent, Allocation out, boolean relaxed) 150 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 161 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 243 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 254 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 336 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 347 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local [all...] |
TestLdexp.java | 50 public Target.Floaty out; field in class:TestLdexp.ArgumentsFloatIntFloat 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 59 script.forEach_testLdexpFloatIntFloat(inMantissa, out); 60 verifyResultsLdexpFloatIntFloat(inMantissa, inExponent, out, false); 61 out.destroy(); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 68 scriptRelaxed.forEach_testLdexpFloatIntFloat(inMantissa, out); 69 verifyResultsLdexpFloatIntFloat(inMantissa, inExponent, out, true); 70 out.destroy(); 78 private void verifyResultsLdexpFloatIntFloat(Allocation inMantissa, Allocation inExponent, Allocation out, boolean relaxed) 140 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 149 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 223 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 232 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 306 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 315 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 389 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 398 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 472 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 481 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 555 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 564 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local [all...] |
TestModf.java | 50 public Target.Floaty out; field in class:TestModf.ArgumentsFloatFloatFloat 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 59 script.forEach_testModfFloatFloatFloat(inV, out); 60 verifyResultsModfFloatFloatFloat(inV, outIntegralPart, out, false); 62 out.destroy(); 68 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 70 scriptRelaxed.forEach_testModfFloatFloatFloat(inV, out); 71 verifyResultsModfFloatFloatFloat(inV, outIntegralPart, out, true); 73 out.destroy(); 80 private void verifyResultsModfFloatFloatFloat(Allocation inV, Allocation outIntegralPart, Allocation out, boolean relaxed) 150 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 161 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 243 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 254 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 336 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 347 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local [all...] |
TestNativeRootn.java | 50 public Target.Floaty out; field in class:TestNativeRootn.ArgumentsFloatIntFloat 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 59 script.forEach_testNativeRootnFloatIntFloat(inV, out); 60 verifyResultsNativeRootnFloatIntFloat(inV, inN, out, false); 61 out.destroy(); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 68 scriptRelaxed.forEach_testNativeRootnFloatIntFloat(inV, out); 69 verifyResultsNativeRootnFloatIntFloat(inV, inN, out, true); 70 out.destroy(); 78 private void verifyResultsNativeRootnFloatIntFloat(Allocation inV, Allocation inN, Allocation out, boolean relaxed) 140 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 149 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 223 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 232 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 306 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 315 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local [all...] |
TestNextafter.java | 50 public Target.Floaty out; field in class:TestNextafter.ArgumentsFloatFloatFloat 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 59 script.forEach_testNextafterFloatFloatFloat(inV, out); 60 verifyResultsNextafterFloatFloatFloat(inV, inTarget, out, false); 61 out.destroy(); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 68 scriptRelaxed.forEach_testNextafterFloatFloatFloat(inV, out); 69 verifyResultsNextafterFloatFloatFloat(inV, inTarget, out, true); 70 out.destroy(); 78 private void verifyResultsNextafterFloatFloatFloat(Allocation inV, Allocation inTarget, Allocation out, boolean relaxed) 140 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 149 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 223 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 232 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 306 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 315 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local [all...] |
TestRemquo.java | 51 public float out; field in class:TestRemquo.ArgumentsFloatFloatIntFloat 59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 62 script.forEach_testRemquoFloatFloatIntFloat(inNumerator, out); 63 verifyResultsRemquoFloatFloatIntFloat(inNumerator, inDenominator, outQuotient, out, false); 65 out.destroy(); 71 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 74 scriptRelaxed.forEach_testRemquoFloatFloatIntFloat(inNumerator, out); 75 verifyResultsRemquoFloatFloatIntFloat(inNumerator, inDenominator, outQuotient, out, true); 77 out.destroy(); 85 private void verifyResultsRemquoFloatFloatIntFloat(Allocation inNumerator, Allocation inDenominator, Allocation outQuotient, Allocation out, boolean relaxed) 148 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 160 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 237 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 249 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 326 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 338 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local [all...] |
TestRootn.java | 50 public Target.Floaty out; field in class:TestRootn.ArgumentsFloatIntFloat 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 59 script.forEach_testRootnFloatIntFloat(inV, out); 60 verifyResultsRootnFloatIntFloat(inV, inN, out, false); 61 out.destroy(); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 68 scriptRelaxed.forEach_testRootnFloatIntFloat(inV, out); 69 verifyResultsRootnFloatIntFloat(inV, inN, out, true); 70 out.destroy(); 78 private void verifyResultsRootnFloatIntFloat(Allocation inV, Allocation inN, Allocation out, boolean relaxed) 140 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 149 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 223 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 232 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 306 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 315 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
ValueEncoder.java | 48 * Handler for writing out {@code encoded_values} and parts 110 private final AnnotatedOutput out; field in class:ValueEncoder 116 * @param out {@code non-null;} output stream to write to 118 public ValueEncoder(DexFile file, AnnotatedOutput out) { 123 if (out == null) { 124 throw new NullPointerException("out == null"); 128 this.out = out; 132 * Writes out the encoded form of the given constant. 146 EncodedValueCodec.writeSignedIntegralValue(out, type, value) [all...] |
/dalvik/dx/src/com/android/dx/merge/ |
IndexMap.java | 259 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(32); local 260 new EncodedValueTransformer(out).transform(new EncodedValueReader(encodedValue)); 261 return new EncodedValue(out.toByteArray()); 265 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(32); local 266 new EncodedValueTransformer(out).transformArray( 268 return new EncodedValue(out.toByteArray()); 272 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(32); local 273 new EncodedValueTransformer(out).transformAnnotation( 276 new EncodedValue(out.toByteArray())); 283 private final ByteOutput out; field in class:IndexMap.EncodedValueTransformer [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageFetcher.java | 269 BufferedOutputStream out = null; local 276 out = new BufferedOutputStream(outputStream, IO_BUFFER_SIZE); 280 out.write(b); 290 if (out != null) { 291 out.close();
|