/libcore/dex/src/main/java/com/android/dex/ |
Leb128.java | 128 * Writes {@code value} as an unsigned integer to {@code out}, starting at 131 public static void writeUnsignedLeb128(ByteOutput out, int value) { 135 out.writeByte((byte) ((value & 0x7f) | 0x80)); 140 out.writeByte((byte) (value & 0x7f)); 144 * Writes {@code value} as a signed integer to {@code out}, starting at 147 public static void writeSignedLeb128(ByteOutput out, int value) { 156 out.writeByte((byte) ((value & 0x7f) | (hasMore ? 0x80 : 0)));
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldURLClassLoaderTest.java | 84 FileOutputStream out = new FileOutputStream(test1); local 85 out.write(resValues[0].getBytes()); 86 out.flush(); 87 out.close(); 93 out = new FileOutputStream(test2); 94 out.write(resValues[1].getBytes()); 95 out.flush(); 96 out.close();
|
/libcore/ojluni/src/main/java/java/net/ |
SocksSocketImpl.java | 126 throw new SocketTimeoutException("Connect timed out"); 139 BufferedOutputStream out) throws IOException { 140 return authenticate(method, in, out, 0L); 144 BufferedOutputStream out, 175 out.write(1); 176 out.write(userName.length()); 178 out.write(userName.getBytes("ISO-8859-1")); 183 out.write(password.length()); 185 out.write(password.getBytes("ISO-8859-1")); 190 out.write(0) 696 BufferedOutputStream out = new BufferedOutputStream(cmdOut, 512); local [all...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
FileHandler.java | 41 * limit, it is closed, rotated out, and a new file opened. 46 * record is flushed out when it is complete. 137 OutputStream out; field in class:FileHandler.MeteredStream 140 MeteredStream(OutputStream out, int written) { 141 this.out = out; 146 out.write(b); 151 out.write(buff); 156 out.write(buff,off,len); 161 out.flush() [all...] |
/packages/apps/Tag/src/com/android/apps/tag/record/ |
ImageRecord.java | 79 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 80 bitmap.compress(Bitmap.CompressFormat.JPEG, 100, out); 81 byte[] content = out.toByteArray();
|
/prebuilts/go/darwin-x86/src/runtime/ |
vlop_arm.s | 23 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 186 // laid out here as little-endian uint32s 305 B out 309 out: label
|
/prebuilts/go/darwin-x86/test/bench/shootout/ |
fasta.go | 26 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 44 var out = make(buffer, 0, 32768) var 58 buf1 := out.NextWrite(m + 1) 116 buf := out.NextWrite(m + 1) 135 defer out.Flush() 173 out.WriteString(">ONE Homo sapiens alu\n") 175 out.WriteString(">TWO IUB ambiguity codes\n") 177 out.WriteString(">THREE Homo sapiens frequency\n") 202 out := p[len(p) : len(p)+n] 204 return out [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
vlop_arm.s | 23 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 186 // laid out here as little-endian uint32s 305 B out 309 out: label
|
/prebuilts/go/linux-x86/test/bench/shootout/ |
fasta.go | 26 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 44 var out = make(buffer, 0, 32768) var 58 buf1 := out.NextWrite(m + 1) 116 buf := out.NextWrite(m + 1) 135 defer out.Flush() 173 out.WriteString(">ONE Homo sapiens alu\n") 175 out.WriteString(">TWO IUB ambiguity codes\n") 177 out.WriteString(">THREE Homo sapiens frequency\n") 202 out := p[len(p) : len(p)+n] 204 return out [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/util/ |
field_mask_util.h | 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 51 static void FromString(StringPiece str, FieldMask* out); 57 static bool ToJsonString(const FieldMask& mask, string* out); 58 static bool FromJsonString(StringPiece str, FieldMask* out); 86 static void GetFieldMaskForAllFields(FieldMask* out) { 87 InternalGetFieldMaskForAllFields(T::descriptor(), out); local 95 static void ToCanonicalForm(const FieldMask& mask, FieldMask* out); 99 FieldMask* out); 103 FieldMask* out); 148 FieldMask* out); [all...] |
/system/core/gatekeeperd/ |
IGateKeeperService.cpp | 51 uint8_t *out = NULL; local 55 desiredPasswordSize, &out, &outSize); 59 if (ret == 0 && outSize > 0 && out != NULL) { 65 memcpy(buf, out, outSize); 66 delete[] out; 122 uint8_t *out = NULL; local 127 &out, &outSize, &request_reenroll); 130 if (ret == 0 && outSize > 0 && out != NULL) { 136 memcpy(buf, out, outSize); 137 delete[] out; [all...] |
/system/security/keystore/ |
blob.cpp | 131 int out = local 133 if (out < 0) { 137 size_t writtenBytes = writeFully(out, (uint8_t*)&mBlob, fileLength); 138 if (close(out) != 0) {
|
/cts/common/host-side/manifest-generator/src/com/android/compatibility/common/generator/ |
ManifestGenerator.java | 77 FileOutputStream out = null; local 79 out = new FileOutputStream(output); 80 generate(out, pkgName, instrumentName, minSdk, targetSdk, permissions, activities); 84 if (out != null) { 86 out.close(); 94 /*package*/ static void generate(OutputStream out, String pkgName, String instrumentName, 99 serializer.setOutput(out, "UTF-8"); 129 out.flush();
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
BasePackageInstallTest.java | 161 OutputStream out = mSession.openWrite("SilentPackageInstallerTest", 0, file.length()); local 165 out.write(buffer, 0, c); 167 mSession.fsync(out); 168 out.close();
|
/cts/libs/json/src/com/android/json/stream/ |
JsonWriter.java | 71 * public void writeJsonStream(OutputStream out, List<Message> messages) throws IOException { 72 * JsonWriter writer = new JsonWriter(new OutputStreamWriter(out, "UTF-8")); 123 private final Writer out; field in class:JsonWriter 142 * Creates a new instance that writes a JSON-encoded stream to {@code out}. 146 public JsonWriter(Writer out) { 147 if (out == null) { 148 throw new NullPointerException("out == null"); 150 this.out = out; 216 out.write(openBracket) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 99 ByteArrayOutputStream out = new ByteArrayOutputStream(1024); local 103 out.write(buffer, 0, len); 106 out.close(); 107 return out.toByteArray();
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerNotificationTest.java | 101 FileOutputStream out = new FileOutputStream(foo); local 102 out.write(0x12); 103 out.flush(); 104 out.close();
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
TextToSpeechServiceTest.java | 107 FileOutputStream out = new FileOutputStream(sampleFile); local 108 out.write(new byte[] { 0x01, 0x02 }); 109 out.close();
|
/cts/tests/tests/util/src/android/util/cts/ |
StrictJarFileTest.java | 204 FileOutputStream out = new FileOutputStream(dest); local 208 out.write(buffer, 0, c); 210 out.close();
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
CtsApiCoverage.java | 56 System.out.println("Usage: cts-api-coverage [OPTION]... [APK]..."); 57 System.out.println(); 58 System.out.println("Generates a report about what Android framework methods are called "); 59 System.out.println("from the given APKs."); 60 System.out.println(); 61 System.out.println("Use the Makefiles rules in CtsTestCoverage.mk to generate the report "); 62 System.out.println("rather than executing this directly. If you still want to run this "); 63 System.out.println("directly, then this must be used from the $ANDROID_BUILD_TOP "); 64 System.out.println("directory and dexdeps must be built via \"make dexdeps\"."); 65 System.out.println() 209 OutputStream out = outputFile != null local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
JPDADebuggeeSynchronizer.java | 45 * TCP/IP sockets. All operations can be timed out according to default timeout. 57 protected DataOutputStream out; field in class:JPDADebuggeeSynchronizer 88 out.writeUTF(message); 89 out.flush(); 221 out = new DataOutputStream(clientSocket.getOutputStream()); 241 out = new DataOutputStream(clientSocket.getOutputStream()); 255 if (out != null) 256 out.close();
|
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 106 FileOutputStream out = new FileOutputStream(dest); local 110 out.write(buf, 0, result); 113 out.close();
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
UnitTestZipArchive.java | 215 FileOutputStream out = new FileOutputStream(file); local 216 out.write(makeTestZip()); 217 out.flush(); 218 out.close();
|
/external/doclava/src/com/google/doclava/ |
ClearPage.java | 144 System.out.println("error: " + e.getMessage() + "; when writing file: " + filename); 165 FileOutputStream out; local 177 out = new FileOutputStream(to, append); 201 out.write(buf, 0, size); 213 out.close();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
BuildMachineManager.java | 76 System.out.println("Marker already exists: "+markerName+".marker"); 112 PrintWriter out = new PrintWriter(new FileWriter(markerFile)); local 113 out.println(markerKey+"=" + machineName); 114 out.flush(); 115 out.close();
|