/thrift-3.4.0/lib/nodejs/lib/thrift/ |
D | multiplexed_processor.js | 32 var begin = inp.readMessageBegin(); 34 if (begin.mtype != Thrift.MessageType.CALL && begin.mtype != Thrift.MessageType.ONEWAY) { 38 var p = begin.fname.split(':'); 57 mtype: begin.mtype, 58 rseqid: begin.rseqid
|
/thrift-3.4.0/doc/specs/ |
D | thrift-protocol-spec.md | 44 <message> ::= <message-begin> <struct> <message-end> 46 <message-begin> ::= <method-name> <message-type> <message-seqid> 54 <struct> ::= <struct-begin> <field>* <field-stop> <struct-end> 56 <struct-begin> ::= <struct-name> 62 <field> ::= <field-begin> <field-data> <field-end> 64 <field-begin> ::= <field-name> <field-type> <field-id> 77 <map> ::= <map-begin> <field-datum>* <map-end> 79 <map-begin> ::= <map-key-type> <map-value-type> <map-size> 87 <list> ::= <list-begin> <field-data>* <list-end> 89 <list-begin> ::= <list-elem-type> <list-size> [all …]
|
/thrift-3.4.0/lib/cpp/test/ |
D | TMemoryBufferTest.cpp | 144 std::iota(x.begin(), x.end(), 0); in BOOST_AUTO_TEST_CASE() 170 BOOST_CHECK_EQUAL_COLLECTIONS(scratch.begin(), scratch.end(), buf_mem.begin(), in BOOST_AUTO_TEST_CASE() 171 buf_mem.begin() + M); in BOOST_AUTO_TEST_CASE() 181 BOOST_CHECK_EQUAL_COLLECTIONS(scratch.begin(), scratch.end(), buf_mem.begin(), buf_mem.end()); in BOOST_AUTO_TEST_CASE() 217 std::iota(x.begin(), x.end(), 0); in BOOST_AUTO_TEST_CASE() 239 BOOST_CHECK_EQUAL_COLLECTIONS(scratch.begin(), scratch.end(), buf_mem.begin(), in BOOST_AUTO_TEST_CASE() 240 buf_mem.begin() + M); in BOOST_AUTO_TEST_CASE() 248 BOOST_CHECK_EQUAL_COLLECTIONS(scratch.begin(), scratch.end(), buf_mem.begin(), buf_mem.end()); in BOOST_AUTO_TEST_CASE() 286 BOOST_CHECK_EQUAL_COLLECTIONS(scratch.begin(), scratch.end(), buf_mem.begin(), in BOOST_AUTO_TEST_CASE() 287 buf_mem.begin() + N); in BOOST_AUTO_TEST_CASE() [all …]
|
/thrift-3.4.0/compiler/cpp/src/thrift/generate/ |
D | t_markdown_generator.cc | 63 for( iter = parsed_options.begin(); iter != parsed_options.end(); ++iter) { in t_markdown_generator() 135 for(auto chr=s.begin();chr<=s.end(); ++chr) { in str_to_id() 188 for (sv_iter = services.begin(); sv_iter != services.end(); ++sv_iter) { in generate_program_toc_row() 189 if(sv_iter != services.begin()) { in generate_program_toc_row() 200 for (fn_iter = functions.begin(); fn_iter != functions.end(); ++fn_iter) { in generate_program_toc_row() 212 auto it_fill = filling.begin(); in generate_program_toc_row() 217 for (en_iter = enums.begin(); en_iter != enums.end(); ++en_iter) { in generate_program_toc_row() 235 for (td_iter = typedefs.begin(); td_iter != typedefs.end(); ++td_iter) { in generate_program_toc_row() 253 for (o_iter = objects.begin(); o_iter != objects.end(); ++o_iter) { in generate_program_toc_row() 278 it_fill = filling.begin(); in generate_program_toc_row() [all …]
|
D | t_json_generator.cc | 60 for( iter = parsed_options.begin(); iter != parsed_options.end(); ++iter) { in t_json_generator() 306 for (inc_iter = includes.begin(); inc_iter != includes.end(); ++inc_iter) { in merge_includes() 313 for (en_iter = enums.begin(); en_iter != enums.end(); ++en_iter) { in merge_includes() 319 for (td_iter = typedefs.begin(); td_iter != typedefs.end(); ++td_iter) { in merge_includes() 325 for (o_iter = objects.begin(); o_iter != objects.end(); ++o_iter) { in merge_includes() 331 for (c_iter = consts.begin(); c_iter != consts.end(); ++c_iter) { in merge_includes() 338 for (sv_iter = services.begin(); sv_iter != services.end(); ++sv_iter) { in merge_includes() 362 for (ns_it = namespaces.begin(); ns_it != namespaces.end(); ++ns_it) { in generate_program() 373 for (inc_it = includes.begin(); inc_it != includes.end(); ++inc_it) { in generate_program() 387 for (en_iter = enums.begin(); en_iter != enums.end(); ++en_iter) { in generate_program() [all …]
|
D | t_d_generator.cc | 66 for( iter = parsed_options.begin(); iter != parsed_options.end(); ++iter) { in t_d_generator() 78 …const bool isIn = std::binary_search(std::begin(d_reserved_words), std::end(d_reserved_words), nam… in suffix_if_reserved() 142 for (c_iter = consts.begin(); c_iter != consts.end(); ++c_iter) { in generate_consts() 153 for (c_iter = consts.begin(); c_iter != consts.end(); ++c_iter) { in generate_consts() 187 for (c_iter = constants.begin(); c_iter != constants.end(); ++c_iter) { in generate_enum() 246 for (fn_iter = functions.begin(); fn_iter != functions.end(); ++fn_iter) { in generate_service() 254 for (ex_iter = exceptions.begin(); ex_iter != exceptions.end(); ++ex_iter) { in generate_service() 263 for (et_iter = exception_types.begin(); et_iter != exception_types.end(); ++et_iter) { in generate_service() 274 for (fn_iter = functions.begin(); fn_iter != functions.end(); ++fn_iter) { in generate_service() 293 for (p_iter = params.begin(); p_iter != params.end(); ++p_iter) { in generate_service() [all …]
|
D | t_swift_generator.cc | 67 for( iter = parsed_options.begin(); iter != parsed_options.end(); ++iter) { in t_swift_generator() 253 for (m_iter = members.begin(); m_iter != members.end(); ++m_iter) { in struct_has_required_fields() 264 for (m_iter = members.begin(); m_iter != members.end(); ++m_iter) { in struct_has_optional_fields() 351 for (i_iter=includes_list.begin(); i_iter!=includes_list.end(); ++i_iter) { in swift_imports() 383 for (i_iter=includes_list.begin(); i_iter!=includes_list.end(); ++i_iter) { in swift_thrift_imports() 432 for (c_iter = constants.begin(); c_iter != constants.end(); ++c_iter) { in generate_enum() 475 for (c_iter = constants.begin(); c_iter != constants.end(); ++c_iter) { in generate_enum() 490 for (c_iter = constants.begin(); c_iter != constants.end(); ++c_iter) { in generate_enum() 522 for (c_iter = constants.begin(); c_iter != constants.end(); ++c_iter) { in generate_old_enum() 559 std::transform(name.begin(), name.end(), name.begin(), ::tolower); in enum_case_name() [all …]
|
D | t_gv_generator.cc | 56 for( iter = parsed_options.begin(); iter != parsed_options.end(); ++iter) { in t_gv_generator() 127 std::list<string>::iterator iter = edges.begin(); in close_generator() 156 for (val_iter = values.begin(); val_iter != values.end(); ++val_iter) { in generate_enum() 198 vector<t_field*>::iterator mem_iter = members.begin(); in generate_struct() 258 for (map_iter = map_elems.begin(); map_iter != map_elems.end(); map_iter++) { in print_const_value() 274 for (list_iter = list_elems.begin(); list_iter != list_elems.end(); list_iter++) { in print_const_value() 307 vector<t_function*>::iterator fn_iter = functions.begin(); in generate_service() 317 vector<t_field*>::iterator arg_iter = args.begin(); in generate_service() 335 vector<t_field*>::iterator ex_iter = excepts.begin(); in generate_service()
|
D | t_xml_generator.cc | 67 for( iter = parsed_options.begin(); iter != parsed_options.end(); ++iter) { in t_xml_generator() 320 for (inc_it = includes.begin(); inc_it != includes.end(); ++inc_it) { in iterate_program() 328 for (ns_it = namespaces.begin(); ns_it != namespaces.end(); ++ns_it) { in iterate_program() 339 for (c_iter = consts.begin(); c_iter != consts.end(); ++c_iter) { in iterate_program() 345 for (td_iter = typedefs.begin(); td_iter != typedefs.end(); ++td_iter) { in iterate_program() 351 for (en_iter = enums.begin(); en_iter != enums.end(); ++en_iter) { in iterate_program() 357 for (o_iter = objects.begin(); o_iter != objects.end(); ++o_iter) { in iterate_program() 367 for (sv_iter = services.begin(); sv_iter != services.end(); ++sv_iter) { in iterate_program() 377 for (prog_it = programs.begin(); prog_it != programs.end(); ++prog_it) { in iterate_program() 445 for (iter = annotations.begin(); iter != annotations.end(); ++iter) { in generate_annotations() [all …]
|
D | t_html_generator.cc | 61 for( iter = parsed_options.begin(); iter != parsed_options.end(); ++iter) { in t_html_generator() 166 for (sv_iter = services.begin(); sv_iter != services.end(); ++sv_iter) { in generate_program_toc_row() 174 for (fn_iter = functions.begin(); fn_iter != functions.end(); ++fn_iter) { in generate_program_toc_row() 191 for (en_iter = enums.begin(); en_iter != enums.end(); ++en_iter) { in generate_program_toc_row() 202 for (td_iter = typedefs.begin(); td_iter != typedefs.end(); ++td_iter) { in generate_program_toc_row() 214 for (o_iter = objects.begin(); o_iter != objects.end(); ++o_iter) { in generate_program_toc_row() 231 for (con_iter = consts.begin(); con_iter != consts.end(); ++con_iter) { in generate_program_toc_row() 281 for (en_iter = enums.begin(); en_iter != enums.end(); ++en_iter) { in generate_program() 291 for (td_iter = typedefs.begin(); td_iter != typedefs.end(); ++td_iter) { in generate_program() 301 for (o_iter = objects.begin(); o_iter != objects.end(); ++o_iter) { in generate_program() [all …]
|
D | t_generator.cc | 37 for (en_iter = enums.begin(); en_iter != enums.end(); ++en_iter) { in generate_program() 44 for (td_iter = typedefs.begin(); td_iter != typedefs.end(); ++td_iter) { in generate_program() 52 for (o_iter = objects.begin(); o_iter != objects.end(); ++o_iter) { in generate_program() 55 for (o_iter = objects.begin(); o_iter != objects.end(); ++o_iter) { in generate_program() 70 for (sv_iter = services.begin(); sv_iter != services.end(); ++sv_iter) { in generate_program() 97 for(it=list.begin(); it != list.end(); ++it) { in validate() 144 for (string::const_iterator it = in.begin(); it < in.end(); it++) { in escape_string() 157 for (c_iter = consts.begin(); c_iter != consts.end(); ++c_iter) { in generate_consts()
|
D | t_rb_generator.cc | 88 for( iter = parsed_options.begin(); iter != parsed_options.end(); ++iter) { in t_rb_generator() 215 std::string::iterator pos = ns.begin(); in ruby_modules() 368 for (c_iter = constants.begin(); c_iter != constants.end(); ++c_iter) { in generate_enum() 383 for (c_iter = constants.begin(); c_iter != constants.end(); ++c_iter) { in generate_enum() 386 if (c_iter != constants.begin()) in generate_enum() 394 for (c_iter = constants.begin(); c_iter != constants.end(); ++c_iter) { in generate_enum() 396 if (c_iter != constants.begin()) in generate_enum() 463 for (v_iter = val.begin(); v_iter != val.end(); ++v_iter) { in render_const_value() 465 for (f_iter = fields.begin(); f_iter != fields.end(); ++f_iter) { in render_const_value() 486 for (v_iter = val.begin(); v_iter != val.end(); ++v_iter) { in render_const_value() [all …]
|
D | go_validator_generator.cc | 62 for (auto it = members.begin(); it != members.end(); it++) { in generate_struct_validator() 139 for (auto it = context.rules.begin(); it != context.rules.end(); it++) { 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() 202 for (auto it = values.begin(); it != values.end(); it++) { in generate_enum_field_validator() 203 if (it != values.begin()) { in generate_enum_field_validator() 260 for (auto it = context.rules.begin(); it != context.rules.end(); it++) { in generate_bool_field_validator() 292 for (auto it = context.rules.begin(); it != context.rules.end(); it++) { in generate_double_field_validator() 327 for (auto it = values.begin(); it != values.end(); it++) { in generate_double_field_validator() 328 if (it != values.begin()) { in generate_double_field_validator() [all …]
|
D | t_oop_generator.h | 55 std::transform(original.begin(), original.end(), original.begin(), (int (*)(int))toupper); in upcase_string() 100 for (p_iter = fields.begin(); p_iter != fields.end(); ++p_iter) { in generate_java_doc()
|
D | t_cl_generator.cc | 59 for(iter = parsed_options.begin(); iter != parsed_options.end(); ++iter) { in t_cl_generator() 184 replace(raw.begin(), raw.end(), '"', '\''); in cl_docstring() 249 for (c_iter = constants.begin(); c_iter != constants.end(); ++c_iter) { in generate_enum() 252 if(c_iter != constants.begin()) f_types_ << endl << indent() << " "; in generate_enum() 317 for (v_iter = val.begin(); v_iter != val.end(); ++v_iter) { in render_const_value() 319 for (f_iter = fields.begin(); f_iter != fields.end(); ++f_iter) { in render_const_value() 342 for (v_iter = val.begin(); v_iter != val.end(); ++v_iter) { in render_const_value() 365 for (v_iter = val.begin(); v_iter != val.end(); ++v_iter) { in render_const_value() 392 for (m_iter = members.begin(); m_iter != members.end(); ++m_iter) { in generate_cl_struct_internal() 396 if (m_iter != members.begin()) { in generate_cl_struct_internal() [all …]
|
/thrift-3.4.0/compiler/cpp/src/thrift/ |
D | main.cc | 353 sp.insert(sp.begin(), g_curdir); in include_file() 357 for (it = sp.begin(); it != sp.end(); it++) { in include_file() 427 docstring.erase(remove(docstring.begin(), docstring.end(), '\r'), docstring.end()); in clean_up_doctext() 462 for (l_iter = lines.begin() + 1; l_iter != lines.end(); ++l_iter) { in clean_up_doctext() 497 for (l_iter = lines.begin() + 1; l_iter != lines.end(); ++l_iter) { in clean_up_doctext() 504 for (l_iter = lines.begin() + 1; l_iter != lines.end(); ++l_iter) { in clean_up_doctext() 516 for (l_iter = lines.begin() + 1; l_iter != lines.end(); ++l_iter) { in clean_up_doctext() 522 for (l_iter = lines.begin(); l_iter != lines.end(); ++l_iter) { in clean_up_doctext() 532 lines.erase(lines.begin()); in clean_up_doctext() 537 for (l_iter = lines.begin(); l_iter != lines.end(); ++l_iter) { in clean_up_doctext() [all …]
|
/thrift-3.4.0/compiler/cpp/src/thrift/parse/ |
D | t_enum.h | 45 for (c_iter = enum_values.begin(); c_iter != enum_values.end(); ++c_iter) { in get_constant_by_name() 56 for (c_iter = enum_values.begin(); c_iter != enum_values.end(); ++c_iter) { in get_constant_by_value() 74 for (c_iter = enum_values.begin(); c_iter != enum_values.end(); ++c_iter) { in get_min_value() 94 for (c_iter = enum_values.begin(); c_iter != enum_values.end(); ++c_iter) { in get_max_value()
|
D | t_scope.h | 95 for (iter = types_.begin(); iter != types_.end(); ++iter) { in print() 102 for (iter = constants_.begin(); iter != constants_.end(); ++iter) { in resolve_all_consts() 117 for (v_iter = map.begin(); v_iter != map.end(); ++v_iter) { in resolve_const_value() 124 for (v_iter = val.begin(); v_iter != val.end(); ++v_iter) { in resolve_const_value() 130 for (v_iter = val.begin(); v_iter != val.end(); ++v_iter) { in resolve_const_value() 137 for (v_iter = map.begin(); v_iter != map.end(); ++v_iter) { in resolve_const_value() 183 for (v_iter = map.begin(); v_iter != map.end(); ++v_iter) { in resolve_const_value() 191 for (v_iter = val.begin(); v_iter != val.end(); ++v_iter) { in resolve_const_value()
|
D | t_service.h | 49 for (iter = functions_.begin(); iter != functions_.end(); ++iter) { in validate_unique_members() 68 for (iter = functions_.begin(); iter != functions_.end(); ++iter) { in get_function_by_name() 85 for (iter = functions_.begin(); iter != functions_.end(); ++iter) { in get_function_by_name()
|
/thrift-3.4.0/tutorial/delphi/DelphiServer/ |
D | DelphiServer.dpr | 73 begin 80 begin 90 begin 96 begin 104 begin 130 begin 137 begin 150 begin 168 begin
|
/thrift-3.4.0/compiler/cpp/src/thrift/audit/ |
D | t_audit.cpp | 98 for(newEnumIt = newEnumList.begin(); newEnumIt != newEnumList.end(); newEnumIt++) in compare_enums() 103 for(oldEnumIt = oldEnumList.begin(); oldEnumIt != oldEnumList.end(); oldEnumIt++) in compare_enums() 197 … defaultValuesCompare && std::equal(newDefaultList.begin(), newDefaultList.end(), oldDefaultList.b… in compare_defaults() 206 …return defaultValuesCompare && std::equal(newMap.begin(), newMap.end(), oldMap.begin(), compare_pa… in compare_defaults() 254 auto oldStructMemberIt = oldStructMembersInIdOrder.begin(); in compare_single_struct() 255 auto newStructMemberIt = newStructMembersInIdOrder.begin(); in compare_single_struct() 305 …for(newStructListIt = newStructList.begin(); newStructListIt != newStructList.end(); newStructList… in compare_structs() 311 …for(oldStructListIt = oldStructList.begin(); oldStructListIt != oldStructList.end(); oldStructList… in compare_structs() 384 for(oldServiceIt = oldServices.begin(); oldServiceIt != oldServices.end(); oldServiceIt++) in compare_services() 432 for(newConstIt = newConst.begin(); newConstIt != newConst.end(); newConstIt++) in compare_consts() [all …]
|
/thrift-3.4.0/lib/delphi/test/serializer/ |
D | SerializerData.dpr | 49 begin 55 begin 61 begin 67 begin 78 begin
|
/thrift-3.4.0/lib/delphi/test/skip/ |
D | skiptest_version1.dpr | 48 begin 65 begin 75 begin 90 begin 120 begin 143 begin 170 begin 173 if FileExists( fname + REQUEST_EXT) then begin 190 begin
|
/thrift-3.4.0/lib/cpp/src/thrift/concurrency/ |
D | TimerManager.cpp | 96 == manager_->taskMap_.begin()) { in run() 99 …t = std::chrono::duration_cast<std::chrono::milliseconds>(manager_->taskMap_.begin()->first - now); in run() 112 for (auto ix = manager_->taskMap_.begin(); ix != expiredTaskEnd; ix++) { in run() 121 manager_->taskMap_.erase(manager_->taskMap_.begin(), expiredTaskEnd); in run() 260 bool notifyRequired = (taskCount_ == 0) ? true : abstime < taskMap_.begin()->first; in add() 282 for (auto ix = taskMap_.begin(); ix != taskMap_.end();) { in remove()
|
/thrift-3.4.0/lib/cpp/src/thrift/ |
D | VirtualProfiling.cpp | 313 BacktraceVector gp_sorted(generic_calls.begin(), generic_calls.end()); in profile_print_info() 314 std::sort(gp_sorted.begin(), gp_sorted.end(), is_greater); in profile_print_info() 316 for (BacktraceVector::const_iterator it = gp_sorted.begin(); it != gp_sorted.end(); ++it) { in profile_print_info() 329 BacktraceVector vc_sorted(virtual_calls.begin(), virtual_calls.end()); in profile_print_info() 330 std::sort(vc_sorted.begin(), vc_sorted.end(), is_greater); in profile_print_info() 332 for (BacktraceVector::const_iterator it = vc_sorted.begin(); it != vc_sorted.end(); ++it) { in profile_print_info() 357 for (BacktraceMap::const_iterator it = map.begin(); it != map.end(); ++it) { in profile_write_pprof_file()
|