/dalvik/dx/src/com/android/dx/dex/code/ |
DalvInsnList.java | 122 * @param out {@code non-null;} where to write to 124 public void writeTo(AnnotatedOutput out) { 125 int startCursor = out.getCursor(); 128 if (out.annotates()) { 129 boolean verbose = out.isVerbose(); 137 s = insn.listingString(" ", out.getAnnotationWidth(), 144 out.annotate(codeBytes, s); 146 out.annotate(codeBytes, ""); 154 insn.writeTo(out); 162 int written = (out.getCursor() - startCursor) / 2 [all...] |
/dalvik/dx/src/com/android/dx/io/ |
DexIndexPrinter.java | 43 System.out.println("section " + Integer.toHexString(section.type) 54 System.out.println("string " + index + ": " + string); 62 System.out.println("type " + index + ": " + dex.strings().get(type)); 70 System.out.println("proto " + index + ": " + protoId); 78 System.out.println("field " + index + ": " + fieldId); 86 System.out.println("methodId " + index + ": " + methodId); 93 System.out.println("No type lists"); 99 System.out.print("Type list i=" + i + ", size=" + size + ", elements="); 101 System.out.print(" " + dex.typeNames().get((int) in.readShort())); 106 System.out.println() [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstString.java | 86 char out; local 96 out = (char) v0; 118 out = (char) value; 145 out = (char) value; 154 chars[outAt] = out;
|
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
DexMergeTest.java | 186 private void copy(InputStream in, OutputStream out) throws IOException { 190 out.write(buffer, 0, count);
|
/developers/build/prebuilts/gradle/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/ |
AddFileActivity.java | 226 FileOutputStream out = null; local 232 out = openFileOutput(file.getName(), Context.MODE_PRIVATE); 239 out = new FileOutputStream(file); 243 out = new FileOutputStream(file); 247 if (file == null || out == null) { 255 bufOut = new BufferedOutputStream(out);
|
/developers/samples/android/content/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/ |
AddFileActivity.java | 226 FileOutputStream out = null; local 232 out = openFileOutput(file.getName(), Context.MODE_PRIVATE); 239 out = new FileOutputStream(file); 243 out = new FileOutputStream(file); 247 if (file == null || out == null) { 255 bufOut = new BufferedOutputStream(out);
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
ImageUtils.cpp | 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) 31 ImageType yimg = out; 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) 76 ImageType yimg = out; 121 ImageType out = ImageUtils::allocateImage(width, height, 1); local 122 ImageType outCopy = out; 143 return out; 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) 149 ImageType gray = out; 151 ImageType outCopy = out; [all...] |
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnService.java | 162 FileOutputStream out = new FileOutputStream(mInterface.getFileDescriptor()); local 200 out.write(packet.array(), 0, length); 238 throw new IllegalStateException("Timed out"); 286 throw new IllegalStateException("Timed out");
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailProviderHelpers.java | 322 private void copyStreamData(InputStream in, OutputStream out) throws IOException { 326 out.write(data, 0, numBytes);
|
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/ |
AddFileActivity.java | 226 FileOutputStream out = null; local 232 out = openFileOutput(file.getName(), Context.MODE_PRIVATE); 239 out = new FileOutputStream(file); 243 out = new FileOutputStream(file); 247 if (file == null || out == null) { 255 bufOut = new BufferedOutputStream(out);
|
/development/tools/idegen/src/com/android/idegen/ |
IntellijProject.java | 127 File out = new File(ideaDir, "modules.xml"); local 128 logger.info("Creating " + out.getCanonicalPath()); 129 Files.write(modulesContent, out, CHARSET); 160 File out = new File(ideaDir, ".name"); local 161 Files.write(name, out, CHARSET);
|
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 136 unsigned char *out = ctx->buffer; local 165 out += offset; 167 if (alpha) out[i++] = 0xff; 168 out[i++] = r; 169 out[i++] = g; 170 out[i] = b; 199 void *in, *out; local 250 out = mmap(0, outsize, PROT_WRITE, MAP_SHARED, ofd, 0); 251 FAILIF(out == MAP_FAILED, "could not mmap output file: %s (%d)\n", 262 out + header_size, outsize - header_size [all...] |
/device/asus/fugu/libaudio/ |
AudioHardwareOutput.cpp | 116 AudioStreamOut* out; local 121 out = new AudioStreamOut(*this, false, isIec958NonAudio); 124 out = new AudioStreamOut(*this, true, isIec958NonAudio); 127 if (out == NULL) { 132 *status = out->set(format, channels, sampleRate); 135 *pp_out = out; 138 delete out; 144 void AudioHardwareOutput::closeOutputStream(AudioStreamOut* out) { 145 if (out == NULL) 150 out->standby() 310 sp<AudioOutput> out; local [all...] |
/device/google/contexthub/util/nanoapp_encr/ |
nanoapp_encr.c | 56 static int handleEncrypt(uint8_t **pbuf, uint32_t bufUsed, FILE *out, uint64_t keyId, uint32_t *key) 120 fwrite(image, sizeof(*image), 1, out); 125 fwrite(&encr, sizeof(encr), 1, out); 137 fwrite(outBuf, AES_BLOCK_SIZE, 1, out); 146 fwrite(outBuf, AES_BLOCK_SIZE, 1, out); 148 err = fwrite(outBuf, AES_BLOCK_SIZE, 1, out) != 1; 153 static int handleDecrypt(uint8_t **pbuf, uint32_t bufUsed, FILE *out, uint32_t *key) 199 fwrite(image, sizeof(*image), 1, out); 211 err = fwrite(outBuf, size, 1, out) != 1; 263 FILE *out = NULL local [all...] |
/device/google/contexthub/util/nanoapp_sign/ |
nanoapp_sign.c | 32 uint32_t out = 0; local 34 out = (out << 8) | (x & 0xFF); 35 return out; 191 static int handleConvertKey(uint8_t **pbuf, uint32_t bufUsed, FILE *out, struct RsaData *rsa) 220 ret = fwrite(rsa->num, 1, RSA_BYTES, out) == RSA_BYTES ? 0 : 2; 316 static int handleSign(uint8_t **pbuf, uint32_t bufUsed, FILE *out, struct RsaData *rsa, bool verbose, bool bareData) 393 fwrite(buf, 1, bufUsed, out); 394 fwrite(rsaResult, 1, sizeof(uint32_t[RSA_LIMBS]), out); 395 ret = (fwrite(rsa->modulus, 1, RSA_BYTES, out) == RSA_BYTES) ? 0 : 2 430 FILE *out = NULL; local [all...] |
/device/google/dragon/crash_collector/ |
coredump_writer.cc | 158 // Filter out segments backed by mapped files as they are useless when 341 Phdr& out = (*program_headers_filtered)[i]; local 342 out = program_headers[i]; 347 const FileRange range(out.p_vaddr, out.p_vaddr + out.p_memsz); 348 if (out.p_type == PT_LOAD && file_mappings.count(range)) { 349 out.p_filesz = 0; 353 out.p_offset = prev_program_header.p_offset + prev_program_header.p_filesz; 355 if (out.p_align != 0 && out.p_offset % out.p_align != 0) [all...] |
/external/android-clat/ |
translate.c | 220 * out - output packet 227 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, 229 struct icmp6_hdr *icmp6_targ = out[pos].iov_base; 239 out[pos].iov_len = sizeof(struct icmp6_hdr); 246 clat_packet_len = ipv4_packet(out, pos + 1, payload, payload_size); 259 out[CLAT_POS_PAYLOAD].iov_base = (uint8_t *) payload; 260 out[CLAT_POS_PAYLOAD].iov_len = payload_size; 268 icmp6_targ->icmp6_cksum = packet_checksum(checksum, out, pos); 275 * out - output packet 281 int icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6 508 clat_packet out = { local [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
Configurator.java | 230 Object[] out = new Object[params.length]; local 234 out[i] = param.getMethod("valueOf", String.class).invoke(null, vals[i].toUpperCase()); 236 out[i] = parseFloatAttr(ctx, vals[i]); 238 out[i] = parseIntAttr(ctx, vals[i]); 240 out[i] = Boolean.valueOf(vals[i]); 242 out[i] = parseStringAttr(ctx, vals[i]); 249 return out; 338 String out = ""; local 340 out += (obj == null ? (out += "[null] ") [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3debughandlers.c | 33 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 790 unsigned char * out; local 798 out = buffer + sprintf((char *)buffer, "semanticPredicate\t%s\t", result == ANTLR3_TRUE ? "true" : "false"); 806 *out++ = '%'; 807 *out++ = '0'; 808 *out++ = 'A'; 813 *out++ = '%'; 814 *out++ = '0'; 815 *out++ = 'D'; 820 *out++ = '%' [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
Array2DRowFieldMatrix.java | 413 final T[] out = buildArray(getField(), nRows); local 420 out[row] = sum; 422 return out; 437 final T[] out = buildArray(getField(), nCols); local 443 out[col] = sum; 446 return out; 591 final T[][] out = buildArray(getField(), nRows, getColumnDimension()); local 594 System.arraycopy(data[i], 0, out[i], 0, data[i].length); 596 return out;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
ValueServer.java | 153 double[] out = new double[length]; local 155 out[i] = getNext(); 157 return out;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ranking/ |
NaturalRanking.java | 222 double[] out = new double[ranks.length]; local 224 out[ranks[0].getPosition()] = pos; 232 resolveTie(out, tiesTrace); 240 out[ranks[i].getPosition()] = pos; 243 resolveTie(out, tiesTrace); 246 restoreNaNs(out, nanPositions); 248 return out; 318 * The same array and trace with tiesStrategy AVERAGE will come out 404 ArrayList<Integer> out = new ArrayList<Integer>(); local 407 out.add(Integer.valueOf(i)) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestOutputStreamTest.java | 87 MyOutputStream out = new MyOutputStream(); local 89 MyDigestOutputStream dos = new MyDigestOutputStream(out, md); 90 assertSame(out, dos.myOutputStream()); 105 OutputStream out = new MyOutputStream(); local 108 DigestOutputStream dos = new DigestOutputStream(out, digest); 112 dos = new DigestOutputStream(out, null); 123 OutputStream out = new MyOutputStream(); local 125 DigestOutputStream dos = new DigestOutputStream(out, null); 592 public MyDigestOutputStream(OutputStream out, MessageDigest digest) { 593 super(out, digest) [all...] |
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 659 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 660 putObjectToStream(initial, out); 661 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ServerHandshakeImplTest.java | 72 HandshakeIODataStream out = new HandshakeIODataStream(); local 73 out.writeUint8(message.getType()); 74 out.writeUint24(message.length()); 75 message.send(out); 76 byte[] encodedClientHello = out.getData(1000);
|