/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 115 * BigDecimal does not support a + sign in the exponent when converting 731 assertTrue("123E-104 is not positive in signum()", sign.signum() == 1); 733 assertTrue("-1234.3959 is not negative in signum()", 736 assertTrue("000D is not zero in signum()", sign.signum() == 0); 884 char[] in = { '1', '5', '6', '7', '8', '7', '.', '0', '0' }; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetTest.java | 5 * (the "License"); you may not use this file except in compliance with 10 * Unless required by applicable law or agreed to in writing, software 169 // Accepts a big-endian BOM and includes U+FEFF in the decoded output. 179 // Accepts a little-endian BOM and includes U+FEFF in the decoded output. 217 // Accepts a big-endian BOM and includes U+FEFF in the decoded output. 227 // Accepts a little-endian BOM and includes U+FEFF in the decoded output. 250 ByteBuffer in = ByteBuffer.wrap(toByteArray(byteInts)); local 251 CharBuffer out = cs.decode(in); 760 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 761 while (in.remaining() > 0) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
MessageFormatTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 56 ObjectInputStream in = new ObjectInputStream( local 58 MessageFormat read = (MessageFormat) in.readObject(); [all...] |
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 30 * This implementation is efficient for operations traditionally used in 35 * This API includes operations for bitwise operations in two's complement 53 /** The magnitude of this in the little-endian representation. */ 57 * The length of this in measured in ints. Can be less than 77 /** All the {@code BigInteger} numbers in the range [0,10] are cached. */ 120 * Constructs a random non-negative {@code BigInteger} instance in the range 123 * @param numBits maximum length of the new {@code BigInteger} in bits [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatParser.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 44 private static final int BUFFER_SIZE = 8096; // in bytes 73 /** Timeout for HTTP connections (in ms) */ 292 * Downloading external entities by default would result in several 354 InputStream in = inputSource.getByteStream(); local 355 if (in != null) { 359 entityParser.parseFragment(in); 363 IoUtils.closeQuietly(in); 376 in = openUrl(systemId) [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
ExpatSaxParserTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 361 Reader in = new StringReader(s); local 367 reader.parse(new InputSource(in)); 460 Reader in = new StringReader( local 468 reader.parse(new InputSource(in)); 497 Reader in = new StringReader( local 505 reader.parse(new InputSource(in)); 567 Reader in = new StringReader("<?xml version=\"1.0\"?>\n" local 580 reader.parse(new InputSource(in)); 613 Reader in = new StringReader("<?xml version=\\"1.0\\"?>\\n" local [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
System.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 72 public final static InputStream in; field in class:System 86 * See the <code>println</code> methods in class <code>PrintStream</code>. 139 * @param in the new standard input stream. 151 public static void setIn(InputStream in) { 152 setIn0(in); 231 * <p> In addition to the network-oriented channels described in [all...] |
/libcore/ojluni/src/main/java/java/text/ |
MessageFormat.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 55 * messages in a language-neutral way. Use this to construct messages 65 * classes in that you create a <code>MessageFormat</code> object with one 131 * In particular, it isn't always obvious to localizers whether single 133 * the rules, and tell them (for example, by using comments in resource 135 * Note that localizers may need to use single quotes in translated 147 * shown in the table are illegal. A <i>SubformatPattern</i> must 223 * In real internationalized programs, the message format pattern and othe [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
AlgorithmId.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 40 * algorithm type, and may also be used in other cases. Equivalence is 48 * <P>The OID constants defined in this class correspond to some widely 74 * Parameters for this algorithm. These are stored in unparsed 173 // id-sha512 are used in an AlgorithmIdentifier the parameters 352 * In that case, you may "narrow" the type of the ID. 364 DerInputStream in = val.toDerInputStream(); local 366 algid = in.getOID() [all...] |
X500Name.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 48 * and descriptive. Entities can be identified by attributes, and in 82 * functionality specified in the X.500 series of specifications. The 85 * <li>attribute values encoded in different types (e.g., 89 * <li>attribute values in types other than PrintableString are case 93 * <li>attribute values in PrintableString are not case sensitive 96 * <li>attribute values in PrintableString are compared after 106 * In addition, implementations of this specification MAY use thes 316 DerInputStream in = new DerInputStream(name); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapUtils.java | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 45 * in stead of a bit to indicate the message type. Then 4 354 throw new IllegalArgumentException("Message type not found in handle string."); 407 /* if 'continuation' byte is in place 200, 412 /* first byte in utf-8 character found, 431 * @param in the string with encoding 434 static public String stripEncoding(String in){ 436 if(in.contains("=?") && in.contains("?=")) 496 int in, out, stopCnt = input.length-2; \/\/ Leave room for peaking the next two bytes local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransfer.java | 6 * Redistribution and use in source and binary forms, with or without 12 * - Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 198 * Receives events from mConnectThread & mSession back in the main thread. 217 * failed, and all shares in batch failed 345 Intent in = new Intent(BluetoothShare.USER_CONFIRMATION_TIMEOUT_ACTION); local 346 mContext.sendBroadcast(in); [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
CopyJob.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 184 * Generates an estimate of the remaining time in the copy. 189 // mBytesCopied is modified in worker thread, but this method is called in monitor thread, 258 // tasks in main thread, but this is running in a worker thread. calculateSize() may 370 // TODO: When optimized copy kicks in, we'll not making any progress updates. 445 "Couldn't create destination document " + dstDisplayName + " in directory %s " 453 "Couldn't create destination document " + dstDisplayName + " in directory %s." 548 InputStream in = null; local [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
Pop3Store.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 54 // when code is checked in or released. 373 * has been queried so that uids are available in the local cache. 387 * In extreme cases we'll do a UIDL command per message instead of a bulk 425 * <p>NOTE: In variance with RFC 1939, we allow multiple whitespace between the 534 * Fetch the items contained in the FetchProfile into the given set of 535 * Messages in as efficient a manner as possible. 603 InputStream in = mTransport.getInputStream(); local 605 in = new LoggingInputStream(in) [all...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainActivity.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 79 // get do file I/O in the remote keystore process and while they 387 InputStream in = new ByteArrayInputStream(bytes); local 391 cert = (X509Certificate)cf.generateCertificate(in);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 130 * fields are tracked in {@link #mInfoDelta}. If a field exists in 549 InputStream in = null; local 553 in = conn.getInputStream(); 589 transferData(in, out, outFd); 604 IoUtils.closeQuietly(in); 620 private void transferData(InputStream in, OutputStream out, FileDescriptor outFd) 633 len = in.read(buffer) [all...] |
/packages/services/BuiltInPrintService/jni/ipphelper/ |
ipphelper.c | 7 * you may not use this file except in compliance with the License. 12 * Unless required by applicable law or agreed to in writing, software 53 * A note on rounding: In some cases the Android-specified width (in mils) is rounded down. 54 * This causes artifacts in libjpeg-turbo when rendering to the correct width, so in these 585 LOGD(" in get_supportedIPPVersions"); 588 LOGD(" in get_supportedIPPVersions: %d", ippGetCount(attrptr)); 657 * Parse and IPP media size and return dimensions in millimeters. 668 char in[3] = "in" local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
ios_base.h | 11 // This library is distributed in the hope that it will be useful, 17 // permissions described in the GCC Runtime Library Exception, version 48 // as permitted (but not required) in the standard, in order to provide 49 // better type safety in iostream calls. A side effect is that 257 /// Insert/extract @c bool in alphabetic rather than numeric format. 260 /// Converts integer input or generates integer output in decimal base. 263 /// Generate floating-point output in fixed-point notation. 266 /// Converts integer input or generates integer output in hexadecimal base. 269 /// Adds fill characters at a designated internal point in certai 375 static const openmode in = _S_in; member in class:ios_base [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
ios_base.h | 11 // This library is distributed in the hope that it will be useful, 17 // permissions described in the GCC Runtime Library Exception, version 48 // as permitted (but not required) in the standard, in order to provide 49 // better type safety in iostream calls. A side effect is that 257 /// Insert/extract @c bool in alphabetic rather than numeric format. 260 /// Converts integer input or generates integer output in decimal base. 263 /// Generate floating-point output in fixed-point notation. 266 /// Converts integer input or generates integer output in hexadecimal base. 269 /// Adds fill characters at a designated internal point in certai 375 static const openmode in = _S_in; member in class:ios_base [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
ios_base.h | 11 // This library is distributed in the hope that it will be useful, 17 // permissions described in the GCC Runtime Library Exception, version 48 // as permitted (but not required) in the standard, in order to provide 49 // better type safety in iostream calls. A side effect is that 257 /// Insert/extract @c bool in alphabetic rather than numeric format. 260 /// Converts integer input or generates integer output in decimal base. 263 /// Generate floating-point output in fixed-point notation. 266 /// Converts integer input or generates integer output in hexadecimal base. 269 /// Adds fill characters at a designated internal point in certai 375 static const openmode in = _S_in; member in class:ios_base [all...] |
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
ios_base.h | 11 // This library is distributed in the hope that it will be useful, 17 // permissions described in the GCC Runtime Library Exception, version 48 // as permitted (but not required) in the standard, in order to provide 49 // better type safety in iostream calls. A side effect is that 257 /// Insert/extract @c bool in alphabetic rather than numeric format. 260 /// Converts integer input or generates integer output in decimal base. 263 /// Generate floating-point output in fixed-point notation. 266 /// Converts integer input or generates integer output in hexadecimal base. 269 /// Adds fill characters at a designated internal point in certai 375 static const openmode in = _S_in; member in class:ios_base [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
ios_base.h | 11 // This library is distributed in the hope that it will be useful, 17 // permissions described in the GCC Runtime Library Exception, version 48 // as permitted (but not required) in the standard, in order to provide 49 // better type safety in iostream calls. A side effect is that 257 /// Insert/extract @c bool in alphabetic rather than numeric format. 260 /// Converts integer input or generates integer output in decimal base. 263 /// Generate floating-point output in fixed-point notation. 266 /// Converts integer input or generates integer output in hexadecimal base. 269 /// Adds fill characters at a designated internal point in certai 375 static const openmode in = _S_in; member in class:ios_base [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
ios_base.h | 11 // This library is distributed in the hope that it will be useful, 17 // permissions described in the GCC Runtime Library Exception, version 48 // as permitted (but not required) in the standard, in order to provide 49 // better type safety in iostream calls. A side effect is that 257 /// Insert/extract @c bool in alphabetic rather than numeric format. 260 /// Converts integer input or generates integer output in decimal base. 263 /// Generate floating-point output in fixed-point notation. 266 /// Converts integer input or generates integer output in hexadecimal base. 269 /// Adds fill characters at a designated internal point in certai 375 static const openmode in = _S_in; member in class:ios_base [all...] |
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.9/ |
commons-compress-1.9.jar | |
/system/bt/audio_a2dp_hw/src/ |
audio_a2dp_hw.cc | 6 * you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 138 * the a2dp_stream_common (out or in) mutex. 167 pprev is optional in case a dedicated diff is required */ 371 // Sends control info for stream |common|. The data to send is stored in 671 // All 24-bit audio is expected in AUDIO_FORMAT_PCM_24_BIT_PACKED format 772 ERROR("Audiopath start failed - in call, move to suspended"); 857 /* only allow autostarting if we are in stopped or standby */ 864 ERROR("stream not in stopped or standby"); 1005 // data in chunks o 1303 struct a2dp_stream_in* in = (struct a2dp_stream_in*)stream; local 1310 struct a2dp_stream_in* in = (struct a2dp_stream_in*)stream; local 1327 struct a2dp_stream_in* in = (struct a2dp_stream_in*)stream; local 1379 struct a2dp_stream_in* in = (struct a2dp_stream_in*)stream; local 1676 struct a2dp_stream_in* in; local 1731 struct a2dp_stream_in* in = (struct a2dp_stream_in*)stream; local [all...] |