HomeSort by relevance Sort by last modified time
    Searched refs:written (Results 251 - 275 of 1664) sorted by null

<<11121314151617181920>>

  /bootable/recovery/updater/
blockimg.cpp 186 size_t written = 0; local
187 while (written < size) {
188 ssize_t w = TEMP_FAILURE_RETRY(ota_write(fd, data+written, size-written));
194 written += w;
258 // Return number of bytes written; and 0 indicates a writing failure.
265 size_t written = 0; local
285 written += write_now;
288 bytes_written_ += written;
289 return written;
505 size_t written = 0; local
542 size_t written; member in struct:CommandParameters
    [all...]
  /external/curl/docs/examples/
asiohiper.cpp 35 * Written by Lijo Antony based on hiperfifo.c by Jeff Pohlmeyer
337 size_t written = size * nmemb; local
338 char *pBuffer = (char *)malloc(written + 1);
340 strncpy(pBuffer, (const char *)ptr, written);
341 pBuffer[written] = '\0';
347 return written;
  /external/libbrillo/brillo/streams/
stream.cc 272 size_t written = 0; local
273 if (!WriteNonBlocking(buffer, size_to_write, &written, error))
276 if (written > 0) {
281 success_callback, written));
284 success_callback.Run(written);
memory_stream_unittest.cc 176 size_t written = 0; local
181 EXPECT_TRUE(stream_->WriteNonBlocking(test_write_buffer_, 10, &written,
183 EXPECT_EQ(5, written);
189 EXPECT_TRUE(stream_->WriteNonBlocking(test_write_buffer_, 100, &written,
191 EXPECT_EQ(100, written);
197 EXPECT_TRUE(stream_->WriteNonBlocking(test_write_buffer_, 10, &written,
stream_unittest.cc 475 size_t written = 0; local
479 EXPECT_TRUE(stream_mock.WriteBlocking(buf, sizeof(buf), &written, nullptr));
480 EXPECT_EQ(24, written);
495 EXPECT_TRUE(stream_mock.WriteBlocking(buf, sizeof(buf), &written, nullptr));
496 EXPECT_EQ(124, written);
505 EXPECT_FALSE(stream_mock.WriteBlocking(buf, sizeof(buf), &written, nullptr));
  /hardware/intel/common/libmix/mix_audio/src/
mixaudio.c 4 The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intel?s prior express written permission.
305 g_debug("_finalized(). bytes written=%" G_GUINT64_FORMAT, mix->bytes_written);
1493 ssize_t written = 0; local
1624 ssize_t written = 0; local
    [all...]
  /external/e2fsprogs/lib/ext2fs/
fileio.c 333 unsigned int nbytes, unsigned int *written)
368 if (written)
369 *written = count;
392 unsigned int nbytes, unsigned int *written)
410 written);
496 if (written)
497 *written = count;
  /external/icu/icu4c/source/io/
ustdio.cpp 323 int32_t written = 0; local
344 written = ufmt_min(count, charsLeft);
345 u_strncpy(f->str.fPos, mySource, written);
346 f->str.fPos += written;
347 return written;
384 written += (int32_t) (mySource - mySourceBegin);
390 /* return # of chars written */
391 return written;
  /external/tinycompress/
compress.c 20 * without specific prior written permission.
355 int to_write = 0; /* zero indicates we haven't written yet */
356 int written, total = 0, ret; local
399 written = write(compress->fd, cbuf, to_write);
401 if (written == -EBADFD)
403 if (written < 0)
406 size -= written;
407 cbuf += written;
408 total += written;
  /frameworks/av/media/libaaudio/examples/loopback/src/
loopback.cpp 348 int written = 0; local
614 printf(" written - read = %8d\n", (int) (framesWritten - framesRead));
632 written = loopbackData.loopbackProcessor->save(FILENAME_ECHOS);
633 if (written > 0) {
635 written, FILENAME_ECHOS);
638 written = loopbackData.audioRecording.save(FILENAME_ALL);
639 if (written > 0) {
641 written, FILENAME_ALL);
  /prebuilts/go/darwin-x86/src/io/
io.go 84 // It returns the number of bytes written from p (0 <= n <= len(p))
178 // written. Any error encountered during the write is also returned.
218 // at offset off. It returns the number of bytes written from p (0 <= n <= len(p))
333 // On return, written == n if and only if err == nil.
337 func CopyN(dst Writer, src Reader, n int64) (written int64, err error) {
338 written, err = Copy(dst, LimitReader(src, n))
339 if written == n {
342 if written < n && err == nil {
361 func Copy(dst Writer, src Reader) (written int64, err error) {
369 func CopyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error)
    [all...]
  /prebuilts/go/linux-x86/src/io/
io.go 84 // It returns the number of bytes written from p (0 <= n <= len(p))
178 // written. Any error encountered during the write is also returned.
218 // at offset off. It returns the number of bytes written from p (0 <= n <= len(p))
333 // On return, written == n if and only if err == nil.
337 func CopyN(dst Writer, src Reader, n int64) (written int64, err error) {
338 written, err = Copy(dst, LimitReader(src, n))
339 if written == n {
342 if written < n && err == nil {
361 func Copy(dst Writer, src Reader) (written int64, err error) {
369 func CopyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error)
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/ascii85/
ascii85.go 19 // bytes of dst, returning the actual number of bytes written.
88 // NewEncoder returns a new ascii85 stream encoder. Data written to
89 // the returned writer will be encoded and then written to w.
176 // of bytes written to dst and the number consumed from src.
178 // number of bytes successfully written and a CorruptInputError.
  /prebuilts/go/linux-x86/src/encoding/ascii85/
ascii85.go 19 // bytes of dst, returning the actual number of bytes written.
88 // NewEncoder returns a new ascii85 stream encoder. Data written to
89 // the returned writer will be encoded and then written to w.
176 // of bytes written to dst and the number consumed from src.
178 // number of bytes successfully written and a CorruptInputError.
  /device/google/marlin/usb/
Usb.cpp 138 std::string written; local
150 // as once the file is written the partner added signal
195 std::string written; local
216 if ((ret != EOF) && !readFile(filename, &written)) {
217 extractRole(&written);
218 ALOGI("written: %s", written.c_str());
219 if (written == convertRoletoString(newRole)) {
  /external/brotli/go/cbrotli/
reader.go 99 var written, consumed C.size_t
107 &written, &consumed)
109 n = int(written)
  /external/webrtc/webrtc/base/
httpbase.cc 268 // member of HttpData. In this case, we want this data to be written
316 size_t* written,
684 size_t written; local
686 StreamResult result = http_stream_->Write(buffer_, len_, &written, &error);
688 ASSERT(written <= len_);
689 len_ -= written;
690 memmove(buffer_, buffer_ + written, len_);
ssladapter_unittest.cc 175 size_t written; local
179 message.length(), &written, &error);
181 return written;
  /frameworks/base/services/core/java/com/android/server/am/
ProviderMap.java 252 boolean written = false;
267 written = true;
272 return written;
278 boolean written = false;
293 written = true;
299 return written;
434 * any meta string (e.g., provider info, indentation) written to the file descriptor.
  /prebuilts/go/darwin-x86/src/cmd/link/internal/sym/
attribute.go 22 // entry points. Unreachable symbols are not written to the output.
25 // by directives written by cgo (in response to //export directives in
36 // AttrNotInSymbolTable marks symbols that are not written to the symbol table.
symkind.go 59 // Types STYPE-SFUNCTAB above are written to the .rodata section by default.
61 // be written to by relocations and putting them in a section called
68 // written to sections with appropriate magic names.
  /prebuilts/go/darwin-x86/src/runtime/
print.go 27 // printBacklog is a circular buffer of messages written with the builtin
33 // recordForPanic maintains a circular buffer of messages written by the
37 // The text written during a process crash (following "panic" or "fatal
  /prebuilts/go/linux-x86/src/cmd/link/internal/sym/
attribute.go 22 // entry points. Unreachable symbols are not written to the output.
25 // by directives written by cgo (in response to //export directives in
36 // AttrNotInSymbolTable marks symbols that are not written to the symbol table.
symkind.go 59 // Types STYPE-SFUNCTAB above are written to the .rodata section by default.
61 // be written to by relocations and putting them in a section called
68 // written to sections with appropriate magic names.
  /prebuilts/go/linux-x86/src/runtime/
print.go 27 // printBacklog is a circular buffer of messages written with the builtin
33 // recordForPanic maintains a circular buffer of messages written by the
37 // The text written during a process crash (following "panic" or "fatal

Completed in 631 milliseconds

<<11121314151617181920>>