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)) {
229 int written = snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id); local
230 if ((written < 0) || (written >= maxlen)) {
259 int written = snprintf(buffer, maxlen, "%s", asecFileName); local
260 if ((written < 0) || (written >= maxlen)) {
318 int written local
422 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
531 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
594 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
703 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id1); local
763 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
787 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::LOOPDIR, idHash); local
893 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
1002 int written = snprintf(asecPath, asecPathLen, "%s/%s", dir, asecName); local
1029 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); local
1176 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::LOOPDIR, idHash); local
1392 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 126 milliseconds