• Home
  • Raw
  • Download

Lines Matching refs:pb_decode

269         TEST((s = S(""), pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 0))  in main()
270 TEST((s = S("\x08\x01\x08\x02"), pb_decode(&s, IntegerArray_fields, &dest) in main()
273 … TEST(pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 10 && dest.data[9] == 10) in main()
275 TEST(!pb_decode(&s, IntegerArray_fields, &dest)) in main()
283 TEST((s = S("\x0A\x00"), pb_decode(&s, IntegerArray_fields, &dest) in main()
285 TEST((s = S("\x0A\x01\x01"), pb_decode(&s, IntegerArray_fields, &dest) in main()
287 …TEST((s = S("\x0A\x0A\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A"), pb_decode(&s, IntegerArray_fields… in main()
289 …TEST((s = S("\x0A\x0B\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B"), !pb_decode(&s, IntegerArray_f… in main()
292 TEST((s = S("\x0A\xFF"), !pb_decode(&s, IntegerArray_fields, &dest))) in main()
293 TEST((s = S("\x0A\x01"), !pb_decode(&s, IntegerArray_fields, &dest))) in main()
301 TEST((s = S("\x18\x0F\x08\x01"), pb_decode(&s, IntegerArray_fields, &dest) in main()
303 …TEST((s = S("\x19\x00\x00\x00\x00\x00\x00\x00\x00\x08\x01"), pb_decode(&s, IntegerArray_fields, &d… in main()
305 TEST((s = S("\x1A\x00\x08\x01"), pb_decode(&s, IntegerArray_fields, &dest) in main()
307 TEST((s = S("\x1B\x08\x01"), !pb_decode(&s, IntegerArray_fields, &dest))) in main()
308 TEST((s = S("\x1D\x00\x00\x00\x00\x08\x01"), pb_decode(&s, IntegerArray_fields, &dest) in main()
322 TEST((s = S("\x08\x55"), pb_decode(&s, CallbackArray_fields, &dest))) in main()
325 TEST((s = S("\x0A\x03\x55\x55\x55"), pb_decode(&s, CallbackArray_fields, &dest))) in main()
328 TEST((s = S("\x0A\x03\x55\x55\x55"), pb_decode(&s, CallbackArray_fields, &dest))) in main()
331 TEST((s = S("\x0D\xAA\xAA\xAA\xAA"), pb_decode(&s, CallbackArray_fields, &dest))) in main()
334 … TEST((s = S("\x09\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"), pb_decode(&s, CallbackArray_fields, &dest))) in main()
336 TEST((s = S("\x0B\x00"), !pb_decode(&s, CallbackArray_fields, &dest))) in main()
340 TEST((s = S("\x08\x55"), !pb_decode(&s, CallbackArray_fields, &dest))) in main()
348 TEST((s = S(""), pb_decode(&s, IntegerArray_fields, &dest))) in main()
349 TEST((s = S("\x00"), pb_decode(&s, IntegerArray_fields, &dest))) in main()
350 TEST((s = S("\x08\x01"), pb_decode(&s, IntegerArray_fields, &dest))) in main()
351 TEST((s = S("\x08\x01\x00"), pb_decode(&s, IntegerArray_fields, &dest))) in main()
352 TEST((s = S("\x08"), !pb_decode(&s, IntegerArray_fields, &dest))) in main()
360 TEST((s = S("\x9f\xea"), !pb_decode(&s, IntegerArray_fields, &dest))); in main()