/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/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/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/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintSettings.java | 177 public void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString) { 475 final Fingerprint fp = fpref.getFingerprint(); in onPreferenceTreeClick() local 476 showRenameDialog(fp); in onPreferenceTreeClick() 485 final Fingerprint fp = p.getFingerprint(); in onDeleteClick() local 492 DeleteFingerprintDialog.newInstance(fp, this /* target */) in onDeleteClick() 499 args.putParcelable("fingerprint", fp); in onDeleteClick() 508 private void showRenameDialog(final Fingerprint fp) { in showRenameDialog() argument 511 if (mFingerprintsRenaming.containsKey(fp.getBiometricId())) { in showRenameDialog() 512 … final Fingerprint f = new Fingerprint(mFingerprintsRenaming.get(fp.getBiometricId()), in showRenameDialog() 513 fp.getGroupId(), fp.getBiometricId(), fp.getDeviceId()); in showRenameDialog() [all …]
|
D | FingerprintRemoveSidecar.java | 67 public void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString) { 69 mListener.onRemovalError(fp, errMsgId, errString); 71 mFingerprintsRemoved.add(new RemovalError(fp, errMsgId, errString)); 120 void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString); in onRemovalError() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/ |
D | FingerprintSettings.java | 177 public void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString) { 472 final Fingerprint fp = fpref.getFingerprint(); in onPreferenceTreeClick() local 473 showRenameDialog(fp); in onPreferenceTreeClick() 482 final Fingerprint fp = p.getFingerprint(); in onDeleteClick() local 489 DeleteFingerprintDialog.newInstance(fp, this /* target */) in onDeleteClick() 496 args.putParcelable("fingerprint", fp); in onDeleteClick() 505 private void showRenameDialog(final Fingerprint fp) { in showRenameDialog() argument 508 if (mFingerprintsRenaming.containsKey(fp.getBiometricId())) { in showRenameDialog() 509 … final Fingerprint f = new Fingerprint(mFingerprintsRenaming.get(fp.getBiometricId()), in showRenameDialog() 510 fp.getGroupId(), fp.getBiometricId(), fp.getDeviceId()); in showRenameDialog() [all …]
|
D | FingerprintRemoveSidecar.java | 67 public void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString) { 69 mListener.onRemovalError(fp, errMsgId, errString); 71 mFingerprintsRemoved.add(new RemovalError(fp, errMsgId, errString)); 120 void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString); in onRemovalError() argument
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapFolder.java | 233 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) in fetch() argument 236 fetchInternal(messages, fp, listener); in fetch() 243 public void fetchInternal(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) in fetchInternal() argument 268 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() 271 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal() 276 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal() 280 if (fp.contains(FetchProfile.Item.BODY_TRUNCATED)) { in fetchInternal() 283 if (fp.contains(FetchProfile.Item.BODY)) { in fetchInternal() 288 final Part fetchPart = fp.getFirstPart(); in fetchInternal() 322 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/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 989 final ByteBuffer fp = ByteBuffer.allocate(4); in generatePortFingerprint() local 990 fp.order(ByteOrder.BIG_ENDIAN); in generatePortFingerprint() 991 fp.putShort((short) srcPort); in generatePortFingerprint() 992 fp.putShort((short) dstPort); in generatePortFingerprint() 993 return fp.array(); in generatePortFingerprint() 1073 final ByteBuffer fp = ByteBuffer.allocate(12); in generatePortSeqAckFingerprint() local 1074 fp.order(ByteOrder.BIG_ENDIAN); in generatePortSeqAckFingerprint() 1075 fp.putShort((short) srcPort); in generatePortSeqAckFingerprint() 1076 fp.putShort((short) dstPort); in generatePortSeqAckFingerprint() 1077 fp.putInt(seq); in generatePortSeqAckFingerprint() [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/Dialer/java/com/android/dialer/common/backoff/ |
D | ExponentialBaseCalculator.java | 97 double fpb0 = fp(b0, t, n, fb0, b0n); in getBaseImpl() 123 private static double fp(double b, long t, int n, double fb, double bn) { in fp() method in ExponentialBaseCalculator
|
/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/modules/NetworkStack/tests/unit/jni/ |
D | apf_jni.cpp | 76 explicit ScopedFILE(FILE* fp) : file(fp) {} in ScopedFILE() argument
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockGeneric.java | 822 public void onRemovalError(Fingerprint fp, int errMsgId, in removeAllFingerprintForUserAndFinish() 826 fp.getBiometricId(), fp.getGroupId(), errString)); in removeAllFingerprintForUserAndFinish() 832 public void onRemovalSucceeded(Fingerprint fp, int remaining) { in removeAllFingerprintForUserAndFinish()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockGeneric.java | 811 public void onRemovalError(Fingerprint fp, int errMsgId, in removeAllFingerprintForUserAndFinish() 815 fp.getBiometricId(), fp.getGroupId(), errString)); in removeAllFingerprintForUserAndFinish() 821 public void onRemovalSucceeded(Fingerprint fp, int remaining) { in removeAllFingerprintForUserAndFinish()
|