Searched refs:fp (Results 1 - 25 of 25) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dfilestreamtest.cpp34 FILE* fp = 0; local
36 fp = fopen(paths[i], "rb");
37 if (fp) {
42 ASSERT_TRUE(fp != 0);
44 fseek(fp, 0, SEEK_END);
45 length_ = (size_t)ftell(fp);
46 fseek(fp, 0, SEEK_SET);
48 size_t readLength = fread(json_, 1, length_, fp);
50 fclose(fp);
69 FILE *fp local
88 FILE* fp = TempFile(filename); local
[all...]
H A Djsoncheckertest.cpp30 FILE *fp = 0; local
33 fp = fopen(buffer, "rb");
34 if (fp)
38 if (!fp)
41 fseek(fp, 0, SEEK_END);
42 length = (size_t)ftell(fp);
43 fseek(fp, 0, SEEK_SET);
45 size_t readLength = fread(json, 1, length, fp);
47 fclose(fp);
H A Dencodedstreamtest.cpp54 FILE *fp = fopen(buffer, "rb"); local
55 if (fp)
56 return fp;
62 FILE *fp = appendPath ? Open(filename) : fopen(filename, "rb"); local
64 if (!fp) {
69 fseek(fp, 0, SEEK_END);
70 *outLength = (size_t)ftell(fp);
71 fseek(fp, 0, SEEK_SET);
73 size_t readLength = fread(buffer, 1, *outLength, fp);
75 fclose(fp);
84 FILE *fp = Open(filename); local
124 FILE *fp = Open(filename); local
166 FILE* fp = TempFile(filename); local
199 FILE* fp = TempFile(filename); local
[all...]
H A Dprettywritertest.cpp141 FILE* fp = TempFile(filename); local
143 FileWriteStream os(fp, buffer, sizeof(buffer));
148 fclose(fp);
150 fp = fopen(filename, "rb");
151 fseek(fp, 0, SEEK_END);
152 size_t size = (size_t)ftell(fp);
153 fseek(fp, 0, SEEK_SET);
155 size_t readLength = fread(json, 1, size, fp);
157 fclose(fp);
H A Ddocumenttest.cpp109 FILE *fp = fopen(buffer, "rb"); local
110 if (fp)
111 return fp;
118 FILE* fp = OpenEncodedFile("utf8.json"); local
120 FileReadStream bis(fp, buffer, sizeof(buffer));
127 fclose(fp);
144 FILE *fp = OpenEncodedFile("utf8.json"); local
145 FileReadStream is(fp, buffer, sizeof(buffer));
150 fclose(fp);
159 FILE* fp local
183 FILE *fp = OpenEncodedFile("utf8.json"); local
[all...]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
H A Dperftest.h76 FILE *fp = 0; local
78 fp = fopen(filename_ = paths[i], "rb");
79 if (fp)
82 ASSERT_TRUE(fp != 0);
84 fseek(fp, 0, SEEK_END);
85 length_ = (size_t)ftell(fp);
86 fseek(fp, 0, SEEK_SET);
88 ASSERT_EQ(length_, fread(json_, 1, length_, fp));
90 fclose(fp);
H A Dplatformtest.cpp106 FILE *fp = fopen(filename_, "rb"); local
107 ASSERT_EQ(length_, fread(temp_, 1, length_, fp));
109 fclose(fp);
H A Drapidjsontest.cpp339 FILE *fp = fopen(filename_, "rb"); local
341 FileReadStream s(fp, buffer, sizeof(buffer));
344 fclose(fp);
350 FILE *fp = fopen(filename_, "rb"); local
352 FileReadStream s(fp, buffer, sizeof(buffer));
356 fclose(fp);
/packages/apps/Email/tests/src/com/android/email/mail/store/
H A DPop3StoreUnitTests.java534 FetchProfile fp = new FetchProfile();
535 fp.add(FetchProfile.Item.FLAGS);
536 fp.add(FetchProfile.Item.ENVELOPE);
537 mFolder.fetch(messages, fp, null);
582 FetchProfile fp = new FetchProfile();
583 fp.add(FetchProfile.Item.FLAGS);
584 fp.add(FetchProfile.Item.ENVELOPE);
585 mFolder.fetch(messages, fp, null);
629 FetchProfile fp = new FetchProfile();
630 fp
[all...]
H A DImapStoreUnitTests.java771 final FetchProfile fp = new FetchProfile();
772 fp.add(FetchProfile.Item.FLAGS);
773 fp.add(FetchProfile.Item.ENVELOPE);
792 mFolder.fetch(new Message[] { message }, fp, null);
812 final FetchProfile fp = new FetchProfile();
813 fp.add(FetchProfile.Item.STRUCTURE);
820 mFolder.fetch(new Message[] { message }, fp, null);
851 final FetchProfile fp = new FetchProfile();
852 fp.add(FetchProfile.Item.STRUCTURE);
868 mFolder.fetch(new Message[] { message }, fp, nul
[all...]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Dfilereadstream.h33 \param fp File pointer opened for read.
37 FileReadStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferSize_(bufferSize), bufferLast_(0), current_(buffer_), readCount_(0), count_(0), eof_(false) { argument
H A Dfilewritestream.h31 FileWriteStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferEnd_(buffer + bufferSize), current_(buffer_) { argument
/packages/apps/Settings/src/com/android/settings/fingerprint/
H A DFingerprintRemoveSidecar.java66 public void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString) {
68 mListener.onRemovalError(fp, errMsgId, errString);
70 mFingerprintsRemoved.add(new RemovalError(fp, errMsgId, errString));
133 void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString); argument
H A DFingerprintSettings.java106 private static final long LOCKOUT_DURATION = 30000; // time we have to wait for fp to reset, ms
199 public void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString) {
482 final Fingerprint fp = fpref.getFingerprint();
483 showRenameDialog(fp);
492 final Fingerprint fp = p.getFingerprint();
499 DeleteFingerprintDialog.newInstance(fp, this /* target */)
506 args.putParcelable("fingerprint", fp);
515 private void showRenameDialog(final Fingerprint fp) { argument
518 if (mFingerprintsRenaming.containsKey(fp.getFingerId())) {
519 final Fingerprint f = new Fingerprint(mFingerprintsRenaming.get(fp
669 newInstance(Fingerprint fp, FingerprintSettingsFragment target) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_camera.h316 double f,fp,fpi; local
323 fp=f+dx[3];
324 fpi=db_SafeReciprocal(fp);
325 H_p_dx[2]*=fp;
326 H_p_dx[5]*=fp;
H A Ddb_metrics.h38 Compute function value fp and Jacobian J of robustifier given input value f*/
39 inline void db_CauchyDerivative(double J[4],double fp[2],const double f[2],double one_over_scale2) argument
90 fp[0]=r_fu*f[0];
91 fp[1]=r_fu*f[1];
110 fp[0]=0.0;
111 fp[1]=0.0;
/packages/apps/Email/provider_src/com/android/email/service/
H A DImapService.java258 FetchProfile fp = new FetchProfile();
259 fp.add(FetchProfile.Item.STRUCTURE);
260 remoteFolder.fetch(messages.toArray(new Message[messages.size()]), fp, null);
271 fp.clear();
272 fp.add(part);
273 remoteFolder.fetch(oneMessageArray, fp, null);
285 FetchProfile fp = new FetchProfile();
286 fp.add(FetchProfile.Item.FLAGS);
287 fp.add(FetchProfile.Item.ENVELOPE);
296 remoteFolder.fetch(unsyncedMessages.toArray(new Message[unsyncedMessages.size()]), fp,
[all...]
H A DEmailServiceStub.java217 final FetchProfile fp = new FetchProfile();
218 fp.add(storePart);
219 remoteFolder.fetch(new Message[] { storeMessage }, fp,
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
H A DImapFolder.java233 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) argument
236 fetchInternal(messages, fp, listener);
243 public void fetchInternal(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) argument
268 if (fp.contains(FetchProfile.Item.FLAGS)) {
271 if (fp.contains(FetchProfile.Item.ENVELOPE)) {
276 if (fp.contains(FetchProfile.Item.STRUCTURE)) {
280 if (fp.contains(FetchProfile.Item.BODY_SANE)) {
283 if (fp.contains(FetchProfile.Item.BODY)) {
288 final Part fetchPart = fp.getFirstPart();
322 if (fp
[all...]
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
H A DMockFolder.java64 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) { argument
/packages/apps/Email/provider_src/com/android/email/mail/store/
H A DImapFolder.java608 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) argument
611 fetchInternal(messages, fp, listener);
621 public void fetchInternal(Message[] messages, FetchProfile fp, argument
646 if (fp.contains(FetchProfile.Item.FLAGS)) {
649 if (fp.contains(FetchProfile.Item.ENVELOPE)) {
654 if (fp.contains(FetchProfile.Item.STRUCTURE)) {
658 if (fp.contains(FetchProfile.Item.BODY_SANE)) {
661 if (fp.contains(FetchProfile.Item.BODY)) {
666 final Part fetchPart = fp.getFirstPart();
700 if (fp
[all...]
H A DPop3Store.java537 * @param fp
541 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) argument
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DFolder.java163 public abstract void fetch(Message[] messages, FetchProfile fp, argument
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
H A Ddiyfp.h41 DiyFp(uint64_t fp, int exp) : f(fp), e(exp) {} argument
/packages/apps/Settings/src/com/android/settings/password/
H A DChooseLockGeneric.java696 public void onRemovalError(Fingerprint fp, int errMsgId,
700 fp.getFingerId(), fp.getGroupId(), errString));
706 public void onRemovalSucceeded(Fingerprint fp, int remaining) {

Completed in 4641 milliseconds