| /third_party/vk-gl-cts/scripts/src_util/ |
| H A D | check_include_guards.py | 80 f.write(line)
|
| /third_party/zlib/ |
| H A D | gzguts.h | 48 # define write _write macro 173 /* x.next: next output data to deliver or write */
|
| /base/hiviewdfx/faultloggerd/tools/process_dump/ |
| H A D | process_dumper.cpp | 92 ssize_t nwrite = OHOS_TEMP_FAILURE_RETRY(write(fd, data.substr(index, writeLength).c_str(), writeLength)); in WriteData() 235 OHOS_TEMP_FAILURE_RETRY(write(request->pmPipeFd[1], &result, sizeof(result))); in InfoRemoteProcessResult() 238 OHOS_TEMP_FAILURE_RETRY(write(request->vmPipeFd[1], &result, sizeof(result))); in InfoRemoteProcessResult() 333 // request resFd_ to write back the result to dumpcatch in Dump() 453 DFXLOGE("jit code write file failed."); in UnwindWriteJit() 790 DFXLOGD("write buf fd: %{public}d, write res fd: %{public}d", fd, resFd_); in InitPrintThread() 793 DFXLOGD("write json fd: %{public}d, res fd: %{public}d", jsonFd_, resFd_); in InitPrintThread() 823 ssize_t nwrite = OHOS_TEMP_FAILURE_RETRY(write(resFd_, &res, sizeof(res))); in WriteDumpRes() 825 DFXLOGE("%{public}s write fai in WriteDumpRes() [all...] |
| /base/startup/init/services/init/ |
| H A D | init_common_cmds.c | 174 ssize_t n = write(fd, ctx->argv[0], size);
in SetProcName() 176 return, "Failed to write domainname errno: %d", errno);
in SetProcName() 297 int rtLen = write(dstFd, buf, rdLen);
in DoCopy() 299 INIT_LOGE("Failed to write to dest path %s %d", ctx->argv[1], errno);
in DoCopy() 488 return write(fd, buf, strlen(buf));
in DoWriteWithMultiArgs() 493 // format: write path content
in DoWrite() 510 ret = write(fd, ctx->argv[1], strlen(ctx->argv[1]));
in DoWrite() 512 INIT_CHECK_ONLY_ELOG(ret >= 0, "DoWrite: write to file %s failed: %d", ctx->argv[0], errno);
in DoWrite() 591 { "write ", 2, 10, 1, DoWrite },
|
| /base/update/updater/services/diffpatch/diff/ |
| H A D | blocks_diff.cpp | 158 PATCH_LOGE("Failed to write patch header");
in WritePatchData() 165 PATCH_LOGE("Failed to write control data");
in WritePatchData() 174 PATCH_LOGE("Failed to write diff data");
in WritePatchData() 182 PATCH_LOGE("Failed to write extra data");
in WritePatchData() 187 // write real data
in WritePatchData() 191 PATCH_LOGE("Failed to write patch header");
in WritePatchData() 261 stream_.write(BSDIFF_MAGIC, std::char_traits<char>::length(BSDIFF_MAGIC));
in WritePatchHeader() 264 stream_.write(reinterpret_cast<const char*>(buffer.buffer), sizeof(int64_t));
in WritePatchHeader() 266 stream_.write(reinterpret_cast<const char*>(buffer.buffer), sizeof(int64_t));
in WritePatchHeader() 268 stream_.write(reinterpret_cas in WritePatchHeader() [all...] |
| /third_party/exfatprogs/exfat2img/ |
| H A D | exfat2img.c | 195 exfat_err("failed to write %llu bytes at %llu\n", in dump_range() 581 ret = write(ei->out_fd, ei->dump_bdesc[0].buffer, len); in dump_bytes_to_stdout() 583 exfat_err("failed to write %llu bytes at %llu\n", in dump_bytes_to_stdout() 589 ret = write(ei->out_fd, exfat->zero_cluster, len); in dump_bytes_to_stdout() 591 exfat_err("failed to write %llu bytes at %llu\n", in dump_bytes_to_stdout() 636 if (write(ei->out_fd, buf, cc_len) != (ssize_t)cc_len) { in dump_clusters_to_stdout() 637 exfat_err("failed to write cc %d : %u\n for %u ~ %u clusters\n", in dump_clusters_to_stdout() 676 /* read and write clusters for allocated ones */ in dump_to_stdout() 704 /* write zeroes for free clusters */ in dump_to_stdout() 736 if (write(e in dump_header() [all...] |
| /third_party/backends/backend/ |
| H A D | as6e.c | 36 If you write modifications of your own for SANE, it is your choice 312 numbytes = write (s->as6e_params.ctloutpipe, &repeat, sizeof (repeat)); in sane_start() 335 write (s->as6e_params.ctloutpipe, scan_params, sizeof (scan_params)); in sane_start() 518 write (s->as6e_params.ctloutpipe, &repeat, sizeof (repeat)); in sane_close() 580 write (ctlinpipe[WRITEPIPE], &exec_result, sizeof (exec_result)); in as6e_open()
|
| /third_party/alsa-lib/src/pcm/ |
| H A D | pcm_shm.c | 24 * License along with this library; if not, write to the Free Software 68 err = write(shm->socket, buf, 1); in snd_pcm_shm_action_fd0() 122 err = write(shm->socket, buf, 1); in snd_pcm_shm_action() 157 err = write(shm->socket, buf, 1); in snd_pcm_shm_action_fd() 703 err = write(sock, req, reqlen); in snd_pcm_shm_open() 705 SYSERR("write error"); in snd_pcm_shm_open() 710 SNDERR("write size error"); in snd_pcm_shm_open()
|
| /third_party/FreeBSD/sbin/fsck_msdosfs/ |
| H A D | dir.c | 335 if (write(fd, delbuf, clsz) != clsz) { in delete() 336 perr("Unable to write directory"); in delete() 995 * Don't bother to write back right now because in readDosDirSection() 1002 || write(fd, buffer, iosize) != iosize) { in readDosDirSection() 1003 perr("Unable to write directory"); in readDosDirSection() 1022 || write(fd, buffer, iosize) != iosize) { in readDosDirSection() 1023 perr("Unable to write directory"); in readDosDirSection() 1153 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) { in reconnect() 1154 perr("could not write LOST.DIR"); in reconnect()
|
| /third_party/node/lib/ |
| H A D | _http_outgoing.js | 388 // The socket was destroyed. If we're still trying to write to it, 403 // Directly write to socket. 404 return conn.write(data, encoding, callback); 828 OutgoingMessage.prototype.write = function write(chunk, encoding, callback) { 883 err = new ERR_STREAM_DESTROYED('write'); 923 'Ignoring write() calls.'); 945 debug('write ret = ' + ret); 1103 // req2.write('hello world\n'); 1115 // There might be remaining data in this.output; write i [all...] |
| H A D | zlib.js | 373 // Set up a list of 'special' buffers that can be written using .write() 375 // write sequence. 398 this.write(kFlushBuffers[kind], '', callback); 533 handle.write(flushFlag, 594 this.write(handle.flushFlag, 605 this.write(handle.flushFlag, 722 // `params()` function should not happen while a write is currently in progress
|
| /third_party/node/test/parallel/ |
| H A D | test-crypto-sign-verify.js | 128 verStream.write('Tes'); 129 verStream.write('t12'); 146 verStream.write('Tes'); 147 verStream.write('t12');
|
| H A D | test-fs-error-messages.js | 791 // write buffer 794 assert.strictEqual(err.message, 'EBADF: bad file descriptor, write'); 797 assert.strictEqual(err.syscall, 'write'); 803 fs.write(fd, buf, 0, 1, 1, common.mustCall(validateError)); 812 // write string 815 assert.strictEqual(err.message, 'EBADF: bad file descriptor, write'); 818 assert.strictEqual(err.syscall, 'write'); 823 fs.write(fd, 'test', 1, common.mustCall(validateError));
|
| /third_party/mesa3d/src/intel/perf/ |
| H A D | gen_perf.py | 41 c_file.write(text.rstrip() + "\n") 45 c_file.write(''.rjust(_c_indent) + code) 47 c_file.write(code) 63 header_file.write(text.rstrip() + "\n") 748 parser.add_argument("--header", help="Header file to write", required=True) 749 parser.add_argument("--code", help="C file to write", required=True)
|
| /third_party/ltp/testcases/kernel/syscalls/fcntl/ |
| H A D | fcntl14.c | 16 * along with this program; if not, write to the Free Software 87 /* #1 Parent making a write lock on entire file */ 92 /* #2 Parent making a write lock on entire file */ 94 /* Child attempting a write lock on entire file */ 104 /* Child attempting a write lock on entire file */ 108 /* #5 Parent making a write lock on entire file */ 116 /* #6 Parent making a write lock on entire file */ 119 * Child attempting a write lock from beginning of 135 * Child attempting a write lock from beginning of 141 /* #9 Parent making a write loc [all...] |
| /third_party/python/Lib/ |
| H A D | nntplib.py | 450 self.file.write(line) 522 file.write(line) 900 self.file.write(line) 901 self.file.write(b".\r\n")
|
| /third_party/python/Lib/asyncio/ |
| H A D | sslproto.py | 143 """Set the high- and low-water limits for write flow control. 169 """Return the current size of the write buffers.""" 207 def write(self, data): member in _SSLProtocolTransport 224 calls write() on the result. 229 """Close the write end after flushing buffered data. 305 # App data write buffering 433 self._incoming.write(self._ssl_buffer_view[:nbytes]) 699 count = self._sslobj.write(data) 715 self._transport.write(data)
|
| /third_party/skia/third_party/externals/freetype/src/winfonts/ |
| H A D | winfnt.c | 1091 FT_Byte* write; in FNT_Load_Glyph() local 1115 for ( write = column; p < limit; p++, write += bitmap->pitch ) in FNT_Load_Glyph() 1116 *write = *p; in FNT_Load_Glyph()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
| H A D | WasmEmitter.cpp | 93 OS.write(Data, sizeof(Data)); in writeUint64() 100 OS.write(Data, sizeof(Data)); in writeUint32() 107 OS.write(Data, sizeof(Data)); in writeUint8() 546 OS.write(wasm::WasmMagic, sizeof(wasm::WasmMagic)); in writeWasm() 603 // write reloc sections for any section that have relocations in writeWasm()
|
| /third_party/python/Lib/test/ |
| H A D | test_venv.py | 328 f.write(b'Still here?') 361 f.write(b'') 510 f.write("set -euo pipefail\n" 678 f.write(bad_config)
|
| /third_party/rust/crates/proc-macro2/src/ |
| H A D | fallback.rs | 197 write!(f, " ")?; in fmt() 652 return write!(f, "bytes({}..{})", self.lo, self.hi); in fmt() 655 write!(f, "Span") in fmt() 1038 let _ = write!(escaped, "\\x{:02X}", b); in byte_string()
|
| /foundation/multimedia/av_session/services/session/server/migrate/ |
| H A D | migrate_avsession_server.cpp | 355 std::string jsonStr = writer.write(jsonData);
in ConvertControllersToStr() 517 std::string msg = writer.write(metaDataJson);
in ConvertMetadataInfoToStr() 628 std::string msg = writer.write(value);
in OnPlaybackStateChanged()
|
| /test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
| H A D | fcntl1ndk.cpp | 70 write(pipefd1[PARAM_1], text, strlen(text));
in Tee() 141 write(fd, text, strlen(text));
in Readahead() 342 write(fd, text, sizeof(text));
in FalLocate()
|
| /third_party/ffmpeg/libavformat/ |
| H A D | mp3enc.c | 18 * License along with FFmpeg; if not, write to the Free Software 131 /* number of attached pictures we still need to write */ 243 // we write it, because some (broken) tools always expect it to be present in mp3_write_xing() 385 int ret = 0, write = 1; in mp3_queue_flush() local 392 if (write && (ret = mp3_write_audio_packet(s, pkt)) < 0) in mp3_queue_flush() 393 write = 0; in mp3_queue_flush() 424 /* write replaygain */ in mp3_update_xing() 448 /* write encoder delay/padding */ in mp3_update_xing() 481 /* write the id3v1 tag */ in mp3_write_trailer() 504 { "id3v2_version", "Select ID3v2 version to write [all...] |
| /third_party/alsa-lib/src/control/ |
| H A D | control_shm.c | 17 * License along with this library; if not, write to the Free Software 56 err = write(shm->socket, buf, 1); in snd_ctl_shm_action() 75 err = write(shm->socket, buf, 1); in snd_ctl_shm_action_fd() 464 err = write(sock, req, reqlen); in snd_ctl_shm_open() 466 SNDERR("write error"); in snd_ctl_shm_open() 471 SNDERR("write size error"); in snd_ctl_shm_open()
|