Searched refs:written (Results 1 - 6 of 6) sorted by relevance

/system/core/debuggerd/
H A Dutility.c39 int written = TEMP_FAILURE_RETRY( write(fd, buf + len - to_write, to_write) ); local
40 if (written < 0) {
45 to_write -= written;
79 int written = write_to_am(log->amfd, buf, len); local
80 if (written <= 0) {
/system/vold/
H A DVolumeManager.cpp195 int written = snprintf(mountPath, mountPathLen, "%s/%s", Volume::LOOPDIR, idHash); local
196 if ((written < 0) || (written >= mountPathLen)) {
223 int written = snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id); local
224 if ((written < 0) || (written >= maxlen)) {
247 int written = snprintf(buffer, maxlen, "%s", asecFileName); local
248 if ((written < 0) || (written >= maxlen)) {
300 int written local
404 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
507 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
564 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
661 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id1); local
715 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
739 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::LOOPDIR, idHash); local
839 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
910 int written = snprintf(asecPath, asecPathLen, "%s/%s", dir, asecName); local
931 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
1078 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::LOOPDIR, idHash); local
1294 int written = snprintf(nodepath, local
[all...]
/system/core/fastboot/
H A Dusb_windows.c156 unsigned long written = 0; local
168 &written,
179 count += written;
180 len -= written;
181 data += written;
/system/core/adb/
H A Dusb_windows.c259 unsigned long written = 0; local
268 &written,
273 // Make sure that we've written what we were asked to write
274 D("usb_write got: %ld, expected: %d\n", written, len);
275 if (written == (unsigned long)len) {
281 &written,
/system/core/toolbox/cp/
H A Dutils.c17 * without specific prior written permission.
102 progress(const struct finfo *fi, size_t written) argument
104 int pcent = (int)((100.0 * written) / fi->size);
107 (void)fprintf(stderr, "%s => %s %zu/%zu bytes %d%% written\n",
108 fi->from, fi->to, written, fi->size, pcent);
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp134 " Data will be written/read using that chunk size.\n"
286 // @param chunk buffer large enough where the chunk read are written.
385 ssize_t written = write(fd, chunk, chunk_size); local
386 if (written < 0)
391 left -= written;
395 if (kVerbose) printf("Child %d all chunk written\n", testCase->pid());

Completed in 120 milliseconds