Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 67) sorted by relevance

123

/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dgo_validator_generator.cc140 const std::vector<validation_value*>& values = (*it)->get_values(); in generate_enum_field_validator() local
141 if (values.size() == 0) { in generate_enum_field_validator()
147 if (values.size() > 1) { in generate_enum_field_validator()
153 for (auto it = values.begin(); it != values.end(); it++) { in generate_enum_field_validator()
154 if (it != values.begin()) { in generate_enum_field_validator()
180 if (values[0]->is_field_reference()) { in generate_enum_field_validator()
181 out << get_field_reference_name(values[0]->get_field_reference()); in generate_enum_field_validator()
183 out << values[0]->get_enum()->get_value(); in generate_enum_field_validator()
194 if (values.size() > 1) { in generate_enum_field_validator()
199 if (values.size() > 1) { in generate_enum_field_validator()
[all …]
Dt_gv_generator.cc154 vector<t_enum_value*> values = tenum->get_constants(); in generate_enum() local
156 for (val_iter = values.begin(); val_iter != values.end(); ++val_iter) { in generate_enum()
Dvalidator_parser.h126 void append_value(validation_value* value) { values.push_back(value); } in append_value()
127 const std::vector<validation_value*>& get_values() { return values; }; in get_values()
132 std::vector<validation_value*> values; variable
/thrift-3.4.0/contrib/async-test/
Dtest-leaf.py13 self.values = []
16 self.values.append(value)
20 return self.values
/thrift-3.4.0/lib/haxe/src/org/apache/thrift/
DLimits.hx24 // Haxe limits are not fixed values, they depend on the target platform
26 // the values once during initialization in order to
27 // (a) get the right values for the current platform, and
/thrift-3.4.0/lib/haxe/test/src/
DMultiplexTest.hx71 private var values : List<haxe.Int32> = new List<haxe.Int32>();
78 values.add( value);
83 return values;
167 var values = aggr.getValues(); variable
168 TestBase.Expect(values != null,'aggr.getValues() == null');
169 for( k in values)
/thrift-3.4.0/lib/haxe/src/org/apache/thrift/helper/
DIntSet.hx31 public function new( values : Array<Int> = null) {
32 if ( values != null) {
33 for ( value in values) {
DObjectSet.hx31 public function new( values : Array<K> = null) {
32 if ( values != null) {
33 for ( value in values) {
DStringSet.hx31 public function new( values : Array<String> = null) {
32 if ( values != null) {
33 for ( value in values) {
DInt64Map.hx27 // Int64Map allows mapping of Int64 keys to arbitrary values.
178 Returns an Iterator over the values of `this` Map.
179 The order of values is undefined.
186 Returns an Iterator over the values of `this` Map.
187 The order of values is undefined.
/thrift-3.4.0/lib/d/src/thrift/codegen/
Dasync_client_pool.d761 auto defaultAccumulator(T)(T[] values, Exception[] exceptions) { in defaultAccumulator()
762 if (values.empty) { in defaultAccumulator()
769 return reduce!"a ~ b"(values); in defaultAccumulator()
771 return values; in defaultAccumulator()
891 T[] values, Exception[] exceptions
895 static if (is(typeof(accumulator(values, exceptions)))) {
896 return accumulator(values, exceptions);
898 return accumulator(values);
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/
DTestTEnumHelper.java31 for (Numberz n : Numberz.values()) { in testGetByValue_ValidValues()
/thrift-3.4.0/lib/rb/lib/thrift/
Dunion.rb29 name, value = name.keys.first, name.values.first
121 klass::FIELDS.values.each do |field_info|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/transport/sasl/
DNegotiationStatus.java38 for (NegotiationStatus s : NegotiationStatus.values()) {
/thrift-3.4.0/lib/perl/t/
Dmultiplex.t154 $self->{values} = ();
163 push (@{$self->{values}}, $value);
169 return $self->{values};
/thrift-3.4.0/doc/specs/
Dthrift-binary-protocol.md137 Message types are encoded with the following values:
221 * `size` is the size, encoded as an int32, positive values only
222 * `elements` the element values
224 The element-type values are the same as field-types. The full list is included in the struct sectio…
249 * `size` is the size of the map, encoded as an int32, positive values only
250 * `key value pairs` are the encoded keys and values
252 The element-type values are the same as field-types. The full list is included in the struct sectio…
Dthrift-compact-protocol.md120 list or map). Field values are encoded directly in the field header. Element values of type `bool` …
152 Message types are encoded with the following values:
229 Note that because there are 2 specific field types for the boolean values, the encoding of a boolea…
251 * `ssss` is the size, 4 bit unsigned int, values `0` - `14`
253 * `size` is the size, a var int (int32), positive values `15` or higher
304 * `size` is the size, a var int (int32), strictly positive values
307 * `key value pairs` are the encoded keys and values
Didl.md59 An enum creates an enumerated type, with named values. If no constant value is supplied, the value …
101 There are two explicit requiredness values, and a third one that is applied implicitly if neither …
111 - Defaults values: are always written
121 - Default values: are written when the isset flag is set
129 - Default values: may not be written (see next section)
135 … that topic, see JIRA for details. Not all implementations treat default values in the very same w…
/thrift-3.4.0/test/crossrunner/
Dcollect.py100 def to_spec_impl_tuples(values): argument
101 for v in values:
/thrift-3.4.0/test/v0.16/
DThriftTest.thrift199 … Prints 'testStruct("{%s}")' where thing has been formatted into a string of comma separated values
229 * Prints 'testSet("{%s}")' where thing has been formatted into a string of values
237 * Prints 'testList("{%s}")' where thing has been formatted into a string of values
261 * @return map<i32,map<i32,i32>> - returns a dictionary with these values:
269 * Creates a map with these values and prints it out:
275 * @return map<UserId, map<Numberz,Insanity>> - a map with the above values
/thrift-3.4.0/test/
DThriftTest.thrift207 … Prints 'testStruct("{%s}")' where thing has been formatted into a string of comma separated values
237 * Prints 'testSet("{%s}")' where thing has been formatted into a string of values
245 * Prints 'testList("{%s}")' where thing has been formatted into a string of values
269 * @return map<i32,map<i32,i32>> - returns a dictionary with these values:
277 * Creates a map with these values and prints it out:
283 * @return map<UserId, map<Numberz,Insanity>> - a map with the above values
DEnumTest.thrift65 // with an overflow error, as we overflow values that can be
94 // collections as values
/thrift-3.4.0/lib/netstd/Tests/Thrift.PublicInterfaces.Compile.Tests/
DThrift5382.objs.thrift20 // Testcase for THRIFT-5382 Netstd default list/set enums values are generated incorrectly
/thrift-3.4.0/test/haxe/src/
DTestServerHandler.hx165 * into a string of comma separated values
254 * into a string of values
279 * into a string of values
331 * @return map<i32,map<i32,i32>> - returns a dictionary with these values:
355 * Creates a the returned map with these values and prints it out:
361 * @return map<UserId, map<Numberz,Insanity>> - a map with the above values
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/partial/
DEnumCacheTest.java63 public static TEnum[] values() { in values() method in EnumCacheTest.NotEnum

123