/frameworks/base/tools/preload/ |
PrintPsTree.java | 34 FileInputStream fin = new FileInputStream(args[0]); local 36 new BufferedInputStream(fin));
|
Root.java | 153 FileInputStream fin = new FileInputStream(fileName); local 155 new BufferedInputStream(fin));
|
/external/libyuv/files/source/ |
cpu_id.cc | 105 FILE* fin = fopen(cpuinfo_name, "r"); local 106 if (fin) { 108 while (fgets(buf, 511, fin)) { 118 fclose(fin);
|
/external/chromium_org/third_party/opus/src/celt/ |
opus_custom_demo.c | 46 FILE *fin, *fout; local 89 fin = fopen(inFile, "rb"); 90 if (!fin) 100 fclose(fin); 108 fclose(fin); 116 fclose(fin); 131 while (!feof(fin)) 134 err = fread(in, sizeof(short), frame_size*channels, fin); 135 if (feof(fin)) 192 fclose(fin); [all...] |
/external/chromium_org/third_party/opus/src/src/ |
repacketizer_demo.c | 61 FILE *fin, *fout; local 94 fin = fopen(argv[argc-2], "r"); 95 if(fin==NULL) 104 fclose(fin); 117 err = fread(ch, 1, 4, fin); 122 if (feof(fin)) 127 fclose(fin); 133 err = fread(ch, 1, 4, fin); 135 err = fread(packets[i], 1, len[i], fin); 136 if (feof(fin)) [all...] |
/external/javassist/sample/evolve/ |
DemoServer.java | 90 FileInputStream fin
local 95 int len = fin.read(buf);
|
/external/javassist/src/main/javassist/ |
ClassPoolTail.java | 285 InputStream fin = openClassfile(classname); local 286 if (fin == null) 290 copyStream(fin, out); 293 fin.close(); 307 InputStream fin = openClassfile(classname); 309 fin.close(); 384 public static byte[] readStream(InputStream fin) throws IOException { 393 len = fin.read(bufs[i], size, bufsize - size); 419 public static void copyStream(InputStream fin, OutputStream fout) 428 len = fin.read(buf, size, bufsize - size) [all...] |
/external/chromium_org/net/quic/ |
reliable_quic_stream.cc | 119 void ReliableQuicStream::WriteOrBufferData(StringPiece data, bool fin) { 120 DCHECK(data.size() > 0 || fin); 124 fin_buffered_ = fin; 128 consumed_data = WritevData(&iov, 1, fin, NULL); 132 // If there's unconsumed data or an unconsumed fin, queue it. 134 (fin && !consumed_data.fin_consumed)) { 142 bool fin = false; local 146 fin = true; 149 QuicConsumedData consumed_data = WritevData(&iov, 1, fin, NULL); 151 fin == consumed_data.fin_consumed) [all...] |
quic_packet_creator_test.cc | 56 bool fin) { 63 EXPECT_EQ(fin, frame.stream_frame->fin); 502 // Ensure that if CreateStreamFrame does not consume any data (e.g. a FIN only 509 bool fin = true; local 511 1u, empty_iovector, 0u, fin, ¬ifier, &frame);
|
/external/chromium_org/net/spdy/ |
buffered_spdy_framer.h | 42 bool fin, 48 bool fin, 53 bool fin, 59 bool fin) = 0; 71 bool fin) = 0; 131 bool fin, 133 virtual void OnSynReply(SpdyStreamId stream_id, bool fin) OVERRIDE; 134 virtual void OnHeaders(SpdyStreamId stream_id, bool fin) OVERRIDE; 143 bool fin) OVERRIDE; 158 bool fin) OVERRIDE 252 bool fin; member in struct:net::BufferedSpdyFramer::ControlFrameFields [all...] |
/external/srec/tools/dictTest/ |
dictTest.c | 64 void doInputTestPhonemes(SR_Vocabulary *vocab, PFile* fin, FILE* fout) 77 while(!pfeof(fin)) 79 pfgets(line, MAX_LINE_LENGTH, fin); 124 PFile* fin = 0; local 297 if ((fin = pfopen(wordfile,"r")) == NULL) 302 while (pfgets(phrase, MAX_LINE_LENGTH, fin)!=NULL) 311 if ((fin = pfopen(testfilename,"r")) == NULL) 317 doInputTestPhonemes(vocab, fin, fout); 345 if(fin) 346 pfclose(fin); [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
FileAccessPermissionTest.java | 160 FileInputStream fin = null; local 168 fin = new FileInputStream(file); 170 assertEquals(i + 1, fin.read()); 172 fin.close(); 173 fin = null; 186 if (fin != null) { 188 fin.close();
|
/external/javassist/src/main/javassist/tools/web/ |
Webserver.java | 274 FileInputStream fin = new FileInputStream(file); local 277 len = fin.read(filebuffer); 284 fin.close(); 292 InputStream fin local 294 if (fin != null) { 298 len = fin.read(filebuffer); 308 fin.close();
|
/packages/apps/Browser/src/com/android/browser/ |
CrashRecoveryHandler.java | 159 FileInputStream fin = null; local 162 fin = new FileInputStream(stateFile); 166 while ((read = fin.read(buffer)) > 0) { 182 if (fin != null) { 184 fin.close();
|
/external/chromium_org/third_party/zlib/contrib/minizip/ |
minizip.c | 176 FILE * fin = fopen64(filenameinzip,"rb"); local 179 if (fin==NULL) 188 size_read = (int)fread(buf,1,size_buf,fin); 190 if (feof(fin)==0) 202 if (fin) 203 fclose(fin); 385 FILE * fin; local 450 fin = fopen64(filenameinzip,"rb"); 451 if (fin==NULL) 462 size_read = (int)fread(buf,1,size_buf,fin); [all...] |
/external/srec/tools/parseStringTest/ |
parseStringTest.c | 50 ESR_ReturnCode process_single_key_line(SR_Grammar* grammar, PFile* fin, PFile* fout); 51 ESR_ReturnCode process_multi_key_line(SR_Grammar* grammar, const LCHAR* rootrule, PFile* fin, PFile* fout); 283 PFile *fin = NULL, *fout = NULL; local 293 fin = PSTDIN; 360 fin = PSTDIN; 362 else if ((fin = pfopen(infilename, "r")) == NULL) 370 if (pfgets(trans, MAX_LINE_LENGTH, fin) == NULL) 372 if (!pfeof(fin)) 391 if ((fin = pfopen(inRTfilename, "r")) == NULL) 403 if (0) rc = process_single_key_line(grammar, fin, fout) [all...] |
/external/zlib/src/contrib/minizip/ |
minizip.c | 189 FILE * fin = FOPEN_FUNC(filenameinzip,"rb"); local 193 if (fin==NULL) 202 size_read = (int)fread(buf,1,size_buf,fin); 204 if (feof(fin)==0) 216 if (fin) 217 fclose(fin); 398 FILE * fin; local 463 fin = FOPEN_FUNC(filenameinzip,"rb"); 464 if (fin==NULL) 475 size_read = (int)fread(buf,1,size_buf,fin); [all...] |
/external/llvm/unittests/IR/ |
PassManagerTest.cpp | 227 static int fin; member in struct:llvm::__anon22453::BPass 232 EXPECT_EQ(fin, N); 236 fin = 0; 253 fin++; 264 int BPass::fin=0; member in class:llvm::__anon22453::BPass
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifTag.java | 483 int[] fin = new int[arr.length]; local 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; 487 return setValue(fin); 491 int[] fin = new int[arr.length]; local 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); 495 return setValue(fin); 499 long[] fin = new long[arr.length]; local 501 fin[i] = (arr[i] == null) ? 0 : arr[i].longValue(); 503 return setValue(fin); 507 byte[] fin = new byte[arr.length] [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifTag.java | 483 int[] fin = new int[arr.length]; local 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; 487 return setValue(fin); 491 int[] fin = new int[arr.length]; local 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); 495 return setValue(fin); 499 long[] fin = new long[arr.length]; local 501 fin[i] = (arr[i] == null) ? 0 : arr[i].longValue(); 503 return setValue(fin); 507 byte[] fin = new byte[arr.length] [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifTag.java | 483 int[] fin = new int[arr.length]; local 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; 487 return setValue(fin); 491 int[] fin = new int[arr.length]; local 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); 495 return setValue(fin); 499 long[] fin = new long[arr.length]; local 501 fin[i] = (arr[i] == null) ? 0 : arr[i].longValue(); 503 return setValue(fin); 507 byte[] fin = new byte[arr.length] [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
ExifTag.java | 483 int[] fin = new int[arr.length]; local 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; 487 return setValue(fin); 491 int[] fin = new int[arr.length]; local 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); 495 return setValue(fin); 499 long[] fin = new long[arr.length]; local 501 fin[i] = (arr[i] == null) ? 0 : arr[i].longValue(); 503 return setValue(fin); 507 byte[] fin = new byte[arr.length] [all...] |
/packages/apps/Mms/src/com/android/mms/exif/ |
ExifTag.java | 483 int[] fin = new int[arr.length]; local 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; 487 return setValue(fin); 491 int[] fin = new int[arr.length]; local 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); 495 return setValue(fin); 499 long[] fin = new long[arr.length]; local 501 fin[i] = (arr[i] == null) ? 0 : arr[i].longValue(); 503 return setValue(fin); 507 byte[] fin = new byte[arr.length] [all...] |
/bionic/libc/kernel/common/linux/ |
tcp.h | 34 fin:1, member in struct:tcphdr 56 fin:1; member in struct:tcphdr
|
/bootable/recovery/ |
recovery.cpp | 491 FILE* fin = fopen(original_path, "rb"); local 492 if (fin == NULL) { 502 while ((read = fread(buffer, 1, BUFSIZ, fin)) > 0) { 516 if (fclose(fin) != 0) { [all...] |