Searched refs:buffer_end (Results 1 - 10 of 10) sorted by relevance

/macosx-10.10/Security-57031.1.35/Security/utilities/Regressions/
H A Dsu-12-cfboolean-der.c42 uint8_t *buffer_end = buffer + sizeof(buffer); local
44 uint8_t* encoded = der_encode_plist(value, NULL, buffer, buffer_end);
47 (der_size == (buffer_end - encoded)) &&
50 encoded = der_encode_boolean(value, NULL, buffer, buffer_end);
53 (der_size == (buffer_end - encoded)) &&
57 printf(".size = %d, .res = { ", (buffer_end - encoded));
58 for(int c = 0; c < (buffer_end - encoded); ++c)
65 &decoded, NULL, encoded, buffer_end);
67 ok(decode_end == buffer_end);
72 &decoded_type, NULL, encoded, buffer_end);
[all...]
H A Dsu-13-cfnumber-der.c60 uint8_t* buffer_end = buffer + sizeof(buffer); local
64 uint8_t* encoded = der_encode_plist(initialValue, NULL, buffer, buffer_end);
67 (thisCase->encoded_size == (buffer_end - encoded)) &&
70 encoded = der_encode_number(initialValue, NULL, buffer, buffer_end);
73 (thisCase->encoded_size == (buffer_end - encoded)) &&
77 printf(".size = %d, .res = { ", (buffer_end - encoded));
78 for(int c = 0; c < (buffer_end - encoded); ++c)
86 &decoded, NULL, encoded, buffer_end);
88 ok(decode_end == buffer_end, "didn't decode whole buffer");
94 &decoded_type, NULL, encoded, buffer_end);
[all...]
H A Dsu-14-cfarray-der.c63 uint8_t* buffer_end = buffer + sizeof(buffer); local
65 uint8_t* encoded = der_encode_plist(testValue, NULL, buffer, buffer_end);
68 (thisCase->encoded_size == (buffer_end - encoded)) &&
71 encoded = der_encode_array(testValue, NULL, buffer, buffer_end);
74 (thisCase->encoded_size == (buffer_end - encoded)) &&
78 printf(".encoded_size = %d, .encoded = { ", (buffer_end - encoded));
79 for(int c = 0; c < (buffer_end - encoded); ++c)
87 &decoded, NULL, encoded, buffer_end);
89 ok(decode_end == buffer_end, "didn't decode whole buffer");
95 &decoded_type, NULL, encoded, buffer_end);
[all...]
H A Dsu-10-cfstring-der.c56 uint8_t* buffer_end = buffer + sizeof(buffer); local
58 uint8_t* encoded = der_encode_string(thisCase->str, NULL, buffer, buffer_end);
61 (thisCase->size == (buffer_end - encoded)) &&
67 &decoded, NULL, encoded, buffer_end);
69 ok(decode_end == buffer_end);
72 encoded = der_encode_plist(thisCase->str, NULL, buffer, buffer_end);
75 (thisCase->size == (buffer_end - encoded)) &&
81 &decoded_type, NULL, encoded, buffer_end);
83 ok(decode_end == buffer_end);
H A Dsu-15-cfdictionary-der.c63 uint8_t* buffer_end = buffer + sizeof(buffer); local
65 uint8_t* encoded = der_encode_plist(testValue, NULL, buffer, buffer_end);
68 (expected_size == (buffer_end - encoded)) &&
71 encoded = der_encode_dictionary(testValue, NULL, buffer, buffer_end);
74 (expected_size == (buffer_end - encoded)) &&
78 printf(".encoded_size = %d, .encoded = { ", (buffer_end - encoded));
79 for(int c = 0; c < (buffer_end - encoded); ++c)
87 &decoded, NULL, encoded, buffer_end);
89 ok(decode_end == buffer_end, "didn't decode whole buffer");
95 &decoded_type, NULL, encoded, buffer_end);
[all...]
H A Dsu-16-cfdate-der.c119 uint8_t* buffer_end = buffer + sizeof(buffer); local
124 uint8_t* encoded = der_encode_plist(initialValue, &error, buffer, buffer_end);
129 ok_der_date_is(testnumber, thisCase->expected, encoded, buffer_end);
133 encoded = der_encode_date(initialValue, &error, buffer, buffer_end);
138 ok_der_date_is(testnumber, thisCase->expected, encoded, buffer_end);
144 &decoded, &error, encoded, buffer_end);
148 ok(decode_end == buffer_end, "[%d] didn't decode whole buffer", testnumber);
154 &decoded_type, &error, encoded, buffer_end);
158 ok(decode_end == buffer_end, "[%d] didn't decode whole buffer", testnumber);
H A Dsu-11-cfdata-der.c101 uint8_t *buffer_end = buffer + sizeof(buffer); local
103 uint8_t* encoded = der_encode_plist(start, NULL, buffer, buffer_end);
106 (thisCase->result_size == (buffer_end - encoded)) &&
109 encoded = der_encode_data(start, NULL, buffer, buffer_end);
112 (thisCase->result_size == (buffer_end - encoded)) &&
116 printf(".size = %d, .res = { ", (buffer_end - encoded));
117 for(int c = 0; c < (buffer_end - encoded); ++c)
124 &decoded, NULL, encoded, buffer_end);
126 ok(decode_end == buffer_end);
131 &decoded_type, NULL, encoded, buffer_end);
[all...]
/macosx-10.10/emacs-93/emacs/src/
H A Dregion-cache.c95 buffer_end and the BEG and BUF_BEG macros. */ member in struct:region_cache
96 int buffer_beg, buffer_end;
103 : (c)->buffer_end + (c)->boundaries[(c)->gap_len + (i)].pos)
149 c->buffer_end = BEG;
227 int buffer_end = c->buffer_end;
244 = (buffer_end
292 = c->boundaries[gap_start].pos + buffer_beg - buffer_end;
408 || end > c->buffer_end)
472 if (end == c->buffer_end)
223 int buffer_end = c->buffer_end; local
[all...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm/ADT/
H A DHashing.h394 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value, argument
397 if (buffer_ptr + store_size > buffer_end)
414 char *const buffer_end = buffer_ptr + array_lengthof(buffer); local
415 while (first != last && store_and_advance(buffer_ptr, buffer_end,
420 assert(buffer_ptr == buffer_end);
428 while (first != last && store_and_advance(buffer_ptr, buffer_end,
435 std::rotate(buffer, buffer_ptr, buffer_end);
523 char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) { argument
524 if (!store_and_advance(buffer_ptr, buffer_end, data)) {
529 size_t partial_store_size = buffer_end
564 combine(size_t length, char *buffer_ptr, char *buffer_end, const T &arg, const Ts &...args) argument
578 combine(size_t length, char *buffer_ptr, char *buffer_end, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6) argument
585 combine(size_t length, char *buffer_ptr, char *buffer_end, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5) argument
592 combine(size_t length, char *buffer_ptr, char *buffer_end, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4) argument
599 combine(size_t length, char *buffer_ptr, char *buffer_end, const T1 &arg1, const T2 &arg2, const T3 &arg3) argument
605 combine(size_t length, char *buffer_ptr, char *buffer_end, const T1 &arg1, const T2 &arg2) argument
611 combine(size_t length, char *buffer_ptr, char *buffer_end, const T1 &arg1) argument
624 combine(size_t length, char *buffer_ptr, char *buffer_end) argument
[all...]
/macosx-10.10/tcl-105/tcl_ext/expect/expect/
H A Dexp_clib.c1755 char *buffer_end; /* one beyond end of matchable chars */
1805 fp->buffer_end = fp->buffer;
2454 exp_buffer_end = f->buffer_end;
2677 f->buffer_end = exp_buffer_end;
1754 char *buffer_end; /* one beyond end of matchable chars */ member in struct:f

Completed in 89 milliseconds