Searched refs:buf_len (Results 1 - 24 of 24) sorted by relevance

/fuchsia/zircon/third_party/ulib/ngunwind/src/mi/
H A DGget_proc_name.c31 unw_word_t addr, char *buf, size_t buf_len, void *arg)
36 for (i = 0; i < buf_len; ++i)
44 buf[buf_len - 1] = '\0'; /* ensure string is NUL terminated */
50 char *buf, size_t buf_len, unw_word_t *offp, void *arg)
69 ret = intern_string (as, a, di->u.pi.name_ptr, buf, buf_len, arg);
93 return (*a->get_proc_name) (as, ip, buf, buf_len, offp, arg);
99 unw_get_proc_name (unw_cursor_t *cursor, char *buf, size_t buf_len, argument
109 error = get_proc_name (tdep_get_as (c), ip, buf, buf_len, offp,
30 intern_string(unw_addr_space_t as, unw_accessors_t *a, unw_word_t addr, char *buf, size_t buf_len, void *arg) argument
49 get_proc_name(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *arg) argument
/fuchsia/zircon/kernel/lib/iovec/
H A Diovec.c37 ssize_t iovec_to_membuf (uint8_t *buf, uint buf_len, const iovec_t *iov, uint iov_cnt, uint iov_pos) argument
56 if (to_copy > buf_len)
57 to_copy = buf_len;
64 buf_len -= to_copy;
67 if (buf_len == 0)
/fuchsia/zircon/system/ulib/driver-info/
H A Ddriver-info.c179 void di_dump_bind_inst(const zx_bind_inst_t* b, char* buf, size_t buf_len) { argument
180 if (!b || !buf || !buf_len) {
199 snprintf(buf + off, buf_len - off, "L.%u:", pa);
202 snprintf(buf + off, buf_len - off,
207 off += snprintf(buf + off, buf_len - off, "if (");
209 off += snprintf(buf + off, buf_len - off, "true");
213 off += snprintf(buf + off, buf_len - off, "%s", pb_name);
215 off += snprintf(buf + off, buf_len - off, "P.%04x", pb);
220 off += snprintf(buf + off, buf_len - off, " == 0x%08x", b->arg);
223 off += snprintf(buf + off, buf_len
[all...]
/fuchsia/zircon/kernel/lib/libc/include/
H A Diovec.h23 ssize_t iovec_to_membuf(uint8_t *buf, uint buf_len,
/fuchsia/zircon/system/ulib/driver-info/include/driver-info/
H A Ddriver-info.h32 void di_dump_bind_inst(const zx_bind_inst_t* b, char* buf, size_t buf_len);
/fuchsia/zircon/system/ulib/dispatcher-pool/
H A Ddispatcher-channel.cpp209 uint32_t buf_len,
212 if (!buf || !buf_len || !bytes_read_out ||
226 buf_len,
233 uint32_t buf_len,
235 if (!buf || !buf_len)
243 return zx_channel_write(handle_.get(), 0, buf, buf_len, nullptr, 0);
246 return zx_channel_write(handle_.get(), 0, buf, buf_len, &h, 1);
208 Read(void* buf, uint32_t buf_len, uint32_t* bytes_read_out, zx::handle* rxed_handle) argument
232 Write(const void* buf, uint32_t buf_len, zx::handle&& tx_handle) argument
/fuchsia/zircon/third_party/ulib/ngunwind/src/
H A Delfxx.c90 char *buf, size_t buf_len, Elf_W (Addr) *min_dist)
142 strncpy (buf, strtab + sym->st_name, buf_len);
143 buf[buf_len - 1] = '\0';
144 ret = (strlen (strtab + sym->st_name) >= buf_len
308 char *buf, size_t buf_len, unw_word_t *offp)
315 ret = elf_w (lookup_symbol) (as, ip, ei, load_offset, buf, buf_len, &min_dist);
323 buf_len, &min_dist);
343 char *buf, size_t buf_len, unw_word_t *offp)
353 ret = elf_w (get_proc_name_in_image) (as, &ei, segbase, mapoff, ip, buf, buf_len, offp);
87 lookup_symbol(unw_addr_space_t as, unw_word_t ip, struct elf_image *ei, Elf_W (Addr) load_offset, char *buf, size_t buf_len, Elf_W (Addr) *min_dist) argument
304 get_proc_name_in_image(unw_addr_space_t as, struct elf_image *ei, unsigned long segbase, unsigned long mapoff, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp) argument
342 get_proc_name(unw_addr_space_t as, pid_t pid, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp) argument
H A Dfuchsia.c313 char *buf, size_t buf_len, unw_word_t *offp, void *arg)
312 remote_get_proc_name(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *arg) argument
/fuchsia/zircon/system/ulib/dispatcher-pool/include/dispatcher-pool/
H A Ddispatcher-channel.h132 uint32_t buf_len,
138 uint32_t buf_len,
/fuchsia/zircon/system/uapp/xdc-test/
H A Dxdc-test.cpp97 ssize_t buf_len = res; local
99 while (total_written < buf_len) {
100 ssize_t res = write(dest_fd.get(), buf.get() + total_written, buf_len - total_written);
/fuchsia/zircon/third_party/ulib/ngunwind/src/aarch64/
H A DGinit.c150 char *buf, size_t buf_len, unw_word_t *offp,
153 return _Uelf64_get_proc_name (as, getpid (), ip, buf, buf_len, offp);
149 get_static_proc_name(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *arg) argument
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/cipher/
H A Dcipher.c224 ctx->buf_len = 0;
259 if (ctx->buf_len == 0 && (in_len & ctx->block_mask) == 0) {
269 i = ctx->buf_len;
275 ctx->buf_len += in_len;
305 ctx->buf_len = i;
330 bl = ctx->buf_len;
395 if (b > 1 && !ctx->buf_len) {
427 if (ctx->buf_len) {
436 if (ctx->buf_len || !ctx->final_used) {
/fuchsia/zircon/third_party/ulib/ngunwind/src/arm/
H A DGinit.c198 char *buf, size_t buf_len, unw_word_t *offp,
201 return _Uelf32_get_proc_name (as, getpid (), ip, buf, buf_len, offp);
197 get_static_proc_name(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *arg) argument
/fuchsia/zircon/system/ulib/mdns/include/mdns/
H A Dmdns.h149 // buf_len is the number of bytes in buf. Data is unmarshalled into the given
153 // If buf_len is less than MDNS_HEADER_SIZE or the complete message is longer
154 // than buf_len bytes (data is missing), -1 is returned and errno is set to
159 const size_t buf_len,
/fuchsia/zircon/third_party/ulib/ngunwind/include/ngunwind/private/
H A Delfxx.h55 char *buf, size_t buf_len, unw_word_t *offp);
/fuchsia/zircon/system/dev/bus/virtio/
H A Dgpu.h62 zx_status_t attach_backing(uint32_t resource_id, zx_paddr_t ptr, size_t buf_len);
H A Dgpu.cpp287 zx_status_t GpuDevice::attach_backing(uint32_t resource_id, zx_paddr_t ptr, size_t buf_len) { argument
288 LTRACEF("dev %p, resource_id %u, ptr %#" PRIxPTR ", buf_len %zu\n", this, resource_id, ptr, buf_len);
304 req.mem.length = (uint32_t)buf_len;
/fuchsia/zircon/system/ulib/mdns/
H A Dmdns.c200 const size_t buf_len,
208 if (buf_len < MDNS_HEADER_SIZE) {
199 mdns_unmarshal(const void* buf, const size_t buf_len, mdns_message* container) argument
/fuchsia/zircon/third_party/ulib/ngunwind/src/x86_64/
H A DGinit.c246 char *buf, size_t buf_len, unw_word_t *offp,
249 return _Uelf64_get_proc_name (as, getpid (), ip, buf, buf_len, offp);
245 get_static_proc_name(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *arg) argument
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/err/
H A Derr.c722 static const unsigned buf_len = 256; local
727 buf = OPENSSL_malloc(buf_len + 1);
733 BIO_vsnprintf(buf, buf_len, format, ap);
734 buf[buf_len] = 0;
/fuchsia/zircon/kernel/syscalls/
H A Dtask.cpp73 char* buf, size_t buf_len,
75 if (!src || src_len > buf_len) {
84 size_t str_len = (src_len == buf_len ? src_len - 1 : src_len);
71 copy_user_string(const user_in_ptr<const char>& src, size_t src_len, char* buf, size_t buf_len, fbl::StringPiece* sp) argument
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/
H A Ddevice.h361 zx_status_t DdkGetMetadata(uint32_t type, void* buf, size_t buf_len, size_t* actual) { argument
362 return device_get_metadata(zxdev(), type, buf, buf_len, actual);
/fuchsia/zircon/kernel/object/
H A Ddiagnostics.cpp116 char *buf, size_t buf_len) {
122 snprintf(buf, buf_len, "%4u: %4u %3u %3u %3u %3u %3u %3u %3u %3u %3u %3u %3u",
115 FormatHandleTypeCount(const ProcessDispatcher& pd, char *buf, size_t buf_len) argument
/fuchsia/zircon/third_party/ulib/uboringssl/include/openssl/
H A Dcipher.h502 // buf_len contains the number of bytes of a partial block contained in
504 int buf_len; member in struct:evp_cipher_ctx_st

Completed in 472 milliseconds