Lines Matching refs:string
448 std::vector<std::pair<std::string, std::string>> short_properties = { in TEST()
449 { "ro.0char", std::string() }, in TEST()
450 { "ro.50char", std::string(50, 'x') }, in TEST()
451 { "ro.91char", std::string(91, 'x') }, in TEST()
454 std::vector<std::pair<std::string, std::string>> long_properties = { in TEST()
455 { "ro.92char", std::string(92, 'x') }, in TEST()
456 { "ro.93char", std::string(93, 'x') }, in TEST()
457 { "ro.1000char", std::string(1000, 'x') }, in TEST()
461 const std::string& name = property.first; in TEST()
462 const std::string& value = property.second; in TEST()
467 const std::string& name = property.first; in TEST()
468 const std::string& value = property.second; in TEST()
472 auto check_with_legacy_read = [&system_properties](const std::string& name, in TEST()
473 const std::string& expected_value) { in TEST()
480 auto check_with_read_callback = [&system_properties](const std::string& name, in TEST()
481 const std::string& expected_value) { in TEST()
484 std::string value; in TEST()
487 auto* out_value = reinterpret_cast<std::string*>(cookie); in TEST()
495 const std::string& name = property.first; in TEST()
496 const std::string& value = property.second; in TEST()
504 const std::string& name = property.first; in TEST()
505 const std::string& value = property.second; in TEST()
522 auto value = std::string(128 * 1024 + 1, 'x'); in TEST()