Home
last modified time | relevance | path

Searched full:wrote (Results 1 – 25 of 3189) sorted by relevance

12345678910>>...128

/aosp_15_r20/external/rust/android-crates-io/crates/csv/src/
Dserializer.rs444 /// The serializer encountered one or more struct fields (and wrote their
847 let wrote = { in serialize_header() localVariable
852 (wrote, String::from_utf8(wtr.into_inner().unwrap()).unwrap()) in serialize_header()
869 let (wrote, got) = serialize_header(true); in bool()
870 assert!(!wrote); in bool()
878 let (wrote, got) = serialize_header(12345); in integer()
879 assert!(!wrote); in integer()
888 let (wrote, got) = serialize_header(12345);
889 assert!(!wrote);
897 let (wrote, got) = serialize_header(12345);
[all …]
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DPrintWriterTest.java258 assertTrue("Wrote incorrect char[] string: " + s, s in test_print$C()
277 assertEquals("Wrote incorrect char string", "c", new String(bao.toByteArray()) in test_printC()
289 assertTrue("Wrote incorrect double string", new String(bao in test_printD()
301 assertTrue("Wrote incorrect float string", in test_printF()
312 assertEquals("Wrote incorrect int string", "4908765", new String(bao.toByteArray()) in test_printI()
323 assertEquals("Wrote incorrect long string", "49087650000", new String(bao.toByteArray()) in test_printJ()
340 assertEquals("Wrote in incorrect Object string", "Bogus", new String(bao in test_printLjava_lang_Object()
357 assertEquals("Wrote incorrect string", "Hello World", new String(bao.toByteArray()) in test_printLjava_lang_String()
368 assertEquals("Wrote in incorrect boolean string", "true", new String(bao in test_printZ()
385 assertTrue("Wrote incorrect line: " + s, s.equals("Blarg")); in test_println()
[all …]
H A DSerializationStressTest.java421 assertTrue("Wrote incorrect byte value", ois.readBoolean()); in test_9_writeBoolean()
433 assertEquals("Wrote incorrect byte value", 127, ois.readByte()); in test_10_writeByte()
449 … assertEquals("Wrote incorrect bytes value", "HelloWorld", new String(buf, 0, 10, "UTF-8") in test_11_writeBytes()
462 assertEquals("Wrote incorrect char value", 'T', ois.readChar()); in test_12_writeChar()
482 assertEquals("Wrote incorrect chars", "HelloWorld", new String(buf, 0, 10) in test_13_writeChars()
495 assertTrue("Wrote incorrect double value", in test_14_writeDouble()
508 assertTrue("Wrote incorrect double value", in test_15_writeFloat()
523 assertTrue("Wrote incorrect double value", in test_16_writeInt()
537 assertTrue("Wrote incorrect double value", in test_17_writeLong()
550 assertEquals("Wrote incorrect short value", 127, ois.readShort()); in test_19_writeShort()
[all …]
H A DObjectOutputStreamTest.java777 assertTrue("Wrote incorrect byte value", ois.readBoolean()); in test_writeBooleanZ()
788 assertEquals("Wrote incorrect byte value", 127, ois.readByte()); in test_writeByteI()
803 assertEquals("Wrote incorrect bytes value", "HelloWorld", new String( in test_writeBytesLjava_lang_String()
815 assertEquals("Wrote incorrect char value", 'T', ois.readChar()); in test_writeCharI()
834 assertEquals("Wrote incorrect chars", "HelloWorld", new String(buf, 0, in test_writeCharsLjava_lang_String()
846 assertTrue("Wrote incorrect double value", in test_writeDoubleD()
866 assertTrue("Wrote incorrect double value", in test_writeFloatF()
880 assertTrue("Wrote incorrect double value", in test_writeIntI()
893 assertTrue("Wrote incorrect double value", in test_writeLongJ()
951 assertEquals("Wrote incorrect short value", 127, ois.readShort()); in test_writeShortI()
[all …]
/aosp_15_r20/external/tinycompress/
H A Dcplay.c208 int size, num_read, wrote; in play_samples() local
272 wrote = compress_write(compress, buffer, num_read); in play_samples()
273 if (wrote < 0) { in play_samples()
274 fprintf(stderr, "Error %d playing sample\n", wrote); in play_samples()
278 if (wrote != num_read) { in play_samples()
280 fprintf(stderr, "We wrote %d, DSP accepted %d\n", num_read, wrote); in play_samples()
295 wrote = compress_write(compress, buffer, num_read); in play_samples()
296 if (wrote < 0) { in play_samples()
301 if (wrote != num_read) { in play_samples()
303 fprintf(stderr, "We wrote %d, DSP accepted %d\n", num_read, wrote); in play_samples()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentWorker.java196 LogUtil.d("Wrote consent data to AppSearch: " + dao); in setConsent()
275 LogUtil.d("Wrote app consent data to AppSearch (add): " + dao); in addAppWithConsent()
314 LogUtil.d("Wrote app consent data to AppSearch (remove): " + dao); in removeAppWithConsent()
357 LogUtil.d("Wrote notification data to AppSearch: " + dao); in recordNotificationDisplayed()
375 LogUtil.d("Wrote notification data to AppSearch: " + dao); in recordGaUxNotificationDisplayed()
408 LogUtil.d("Wrote feature type data to AppSearch: " + dao); in setCurrentPrivacySandboxFeature()
444 LogUtil.d("Wrote interactions data to AppSearch: " + dao); in recordUserManualInteractionWithConsent()
486 LogUtil.d("Wrote topics consent data to AppSearch (block): " + dao); in recordBlockedTopic()
509 LogUtil.d("Wrote topics consent data to AppSearch (unblock): " + dao); in recordUnblockedTopic()
530 LogUtil.d("Wrote topics consent data to AppSearch (clear): " + dao); in clearBlockedTopics()
[all …]
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/http2/core/
H A Dhttp2_trace_logging.cc374 << "Wrote SpdyRstStreamIR:" << FORMAT_ARG(connection_id_) in VisitRstStream()
381 << "Wrote SpdySettingsIR:" << FORMAT_ARG(connection_id_) in VisitSettings()
388 << "Wrote SpdyPingIR:" << FORMAT_ARG(connection_id_) in VisitPing()
394 << "Wrote SpdyGoAwayIR:" << FORMAT_ARG(connection_id_) in VisitGoAway()
402 << "Wrote SpdyHeadersIR:" << FORMAT_ARG(connection_id_) in VisitHeaders()
414 << "Wrote SpdyWindowUpdateIR:" << FORMAT_ARG(connection_id_) in VisitWindowUpdate()
421 << "Wrote SpdyPushPromiseIR:" << FORMAT_ARG(connection_id_) in VisitPushPromise()
432 << "Wrote SpdyContinuationIR:" << FORMAT_ARG(connection_id_) in VisitContinuation()
439 << "Wrote SpdyAltSvcIR:" << FORMAT_ARG(connection_id_) in VisitAltSvc()
447 << "Wrote SpdyPriorityIR:" << FORMAT_ARG(connection_id_) in VisitPriority()
[all …]
/aosp_15_r20/external/openscreen/tools/cddl/
H A Dmain.cc190 Logger::Log("Successfully wrote header prologue!"); in main()
197 Logger::Log("Successfully wrote type definitions!"); in main()
204 Logger::Log("Successfully wrote function declarations!"); in main()
211 Logger::Log("Successfully wrote header epilogue!"); in main()
218 Logger::Log("Successfully wrote source prologue!"); in main()
225 Logger::Log("Successfully wrote encoders!"); in main()
232 Logger::Log("Successfully wrote decoders!"); in main()
239 Logger::Log("Successfully wrote equality operators!"); in main()
246 Logger::Log("Successfully wrote source epilogue!"); in main()
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/poll/
Dwritev.go64 var wrote uintptr
65 wrote, err = writev(fd.Sysfd, iovecs)
66 if wrote == ^uintptr(0) {
67 wrote = 0
69 TestHookDidWritev(int(wrote))
70 n += int64(wrote)
71 consume(v, int64(wrote))
/aosp_15_r20/cts/tests/tests/media/audio/src/android/media/audio/cts/
H A DAudioTrackOffloadTest.java193 int wrote = trackOne.write(data, written, data.length - written, in testMultipleAudioTrackOffloadPreemption() local
195 if (wrote < 0) { in testMultipleAudioTrackOffloadPreemption()
196 Log.i(TAG, "First audiotrack write ended by: " + wrote); in testMultipleAudioTrackOffloadPreemption()
198 written += wrote; in testMultipleAudioTrackOffloadPreemption()
199 Log.i(TAG, String.format("wrote %d bytes (%d out of %d)", in testMultipleAudioTrackOffloadPreemption()
200 wrote, written, data.length)); in testMultipleAudioTrackOffloadPreemption()
388 int wrote = track.write(data, written, data.length - written, in writeAllBlocking() local
390 if (wrote < 0) { in writeAllBlocking()
391 fail("Unable to write all read data, wrote " + written + " bytes"); in writeAllBlocking()
393 written += wrote; in writeAllBlocking()
[all …]
/aosp_15_r20/packages/modules/HealthFitness/tests/cts/phr/src/android/healthconnect/cts/phr/apis/
DGetMedicalDataSourcesByRequestCtsTest.java345 // App can read dataSources they wrote themselves and dataSources belonging to in testGetByPackage_packageFilterEmpty_inBgWithBgPermHasWriteAndReadPerm()
387 // App can read dataSources they wrote themselves and dataSources belonging to in testGetByPackage_packageFilterEmpty_inForegroundHasWriteAndReadPerm()
434 // App can read dataSources they wrote themselves and dataSources belonging to in testGetByPackage_withPackageFilterSelfIncluded_inFgHasWriteAndReadPerm()
483 // App can read dataSources they wrote themselves and dataSources belonging to in testGetByPackage_withPackageFilterSelfIncluded_inBgWithPermHasWriteAndReadPerm()
612 // App can read dataSources they wrote themself. in testGetByPackage_emptyPackageFilter_inBgWithoutBgPermHasWritePermNoReadPerms()
650 // App can read dataSources they wrote themself. in getByPackages_withPackageFilterSelfIncluded_inBgWithoutBgPermHasWritePermButNoRead()
716 // App can read dataSources they wrote themselves. in getByPackages_emptyPackageFilter_inBgWithoutBgPermHasWritePermAndReadPerms()
755 // App can read dataSources they wrote themselves. in getByPackages_withPackageFilterSelfIncluded_inBgWithoutBgPermHasWriteAndReadPerm()
800 // App can read dataSources belonging to vaccines the app wrote itself. in getByPackages_noPackageFilter_inBgWithoutBgPermHasReadPermNoWritePerm()
841 // App can read dataSources belonging to vaccines the app wrote itself. in getByPackages_withPackageFilterSelfIncluded_inBgWithoutBgPermHasReadPermNoWrite()
[all …]
/aosp_15_r20/external/rappor/pipeline/
H A Dmetric_status.R71 Log("Wrote %s", overview_path)
97 Log("Wrote %s", out_path)
111 Log("Wrote %s", path1)
120 Log("Wrote %s", path2)
129 Log('Wrote %s', filename)
223 Log("Wrote %s", overview_path)
256 Log("Wrote %s", csv_path)
295 Log("Wrote %s", csv_path)
305 Log("Wrote %s", meta_path)
/aosp_15_r20/external/icing/icing/legacy/index/
H A Dicing-filesystem.cc450 ssize_t wrote = write(fd, data, chunk_size); in Write() local
451 if (wrote < 0) { in Write()
455 data = static_cast<const uint8_t *>(data) + wrote; in Write()
456 write_len -= wrote; in Write()
467 ssize_t wrote = pwrite(fd, data, chunk_size, offset); in PWrite() local
468 if (wrote < 0) { in PWrite()
472 data = static_cast<const uint8_t *>(data) + wrote; in PWrite()
473 write_len -= wrote; in PWrite()
474 offset += wrote; in PWrite()
/aosp_15_r20/art/runtime/mirror/
H A Ddex_cache.cc59 bool wrote = false; in VisitReflectiveTargets() local
79 wrote = true; in VisitReflectiveTargets()
101 wrote = true; in VisitReflectiveTargets()
116 wrote = true; in VisitReflectiveTargets()
131 wrote = true; in VisitReflectiveTargets()
135 if (wrote) { in VisitReflectiveTargets()
/aosp_15_r20/external/libpcap/
H A Dpcap-savefile.manfile.in59 read by a host with the same byte order as the host that wrote the file,
61 opposite byte order as the host that wrote the file, will have the value
63 the byte order of the host that wrote the file is the same as the byte
70 wrote the file and as 0x4d3cb2a1 by a host with the opposite byte order
71 as the host that wrote the file, the file format is the same as for
/aosp_15_r20/prebuilts/go/linux-x86/src/go/doc/comment/
Dparse.go786 wrote := 0
788 if wrote < i {
789 out = d.parseText(out, text[wrote:i], true)
790 wrote = i
813 wrote = i + 1
818 wrote = i + 1
898 wrote := 0
900 w.WriteString(s[wrote:i])
901 wrote = i
922 wrote = i
[all …]
/aosp_15_r20/external/icing/icing/file/
H A Dfilesystem.cc435 ssize_t wrote = write(fd, data, chunk_size); in Write() local
436 if (wrote < 0) { in Write()
440 data = static_cast<const uint8_t*>(data) + wrote; in Write()
441 write_len -= wrote; in Write()
526 ssize_t wrote = pwrite(fd, data, chunk_size, offset); in PWrite() local
527 if (wrote < 0) { in PWrite()
531 data = static_cast<const uint8_t*>(data) + wrote; in PWrite()
532 write_len -= wrote; in PWrite()
533 offset += wrote; in PWrite()
H A Dportable-file-backed-proto-log_test.cc219 // Check that what we read is what we wrote in TEST_F()
288 // Check that what we read is what we wrote in TEST_F()
367 // Check that what we read is what we wrote in TEST_F()
639 // Check that what we read is what we wrote in TEST_F()
708 // Check that what we read is what we wrote in TEST_F()
775 // Check that what we read is what we wrote in TEST_F()
797 // Double check that we actually wrote something to the underlying file in TEST_F()
845 // Check that what we read is what we wrote in TEST_F()
930 // Check that what we read is what we wrote in TEST_F()
/aosp_15_r20/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DMedicalDataSourceHelperTest.java1039 // the app wrote itself. in getByIds_inBgWithoutBgPermNoWritePermVaccineReadPermOnly_correctResult()
1079 // and allergy resource types that the app wrote itself. in getById_inBgWithoutBgPermNoWritePermBothAllergyAndVaccineReadPerm_correctResult()
1175 // App can read only read dataSources they wrote themselves. in getByIds_inForegroundOrBgWithBgPermHasWritePermNoReadResourceTypesPerm_correctResult()
1312 // App can read dataSources they wrote themselves and dataSources belonging to in getByIds_inForegroundOrBgWithBgPermHasWritePermHasReadVaccinePerm_correctResult()
1373 // App can read dataSources they wrote themselves and dataSources belonging to in getByPackage_emptyPackages_inForegroundOrBgWithBgPermHasWriteAndReadPerm_success()
1415 // App can read dataSources they wrote themselves and dataSources belonging to in getByPackages_selfIncluded_inForegroundOrBgWithBgPermHasWriteAndReadPerm_success()
1498 // App can read dataSources they wrote themself. in getByPackages_emptyPackages_inBgWithoutBgPermHasWritePerm_canReadSelfDataSources()
1538 // App can read dataSources they wrote themself. in getByPackages_selfIncluded_inBgWithoutBgPermHasWritePerm_canReadSelfDataSources()
1611 // App can read dataSources they wrote themselves. in getByPackages_emptyPackages_inBgWithoutBgPermHasWriteAndReadPerm_canReadSelfData()
1651 // App can read dataSources they wrote themselves. in getByPackages_selfIncluded_inBgWithoutBgPermHasWriteAndReadPerm_canReadSelfData()
[all …]
/aosp_15_r20/frameworks/native/cmds/installd/tests/
H A Dtest_utils.h112 size_t wrote = 0; in WriteBase64ToFile() local
113 while (wrote < length) { in WriteBase64ToFile()
114 ssize_t cur = write(fd, bytes.get() + wrote, length - wrote); in WriteBase64ToFile()
119 wrote += cur; in WriteBase64ToFile()
/aosp_15_r20/prebuilts/go/linux-x86/src/net/
Dresolverdialfunc_test.go158 if w.a.wrote {
168 w.a.wrote = true
178 w.a.wrote = true
194 w.a.wrote = true
219 wrote bool member
/aosp_15_r20/external/rust/android-crates-io/crates/clap_complete/src/shells/
Dzsh.rs481 debug!("write_opts_of:iter: Wrote...{}", &*s);
489 debug!("write_opts_of:iter: Wrote...{}", &*l);
556 debug!("write_flags_of:iter: Wrote...{}", &*s);
564 debug!("write_flags_of:iter: Wrote...{}", &*s);
574 debug!("write_flags_of:iter: Wrote...{}", &*l);
582 debug!("write_flags_of:iter: Wrote...{}", &*l);
663 debug!("write_positionals_of:iter: Wrote...{a}");
/aosp_15_r20/external/rust/android-crates-io/crates/der/src/reader/
Dpem.rs64 let wrote = self.decoder.decode(writable_slice)?.len(); in fill_buffer() localVariable
65 if wrote == 0 { in fill_buffer()
69 self.cap += wrote; in fill_buffer()
70 self.remaining -= wrote; in fill_buffer()
/aosp_15_r20/external/apache-xml/test/java/src/org/apache/qetest/xsl/
H A DBugzillaFileRules.java155 * conceptual 'test' that the user wrote. If they only wrote a
156 * .xsl stylesheet, we return that. If they only wrote a .java
157 * file (presumably a Testlet), we return that. If they wrote
/aosp_15_r20/external/trace-cmd/lib/trace-cmd/
H A Dtrace-recorder.c526 long wrote = 0; in tracecmd_flush_recording() local
543 wrote += ret; in tracecmd_flush_recording()
549 wrote &= recorder->page_size - 1; in tracecmd_flush_recording()
550 if (wrote) { in tracecmd_flush_recording()
552 write(recorder->fd, buf, recorder->page_size - wrote); in tracecmd_flush_recording()

12345678910>>...128