/frameworks/av/media/libstagefright/foundation/ |
base64.cpp | 49 uint8_t *out = buffer->data(); local 50 if (out == NULL || buffer->size() < outLen) { 81 out[j++] = (accum >> 16); 83 if (j < outLen) { out[j++] = (accum >> 8) & 0xff; } 84 if (j < outLen) { out[j++] = accum & 0xff; } 108 const void *_data, size_t size, AString *out) { 109 out->clear(); 119 out->append(encode6Bit(x1 >> 2)); 120 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); 121 out->append(encode6Bit((x2 << 2 | x3 >> 6) & 0x3f)) [all...] |
/frameworks/base/core/java/android/ddm/ |
DdmHandleAppName.java | 93 ByteBuffer out = ByteBuffer.allocate( local 97 out.order(ChunkHandler.CHUNK_ORDER); 98 out.putInt(appName.length()); 99 putString(out, appName); 100 out.putInt(userId); 102 Chunk chunk = new Chunk(CHUNK_APNM, out);
|
/frameworks/base/core/java/android/net/ |
ScoredNetwork.java | 64 * the scorer may choose to issue an out-of-band update at any time. 79 * the scorer may choose to issue an out-of-band update at any time. 105 public void writeToParcel(Parcel out, int flags) { 106 networkKey.writeToParcel(out, flags); 108 out.writeByte((byte) 1); 109 rssiCurve.writeToParcel(out, flags); 111 out.writeByte((byte) 0); 113 out.writeByte((byte) (meteredHint ? 1 : 0));
|
/frameworks/base/media/mca/filterpacks/native/base/ |
vec_types.h | 33 // out of boundary not checked 37 // out of boundary not checked 60 Vec<T, dim> out; local 62 out.data[i] = x.data[i] + y.data[i]; 63 return out; 68 Vec<T, dim> out; local 70 out.data[i] = x.data[i] - y.data[i]; 71 return out; 76 Vec<T, dim> out; local 78 out.data[i] = x.data[i] * y.data[i] 84 Vec<T, dim> out; local 92 T out = 0; local 100 Vec<T, dim> out; local 108 Vec<T, dim> out; local 116 Vec<T, dim> out; local [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
LaunchWarningWindow.java | 41 TypedValue out = new TypedValue(); local 42 getContext().getTheme().resolveAttribute(android.R.attr.alertDialogIcon, out, true); 43 getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, out.resourceId);
|
/frameworks/base/telecomm/java/android/telecom/ |
StatusHints.java | 116 public void writeToParcel(Parcel out, int flags) { 117 out.writeCharSequence(mLabel); 118 out.writeParcelable(mIcon, 0); 119 out.writeParcelable(mExtras, 0);
|
/frameworks/compile/mclinker/lib/Script/ |
Assignment.cpp | 89 SectionMap::reference out = script.sectionMap().back(); local 91 if (!isLhsDot && out->dotAssignments().empty()) { 99 out->dotAssignments().push_back(assign); 102 if (!out->dotAssignments().empty()) { 103 Assignment& prevDotAssign = out->dotAssignments().back(); 123 out->dotAssignments().push_back(*this);
|
/frameworks/multidex/library/src/android/support/multidex/ |
MultiDexExtractor.java | 283 ZipOutputStream out = null; local 288 out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(tmp))); 293 out.putNextEntry(classesDex); 298 out.write(buffer, 0, length); 301 out.closeEntry(); 303 out.close();
|
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
HelloComputeNDK.java | 33 native void nativeMono(String cacheDir, int X, int Y, Bitmap in, Bitmap out); 47 ImageView out = (ImageView) findViewById(R.id.displayout); local 48 out.setImageBitmap(mBitmapOut);
|
/hardware/bsp/intel/peripheral/libmraa/examples/java/ |
Bmp85.java | 21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 38 System.out.println(mraa.mraa.getVersion()); 50 System.out.println((new Integer(data[0])).toString()); 55 System.out.println("error"); 63 System.out.println(i2c.readWordReg((byte)0xf6)); 72 System.out.println((new Integer(d)).toString());
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
NRF24L01_transmitterSample.java | 21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 59 System.out.println("devi2 :: sending data ...."); 61 System.out.print(tx_buffer[i]); 62 System.out.println();
|
/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/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/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();
|