Home
last modified time | relevance | path

Searched refs:CelValue (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/mock_cel/
Dcel_value.h52 class CelValue {
56 CelValue() : CelValue(nullptr) {} in CelValue() function
62 static CelValue CreateNull() { return CelValue(nullptr); } in CreateNull()
64 static CelValue CreateInt64(int64_t value) { return CreateNull(); } in CreateInt64()
66 static CelValue CreateUint64(uint64_t value) { return CreateNull(); } in CreateUint64()
68 static CelValue CreateStringView(absl::string_view value) { in CreateStringView()
72 static CelValue CreateString(const std::string* str) { return CreateNull(); } in CreateString()
74 static CelValue CreateMap(const CelMap* value) { return CreateNull(); } in CreateMap()
80 explicit CelValue(T value) {} in CelValue() function
89 absl::Span<std::pair<CelValue, CelValue>> key_values) { in Create() argument
Devaluator_core.h58 absl::StatusOr<CelValue> Evaluate( in Evaluate()
60 return CelValue::CreateNull(); in Evaluate()
Dactivation.h51 void InsertValue(absl::string_view name, const CelValue& value) {} in InsertValue()
Dcel_expression.h42 virtual absl::StatusOr<CelValue> Evaluate(
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/
Dauthorization_engine.cc101 mock_cel::CelValue::CreateStringView(url_path)); in CreateActivation()
107 mock_cel::CelValue::CreateStringView(host)); in CreateActivation()
113 mock_cel::CelValue::CreateStringView(method)); in CreateActivation()
118 std::vector<std::pair<mock_cel::CelValue, mock_cel::CelValue>> in CreateActivation()
124 std::pair<mock_cel::CelValue, mock_cel::CelValue>( in CreateActivation()
125 mock_cel::CelValue::CreateStringView(header_key), in CreateActivation()
126 mock_cel::CelValue::CreateStringView(header_item->second))); in CreateActivation()
130 absl::Span<std::pair<mock_cel::CelValue, mock_cel::CelValue>>( in CreateActivation()
133 mock_cel::CelValue::CreateMap(headers_.get())); in CreateActivation()
139 mock_cel::CelValue::CreateStringView(source_address)); in CreateActivation()
[all …]