Searched refs:buflen (Results 1 - 25 of 401) sorted by path

1234567891011>>

/external/android-clat/
H A Dring.c67 size_t buflen = TP_BLOCK_SIZE * ring->numblocks; local
68 ring->base = mmap(NULL, buflen, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_LOCKED|MAP_POPULATE,
71 logmsg(ANDROID_LOG_FATAL, "mmap %lu failed: %s", buflen, strerror(errno));
81 total_frames, buflen, ring->base);
/external/bison/darwin-lib/
H A Dstring.h1278 _GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)
1280 _GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen));
1283 _GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)
1286 _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen));
H A Dunistd.h1733 (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2)));
1735 (int fd, char *buf, size_t buflen));
1739 (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2)));
1742 (int fd, char *buf, size_t buflen));
/external/bison/lib/
H A Dgetopt.c545 size_t buflen = 0;
547 FILE *fp = open_memstream (&buf, &buflen);
541 size_t buflen = 0; local
H A Dstrerror_r.c37 extern int __xpg_strerror_r (int errnum, char *buf, size_t buflen);
96 local_snprintf (char *buf, size_t buflen, const char *format, ...) argument
102 result = _vsnprintf (buf, buflen, format, args);
104 if (buflen > 0 && (result < 0 || result >= buflen))
105 buf[buflen - 1] = '\0';
114 safe_copy (char *buf, size_t buflen, const char *msg) argument
119 if (len < buflen)
128 memcpy (buf, msg, buflen - 1);
129 buf[buflen
137 strerror_r(int errnum, char *buf, size_t buflen) argument
[all...]
H A Dstring.in.h966 _GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)
968 _GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen));
971 _GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)
974 _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen));
H A Dunistd.in.h1421 (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2)));
1423 (int fd, char *buf, size_t buflen));
1427 (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2)));
1430 (int fd, char *buf, size_t buflen));
/external/bison/linux-lib/
H A Dstring.h1278 _GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)
1280 _GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen));
1283 _GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)
1286 _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen));
H A Dunistd.h1733 (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2)));
1735 (int fd, char *buf, size_t buflen));
1739 (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2)));
1742 (int fd, char *buf, size_t buflen));
/external/boringssl/src/crypto/asn1/
H A Dbio_asn1.c97 int buflen; member in struct:BIO_ASN1_BUF_CTX_t
172 ctx->buflen = 0;
236 ctx->buflen =
238 assert(ctx->buflen <= ctx->bufsize);
249 ctx->buf + ctx->bufpos, ctx->buflen);
253 ctx->buflen -= ret;
254 if (ctx->buflen)
/external/boringssl/src/crypto/ecdh/
H A Decdh.c86 size_t buflen; local
120 buflen = (EC_GROUP_get_degree(group) + 7) / 8;
121 buf = OPENSSL_malloc(buflen);
127 if (!BN_bn2bin_padded(buf, buflen, x)) {
133 if (KDF(buf, buflen, out, &outlen) == NULL) {
140 if (outlen > buflen) {
141 outlen = buflen;
/external/boringssl/src/crypto/x509/
H A Da_strex.c163 static int do_buf(unsigned char *buf, int buflen, argument
170 q = buf + buflen;
193 i = UTF8_getc(p, buflen, &c);
226 static int do_hex_dump(char_io *io_ch, void *arg, unsigned char *buf, int buflen) argument
233 q = buf + buflen;
241 return buflen << 1;
/external/compiler-rt/lib/asan/
H A Dasan_malloc_mac.cc92 size_t buflen = 6 + (name ? internal_strlen(name) : 0); local
93 InternalScopedString new_name(buflen);
/external/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cc631 char *buf, size_t buflen, struct passwd **result,
637 int ret = getpwuid_r(uid, pwd, buf, buflen, result);
630 __dfsw_getpwuid_r(id_t uid, struct passwd *pwd, char *buf, size_t buflen, struct passwd **result, dfsan_label uid_label, dfsan_label pwd_label, dfsan_label buf_label, dfsan_label buflen_label, dfsan_label result_label, dfsan_label *ret_label) argument
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1186 char *buf, SIZE_T buflen, __sanitizer_passwd **result) {
1188 COMMON_INTERCEPTOR_ENTER(ctx, getpwnam_r, name, pwd, buf, buflen, result);
1193 int res = REAL(getpwnam_r)(name, pwd, buf, buflen, result);
1196 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, buf, buflen);
1202 SIZE_T buflen, __sanitizer_passwd **result) {
1204 COMMON_INTERCEPTOR_ENTER(ctx, getpwuid_r, uid, pwd, buf, buflen, result);
1208 int res = REAL(getpwuid_r)(uid, pwd, buf, buflen, result);
1211 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, buf, buflen);
1217 char *buf, SIZE_T buflen, __sanitizer_group **result) {
1219 COMMON_INTERCEPTOR_ENTER(ctx, getgrnam_r, name, grp, buf, buflen, resul
[all...]
/external/conscrypt/src/compat/native/
H A DJNIHelp.cpp132 const char* jniStrError(int errnum, char* buf, size_t buflen) { argument
136 return strerror_r(errnum, buf, buflen);
138 int rc = strerror_r(errnum, buf, buflen);
143 snprintf(buf, buflen, "errno %d", errnum);
H A DJNIHelp.h84 const char* jniStrError(int errnum, char* buf, size_t buflen);
/external/dhcpcd/
H A Dif-linux.c155 ssize_t buflen = 0, bytes; local
170 } else if (bytes == buflen) {
177 if (buflen < bytes) {
179 buflen = bytes + 1;
180 nbuf = realloc(buf, buflen);
185 bytes = recv(fd, buf, buflen, flags);
/external/e2fsprogs/misc/
H A Duuidd.c142 int buflen, int *num, const char **err_context)
177 if ((*num)*16 > buflen-4)
178 *num = (buflen-4) / 16;
202 if (reply_len < 0 || reply_len > buflen) {
141 call_daemon(const char *socket_path, int op, char *buf, int buflen, int *num, const char **err_context) argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/elfutils/src/lib/
H A Dmd5.c61 ctx->buflen = 0;
103 md5_uint32 bytes = ctx->buflen;
219 if (ctx->buflen != 0)
221 size_t left_over = ctx->buflen;
225 ctx->buflen += add;
227 if (ctx->buflen > 64)
229 md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx);
231 ctx->buflen &= 63;
234 ctx->buflen);
271 size_t left_over = ctx->buflen;
[all...]
H A Dmd5.h53 md5_uint32 buflen; member in struct:md5_ctx
H A Dsha1.c61 ctx->buflen = 0;
101 sha1_uint32 bytes = ctx->buflen;
133 if (ctx->buflen != 0)
135 size_t left_over = ctx->buflen;
139 ctx->buflen += add;
141 if (ctx->buflen > 64)
143 sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx);
145 ctx->buflen &= 63;
148 ctx->buflen);
185 size_t left_over = ctx->buflen;
[all...]
H A Dsha1.h54 sha1_uint32 buflen; member in struct:sha1_ctx

Completed in 680 milliseconds

1234567891011>>