Lines Matching defs:big
1389 /* The sample data must be big enough that there are two calls to
1410 /* The sample data must be big enough that there are two calls to
2992 // Can we make a big allocation?
2993 void *big = malloc(maxbuf);
2994 if (! big) {
2995 // The big allocation failed. Let's be a little lenient.
2998 free(big);
4570 /* Test little-endian UTF-16 given an explicit big-endian encoding */
4599 /* Test big-endian UTF-16 given an explicit little-endian encoding */
5319 {"<c attr='", "'></c>"}, // big attribute, used to be O(N²)
5321 {"<e><", "/></e>"}, // big elem name, used to be O(N²)
5519 // ..and the start of the big token
5535 // end the big token.
5553 assert_true(testdata.count == 2); // the big token should be done
5741 // fill data until the big token is covered (but not necessarily parsed)
5752 // context bytes and our big token. In order to detect a special case,
5753 // we need to know how many bytes of our big token were included in the
5754 // first push that contained _any_ bytes of the big token:
5757 // Special case: we aren't saving any context, and the whole big token
5765 // fill data until the big token is actually parsed
5775 // since all the bytes of the big token are already in the buffer,
5798 const int big = 7654321; // arbitrarily chosen between 4 and 8 MiB
5809 memset(&document[2], ' ', big - 2); // a very spacy token
5810 document[big - 1] = '>';
5887 assert_true(storage.count == 1); // the big token should've been parsed