Searched refs:consumed (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-11-stable/usr.bin/grep/regex/
H A Dtre-compile.c44 int consumed; local
52 consumed = tre_mbrtowc(wcptr, regex, n, &state);
54 switch (consumed)
58 consumed = 1;
72 consumed = n;
75 regex += consumed;
76 n -= consumed;
/freebsd-11-stable/contrib/netbsd-tests/bin/df/
H A Dgetmntinfo.c67 const int *consumed, int consumedcnt)
78 used = total * consumed[j] / 100;
110 static const int consumed[] = { 0, 20, 60, 95, 100 }; local
114 consumed, sizeof(consumed) / sizeof(consumed[0]));
143 static const int consumed[] = { 0, 20, 60, 95, 100 }; local
147 consumed, sizeof(consumed) / sizeof(consumed[
66 other_variants(const struct statvfs *tmpl, const int *minfree, int minfreecnt, const int *consumed, int consumedcnt) argument
[all...]
/freebsd-11-stable/lib/libc/stdio/
H A Dopen_wmemstream.c123 ssize_t consumed, wlen; local
140 consumed = 0;
145 if (consumed == 0) {
156 consumed += len;
159 consumed += charlen;
167 fprintf(stderr, "WMS: write(%p, %d) = %zd\n", ms, len, consumed);
169 return (consumed);
/freebsd-11-stable/crypto/openssh/
H A Dssh-pkcs11-helper.c215 u_int consumed; local
255 consumed = buf_len - buffer_len(&iqueue);
256 if (msg_len < consumed) {
257 error("msg_len %d < consumed %d", msg_len, consumed);
260 if (msg_len > consumed)
261 buffer_consume(&iqueue, msg_len - consumed);
H A Dsftp-server.c1403 u_int consumed; local
1463 consumed = buf_len - sshbuf_len(iqueue);
1464 if (msg_len < consumed) {
1465 error("msg_len %u < consumed %u", msg_len, consumed);
1468 if (msg_len > consumed &&
1469 (r = sshbuf_consume(iqueue, msg_len - consumed)) != 0)
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dvsscanf.c186 int consumed = 0;
334 _nc_visbuf2(1, str + consumed),
336 if (sscanf(str + consumed, my_fmt, pointer, &eaten) > 0)
337 consumed += eaten;
/freebsd-11-stable/tools/tools/dmardump/
H A Ddmardump.c227 int remaining, consumed; local
234 consumed = acpi_handle_dmar_remapping_structure(cp, remaining);
235 if (consumed <= 0)
238 remaining -= consumed;
/freebsd-11-stable/usr.sbin/mfiutil/
H A Dmfi_volume.c181 * Returns -1 on a parse error and the number of arguments consumed
292 int error, fd, consumed; local
376 consumed = process_cache_command(ac, av, &new);
377 if (consumed < 0) {
381 av += consumed;
382 ac -= consumed;
/freebsd-11-stable/lib/libdevdctl/
H A Dconsumer.cc163 bool consumed((*event)->Process());
164 if (consumed || discardUnconsumed) {
/freebsd-11-stable/usr.bin/nl/
H A Dnl.c282 int consumed; /* intbuffer measurement */ local
336 consumed = sprintf(intbuffer, format, width, line);
338 intbuffer + max(0, consumed - width));
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp9 // A intra-procedural analysis for checking consumed properties. This is based,
56 using namespace consumed;
250 case consumed::CS_None:
253 case consumed::CS_Unknown:
256 case consumed::CS_Unconsumed:
259 case consumed::CS_Consumed:
260 return "consumed";
286 namespace consumed { namespace in namespace:clang
442 } // namespace consumed
457 namespace consumed { namespace in namespace:clang
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dmacroexp.c514 int consumed = p - src->text + tok->len;
515 src->text += consumed;
516 src->len -= consumed;
523 int consumed;
526 consumed = p - src->text + tok->len;
527 src->text += consumed;
528 src->len -= consumed;
512 int consumed = p - src->text + tok->len; local
521 int consumed; local
H A Dax.h220 /* Number of stack elements consumed, and number produced. */
221 int consumed, produced;
218 int consumed, produced; member in struct:aop_map
H A Dax-general.c454 height -= op->consumed;
/freebsd-11-stable/usr.sbin/acpi/acpidump/
H A Dacpi.c937 int remaining, consumed; local
959 consumed = acpi_handle_dmar_devscope(cp, remaining);
960 if (consumed <= 0)
963 remaining -= consumed;
971 int remaining, consumed; local
985 consumed = acpi_handle_dmar_devscope(cp, remaining);
986 if (consumed <= 0)
989 remaining -= consumed;
997 int remaining, consumed; local
1018 consumed
1078 int remaining, consumed; local
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-babel.c169 /* Return number of octets consumed from the input buffer (not the prefix length
178 int consumed = 0; local
204 consumed = pb - omitted;
216 consumed = pb - omitted;
225 consumed = pb - 8;
233 return consumed;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DConsumed.h9 // A intra-procedural analysis for checking consumed properties. This is based,
39 namespace consumed { namespace in namespace:clang
115 /// Warn about use-while-consumed errors.
126 /// Warn about use-while-consumed errors.
167 /// Get the consumed state of a given variable.
170 /// Get the consumed state of a given temporary value.
191 /// Set the consumed state of a given variable.
194 /// Set the consumed state of a given temporary value.
259 /// Check a function's CFG for consumed violations.
268 } // namespace consumed
[all...]
/freebsd-11-stable/sys/netinet/
H A Dip_fastfwd.c143 * If the packet is handled (and consumed) here then we return NULL;
403 goto consumed;
451 consumed:
/freebsd-11-stable/cddl/usr.sbin/zfsd/
H A Dcase_file.cc262 * case, do not report it as consumed.
264 return (/*consumed*/false);
276 return (/*consumed*/false);
298 return (/*consumed*/true);
312 return (/*consumed*/false);
322 return (/*consumed*/false);
332 return (/*consumed*/false);
348 return (/*consumed*/false);
360 bool consumed(false);
369 return (/*consumed*/tru
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-usb-linux.c1034 int dummy, ret, consumed, cnt; local
1080 for (consumed=0; consumed < ret; ) {
1093 consumed += cnt;
1101 consumed += cnt;
/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Dsnmpd.h165 size_t consumed; /* how many bytes used */ member in struct:port_input
H A Dmain.c1018 if (pi->consumed >= pi->length) {
1019 /* all bytes consumed */
1023 memmove(pi->buf, pi->buf + pi->consumed, pi->length - pi->consumed);
1024 pi->length -= pi->consumed;
1070 &pi->consumed);
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dtls_wolfssl.c46 size_t consumed; /* how many bytes have we used already */ member in struct:tls_in_data
121 in->consumed = 0;
141 if (get > (wpabuf_len(data->in_data) - data->consumed))
142 get = wpabuf_len(data->in_data) - data->consumed;
144 os_memcpy(buf, wpabuf_head_u8(data->in_data) + data->consumed, get);
145 data->consumed += get;
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dregex.c1267 int i, consumed;
1275 for( ; mb_remain > 0 ; ++wc_count, ++pdest, mb_remain -= consumed,
1276 psrc += consumed)
1279 consumed = __mbrtowc (pdest, psrc, mb_remain, &mbs);
1281 consumed = mbrtowc (pdest, psrc, mb_remain, &mbs);
1284 if (consumed <= 0)
1289 consumed = 1;
1298 if (consumed == 1 && (int) *psrc == 0x5c && (int) *pdest == 0xa5)
1301 offset_buffer[wc_count + 1] = mb_count += consumed;
1260 int i, consumed; local
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dregex.c1267 int i, consumed;
1275 for( ; mb_remain > 0 ; ++wc_count, ++pdest, mb_remain -= consumed,
1276 psrc += consumed)
1279 consumed = __mbrtowc (pdest, psrc, mb_remain, &mbs);
1281 consumed = mbrtowc (pdest, psrc, mb_remain, &mbs);
1284 if (consumed <= 0)
1289 consumed = 1;
1298 if (consumed == 1 && (int) *psrc == 0x5c && (int) *pdest == 0xa5)
1301 offset_buffer[wc_count + 1] = mb_count += consumed;
1260 int i, consumed; local

Completed in 217 milliseconds

12