Lines Matching refs:BEGIN_SCRIPT

128 #define BEGIN_SCRIPT(name, title, flags)                                       \  macro
161 BEGIN_SCRIPT(null, "serialize a single null", 0)
165 BEGIN_SCRIPT(obj_empty, "serialize an empty object", 0)
170 BEGIN_SCRIPT(array_empty, "serialize an empty array", 0)
175 BEGIN_SCRIPT(bool_false, "serialize false", 0)
179 BEGIN_SCRIPT(bool_true, "serialize true", 0)
183 BEGIN_SCRIPT(u64_0, "serialize u64(0)", 0)
187 BEGIN_SCRIPT(u64_1, "serialize u64(1)", 0)
191 BEGIN_SCRIPT(u64_10, "serialize u64(10)", 0)
195 BEGIN_SCRIPT(u64_12345, "serialize u64(12345)", 0)
199 BEGIN_SCRIPT(u64_18446744073709551615, "serialize u64(18446744073709551615)", 0)
203 BEGIN_SCRIPT(i64_0, "serialize i64(0)", 0)
207 BEGIN_SCRIPT(i64_1, "serialize i64(1)", 0)
211 BEGIN_SCRIPT(i64_2, "serialize i64(2)", 0)
215 BEGIN_SCRIPT(i64_10, "serialize i64(10)", 0)
219 BEGIN_SCRIPT(i64_12345, "serialize i64(12345)", 0)
223 BEGIN_SCRIPT(i64_9223372036854775807, "serialize i64(9223372036854775807)", 0)
227 BEGIN_SCRIPT(i64_m1, "serialize i64(-1)", 0)
231 BEGIN_SCRIPT(i64_m2, "serialize i64(-2)", 0)
235 BEGIN_SCRIPT(i64_m10, "serialize i64(-10)", 0)
239 BEGIN_SCRIPT(i64_m12345, "serialize i64(-12345)", 0)
243 BEGIN_SCRIPT(i64_m9223372036854775807, "serialize i64(-9223372036854775807)", 0)
247 BEGIN_SCRIPT(i64_m9223372036854775808, "serialize i64(-9223372036854775808)", 0)
251 BEGIN_SCRIPT(str_empty, "serialize \"\"", 0)
255 BEGIN_SCRIPT(str_a, "serialize \"a\"", 0)
259 BEGIN_SCRIPT(str_abc, "serialize \"abc\"", 0)
263 BEGIN_SCRIPT(str_quote, "serialize with quote", 0)
267 BEGIN_SCRIPT(str_quote2, "serialize with quote", 0)
271 BEGIN_SCRIPT(str_escape, "serialize with various escapes", 0)
275 BEGIN_SCRIPT(str_len, "length-signalled string", 0)
279 BEGIN_SCRIPT(str_len0, "0-length-signalled string", 0)
283 BEGIN_SCRIPT(str_len_nul, "string with NUL", 0)
287 BEGIN_SCRIPT(hex_data0, "zero-length hex data", 0)
291 BEGIN_SCRIPT(hex_data, "hex data", 0)
295 BEGIN_SCRIPT(array_nest1, "serialize nested empty arrays", 0)
302 BEGIN_SCRIPT(array_nest2, "serialize nested empty arrays", 0)
311 BEGIN_SCRIPT(array_nest3, "serialize nested empty arrays", 0)
326 BEGIN_SCRIPT(array_nest4, "deep nested arrays", 0)
370 BEGIN_SCRIPT(obj_nontrivial1, "serialize nontrivial object", 0)
377 BEGIN_SCRIPT(obj_nontrivial2, "serialize nontrivial object", 0)
386 BEGIN_SCRIPT(obj_nest1, "serialize nested objects", 0)
410 BEGIN_SCRIPT(err_obj_no_key, "error test: object item without key", 0)
419 BEGIN_SCRIPT(err_obj_multi_key, "error test: object item with repeated key", 0)
429 BEGIN_SCRIPT(err_obj_no_value, "error test: object item with no value", 0)
437 BEGIN_SCRIPT(err_utf8, "error test: only basic ASCII supported", 0)
442 BEGIN_SCRIPT(utf8_2, "test: valid UTF-8 2byte supported", 0)
447 BEGIN_SCRIPT(utf8_3, "test: valid UTF-8 3byte supported", 0)
452 BEGIN_SCRIPT(utf8_4, "test: valid UTF-8 4byte supported", 0)
457 BEGIN_SCRIPT(ijson_int, "I-JSON: large integer", OSSL_JSON_FLAG_IJSON)
468 BEGIN_SCRIPT(multi_item, "multiple top level items", 0)
477 BEGIN_SCRIPT(seq, "JSON-SEQ", OSSL_JSON_FLAG_SEQ)