/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
Float16ArithmeticTest.java | 73 short out = output[x + y * numInputs]; local 80 return lb == out; 83 return Float16Utils.isFloat16NaN(out); 89 return lb == out; 95 float floatOut = Float16Utils.convertFloat16ToFloat(out); 104 message.append("\nActual output: " + Short.toString(out));
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestNan.java | 42 public Target.Floaty out; field in class:TestNan.ArgumentsUintFloat 48 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 49 script.forEach_testNanUintFloat(inV, out); 50 verifyResultsNanUintFloat(inV, out, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 56 scriptRelaxed.forEach_testNanUintFloat(inV, out); 57 verifyResultsNanUintFloat(inV, out, true); 63 private void verifyResultsNanUintFloat(Allocation inV, Allocation out, boolean relaxed) { 69 out.copyTo(arrayOut); 77 // Figure out what the outputs should have been [all...] |
/cts/tests/tests/view/src/android/view/cts/util/ |
XmlUtils.java | 175 * @param out Where to write the XML data. 182 public static final void writeListXml(List val, OutputStream out) 186 serializer.setOutput(out, StandardCharsets.UTF_8.name()); 200 * @param out XmlSerializer to write the map into. 206 public static final void writeMapXml(Map val, String name, XmlSerializer out) 208 writeMapXml(val, name, out, null); 218 * @param out XmlSerializer to write the map into. 227 public static final void writeMapXml(Map val, String name, XmlSerializer out, 231 out.startTag(null, "null"); 232 out.endTag(null, "null") 271 writeValueXml(e.getValue(), (String)e.getKey(), out, callback); local 306 writeValueXml(val.get(i), null, out); local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/util/ |
XmlUtils.java | 176 * @param out Where to write the XML data. 183 public static final void writeListXml(List val, OutputStream out) 187 serializer.setOutput(out, StandardCharsets.UTF_8.name()); 201 * @param out XmlSerializer to write the map into. 207 public static final void writeMapXml(Map val, String name, XmlSerializer out) 209 writeMapXml(val, name, out, null); 219 * @param out XmlSerializer to write the map into. 228 public static final void writeMapXml(Map val, String name, XmlSerializer out, 232 out.startTag(null, "null"); 233 out.endTag(null, "null") 272 writeValueXml(e.getValue(), (String)e.getKey(), out, callback); local 307 writeValueXml(val.get(i), null, out); local [all...] |
/cts/tools/cfassembler/src/dxconvext/ |
ClassFileParser.java | 46 * /home/fjost/android/workspace/out/classes_javac this is the place where 74 // e.g. <out-path>/test/p1/MyTest.class 90 // Writer w = new OutputStreamWriter(System.out); 108 out("//@class:" + className, 0); 135 out("// ========== start-ParseMember:" + name + ", offset " 138 // out("// "+dumpReadableString(ba)); 139 // out(" "+dumpBytes(ba)); 155 out("// ========== end-ParseMember:" + name + ", desc: " 157 // out("// "+dumpReadableString(ba)); 158 // out(" "+dumpBytes(ba)) 250 private void out(String msg, int cur_indent) { method in class:ClassFileParser [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationItem.java | 155 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); local 156 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); 159 encodedForm = out.toByteArray(); 170 * @param out {@code non-null;} where to output to 173 public void annotateTo(AnnotatedOutput out, String prefix) { 174 out.annotate(0, prefix + "visibility: " + 176 out.annotate(0, prefix + "type: " + annotation.getType().toHuman()); 182 out.annotate(0, prefix + name.toHuman() + ": " + 189 protected void writeTo0(DexFile file, AnnotatedOutput out) { 190 boolean annotates = out.annotates() [all...] |
TypeListItem.java | 92 protected void writeTo0(DexFile file, AnnotatedOutput out) { 96 if (out.annotates()) { 97 out.annotate(0, offsetString() + " type_list"); 98 out.annotate(HEADER_SIZE, " size: " + Hex.u4(sz)); 102 out.annotate(ELEMENT_SIZE, 107 out.writeInt(sz); 110 out.writeShort(typeIds.indexOf(list.getType(i)));
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
TwoColumnOutput.java | 32 private final Writer out; field in class:TwoColumnOutput 83 * @param out {@code non-null;} writer to send final output to 88 public TwoColumnOutput(Writer out, int leftWidth, int rightWidth, 90 if (out == null) { 91 throw new NullPointerException("out == null"); 109 this.out = out; 121 * @param out {@code non-null;} stream to send final output to 126 public TwoColumnOutput(OutputStream out, int leftWidth, int rightWidth, 128 this(new OutputStreamWriter(out), leftWidth, rightWidth, spacer) [all...] |
/dalvik/dx/src/com/android/dx/command/findusages/ |
FindUsages.java | 39 private final PrintWriter out; field in class:FindUsages 44 public FindUsages(final Dex dex, String declaredBy, String memberName, final PrintWriter out) { 46 this.out = out; 83 out.println(location() + ": field reference " + dex.fieldIds().get(fieldId) 93 out.println(location() + ": method reference " + dex.methodIds().get(methodId) 111 * Prints usages to out. 130 out.println(location() + " field declared " + dex.fieldIds().get(fieldIndex)); 138 out.println(location() + " method declared " + dex.methodIds().get(methodIndex));
|
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationItem.java | 155 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); local 156 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); 159 encodedForm = out.toByteArray(); 170 * @param out {@code non-null;} where to output to 173 public void annotateTo(AnnotatedOutput out, String prefix) { 174 out.annotate(0, prefix + "visibility: " + 176 out.annotate(0, prefix + "type: " + annotation.getType().toHuman()); 182 out.annotate(0, prefix + name.toHuman() + ": " + 189 protected void writeTo0(DexFile file, AnnotatedOutput out) { 190 boolean annotates = out.annotates() [all...] |
TypeListItem.java | 91 protected void writeTo0(DexFile file, AnnotatedOutput out) { 95 if (out.annotates()) { 96 out.annotate(0, offsetString() + " type_list"); 97 out.annotate(HEADER_SIZE, " size: " + Hex.u4(sz)); 101 out.annotate(ELEMENT_SIZE, 106 out.writeInt(sz); 109 out.writeShort(typeIds.indexOf(list.getType(i)));
|
/dalvik/dx/src/com/android/dx/merge/ |
InstructionTransformer.java | 52 ShortArrayCodeOutput out = new ShortArrayCodeOutput(size); local 55 instruction.encode(out); 60 return out.getArray();
|
/dalvik/dx/src/com/android/dx/util/ |
TwoColumnOutput.java | 32 private final Writer out; field in class:TwoColumnOutput 83 * @param out {@code non-null;} writer to send final output to 88 public TwoColumnOutput(Writer out, int leftWidth, int rightWidth, 90 if (out == null) { 91 throw new NullPointerException("out == null"); 109 this.out = out; 121 * @param out {@code non-null;} stream to send final output to 126 public TwoColumnOutput(OutputStream out, int leftWidth, int rightWidth, 128 this(new OutputStreamWriter(out), leftWidth, rightWidth, spacer) [all...] |
/development/samples/BackupRestore/src/com/example/android/backuprestore/ |
ExampleAgent.java | 127 // out of the buffering stream object and send it off. 178 * Write out the new state file: the version number, followed by the 183 DataOutputStream out = new DataOutputStream(outstream); local 185 out.writeInt(AGENT_VERSION); 186 out.writeInt(mFilling); 187 out.writeBoolean(mAddMayo); 188 out.writeBoolean(mAddTomato); 195 * be running while we change its data out from under it. That, in 196 * turn, means that there is no need to send out any sort of notification
|
MultiRecordExampleAgent.java | 107 DataOutputStream out = new DataOutputStream(bufStream); local 111 out.writeInt(mFilling); 117 out.writeBoolean(mAddMayo); 123 out.writeBoolean(mAddTomato); 132 * Write out the new state file: the version number, followed by the 137 DataOutputStream out = new DataOutputStream(outstream); local 139 out.writeInt(mFilling); 140 out.writeBoolean(mAddMayo); 141 out.writeBoolean(mAddTomato); 154 * On restore, we pull the various bits of data out of the restore stream [all...] |
/device/generic/goldfish/camera/ |
CallbackNotifier.cpp | 60 int out = 0; local 61 while (msg != 0 && out < max && index < lCameraMessagesNum) { 67 strings[out] = lCameraMessages[index]; 68 out++; 74 return out;
|
/device/google/contexthub/firmware/src/algos/ |
mag_cal.c | 69 // A * out = b 87 struct Vec4 out; local 88 mat44Solve(&A, &out, &b, &pivot); 92 // xc = -out[0] / 2, yc = -out[1] / 2, zc = -out[2] / 2 93 // r = sqrt(xc^2 + yc^2 + zc^2 - out[3]) 96 initVec3(&v, out.x, out.y, out.z) [all...] |
/external/android-clat/ |
clatd_microbenchmark.c | 105 clat_packet out = { local 124 return send_tun(fd, out, sizeof(out) / sizeof(out[0])); 150 printf("Timed out after %d packets!\n", i);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/ |
PolynomialFunctionLagrangeForm.java | 109 double[] out = new double[x.length]; local 110 System.arraycopy(x, 0, out, 0, x.length); 111 return out; 122 double[] out = new double[y.length]; local 123 System.arraycopy(y, 0, out, 0, y.length); 124 return out; 141 double[] out = new double[coefficients.length]; local 142 System.arraycopy(coefficients, 0, out, 0, coefficients.length); 143 return out; 175 // find out the abscissa closest to [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
AbstractIntegerDistribution.java | 248 int[] out = new int[sampleSize]; local 250 out[i] = sample(); 252 return out;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/ |
PearsonsCorrelation.java | 141 double[][] out = new double[nVars][nVars]; local 145 out[i][j] = FastMath.sqrt((1 - r * r) /(nObs - 2)); 148 return new BlockRealMatrix(out); 167 double[][] out = new double[nVars][nVars]; local 171 out[i][j] = 0d; 175 out[i][j] = 2 * tDistribution.cumulativeProbability(-t); 179 return new BlockRealMatrix(out);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
ChoiceTest.java | 116 DerOutputStream out = new DerOutputStream(choice, testcases[i][0]); local 118 (byte[]) testcases[i][1], out.encoded));
|
SequenceTest.java | 163 DerOutputStream out = new DerOutputStream(sequence, testcases[i][0]); local 165 (byte[]) testcases[i][1], out.encoded));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
EDIPartyNameTest.java | 46 System.out.print(prefix + "0x" + tail + delimiter); 49 System.out.println(); 52 System.out.println(); 75 System.out.println("Got encoded form of EDIPartyName is:"); 77 System.out.println("But should be like this:"); 79 System.out.println(""); 97 System.out.println("Got encoded form of GeneralName is:"); 99 System.out.println("But should be like this:"); 101 System.out.println(""); 121 System.out.println("Got encoded form of GeneralNames is:") [all...] |
GeneralNameTest.java | 157 System.out.print((bts[i] & 0xFF) + " "); 159 System.out.println(""); 160 System.out.println(ip);
|