/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
AbstractFieldMatrix.java | 177 final FieldMatrix<T> out = createMatrix(rowCount, columnCount); local 180 out.setEntry(row, col, getEntry(row, col).add(m.getEntry(row, col))); 184 return out; 196 final FieldMatrix<T> out = createMatrix(rowCount, columnCount); local 199 out.setEntry(row, col, getEntry(row, col).subtract(m.getEntry(row, col))); 203 return out; 212 final FieldMatrix<T> out = createMatrix(rowCount, columnCount); local 215 out.setEntry(row, col, getEntry(row, col).add(d)); 219 return out; 228 final FieldMatrix<T> out = createMatrix(rowCount, columnCount) local 249 final FieldMatrix<T> out = createMatrix(nRows, nCols); local 439 final FieldMatrix<T> out = createMatrix(1, nCols); local 472 final FieldMatrix<T> out = createMatrix(nRows, 1); local 551 final T[] out = buildArray(field, nCols); local 583 final T[] out = buildArray(field, nRows); local 630 final FieldMatrix<T> out = createMatrix(nCols, nRows); local 683 final T[] out = buildArray(field, nRows); local 710 final T[] out = buildArray(field, nRows); local 735 final T[] out = buildArray(field, nCols); local 763 final T[] out = buildArray(field, nCols); local [all...] |
ArrayRealVector.java | 265 double[] out = data.clone(); local 269 out[e.getIndex()] += e.getValue(); 271 return new ArrayRealVector(out, false); 280 double[] out = data.clone(); local 282 out[i] += v[i]; 284 return new ArrayRealVector(out, false); 306 double[] out = data.clone(); local 310 out[e.getIndex()] -= e.getValue(); 312 return new ArrayRealVector(out, false); 321 double[] out = data.clone() local 598 double[] out = data.clone(); local 611 double[] out = data.clone(); local 636 double[] out = data.clone(); local 649 double[] out = data.clone(); local 946 final RealMatrix out = MatrixUtils.createRealMatrix(m, m); local 973 final RealMatrix out = MatrixUtils.createRealMatrix(m, m); local 1012 final double[] out = new double[data.length + 1]; local 1025 ArrayRealVector out = new ArrayRealVector(n); local [all...] |
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
ConscryptEngineTest.java | 182 ByteBuffer out = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); local 183 SSLEngineResult wrapResult = clientEngine.wrap(clientCleartextBuffer, out); 185 out.flip(); 186 encryptedBuffers[i] = out; 195 ByteBuffer out = bufferType.newBuffer(2 * MESSAGE_SIZE); local 197 serverEngine, encryptedBuffers, new ByteBuffer[] {out}); 201 out.flip(); 202 byte[] actualMessage = toArray(out);
|
/external/guava/guava/src/com/google/common/io/ |
ByteStreams.java | 114 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 115 copy(in, out); 116 return out.toByteArray(); 148 FastByteArrayOutputStream out = new FastByteArrayOutputStream(); local 149 out.write(b); // write the byte we read when testing for end of stream 150 copy(in, out); 152 byte[] result = new byte[bytes.length + out.size()]; 154 out.writeTo(result, bytes.length);
|
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/ |
BaseEncoding.java | 535 ByteOutput encodingStream(final CharOutput out) { 536 checkNotNull(out); 550 out.write(alphabet.encode(charIndex)); 558 out.flush(); 566 out.write(alphabet.encode(charIndex)); 570 out.write(paddingChar.charValue()); 575 out.close();
|
/external/guava/guava-tests/test/com/google/common/io/ |
ByteStreamsTest.java | 42 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 43 WritableByteChannel outChannel = Channels.newChannel(out); 48 assertEquals(expected, out.toByteArray()); 289 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 290 assertEquals(0, out.toByteArray().length); 294 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 295 out.writeInt(0x12345678); 296 out.writeInt(0x76543210); 297 assertEquals(bytes, out.toByteArray()); 301 ByteArrayDataOutput out = ByteStreams.newDataOutput(4) local 308 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 314 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 320 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 327 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 334 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 342 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 348 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 356 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 367 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 373 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 379 ByteArrayDataOutput out = ByteStreams.newDataOutput(); local 387 ByteArrayDataOutput out = ByteStreams.newDataOutput(baos); local 442 private final ByteArrayOutputStream out = new ByteArrayOutputStream(); field in class:ByteStreamsTest.TestByteProcessor [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
RBBITest.java | 510 StringBuffer out = new StringBuffer(); local 514 out.append(c); 516 out.append("\\u"); 518 out.append(zeros.substring(0, 4 - temp.length())); 519 out.append(temp); 522 logln(out.toString()); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
RBBITest.java | 509 StringBuffer out = new StringBuffer(); local 513 out.append(c); 515 out.append("\\u"); 517 out.append(zeros.substring(0, 4 - temp.length())); 518 out.append(temp); 521 logln(out.toString()); [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
DNSRecord.java | 89 abstract DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException; 171 abstract void write(MessageOutputStream out); 184 void write(MessageOutputStream out) { 197 out.writeBytes(buffer, 0, length); 226 void write(MessageOutputStream out) { 242 out.writeBytes(buffer, 0, length); 384 DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException { 385 return out; 444 void write(MessageOutputStream out) { 445 out.writeName(_alias) [all...] |
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockWebServer.java | 284 serverSocket.close(); // should cause acceptConnections() to break out 327 OutputStream out = new BufferedOutputStream(socket.getOutputStream()); 329 while (processOneRequest(socket, in, out)) { 337 out.close(); 360 private boolean processOneRequest(Socket socket, InputStream in, OutputStream out) 362 RecordedRequest request = readRequest(socket, in, out, sequenceNumber); 373 writeResponse(out, response); 393 out.close(); 428 private RecordedRequest readRequest(Socket socket, InputStream in, OutputStream out, 462 out.write(("HTTP/1.1 100 Continue\r\n").getBytes(StandardCharsets.US_ASCII)) [all...] |
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
MockWebServerTest.java | 268 OutputStream out = connection.getOutputStream(); local 274 out.write(data); 275 out.flush();
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
MockSpdyPeer.java | 138 // Bail out now if this instance was closed while waiting for the socket to accept. 146 OutputStream out = socket.getOutputStream(); local 174 out.write(outBytes, (int) start, length);
|
/external/r8/src/main/java/com/android/tools/r8/ |
R8.java | 124 System.out.print(printer.toString()); 164 application.smali(options, System.out); 229 PrintStream out = new PrintStream(bytes); local 230 RootSetBuilder.writeSeeds(appInfo.withLiveness().pinnedItems, out); local 231 out.flush(); 327 System.out.println("Finished compilation with method filter: "); 328 options.methodsFilter.forEach((m) -> System.out.println(" - " + m)); 397 System.out); 404 OutputStream seedsOut = openPathWithDefault(closer, options.seedsFile, System.out); 411 openPathWithDefault(closer, options.printMainDexListFile, System.out); [all...] |
/external/r8/src/main/java/com/android/tools/r8/compatdx/ |
CompatDx.java | 333 System.out.println("CompatDx " + String.join(" ", args)); 336 printHelpOn(System.out); 357 System.out.println("Warning: logging is not enabled for this build."); 361 System.out.println("Warning: dump is not supported"); 390 System.out.println("Warning: no support for positions none."); 402 System.out.println( 410 System.out.println("Warning: no support for not optimizing"); 422 System.out.println("Warning: no support for printing statistics"); 434 System.out.println("Warning: conservative main-dex list not yet supported"); 436 System.out.println("Warning: strict name checking not yet supported") 536 addEntry(entry.getName(), in, out); local 548 addEntry(getDexFileName(i), dexProgramSources.get(i).getStream(closer), out); local [all...] |
/external/r8/src/main/java/com/android/tools/r8/shaking/ |
RootSetBuilder.java | 262 public static void writeSeeds(Iterable<DexItem> seeds, PrintStream out) { 265 out.println(((DexClass) seed).type.toSourceString()); 268 out.println( 274 out.print(method.holder.toSourceString() + ": "); 277 out.print("<clinit>("); 281 out.print(constrName + "("); 284 out.print( 290 out.print(","); 293 out.print(param.toSourceString()); 295 out.println(")") [all...] |
/frameworks/base/obex/javax/obex/ |
ServerOperation.java | 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 119 * @param out the output stream to write to 366 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 435 out.write(headerArray); 486 out.write(0x49); 488 out.write((byte)(bodyLength >> 8)); 489 out.write((byte)bodyLength); 490 out.write(body); 494 out.write(0x48); 496 out.write((byte)(bodyLength >> 8)) [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
ExternalStorageProvider.java | 568 final Bundle out = new Bundle(); local 570 out.putParcelable(DocumentsContract.EXTRA_URI, uri); 571 return out;
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
PackageManagerBackupAgent.java | 285 // metadata again. In either case, take it out of mExisting so that 435 private static void writeSignatureHashArray(DataOutputStream out, ArrayList<byte[]> hashes) 438 out.writeInt(hashes.size()); 442 out.writeInt(buffer.length); 443 out.write(buffer); 494 // Util: parse out an existing state file into a usable structure 581 // Util: write out our new backup state file 586 DataOutputStream out = new DataOutputStream(outbuf); local 591 out.writeUTF(STATE_FILE_HEADER); 592 out.writeInt(STATE_FILE_VERSION) [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
FullBackupEngine.java | 288 // Forward-locked apps, system-bundled .apks, etc are filtered out before we get here 343 DataOutputStream out = new DataOutputStream(bout); local 347 out.writeInt(BACKUP_WIDGET_METADATA_TOKEN); 348 out.writeInt(widgetData.length); 349 out.write(widgetData); 352 out.close();
|
/frameworks/base/services/core/java/com/android/server/pm/ |
ShortcutLauncher.java | 201 public void saveToXml(XmlSerializer out, boolean forBackup) 208 out.startTag(null, TAG_ROOT); 209 ShortcutService.writeAttr(out, ATTR_PACKAGE_NAME, getPackageName()); 210 ShortcutService.writeAttr(out, ATTR_LAUNCHER_USER_ID, getPackageUserId()); 211 getPackageInfo().saveToXml(out); 220 out.startTag(null, TAG_PACKAGE); 221 ShortcutService.writeAttr(out, ATTR_PACKAGE_NAME, pu.packageName); 222 ShortcutService.writeAttr(out, ATTR_PACKAGE_USER_ID, pu.userId); 227 ShortcutService.writeTagValue(out, TAG_PIN, ids.valueAt(j)); 229 out.endTag(null, TAG_PACKAGE) [all...] |
/frameworks/base/tests/net/java/android/net/ |
NetworkStatsHistoryTest.java | 387 final ByteArrayOutputStream out = new ByteArrayOutputStream(); local 388 before.writeToStream(new DataOutputStream(out)); 389 out.close(); 391 final ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); 510 final ByteArrayOutputStream out = new ByteArrayOutputStream(); local 511 writeVarLong(new DataOutputStream(out), before); 513 final ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
|
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/ |
BaseCompilationTest.java | 166 StringBuilder out = new StringBuilder(contents.length()); local 172 out.append(contents, location, start); 177 out.append(replacement); 182 out.append(contents, location, contents.length()); 185 FileUtils.writeStringToFile(targetFile, out.toString());
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RecurrenceProcessorTest.java | 38 String[] out = new String[dates.length]; local 42 out[i] = time.format2445(); 45 return out; 48 private static void printLists(String[] expected, String[] out) { 49 Log.i(TAG, " expected out"); 51 for (i = 0; i < expected.length && i < out.length; i++) { 53 + " " + out[i]); 58 for (; i < out.length; i++) { 59 Log.i(TAG, " [" + i + "] " + out[i]); 109 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */) local 2458 TreeSet<Long> out = new TreeSet<Long>(); local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiConfigStore.java | 115 * Alarm listener for flushing out any buffered writes. 273 final XmlSerializer out = new FastXmlSerializer(); local 275 out.setOutput(outputStream, StandardCharsets.UTF_8.name()); 277 XmlUtil.writeDocumentStart(out, XML_TAG_DOCUMENT_HEADER); 278 XmlUtil.writeNextValue(out, XML_TAG_VERSION, CURRENT_CONFIG_STORE_DATA_VERSION); 288 XmlUtil.writeNextSectionStart(out, tag); 289 storeData.serializeData(out, shareData); 290 XmlUtil.writeNextSectionEnd(out, tag); 292 XmlUtil.writeDocumentEnd(out, XML_TAG_DOCUMENT_HEADER); 320 * Helper method to actually perform the writes to the file. This flushes out any write dat 518 FileOutputStream out = null; local [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiBackupRestoreTest.java | 74 // Ensure that the SSID was dumped out. 77 // Ensure that the password wasn't dumped out. 702 OutputStreamWriter out = new OutputStreamWriter(bos); local 705 writeConfigurationToWpaSupplicantConf(out, configuration); 707 out.flush(); 777 DataOutputStream out = new DataOutputStream(bos); local [all...] |