/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | filestreamtest.cpp | 34 FILE* fp = 0; in SetUp() local 36 fp = fopen(paths[i], "rb"); in SetUp() 37 if (fp) { in SetUp() 42 ASSERT_TRUE(fp != 0); in SetUp() 44 fseek(fp, 0, SEEK_END); in SetUp() 45 length_ = (size_t)ftell(fp); in SetUp() 46 fseek(fp, 0, SEEK_SET); in SetUp() 48 size_t readLength = fread(json_, 1, length_, fp); in SetUp() 50 fclose(fp); in SetUp() 69 FILE *fp = fopen(filename_, "rb"); in TEST_F() local [all …]
|
D | encodedstreamtest.cpp | 54 FILE *fp = fopen(buffer, "rb"); in Open() local 55 if (fp) in Open() 56 return fp; in Open() 62 FILE *fp = appendPath ? Open(filename) : fopen(filename, "rb"); in ReadFile() local 64 if (!fp) { in ReadFile() 69 fseek(fp, 0, SEEK_END); in ReadFile() 70 *outLength = (size_t)ftell(fp); in ReadFile() 71 fseek(fp, 0, SEEK_SET); in ReadFile() 73 size_t readLength = fread(buffer, 1, *outLength, fp); in ReadFile() 75 fclose(fp); in ReadFile() [all …]
|
D | jsoncheckertest.cpp | 30 FILE *fp = 0; in ReadFile() local 33 fp = fopen(buffer, "rb"); in ReadFile() 34 if (fp) in ReadFile() 38 if (!fp) in ReadFile() 41 fseek(fp, 0, SEEK_END); in ReadFile() 42 length = (size_t)ftell(fp); in ReadFile() 43 fseek(fp, 0, SEEK_SET); in ReadFile() 45 size_t readLength = fread(json, 1, length, fp); in ReadFile() 47 fclose(fp); in ReadFile()
|
D | prettywritertest.cpp | 141 FILE* fp = TempFile(filename); in TEST() local 143 FileWriteStream os(fp, buffer, sizeof(buffer)); in TEST() 148 fclose(fp); in TEST() 150 fp = fopen(filename, "rb"); in TEST() 151 fseek(fp, 0, SEEK_END); in TEST() 152 size_t size = (size_t)ftell(fp); in TEST() 153 fseek(fp, 0, SEEK_SET); in TEST() 155 size_t readLength = fread(json, 1, size, fp); in TEST() 157 fclose(fp); in TEST()
|
D | documenttest.cpp | 109 FILE *fp = fopen(buffer, "rb"); in OpenEncodedFile() local 110 if (fp) in OpenEncodedFile() 111 return fp; in OpenEncodedFile() 118 FILE* fp = OpenEncodedFile("utf8.json"); in TEST() local 120 FileReadStream bis(fp, buffer, sizeof(buffer)); in TEST() 127 fclose(fp); in TEST() 144 FILE *fp = OpenEncodedFile("utf8.json"); in TEST() local 145 FileReadStream is(fp, buffer, sizeof(buffer)); in TEST() 150 fclose(fp); in TEST() 159 FILE* fp = OpenEncodedFile("utf32be.json"); in TEST() local [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | Pop3StoreUnitTests.java | 534 FetchProfile fp = new FetchProfile(); in testCatchClosed2() local 535 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed2() 536 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed2() 537 mFolder.fetch(messages, fp, null); in testCatchClosed2() 582 FetchProfile fp = new FetchProfile(); in testCatchClosed2a() local 583 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed2a() 584 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed2a() 585 mFolder.fetch(messages, fp, null); in testCatchClosed2a() 629 FetchProfile fp = new FetchProfile(); in testCatchClosed3() local 630 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed3() [all …]
|
D | ImapStoreUnitTests.java | 771 final FetchProfile fp = new FetchProfile(); in testFetchFlagEnvelope() local 772 fp.add(FetchProfile.Item.FLAGS); in testFetchFlagEnvelope() 773 fp.add(FetchProfile.Item.ENVELOPE); in testFetchFlagEnvelope() 792 mFolder.fetch(new Message[] { message }, fp, null); in testFetchFlagEnvelope() 812 final FetchProfile fp = new FetchProfile(); in testFetchBodyStructureSimple() local 813 fp.add(FetchProfile.Item.STRUCTURE); in testFetchBodyStructureSimple() 820 mFolder.fetch(new Message[] { message }, fp, null); in testFetchBodyStructureSimple() 851 final FetchProfile fp = new FetchProfile(); in testFetchBodyStructureMultipart() local 852 fp.add(FetchProfile.Item.STRUCTURE); in testFetchBodyStructureMultipart() 868 mFolder.fetch(new Message[] { message }, fp, null); in testFetchBodyStructureMultipart() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | perftest.h | 76 FILE *fp = 0; in SetUp() local 78 fp = fopen(filename_ = paths[i], "rb"); in SetUp() 79 if (fp) in SetUp() 82 ASSERT_TRUE(fp != 0); in SetUp() 84 fseek(fp, 0, SEEK_END); in SetUp() 85 length_ = (size_t)ftell(fp); in SetUp() 86 fseek(fp, 0, SEEK_SET); in SetUp() 88 ASSERT_EQ(length_, fread(json_, 1, length_, fp)); in SetUp() 90 fclose(fp); in SetUp()
|
D | rapidjsontest.cpp | 339 FILE *fp = fopen(filename_, "rb"); in TEST_F() local 341 FileReadStream s(fp, buffer, sizeof(buffer)); in TEST_F() 344 fclose(fp); in TEST_F() 350 FILE *fp = fopen(filename_, "rb"); in TEST_F() local 352 FileReadStream s(fp, buffer, sizeof(buffer)); in TEST_F() 356 fclose(fp); in TEST_F()
|
D | platformtest.cpp | 106 FILE *fp = fopen(filename_, "rb"); in TEST_F() local 107 ASSERT_EQ(length_, fread(temp_, 1, length_, fp)); in TEST_F() 109 fclose(fp); in TEST_F()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | ImapService.java | 258 FetchProfile fp = new FetchProfile(); in loadUnsyncedMessages() local 259 fp.add(FetchProfile.Item.STRUCTURE); in loadUnsyncedMessages() 260 remoteFolder.fetch(messages.toArray(new Message[messages.size()]), fp, null); in loadUnsyncedMessages() local 271 fp.clear(); in loadUnsyncedMessages() 272 fp.add(part); in loadUnsyncedMessages() 273 remoteFolder.fetch(oneMessageArray, fp, null); in loadUnsyncedMessages() 285 FetchProfile fp = new FetchProfile(); in downloadFlagAndEnvelope() local 286 fp.add(FetchProfile.Item.FLAGS); in downloadFlagAndEnvelope() 287 fp.add(FetchProfile.Item.ENVELOPE); in downloadFlagAndEnvelope() 296 remoteFolder.fetch(unsyncedMessages.toArray(new Message[unsyncedMessages.size()]), fp, in downloadFlagAndEnvelope() local [all …]
|
D | EmailServiceStub.java | 217 final FetchProfile fp = new FetchProfile(); in loadAttachment() local 218 fp.add(storePart); in loadAttachment() 219 remoteFolder.fetch(new Message[] { storeMessage }, fp, in loadAttachment()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | stream.md | 80 FILE* fp = fopen("big.json", "rb"); // non-Windows use "r" 83 FileReadStream is(fp, readBuffer, sizeof(readBuffer)); 88 fclose(fp); 109 FILE* fp = fopen("output.json", "wb"); // non-Windows use "w" 112 FileWriteStream os(fp, writeBuffer, sizeof(writeBuffer)); 117 fclose(fp); 146 FILE* fp = fopen("utf16le.json", "rb"); // non-Windows use "r" 149 FileReadStream bis(fp, readBuffer, sizeof(readBuffer)); 156 fclose(fp); 171 FILE* fp = fopen("output_utf32le.json", "wb"); // non-Windows use "w" [all …]
|
D | dom.md | 44 FILE* fp = fopen("localization.json", "rb"); // non-Windows use "r" 47 FileReadStream bis(fp, readBuffer, sizeof(readBuffer)); 192 FILE* fp = fopen("test.json", "r"); 193 fseek(fp, 0, SEEK_END); 194 size_t filesize = (size_t)ftell(fp); 195 fseek(fp, 0, SEEK_SET); 197 size_t readLength = fread(buffer, 1, filesize, fp); 199 fclose(fp);
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/ |
D | ImapFolder.java | 258 public void fetch(Message[] messages, FetchProfile fp, in fetch() argument 261 fetchInternal(messages, fp, listener); in fetch() 268 public void fetchInternal(Message[] messages, FetchProfile fp, in fetchInternal() argument 293 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() 296 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal() 301 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal() 305 if (fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal() 308 if (fp.contains(FetchProfile.Item.BODY)) { in fetchInternal() 313 final Part fetchPart = fp.getFirstPart(); in fetchInternal() 347 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_camera.h | 316 double f,fp,fpi; in db_UpdateRotFocalHomography() local 323 fp=f+dx[3]; in db_UpdateRotFocalHomography() 324 fpi=db_SafeReciprocal(fp); in db_UpdateRotFocalHomography() 325 H_p_dx[2]*=fp; in db_UpdateRotFocalHomography() 326 H_p_dx[5]*=fp; in db_UpdateRotFocalHomography()
|
D | db_metrics.h | 39 inline void db_CauchyDerivative(double J[4],double fp[2],const double f[2],double one_over_scale2) in db_CauchyDerivative() 90 fp[0]=r_fu*f[0]; in db_CauchyDerivative() 91 fp[1]=r_fu*f[1]; in db_CauchyDerivative() 110 fp[0]=0.0; in db_CauchyDerivative() 111 fp[1]=0.0; in db_CauchyDerivative()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapFolder.java | 608 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) in fetch() argument 611 fetchInternal(messages, fp, listener); in fetch() 621 public void fetchInternal(Message[] messages, FetchProfile fp, in fetchInternal() argument 646 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() 649 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal() 654 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal() 658 if (fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal() 661 if (fp.contains(FetchProfile.Item.BODY)) { in fetchInternal() 666 final Part fetchPart = fp.getFirstPart(); in fetchInternal() 700 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | filereadstream.h | 37 …FileReadStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferS… in FileReadStream() argument
|
D | filewritestream.h | 31 …FileWriteStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), buffer… in FileWriteStream() argument
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
D | FingerprintSettings.java | 199 public void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString) { 426 final Fingerprint fp =fpref.getFingerprint(); in onPreferenceTreeClick() local 427 showRenameDeleteDialog(fp); in onPreferenceTreeClick() 433 private void showRenameDeleteDialog(final Fingerprint fp) { in showRenameDeleteDialog() argument 436 args.putParcelable("fingerprint", fp); in showRenameDeleteDialog()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | diyfp.h | 41 DiyFp(uint64_t fp, int exp) : f(fp), e(exp) {} in DiyFp()
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
D | MockFolder.java | 64 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) { in fetch() argument
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
D | Folder.java | 163 public abstract void fetch(Message[] messages, FetchProfile fp, in fetch() argument
|
/packages/apps/Settings/src/com/android/settings/ |
D | ChooseLockGeneric.java | 667 public void onRemovalError(Fingerprint fp, int errMsgId, in removeAllFingerprintForUserAndFinish() 669 Log.v(TAG, "Fingerprint removed: " + fp.getFingerId()); in removeAllFingerprintForUserAndFinish() 670 if (fp.getFingerId() == 0) { in removeAllFingerprintForUserAndFinish()
|