/frameworks/base/core/jni/ |
android_media_AudioTrack.cpp | 634 ssize_t written = 0; local 638 written = track->write(data + offsetInSamples, sizeInBytes, blocking); 640 if (written == (ssize_t) WOULD_BLOCK) { 641 written = 0; 649 written = sizeInBytes; 651 if (written >= 0) { 652 return written / sizeof(T); 654 return interpretWriteSizeError(written); 719 jint written = writeToTrack(lpTrack, javaAudioFormat, bytes.get(), byteOffset, local 722 return written; [all...] |
/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...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
DatagramChannelImpl.java | 547 // Do not update src until we see how many bytes were written 571 int written; local 573 written = send0(preferIPv6, fd, ((DirectBuffer)bb).address() + pos, 578 written = rem; 580 if (written > 0) 581 bb.position(pos + written); 582 return written; [all...] |
/system/bt/stack/a2dp/ |
a2dp_vendor_ldac_encoder.cc | 635 int written = 0; local 662 packet + count, (int*)&written, (int*)&out_frames); 676 count += written; 677 p_buf->len += written; 690 } while ((written == 0) && nb_frame);
|
/toolchain/binutils/binutils-2.27/bfd/ |
cofflink.c | 3 Written by Ian Lance Taylor, Cygnus Support. 682 extra relocation will be written out to encode the count. */ 740 written out all the local symbols. For each section in 745 fix up the symbol index after we have written out all the 879 bfd_vma written = 0; 906 if (! coff_write_alien_symbol(abfd, sym, &isym, &iaux, &written, 974 obj_raw_syment_count (abfd) += written; 878 bfd_vma written = 0; local [all...] |
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
HermeticLaunchTest.java | 110 .compile("# entries-in-buffer/entries-written:\\s+(?<buffered>\\d+)/" 111 + "(?<written>\\d+)\\s+#P:\\d+\\s*"); 457 int written = Integer.parseInt(match.group("written")); local 458 if (written != buffered) { 460 written - buffered, currentAtraceFile.getName()));
|
/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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
bufferedio.c | 7 Written by Amaury Forgeot d'Arc and Antoine Pitrou
128 "Returns the number of bytes written, which is never less than\n"
219 /* Just after the last byte actually written */
221 /* Just after the last byte waiting to be written, or -1 if the buffer
592 _set_BlockingIOError(char *msg, Py_ssize_t written)
596 errno, msg, written);
602 /* Returns the address of the `written` member if a BlockingIOError was
616 /* TODO: sanity check (err->written >= 0) */
618 return &err->written;
935 Py_ssize_t n, written = 0; local 1439 Py_ssize_t current_size, remaining, written; local 1761 Py_ssize_t written = 0; local 1812 Py_ssize_t written, avail, remaining; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
bufferedio.c | 7 Written by Amaury Forgeot d'Arc and Antoine Pitrou
128 "Returns the number of bytes written, which is never less than\n"
219 /* Just after the last byte actually written */
221 /* Just after the last byte waiting to be written, or -1 if the buffer
574 /* Returns the address of the `written` member if a BlockingIOError was
588 /* TODO: sanity check (err->written >= 0) */
590 return &err->written;
909 Py_ssize_t n, written = 0;
local 957 written += n;
995 written += n; 1420 Py_ssize_t current_size, remaining, written; local 1722 Py_ssize_t written = 0; local 1786 Py_ssize_t written, avail, remaining; local [all...] |
/external/adhd/cras/src/server/ |
audio_thread.c | 170 * The number of bytes written to the main thread. 1151 snd_pcm_sframes_t written; local 1205 written = write_streams(thread, adev, dst, frames); 1206 if (written < 0) /* pcm has been closed */ 1207 return (int)written; 1209 if (written < (snd_pcm_sframes_t)frames) 1214 rc = cras_iodev_put_output_buffer(odev, dst, written); 1217 total_written += written; 1220 /* Empty hardware and nothing written, zero fill it if it is running. */ [all...] |
/external/curl/tests/server/ |
sws.c | 618 then be written as "example.com.123". */ 874 size_t written; local 896 written = fwrite(&reqbuf[totalsize-writeleft], 900 if(written > 0) 901 writeleft -= written; 1060 ssize_t written; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
XLocaleDistance.java | 67 ICUResourceBundle written = (ICUResourceBundle) languageMatchingNew.get("written"); local 69 for(UResourceBundleIterator iter = written.getIterator(); iter.hasNext();) { 88 ICUResourceBundle writtenParadigmLocales = (ICUResourceBundle) languageMatchingInfo.get("written") 99 ICUResourceBundle writtenMatchVariables = (ICUResourceBundle) languageMatchingInfo.get("written") [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
XLocaleDistance.java | 63 ICUResourceBundle written = (ICUResourceBundle) languageMatchingNew.get("written"); local 65 for(UResourceBundleIterator iter = written.getIterator(); iter.hasNext();) { 84 ICUResourceBundle writtenParadigmLocales = (ICUResourceBundle) languageMatchingInfo.get("written") 95 ICUResourceBundle writtenMatchVariables = (ICUResourceBundle) languageMatchingInfo.get("written") [all...] |
/external/libmicrohttpd/src/microhttpd/ |
daemon.c | 434 ssize_t written = send_param_adapter (connection, buf, size); local 435 if (written < size) 439 return written; 554 * @return actual number of bytes written 1172 * @return actual number of bytes written [all...] |
/external/libmtp/src/ |
mtpz.c | 316 size_t written; local 325 gcry_mpi_print(GCRYMPI_FMT_USG, to, tlen, &written, mpi_value); 332 return (int)written; [all...] |
/external/libxml2/ |
encoding.c | 301 * Returns the number of bytes written if success, or -1 otherwise 350 * Returns the number of bytes written, or -1 if lack of space. 395 * Returns the number of bytes written if success, -2 if the transcoding fails, 488 * Returns the number of bytes written, or -1 if lack of space, or -2 575 * Returns the number of bytes written, or -1 if lack of space, or -2 684 * Returns the number of bytes written, or -1 if lack of space, or -2 726 * Returns the number of bytes written, or -1 if lack of space, or -2 817 * Returns the number of byte written, or -1 by lack of space, or -2 1992 int written; local 2099 size_t written; local 2206 size_t written; local 2306 int written; local 2396 size_t written; local 2571 int written; local 2822 int toconv = in->end - in->cur, written = 32000; local [all...] |
xmlIO.c | 727 * Returns the number of bytes written 747 * Returns the number of bytes written 933 * Returns the number of bytes written or < 0 in case of failure 954 * Returns the number of bytes written 1028 * Returns the number of bytes written 1218 * Returns the number of bytes written 1338 * Returns the number of bytes written 2499 int written; local 3337 int written = 0; \/* number of char written to I\/O so far *\/ local 3501 int written = 0; \/* number of char written to I\/O so far *\/ local [all...] |
/external/libxml2/python/ |
libxml.c | 405 * Returns the number of bytes written 412 int written = -1; local 433 written = (int) PyLong_AsLong(ret); 436 written = len; 442 return(written); [all...] |
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
toy_compiler_disasm.c | 1399 int written; local [all...] |
/external/python/cpython2/Modules/_io/ |
bufferedio.c | 7 Written by Amaury Forgeot d'Arc and Antoine Pitrou 128 "Returns the number of bytes written, which is always len(b).\n" 218 /* Just after the last byte actually written */ 220 /* Just after the last byte waiting to be written, or -1 if the buffer 591 _set_BlockingIOError(char *msg, Py_ssize_t written) 595 errno, msg, written); 601 /* Returns the address of the `written` member if a BlockingIOError was 615 /* TODO: sanity check (err->written >= 0) */ 617 return &err->written; 934 Py_ssize_t n, written = 0 local 1436 Py_ssize_t current_size, remaining, written; local 1757 Py_ssize_t written = 0; local 1808 Py_ssize_t written, avail, remaining; local [all...] |
/external/python/cpython3/Modules/_io/ |
bufferedio.c | 7 Written by Amaury Forgeot d'Arc and Antoine Pitrou 193 "Returns the number of bytes written, which is always the length of b\n" 234 /* Just after the last byte actually written */ 236 /* Just after the last byte waiting to be written, or -1 if the buffer 298 * shouldn't affect carefully written threaded I/O code. 662 _set_BlockingIOError(const char *msg, Py_ssize_t written) 667 errno, msg, written); 673 /* Returns the address of the `written` member if a BlockingIOError was 687 /* TODO: sanity check (err->written >= 0) */ 689 return &err->written; 992 Py_ssize_t n, written = 0, remaining; local 1103 Py_ssize_t n, written = 0; local 1649 Py_ssize_t current_size, remaining, written; local 1876 Py_ssize_t written = 0; local 1933 Py_ssize_t written, avail, remaining; local [all...] |
/external/python/cpython3/Python/ |
sysmodule.c | 2364 int written; local [all...] |
/external/skia/src/ports/ |
SkFontHost_win.cpp | 1841 size_t written = SkBase64::Encode(&guid, sizeof(guid), buffer, postscript_safe_base64_encode); variable [all...] |
/external/skia/tools/bookmaker/ |
definition.cpp | 961 int written = 0; local [all...] |
/external/skqp/src/ports/ |
SkFontHost_win.cpp | 1841 size_t written = SkBase64::Encode(&guid, sizeof(guid), buffer, postscript_safe_base64_encode); variable [all...] |