Searched defs:length (Results 226 - 250 of 1357) sorted by relevance

1234567891011>>

/freebsd-head/contrib/gdb/gdb/
H A Dm2-lang.c35 unsigned int length, int width,
112 m2_printstr (struct ui_file *stream, char *string, unsigned int length, argument
120 if (length == 0)
126 for (i = 0; i < length && things_printed < print_max; ++i)
144 while (rep1 < length && string[rep1] == string[i])
190 if (force_ellipses || i < length)
H A Dp-lang.c41 to get the length and the data of the string
55 /* Two fields: length and st. */
57 && strcmp (TYPE_FIELDS (type)[0].name, "length") == 0
73 /* Three fields: Capacity, length and schema$ or _p_schema. */
76 && strcmp (TYPE_FIELDS (type)[1].name, "length") == 0)
158 pascal_printstr (struct ui_file *stream, char *string, unsigned int length, argument
169 if ((!force_ellipses) && length > 0 && string[length - 1] == '\0')
170 length--;
172 if (length
[all...]
/freebsd-head/contrib/binutils/libiberty/
H A Ddyn-string.c73 ds_struct_ptr->length = 0;
176 ds->length = 0;
190 if (dyn_string_resize (dest, src->length) == NULL)
195 dest->length = src->length;
206 int length = strlen (src); local
208 if (dyn_string_resize (dest, length) == NULL)
213 dest->length = length;
251 if (dyn_string_resize (dest, dest->length
272 int length = strlen (src); local
368 int length = end - start; local
[all...]
/freebsd-head/crypto/heimdal/lib/asn1/
H A Dasn1_gen.c73 char *ptr, *class, *type, *tag, *length, *data, *foo; local
94 length = strtok_r(NULL, " \t\n", &foo);
95 if (length == NULL) errx(1, "length missing on line %lu", line);
106 l = atoi(length);
109 "tag: %3d length: %3d %s\n",
123 err(1, "fwrite length/tag failed");
H A Dgen_decode.c186 const char *length,
195 name, length, r->max, forwstr);
201 name, length, r->min, forwstr);
207 name, length, r->min, forwstr);
284 range_check(name, "length", forwstr, t->range);
607 "(%s)->u.%s.length = len;\n"
716 "data->_save.length = ret;\n"
185 range_check(const char *name, const char *length, const char *forwstr, struct range *r) argument
/freebsd-head/crypto/heimdal/lib/gssapi/krb5/
H A Dsequence.c41 OM_uint32 length; member in struct:gss_msg_order
95 (*o)->length = 0;
125 if (o->length > after_slot)
127 (o->length - after_slot - 1) * sizeof(o->elem[0]));
131 if (o->length < o->jitter_window)
132 o->length++;
164 || o->length == 0)
174 assert(o->length > 0);
177 if (seq_num < o->elem[o->length - 1]) {
184 if (seq_num == o->elem[o->length
251 int32_t i, flags, start, length, jitter_window, first_seq; local
[all...]
/freebsd-head/crypto/heimdal/lib/hx509/
H A Dfile.c39 size_t length; local
43 ret = rk_undumpdata(fn, &data, &length);
46 os->length = length;
58 _hx509_write_file(const char *fn, const void *data, size_t length) argument
60 rk_dumpdata(fn, data, length);
80 size_t length; local
97 length = size;
98 if (length > ENCODE_LINE_LENGTH)
99 length
[all...]
H A Dsel.h62 size_t length; member in struct:hx_expr_input
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dsalt-des.c58 char c = ((i < pw.length) ? ((char*)pw.data)[i] : 0) ^
59 ((i < cell.length) ?
89 memcpy(password, pw.data, min(pw.length, sizeof(password)));
90 if(pw.length < sizeof(password)) {
91 int len = min(cell.length, sizeof(password) - pw.length);
94 memcpy(password + pw.length, cell.data, len);
95 for (i = pw.length; i < pw.length + len; ++i)
98 passlen = min(sizeof(password), pw.length
138 DES_string_to_key_int(unsigned char *data, size_t length, DES_cblock *key) argument
[all...]
/freebsd-head/sys/netgraph/
H A Dng_parse.h52 C types: structures, variable and fixed length arrays, integer types,
53 variable and fixed length strings, IP addresses, etc.
121 structure is variable length, depending on 'alen', the number of
140 // Function to compute the length of the array 'ary', which
141 // is variable length, depending on the previous field 'alen'.
156 &foo_ary_getLength // func to get array length
211 * Upon return, *buflen contains the length of the new binary data, and
216 * 0 Success; *buflen holds the length of the data
248 * Upon return *buflen contains the length of the output.
319 * This type supports fixed length array
339 int length; member in struct:ng_parse_fixedarray_info
[all...]
/freebsd-head/contrib/ncurses/ncurses/base/
H A Dsafe_sprintf.c55 size_t length = BUFSIZ; local
67 if ((buffer = typeMalloc(char, length)) == 0) {
161 if (prec > (int) length) {
162 length = length + prec;
163 buffer = typeRealloc(char, length, buffer);
192 _nc_SPRINTF(buffer, _nc_SLIMIT(length) format, ival);
195 _nc_SPRINTF(buffer, _nc_SLIMIT(length) format, fval);
198 _nc_SPRINTF(buffer, _nc_SLIMIT(length) format, pval);
/freebsd-head/contrib/ncurses/ncurses/tinfo/
H A Dalloc_entry.c193 size_t length = 0; local
196 length += strlen(tp->ext_Names[i]) + 1;
199 TYPE_MALLOC(char, length, tp->ext_str_table);
204 length - offset);
/freebsd-head/tools/tools/vt/mkkfont/
H A Dmkkfont.c44 uint16_t length; member in struct:file_mapping
114 be16toh(fm.length));
/freebsd-head/contrib/atf/atf-c/detail/
H A Ddynstr_test.c324 ATF_TC(length); variable
325 ATF_TC_HEAD(length, tc)
327 atf_tc_set_md_var(tc, "descr", "Checks the method to obtain the length");
329 ATF_TC_BODY(length, tc)
619 ATF_TP_ADD_TC(tp, length);
/freebsd-head/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_loc.c33 * Given an array of bytes of length 'len' representing a
313 * The first byte is address byte length, followed by
314 * the address value. If the length is 0, the address
372 int *length, Dwarf_Error *error)
612 if (length)
613 *length = p - out;
370 _dwarf_loc_expr_add_atom(Dwarf_Debug dbg, uint8_t *out, uint8_t *end, Dwarf_Small atom, Dwarf_Unsigned operand1, Dwarf_Unsigned operand2, int *length, Dwarf_Error *error) argument
/freebsd-head/contrib/wpa/src/tls/
H A Dtlsv1_record.c144 * @out_len: Buffer for returning the used buf length
154 u8 *pos, *ct_start, *length, *cpayload; local
169 /* uint16 length */
170 length = pos;
171 WPA_PUT_BE16(length, payload_len);
193 * opaque fragment[TLSPlaintext.length]
194 * (opaque content[TLSCompressed.length] in GenericBlockCipher)
204 * TLSCompressed.version + TLSCompressed.length +
215 /* type + version + length + fragment */
254 WPA_PUT_BE16(length, po
[all...]
/freebsd-head/contrib/ntp/lib/isc/
H A Dbase64.c46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
63 while (source->length > 2) {
74 if (source->length != 0 &&
81 if (source->length == 2) {
89 } else if (source->length == 1) {
103 int length; /*%< Desired length of binary data or -1 */ member in struct:__anon223
111 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
115 ctx->length = length;
180 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
243 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
H A Dhex.c46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
61 while (source->length > 0) {
68 if (source->length != 0 &&
82 int length; /*%< Desired length of binary data or -1 */ member in struct:__anon230
89 hex_decode_init(hex_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
92 ctx->length = length;
108 if (ctx->length >= 0) {
109 if (ctx->length
129 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument
192 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument
[all...]
/freebsd-head/sys/dev/usb/
H A Duftdiio.h68 * IO is done in 16-bit words at the chip level; offset and length are in bytes,
78 uint16_t length; member in struct:uftdi_eeio
/freebsd-head/sys/xen/interface/io/
H A Dvscsiif.h113 * The operation to be performed is specified via a CDB in cmnd[], the length
120 * the page and the length of the area in that page. All scsiif_request_segment
136 * of the seg[] elements (the sum of all valid seg[].length divided by the
186 uint16_t length; member in struct:scsiif_request_segment
/freebsd-head/contrib/subversion/subversion/libsvn_diff/
H A Dlcs.c42 * minimum number of insertions + deletions. Since there is a known length
48 * Let 'k' be the difference in remaining length between the files, i.e.
160 lcs->length = position[1]->offset - start_position[1]->offset;
223 new_lcs->length = lines;
241 apr_off_t length[2]; local
265 lcs->length = 0;
294 length[0] = position_list1->offset - position_list1->next->offset + 1
296 length[1] = position_list2->offset - position_list2->next->offset + 1
303 sizeof(*fp) * (apr_size_t)(length[0] + length[
[all...]
/freebsd-head/contrib/subversion/subversion/libsvn_fs_base/bdb/
H A Dstrings-table.c84 locate_key(apr_size_t *length,
100 /* Set up the DBT for reading the length of the record. */
130 zero length buf), so we need to re-run the operation to make
143 *length = (apr_size_t) result.size;
153 get_next_length(apr_size_t *length, DBC *cursor, DBT *query)
158 /* Set up the DBT for reading the length of the record. */
179 zero length buf), so we need to re-run the operation to make
189 *length = (apr_size_t) result.size;
206 apr_size_t length, bytes_read = 0;
210 SVN_ERR(locate_key(&length,
82 locate_key(apr_size_t *length, DBC **cursor, DBT *query, svn_fs_t *fs, trail_t *trail, apr_pool_t *pool) argument
151 get_next_length(apr_size_t *length, DBC *cursor, DBT *query) argument
204 apr_size_t length, bytes_read = 0; local
415 apr_size_t length; local
[all...]
/freebsd-head/sys/netpfil/ipfw/
H A Ddn_sched_fq_codel.h55 uint32_t length; /* Queue length, in packets */ member in struct:flow_stats
56 uint32_t len_bytes; /* Queue length, in bytes */
112 si->main_q.ni.length += inc;
116 q->stats.length += inc;
120 si->_si.ni.length += inc;
149 if (si->main_q.ni.length == 0) /* queue is now idle */
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_string.h55 * length throughout.
60 size_t length; /* Length of 's' in characters */ member in struct:archive_string
66 size_t length; /* Length of 's' in characters */ member in struct:archive_wstring
74 do { (a)->s = NULL; (a)->length = 0; (a)->buffer_length = 0; } while(0)
136 ((dest)->length = 0, archive_string_concat((dest), (src)))
138 ((dest)->length = 0, archive_wstring_concat((dest), (src)))
176 ((as)->length=0, archive_strncat((as), (p), (l)))
178 ((as)->length = 0, archive_wstrncat((as), (p), (l)))
180 /* Return length of string. */
181 #define archive_strlen(a) ((a)->length)
[all...]
/freebsd-head/contrib/tcpdump/
H A Dprint-ascii.c59 const u_char *cp, u_int length)
65 if (length > caplength)
66 length = caplength;
68 while (length > 0) {
70 length--;
81 if (length > 1 && *cp != '\n')
95 register const u_char *cp, register u_int length, register u_int oset)
105 if (length > caplength)
106 length = caplength;
107 nshorts = length / sizeo
58 ascii_print(netdissect_options *ndo, const u_char *cp, u_int length) argument
94 hex_and_ascii_print_with_offset(netdissect_options *ndo, register const char *ident, register const u_char *cp, register u_int length, register u_int oset) argument
145 hex_and_ascii_print(netdissect_options *ndo, register const char *ident, register const u_char *cp, register u_int length) argument
155 hex_print_with_offset(netdissect_options *ndo, const char *ident, const u_char *cp, u_int length, u_int oset) argument
187 hex_print(netdissect_options *ndo,const char *ident, const u_char *cp, u_int length) argument
[all...]

Completed in 368 milliseconds

1234567891011>>