Lines Matching refs:C2Value
59 typedef std::function<C2Value(C2Value)> Mapper;
96 mMapper = [](C2Value v) -> C2Value { in withC2Mappers()
102 return C2Value(); in withC2Mappers()
104 mReverse = [](C2Value v) -> C2Value { in withC2Mappers()
111 return C2Value(); in withC2Mappers()
117 C2Value mapFromMessage(const AMessage::ItemData &item) const { in mapFromMessage()
118 C2Value value; in mapFromMessage()
132 if (value.type() != C2Value::NO_INIT && mMapper) { in mapFromMessage()
139 AMessage::ItemData mapToMessage(C2Value value) const { in mapToMessage()
146 if (value.type() != C2Value::NO_INIT && mReverse) { in mapToMessage()
331 ConfigMapper::Mapper makeFloat = [](C2Value v) -> C2Value { in initializeStandardParams()
340 return C2Value(); in initializeStandardParams()
343 ConfigMapper::Mapper negate = [](C2Value v) -> C2Value { in initializeStandardParams()
348 return C2Value(); in initializeStandardParams()
371 .withMappers(makeFloat, [](C2Value v) -> C2Value { in initializeStandardParams()
377 return C2Value(); in initializeStandardParams()
489 .withMappers([](C2Value v) -> C2Value { in initializeStandardParams()
492 return value ? C2Value(C2Config::PREPEND_HEADER_TO_ALL_SYNC) in initializeStandardParams()
493 : C2Value(C2Config::PREPEND_HEADER_TO_NONE); in initializeStandardParams()
495 return C2Value(); in initializeStandardParams()
496 }, [](C2Value v) -> C2Value { in initializeStandardParams()
504 default: return C2Value(); in initializeStandardParams()
507 return C2Value(); in initializeStandardParams()
516 .withMapper([](C2Value v) -> C2Value { in initializeStandardParams()
525 return C2Value(); in initializeStandardParams()
532 .withMappers(makeFloat, [](C2Value v) -> C2Value { in initializeStandardParams()
538 return C2Value(); in initializeStandardParams()
543 .withMapper([](C2Value) -> C2Value { return uint32_t(1); })); in initializeStandardParams() argument
547 .withMapper([](C2Value) -> C2Value { return uint32_t(1); })); in initializeStandardParams() argument
595 .withMappers([](C2Value v) -> C2Value { in initializeStandardParams()
613 return C2Value(); in initializeStandardParams()
614 }, [](C2Value v) -> C2Value { in initializeStandardParams()
628 return C2Value(); in initializeStandardParams()
643 .withMappers([](C2Value v) -> C2Value { in initializeStandardParams()
649 return C2Value(); in initializeStandardParams()
650 }, [](C2Value v) -> C2Value { in initializeStandardParams()
657 return C2Value(); in initializeStandardParams()
662 .withMappers([](C2Value v) -> C2Value { in initializeStandardParams()
667 return C2Value(); in initializeStandardParams()
668 }, [](C2Value v) -> C2Value { in initializeStandardParams()
673 return C2Value(); in initializeStandardParams()
681 .withMappers([mapper](C2Value v) -> C2Value { in initializeStandardParams()
688 }, [mapper](C2Value v) -> C2Value { in initializeStandardParams()
695 return C2Value(); in initializeStandardParams()
700 .withMappers([mapper](C2Value v) -> C2Value { in initializeStandardParams()
707 }, [mapper](C2Value v) -> C2Value { in initializeStandardParams()
714 return C2Value(); in initializeStandardParams()
720 .withMapper([](C2Value v) -> C2Value { in initializeStandardParams()
731 .withMapper([](C2Value v) -> C2Value { in initializeStandardParams()
742 .withMapper([](C2Value v) -> C2Value { in initializeStandardParams()
753 .withMapper([](C2Value v) -> C2Value { in initializeStandardParams()
764 .withMapper([](C2Value v) -> C2Value { in initializeStandardParams()
775 .withMapper([](C2Value v) -> C2Value { in initializeStandardParams()
792 .withMapper([](C2Value v) -> C2Value { in initializeStandardParams()
1096 C2Value c2Value; in getSdkFormatForDomain()
1306 to->set(C2Value(floatValue)); in convert()
1309 to->set(C2Value((float)doubleValue)); in convert()
1317 C2Value c2Value; in relaxValues()