Home
last modified time | relevance | path

Searched refs:roundtrip (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/json/test/src/
Dunit-unicode.cpp1219 void roundtrip(bool success_expected, const std::string& s);
1221 void roundtrip(bool success_expected, const std::string& s) in roundtrip() function
1268 roundtrip(true, "κόσμε");
1276 roundtrip(true, std::string("\0", 1));
1278 roundtrip(true, "\xc2\x80");
1280 roundtrip(true, "\xe0\xa0\x80");
1282 roundtrip(true, "\xf0\x90\x80\x80");
1285 roundtrip(false, "\xF8\x88\x80\x80\x80");
1287 roundtrip(false, "\xFC\x84\x80\x80\x80\x80");
1293 roundtrip(true, "\x7f");
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DAbstractProto3LiteSchemaTest.java103 roundtrip("Field 53", newBuilder().setFieldDouble53(100).build()); in oneofFieldsShouldRoundtrip()
104 roundtrip("Field 54", newBuilder().setFieldFloat54(100).build()); in oneofFieldsShouldRoundtrip()
105 roundtrip("Field 55", newBuilder().setFieldInt6455(100).build()); in oneofFieldsShouldRoundtrip()
106 roundtrip("Field 56", newBuilder().setFieldUint6456(100L).build()); in oneofFieldsShouldRoundtrip()
107 roundtrip("Field 57", newBuilder().setFieldInt3257(100).build()); in oneofFieldsShouldRoundtrip()
108 roundtrip("Field 58", newBuilder().setFieldFixed6458(100).build()); in oneofFieldsShouldRoundtrip()
109 roundtrip("Field 59", newBuilder().setFieldFixed3259(100).build()); in oneofFieldsShouldRoundtrip()
110 roundtrip("Field 60", newBuilder().setFieldBool60(true).build()); in oneofFieldsShouldRoundtrip()
111 roundtrip("Field 61", newBuilder().setFieldString61(data().getString()).build()); in oneofFieldsShouldRoundtrip()
112 roundtrip( in oneofFieldsShouldRoundtrip()
[all …]
DAbstractProto3SchemaTest.java102 roundtrip("Field 53", newBuilder().setFieldDouble53(100).build()); in oneofFieldsShouldRoundtrip()
103 roundtrip("Field 54", newBuilder().setFieldFloat54(100).build()); in oneofFieldsShouldRoundtrip()
104 roundtrip("Field 55", newBuilder().setFieldInt6455(100).build()); in oneofFieldsShouldRoundtrip()
105 roundtrip("Field 56", newBuilder().setFieldUint6456(100L).build()); in oneofFieldsShouldRoundtrip()
106 roundtrip("Field 57", newBuilder().setFieldInt3257(100).build()); in oneofFieldsShouldRoundtrip()
107 roundtrip("Field 58", newBuilder().setFieldFixed6458(100).build()); in oneofFieldsShouldRoundtrip()
108 roundtrip("Field 59", newBuilder().setFieldFixed3259(100).build()); in oneofFieldsShouldRoundtrip()
109 roundtrip("Field 60", newBuilder().setFieldBool60(true).build()); in oneofFieldsShouldRoundtrip()
110 roundtrip("Field 61", newBuilder().setFieldString61(data().getString()).build()); in oneofFieldsShouldRoundtrip()
111 roundtrip( in oneofFieldsShouldRoundtrip()
[all …]
DAbstractProto2LiteSchemaTest.java82 roundtrip("Field 53", newBuilder().setFieldDouble53(100).build()); in oneofFieldsShouldRoundtrip()
83 roundtrip("Field 54", newBuilder().setFieldFloat54(100).build()); in oneofFieldsShouldRoundtrip()
84 roundtrip("Field 55", newBuilder().setFieldInt6455(100).build()); in oneofFieldsShouldRoundtrip()
85 roundtrip("Field 56", newBuilder().setFieldUint6456(100L).build()); in oneofFieldsShouldRoundtrip()
86 roundtrip("Field 57", newBuilder().setFieldInt3257(100).build()); in oneofFieldsShouldRoundtrip()
87 roundtrip("Field 58", newBuilder().setFieldFixed6458(100).build()); in oneofFieldsShouldRoundtrip()
88 roundtrip("Field 59", newBuilder().setFieldFixed3259(100).build()); in oneofFieldsShouldRoundtrip()
89 roundtrip("Field 60", newBuilder().setFieldBool60(true).build()); in oneofFieldsShouldRoundtrip()
90 roundtrip("Field 61", newBuilder().setFieldString61(data().getString()).build()); in oneofFieldsShouldRoundtrip()
91 roundtrip( in oneofFieldsShouldRoundtrip()
[all …]
DAbstractProto2SchemaTest.java81 roundtrip("Field 53", newBuilder().setFieldDouble53(100).build()); in oneofFieldsShouldRoundtrip()
82 roundtrip("Field 54", newBuilder().setFieldFloat54(100).build()); in oneofFieldsShouldRoundtrip()
83 roundtrip("Field 55", newBuilder().setFieldInt6455(100).build()); in oneofFieldsShouldRoundtrip()
84 roundtrip("Field 56", newBuilder().setFieldUint6456(100L).build()); in oneofFieldsShouldRoundtrip()
85 roundtrip("Field 57", newBuilder().setFieldInt3257(100).build()); in oneofFieldsShouldRoundtrip()
86 roundtrip("Field 58", newBuilder().setFieldFixed6458(100).build()); in oneofFieldsShouldRoundtrip()
87 roundtrip("Field 59", newBuilder().setFieldFixed3259(100).build()); in oneofFieldsShouldRoundtrip()
88 roundtrip("Field 60", newBuilder().setFieldBool60(true).build()); in oneofFieldsShouldRoundtrip()
89 roundtrip("Field 61", newBuilder().setFieldString61(data().getString()).build()); in oneofFieldsShouldRoundtrip()
90 roundtrip( in oneofFieldsShouldRoundtrip()
[all …]
DAbstractSchemaTest.java72 roundtrip("", messageFactory().newMessage()); in randomMessageShouldRoundtrip()
112 protected static final <M extends MessageLite> void roundtrip( in roundtrip() method in AbstractSchemaTest
134 protected final void roundtrip(String failureMessage, T msg) throws IOException { in roundtrip() method in AbstractSchemaTest
135 roundtrip(failureMessage, msg, schema); in roundtrip()
/third_party/boost/libs/compute/test/
Dtest_literal_conversion.cpp22 std::vector<float> values, roundtrip; in BOOST_AUTO_TEST_CASE() local
39 roundtrip.push_back(x); in BOOST_AUTO_TEST_CASE()
41 BOOST_CHECK_EQUAL(values[0], roundtrip[0]); in BOOST_AUTO_TEST_CASE()
42 BOOST_CHECK_EQUAL(values[1], roundtrip[1]); in BOOST_AUTO_TEST_CASE()
43 BOOST_CHECK_EQUAL(values[2], roundtrip[2]); in BOOST_AUTO_TEST_CASE()
48 std::vector<double> values, roundtrip; in BOOST_AUTO_TEST_CASE() local
67 roundtrip.push_back(x); in BOOST_AUTO_TEST_CASE()
69 BOOST_CHECK_EQUAL(values[0], roundtrip[0]); in BOOST_AUTO_TEST_CASE()
70 BOOST_CHECK_EQUAL(values[1], roundtrip[1]); in BOOST_AUTO_TEST_CASE()
71 BOOST_CHECK_EQUAL(values[2], roundtrip[2]); in BOOST_AUTO_TEST_CASE()
/third_party/flutter/skia/third_party/skcms/
Dskcms_internal.h34 float roundtrip = (float)((int)x); in floorf_() local
35 return roundtrip > x ? roundtrip - 1 : roundtrip; in floorf_()
/third_party/skia/third_party/skcms/
Dskcms_internal.h43 float roundtrip = (float)((int)x); in floorf_() local
44 return roundtrip > x ? roundtrip - 1 : roundtrip; in floorf_()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_format_test.c16 enum pipe_format roundtrip = vk_format_to_pipe_format(vk_fmt); in main() local
17 if (roundtrip != pipe_fmt) { in main()
21 util_format_name(roundtrip), in main()
/third_party/boost/libs/io/doc/
Dquoted.adoc22 std::string roundtrip;
25 ss >> roundtrip;
28 std::cout << roundtrip; // outputs: fooled
30 assert(original == roundtrip); // assert will fire
41 std::string roundtrip;
44 ss >> quoted(roundtrip);
47 std::cout << roundtrip; // outputs: fooled you
49 assert(original == roundtrip); // assert will not fire
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
Darith_test.js313 var roundtrip = jspb.arith.UInt64.fromString(a.toString());
314 assertEquals(roundtrip.lo, a.lo);
315 assertEquals(roundtrip.hi, a.hi);
350 var roundtrip =
352 assertEquals(roundtrip, testStrings[i]);
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
Darith_test.js313 var roundtrip = jspb.arith.UInt64.fromString(a.toString());
314 assertEquals(roundtrip.lo, a.lo);
315 assertEquals(roundtrip.hi, a.hi);
350 var roundtrip =
352 assertEquals(roundtrip, testStrings[i]);
/third_party/protobuf/js/binary/
Darith_test.js312 var roundtrip = jspb.arith.UInt64.fromString(a.toString());
313 expect(roundtrip.lo).toEqual(a.lo);
314 expect(roundtrip.hi).toEqual(a.hi);
349 var roundtrip =
351 expect(roundtrip).toEqual(testStrings[i]);
/third_party/mesa3d/src/virtio/vulkan/
Dvn_cs.c198 uint32_t roundtrip; in vn_cs_encoder_reserve_internal() local
199 VkResult result = vn_instance_submit_roundtrip(enc->instance, &roundtrip); in vn_cs_encoder_reserve_internal()
207 enc->current_buffer_roundtrip = roundtrip; in vn_cs_encoder_reserve_internal()
/third_party/mesa3d/src/compiler/nir/
Dnir_conversion_builder.h78 nir_ssa_def *roundtrip = in nir_round_float_to_float() local
80 nir_ssa_def *cmp = nir_flt(b, roundtrip, src); in nir_round_float_to_float()
89 nir_ssa_def *roundtrip = in nir_round_float_to_float() local
91 nir_ssa_def *cmp = nir_flt(b, src, roundtrip); in nir_round_float_to_float()
/third_party/mesa3d/docs/relnotes/
D17.0.7.rst57 - vulkan/wsi/wayland: Remove roundtrip when creating image
60 - egl/wayland: Don't open-code roundtrip
D17.1.2.rst55 - vulkan/wsi/wayland: Remove roundtrip when creating image
58 - egl/wayland: Don't open-code roundtrip
/third_party/python/Lib/test/
Dtest_complex.py641 roundtrip = complex(repr(z))
642 self.assertFloatsAreIdentical(z.real, roundtrip.real)
643 self.assertFloatsAreIdentical(z.imag, roundtrip.imag)
652 roundtrip = eval(repr(z))
655 0.0 + roundtrip.real)
657 0.0 + roundtrip.imag)
/third_party/skia/include/private/
DSkNx_neon.h20 auto roundtrip = vcvtq_f32_s32(vcvtq_s32_f32(v)); in emulate_vrndmq_f32() local
21 auto too_big = vcgtq_f32(roundtrip, v); in emulate_vrndmq_f32()
22 return vsubq_f32(roundtrip, (float32x4_t)vandq_u32(too_big, (uint32x4_t)vdupq_n_f32(1))); in emulate_vrndmq_f32()
25 auto roundtrip = vcvt_f32_s32(vcvt_s32_f32(v)); in emulate_vrndm_f32() local
26 auto too_big = vcgt_f32(roundtrip, v); in emulate_vrndm_f32()
27 return vsub_f32(roundtrip, (float32x2_t)vand_u32(too_big, (uint32x2_t)vdup_n_f32(1))); in emulate_vrndm_f32()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestReorderingMode.java313 static final byte roundtrip[][][][] = field in TestReorderingMode
447 if (roundtrip[tc][mode][option][level] == 1) { in assertRoundTrip()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
DTestReorderingMode.java316 static final byte roundtrip[][][][] = field in TestReorderingMode
450 if (roundtrip[tc][mode][option][level] == 1) { in assertRoundTrip()
/third_party/flutter/skia/include/private/
DSkNx_neon.h20 auto roundtrip = vcvtq_f32_s32(vcvtq_s32_f32(v)); in emulate_vrndmq_f32() local
21 auto too_big = vcgtq_f32(roundtrip, v); in emulate_vrndmq_f32()
22 return vsubq_f32(roundtrip, (float32x4_t)vandq_u32(too_big, (uint32x4_t)vdupq_n_f32(1))); in emulate_vrndmq_f32()
25 auto roundtrip = vcvt_f32_s32(vcvt_s32_f32(v)); in emulate_vrndm_f32() local
26 auto too_big = vcgt_f32(roundtrip, v); in emulate_vrndm_f32()
27 return vsub_f32(roundtrip, (float32x2_t)vand_u32(too_big, (uint32x2_t)vdup_n_f32(1))); in emulate_vrndm_f32()
/third_party/skia/third_party/externals/brotli/python/
DREADME.md2 `bro.py` tool, and roundtrip tests.
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
Dradius_client.c818 int len, roundtrip; in radius_client_receive() local
906 roundtrip = (now.sec - req->last_attempt.sec) * 100 + in radius_client_receive()
912 roundtrip / 100, roundtrip % 100); in radius_client_receive()
913 rconf->round_trip_time = roundtrip; in radius_client_receive()

12345