Home
last modified time | relevance | path

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

/thrift-3.4.0/lib/rs/src/protocol/
Dmultiplexed.rs85 fn write_message_begin(&mut self, identifier: &TMessageIdentifier) -> crate::Result<()> { in write_message_begin()
86 match identifier.message_type { in write_message_begin()
89 let identifier = TMessageIdentifier { in write_message_begin() localVariable
90 name: format!("{}:{}", self.service_name, identifier.name), in write_message_begin()
91 ..*identifier in write_message_begin()
93 self.inner.write_message_begin(&identifier) in write_message_begin()
95 _ => self.inner.write_message_begin(identifier), in write_message_begin()
103 fn write_struct_begin(&mut self, identifier: &TStructIdentifier) -> crate::Result<()> { in write_struct_begin()
104 self.inner.write_struct_begin(identifier) in write_struct_begin()
111 fn write_field_begin(&mut self, identifier: &TFieldIdentifier) -> crate::Result<()> { in write_field_begin()
[all …]
Dbinary.rs302 fn write_message_begin(&mut self, identifier: &TMessageIdentifier) -> crate::Result<()> { in write_message_begin()
304 let message_type: u8 = identifier.message_type.into(); in write_message_begin()
307 self.write_string(&identifier.name)?; in write_message_begin()
308 self.write_i32(identifier.sequence_number) in write_message_begin()
310 self.write_string(&identifier.name)?; in write_message_begin()
311 self.write_byte(identifier.message_type.into())?; in write_message_begin()
312 self.write_i32(identifier.sequence_number) in write_message_begin()
328 fn write_field_begin(&mut self, identifier: &TFieldIdentifier) -> crate::Result<()> { in write_field_begin()
329 if identifier.id.is_none() && identifier.field_type != TType::Stop { in write_field_begin()
334 &identifier in write_field_begin()
[all …]
Dmod.rs298 fn write_message_begin(&mut self, identifier: &TMessageIdentifier) -> crate::Result<()>; in write_message_begin()
302 fn write_struct_begin(&mut self, identifier: &TStructIdentifier) -> crate::Result<()>; in write_struct_begin()
306 fn write_field_begin(&mut self, identifier: &TFieldIdentifier) -> crate::Result<()>; in write_field_begin()
329 fn write_list_begin(&mut self, identifier: &TListIdentifier) -> crate::Result<()>; in write_list_begin()
333 fn write_set_begin(&mut self, identifier: &TSetIdentifier) -> crate::Result<()>; in write_set_begin()
337 fn write_map_begin(&mut self, identifier: &TMapIdentifier) -> crate::Result<()>; in write_map_begin()
445 fn write_message_begin(&mut self, identifier: &TMessageIdentifier) -> crate::Result<()> { in write_message_begin()
446 (**self).write_message_begin(identifier) in write_message_begin()
453 fn write_struct_begin(&mut self, identifier: &TStructIdentifier) -> crate::Result<()> { in write_struct_begin()
454 (**self).write_struct_begin(identifier) in write_struct_begin()
[all …]
Dcompact.rs425 fn write_message_begin(&mut self, identifier: &TMessageIdentifier) -> crate::Result<()> { in write_message_begin()
427 self.write_byte((u8::from(identifier.message_type) << 5) | COMPACT_VERSION)?; in write_message_begin()
430 .write_varint(identifier.sequence_number as u32)?; in write_message_begin()
431 self.write_string(&identifier.name)?; in write_message_begin()
455 fn write_field_begin(&mut self, identifier: &TFieldIdentifier) -> crate::Result<()> { in write_field_begin()
456 match identifier.field_type { in write_field_begin()
462 identifier in write_field_begin()
465 self.pending_write_bool_field_identifier = Some(identifier.clone()); in write_field_begin()
469 let field_type = type_to_u8(identifier.field_type); in write_field_begin()
470 let field_id = identifier.id.expect("non-stop field should have field id"); in write_field_begin()
[all …]
/thrift-3.4.0/compiler/cpp/src/thrift/parse/
Dt_const_value.h72 std::string identifier = get_identifier(); in get_integer() local
73 std::string::size_type dot = identifier.rfind('.'); in get_integer()
75 identifier = identifier.substr(dot + 1); in get_integer()
77 t_enum_value* val = enum_->get_constant_by_name(identifier); in get_integer()
79 throw "Unable to find enum value \"" + identifier + "\" in enum \"" + enum_->get_name() in get_integer()
/thrift-3.4.0/compiler/cpp/src/thrift/
Dmain.h47 void validate_simple_identifier(const char* identifier);
Dthriftl.ll119 identifier ([a-zA-Z_](\.[a-zA-Z_0-9]|[a-zA-Z_0-9])*)
274 {identifier} {
280 /* Deliberately placed after identifier, since "e10" is NOT a double literal (THRIFT-3477) */
Dmain.cc857 void validate_simple_identifier(const char* identifier) { in validate_simple_identifier() argument
858 string name(identifier); in validate_simple_identifier()
860 yyerror("Identifier %s can't have a dot.", identifier); in validate_simple_identifier()
Dthrifty.yy107 * Strings identifier
808 …yyerror("\"%d: %s\" - field identifier/name has already been used", $2->get_key(), $2->get_name().…
1133 // Lookup the identifier in the current scope
/thrift-3.4.0/lib/netstd/Tests/Thrift.PublicInterfaces.Compile.Tests/
DThrift5320.enum.thrift20 // Testcase for THRIFT-5320 Usage of "Task" as IDL identifier generates uncompileable code
DThrift5320.exception.thrift20 // Testcase for THRIFT-5320 Usage of "Task" as IDL identifier generates uncompileable code
DThrift5320.struct.thrift20 // Testcase for THRIFT-5320 Usage of "Task" as IDL identifier generates uncompileable code
DThrift5320.thrift20 // Testcase for THRIFT-5320 Usage of "Task" as IDL identifier generates uncompileable code
/thrift-3.4.0/lib/rs/test_recursive/src/transit/
DBuses.thrift41 1: Vehicles.VehicleIdentifier identifier
/thrift-3.4.0/lib/rs/test_recursive/src/
Dlib.rs238 identifier: Some(VehicleIdentifier { in handle_upgrade_bus_compiles_and_returns_expected_value()
/thrift-3.4.0/lib/ocaml/src/
DTBinaryProtocol.ml136 raise (P.E (P.BAD_VERSION, "Missing version identifier"))
/thrift-3.4.0/tutorial/
Dtutorial.thrift102 * which each have an integer identifier, a type, a symbolic name, and an
/thrift-3.4.0/contrib/thrift-maven-plugin/src/test/resources/idl/
Dtutorial.thrift97 * which each have an integer identifier, a type, a symbolic name, and an
/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dt_swift_generator.cc196 string maybe_escape_identifier(const string& identifier);
3113 string t_swift_generator::maybe_escape_identifier(const string& identifier) { in maybe_escape_identifier() argument
3114 if (swift_reserved_words_.find(identifier) != swift_reserved_words_.end()) { in maybe_escape_identifier()
3115 return "`" + identifier + "`"; in maybe_escape_identifier()
3117 return identifier; in maybe_escape_identifier()
Dt_go_generator.cc626 string identifier = package; in render_system_packages() local
632 identifier = package.substr(0, space_pos); in render_system_packages()
638 identifier = package.substr(slash_pos+1); in render_system_packages()
643 package_identifiers_set_.insert(identifier); in render_system_packages()
644 package_identifiers_.emplace(package, identifier); in render_system_packages()
/thrift-3.4.0/doc/specs/
Dthrift.tex185 name identifier. The basic syntax for defining a Thrift struct looks very
187 identifier (unique to the scope of that struct) and optional default values.
443 unique field identifier. Note that the inclusion of type specifiers allows
481 identifier. The combination of this field identifier and its type specifier
502 its definition file. If a field identifier is not recognized, the generated
Dthrift-binary-protocol.md90 ### Universal unique identifier encoding
Dthrift-compact-protocol.md123 ### Universal unique identifier encoding
/thrift-3.4.0/
DCONTRIBUTING.md19 …1. The pull request title must begin with the Jira THRIFT ticket identifier if it has an associate…
DCHANGES.md655 …://issues.apache.org/jira/browse/THRIFT-5320) - Usage of "Task" as IDL identifier generates uncomp…
1781 …jira/browse/THRIFT-3206) - Fix Visual Studio build failure due 'pthread_self': identifier not found
2302 …nerates non-compiling code with const's defined in a thrift when name includes non-identifier chars
2666 …/issues.apache.org/jira/browse/THRIFT-2147) - Thrift IDL grammar allows for dotted identifier names
2822 …ttps://issues.apache.org/jira/browse/THRIFT-667) - Period should not be allowed in identifier names
3061 …](https://issues.apache.org/jira/browse/THRIFT-864) - default value fails if identifier is a struct
3109 …s://issues.apache.org/jira/browse/THRIFT-1995) - '.' allowed at end of identifier generates non-co…