diff
stringlengths
41
2.03M
msg
stringlengths
1
1.5k
repo
stringlengths
5
40
sha
stringlengths
40
40
time
stringlengths
20
20
mmm a / src / compiler / code - assembler . cc <nl> ppp b / src / compiler / code - assembler . cc <nl> void CodeAssembler : : GotoIfException ( Node * node , Label * if_exception , <nl> Bind ( & success ) ; <nl> } <nl> <nl> - Node * CodeAssembler : : CallN ( CallDescriptor * descriptor , Node * code_target , <nl> - Node * * args ) { <nl> - CallPrologue ( ) ; <nl> - Node * return_value = raw_assembler ( ) - > CallN ( descriptor , code_target , args ) ; <nl> - CallEpilogue ( ) ; <nl> - return return_value ; <nl> - } <nl> - <nl> - Node * CodeAssembler : : TailCallN ( CallDescriptor * descriptor , Node * code_target , <nl> - Node * * args ) { <nl> - return raw_assembler ( ) - > TailCallN ( descriptor , code_target , args ) ; <nl> - } <nl> - <nl> template < class . . . TArgs > <nl> Node * CodeAssembler : : CallRuntime ( Runtime : : FunctionId function , Node * context , <nl> TArgs . . . args ) { <nl> Node * CodeAssembler : : TailCallStub ( const CallInterfaceDescriptor & descriptor , <nl> REPEAT_1_TO_7 ( INSTANTIATE , Node * ) <nl> # undef INSTANTIATE <nl> <nl> + template < class . . . TArgs > <nl> Node * CodeAssembler : : TailCallBytecodeDispatch ( <nl> - const CallInterfaceDescriptor & interface_descriptor , <nl> - Node * code_target_address , Node * * args ) { <nl> - CallDescriptor * descriptor = Linkage : : GetBytecodeDispatchCallDescriptor ( <nl> - isolate ( ) , zone ( ) , interface_descriptor , <nl> - interface_descriptor . GetStackParameterCount ( ) ) ; <nl> - return raw_assembler ( ) - > TailCallN ( descriptor , code_target_address , args ) ; <nl> + const CallInterfaceDescriptor & descriptor , Node * target , TArgs . . . args ) { <nl> + DCHECK_EQ ( descriptor . GetParameterCount ( ) , sizeof . . . ( args ) ) ; <nl> + CallDescriptor * desc = Linkage : : GetBytecodeDispatchCallDescriptor ( <nl> + isolate ( ) , zone ( ) , descriptor , descriptor . GetStackParameterCount ( ) ) ; <nl> + <nl> + Node * nodes [ ] = { target , args . . . } ; <nl> + return raw_assembler ( ) - > TailCallN ( desc , arraysize ( nodes ) , nodes ) ; <nl> } <nl> <nl> + / / Instantiate TailCallBytecodeDispatch ( ) with 4 arguments . <nl> + template V8_EXPORT_PRIVATE Node * CodeAssembler : : TailCallBytecodeDispatch ( <nl> + const CallInterfaceDescriptor & descriptor , Node * target , Node * , Node * , <nl> + Node * , Node * ) ; <nl> + <nl> Node * CodeAssembler : : CallCFunction2 ( MachineType return_type , <nl> MachineType arg0_type , <nl> MachineType arg1_type , Node * function , <nl> mmm a / src / compiler / code - assembler . h <nl> ppp b / src / compiler / code - assembler . h <nl> class V8_EXPORT_PRIVATE CodeAssembler { <nl> Node * TailCallStub ( const CallInterfaceDescriptor & descriptor , Node * target , <nl> Node * context , TArgs . . . args ) ; <nl> <nl> + template < class . . . TArgs > <nl> Node * TailCallBytecodeDispatch ( const CallInterfaceDescriptor & descriptor , <nl> - Node * code_target_address , Node * * args ) ; <nl> + Node * target , TArgs . . . args ) ; <nl> <nl> template < class . . . TArgs > <nl> Node * CallJS ( Callable const & callable , Node * context , Node * function , <nl> class V8_EXPORT_PRIVATE CodeAssembler { <nl> virtual void CallEpilogue ( ) ; <nl> <nl> private : <nl> - Node * CallN ( CallDescriptor * descriptor , Node * code_target , Node * * args ) ; <nl> - Node * TailCallN ( CallDescriptor * descriptor , Node * code_target , Node * * args ) ; <nl> - <nl> RawMachineAssembler * raw_assembler ( ) const ; <nl> <nl> CodeAssemblerState * state_ ; <nl> mmm a / src / compiler / raw - machine - assembler . cc <nl> ppp b / src / compiler / raw - machine - assembler . cc <nl> Node * RawMachineAssembler : : CallNWithFrameState ( CallDescriptor * desc , <nl> return AddNode ( common ( ) - > Call ( desc ) , input_count , buffer ) ; <nl> } <nl> <nl> - Node * RawMachineAssembler : : TailCallN ( CallDescriptor * desc , Node * function , <nl> - Node * * args ) { <nl> - int param_count = static_cast < int > ( desc - > ParameterCount ( ) ) ; <nl> - int input_count = param_count + 1 ; <nl> - Node * * buffer = zone ( ) - > NewArray < Node * > ( input_count ) ; <nl> - int index = 0 ; <nl> - buffer [ index + + ] = function ; <nl> - for ( int i = 0 ; i < param_count ; i + + ) { <nl> - buffer [ index + + ] = args [ i ] ; <nl> - } <nl> - return TailCallN ( desc , input_count , buffer ) ; <nl> - } <nl> - <nl> Node * RawMachineAssembler : : TailCallN ( CallDescriptor * desc , int input_count , <nl> Node * const * inputs ) { <nl> / / + 1 is for target . <nl> mmm a / src / compiler / raw - machine - assembler . h <nl> ppp b / src / compiler / raw - machine - assembler . h <nl> class V8_EXPORT_PRIVATE RawMachineAssembler { <nl> Node * arg1 , Node * arg2 , Node * arg3 , Node * arg4 , <nl> Node * arg5 , Node * arg6 , Node * arg7 ) ; <nl> <nl> - / / Tail call the given call descriptor and the given arguments . <nl> - Node * TailCallN ( CallDescriptor * call_descriptor , Node * function , Node * * args ) ; <nl> - <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / The following utility methods deal with control flow , hence might switch <nl> / / the current basic block or create new basic blocks for labels . <nl> mmm a / src / interpreter / interpreter - assembler . cc <nl> ppp b / src / interpreter / interpreter - assembler . cc <nl> Node * InterpreterAssembler : : DispatchToBytecodeHandler ( Node * handler , <nl> Node * InterpreterAssembler : : DispatchToBytecodeHandlerEntry ( <nl> Node * handler_entry , Node * bytecode_offset ) { <nl> InterpreterDispatchDescriptor descriptor ( isolate ( ) ) ; <nl> - Node * args [ ] = { GetAccumulatorUnchecked ( ) , bytecode_offset , <nl> - BytecodeArrayTaggedPointer ( ) , DispatchTableRawPointer ( ) } ; <nl> - return TailCallBytecodeDispatch ( descriptor , handler_entry , args ) ; <nl> + return TailCallBytecodeDispatch ( <nl> + descriptor , handler_entry , GetAccumulatorUnchecked ( ) , bytecode_offset , <nl> + BytecodeArrayTaggedPointer ( ) , DispatchTableRawPointer ( ) ) ; <nl> } <nl> <nl> void InterpreterAssembler : : DispatchWide ( OperandScale operand_scale ) { <nl>
[ interpreter ] Avoid allocation of temporary array of Nodes when generating dispatch to bytecode handler .
v8/v8
63279611b2917f647da70adbf5423f9c4af45fb6
2016-12-16T12:58:19Z
mmm a / src / core / hle / service / fs / fs_user . cpp <nl> ppp b / src / core / hle / service / fs / fs_user . cpp <nl> static void FormatThisUserSaveData ( Service : : Interface * self ) { <nl> cmd_buff [ 1 ] = FormatArchive ( ArchiveIdCode : : SaveData ) . raw ; <nl> } <nl> <nl> + / * * <nl> + * FS_User : : CreateExtSaveData service function <nl> + * Inputs : <nl> + * 0 : 0x08510242 <nl> + * 1 : High word of the saveid to create <nl> + * 2 : Low word of the saveid to create <nl> + * Outputs : <nl> + * 1 : Result of function , 0 on success , otherwise error code <nl> + * / <nl> static void CreateExtSaveData ( Service : : Interface * self ) { <nl> / / TODO ( Subv ) : Figure out the other parameters . <nl> u32 * cmd_buff = Kernel : : GetCommandBuffer ( ) ; <nl> static void CreateExtSaveData ( Service : : Interface * self ) { <nl> cmd_buff [ 1 ] = CreateExtSaveData ( save_high , save_low ) . raw ; <nl> } <nl> <nl> + / * * <nl> + * FS_User : : CardSlotIsInserted service function . <nl> + * Inputs : <nl> + * 0 : 0x08210000 <nl> + * Outputs : <nl> + * 1 : Result of function , 0 on success , otherwise error code <nl> + * 2 : Whether there is a game card inserted into the slot or not . <nl> + * / <nl> + static void CardSlotIsInserted ( Service : : Interface * self ) { <nl> + u32 * cmd_buff = Kernel : : GetCommandBuffer ( ) ; <nl> + cmd_buff [ 1 ] = RESULT_SUCCESS . raw ; <nl> + cmd_buff [ 2 ] = 0 ; <nl> + LOG_WARNING ( Service_FS , " ( STUBBED ) called " ) ; <nl> + } <nl> + <nl> const FSUserInterface : : FunctionInfo FunctionTable [ ] = { <nl> { 0x000100C6 , nullptr , " Dummy1 " } , <nl> { 0x040100C4 , nullptr , " Control " } , <nl> const FSUserInterface : : FunctionInfo FunctionTable [ ] = { <nl> { 0x081E0042 , nullptr , " GetNandLog " } , <nl> { 0x081F0000 , nullptr , " ClearSdmcLog " } , <nl> { 0x08200000 , nullptr , " ClearNandLog " } , <nl> - { 0x08210000 , nullptr , " CardSlotIsInserted " } , <nl> + { 0x08210000 , CardSlotIsInserted , " CardSlotIsInserted " } , <nl> { 0x08220000 , nullptr , " CardSlotPowerOn " } , <nl> { 0x08230000 , nullptr , " CardSlotPowerOff " } , <nl> { 0x08240000 , nullptr , " CardSlotGetCardIFPowerStatus " } , <nl>
Merge pull request from Subv / card
yuzu-emu/yuzu
d175f2b7f354f87184f2e213148be48973129e27
2015-03-02T03:49:29Z
mmm a / externals / fmt <nl> ppp b / externals / fmt <nl> @ @ - 1 + 1 @ @ <nl> - Subproject commit c2ce7e4f07f7b34b2c7bbd0a4d0798b1d7007f4f <nl> + Subproject commit 62010520edc734df16c48f9dbb238143279abd7a <nl>
Merge pull request from lioncash / fmt
yuzu-emu/yuzu
a1bdc597e90a89d4e3a207f6ca3c2ed1474b711a
2018-08-23T00:46:22Z
mmm a / modules / core / test / test_umat . cpp <nl> ppp b / modules / core / test / test_umat . cpp <nl> TEST ( UMat , Sync ) <nl> EXPECT_EQ ( 0 , cvtest : : norm ( um . getMat ( ACCESS_READ ) , cv : : Mat ( um . size ( ) , um . type ( ) , 19 ) , NORM_INF ) ) ; <nl> } <nl> <nl> + TEST ( UMat , SyncTemp ) <nl> + { <nl> + Mat m ( 10 , 10 , CV_8UC1 ) ; <nl> + <nl> + { <nl> + UMat um = m . getUMat ( ACCESS_WRITE ) ; <nl> + <nl> + { <nl> + Mat m2 = um . getMat ( ACCESS_WRITE ) ; <nl> + m2 . setTo ( cv : : Scalar : : all ( 17 ) ) ; <nl> + } <nl> + <nl> + um . setTo ( cv : : Scalar : : all ( 19 ) ) ; <nl> + <nl> + EXPECT_EQ ( 0 , cvtest : : norm ( um . getMat ( ACCESS_READ ) , cv : : Mat ( um . size ( ) , um . type ( ) , 19 ) , NORM_INF ) ) ; <nl> + } <nl> + } <nl> + <nl> TEST ( UMat , CopyToIfDeviceCopyIsObsolete ) <nl> { <nl> UMat um ( 7 , 2 , CV_8UC1 ) ; <nl>
Merge pull request from alalek : issue_4380
opencv/opencv
9ff69dbf4ab459cdc5a66514e657cf6bf40beb1c
2015-08-05T17:19:55Z
mmm a / lib / Sema / CSSimplify . cpp <nl> ppp b / lib / Sema / CSSimplify . cpp <nl> ConstraintSystem : : simplifyConstructionConstraint ( Type valueType , Type argType , <nl> } <nl> <nl> auto & context = getASTContext ( ) ; <nl> - / / FIXME : lame name <nl> auto name = context . Id_init ; <nl> auto applyLocator = getConstraintLocator ( locator , <nl> ConstraintLocator : : ApplyArgument ) ; <nl>
Remove outdated FIXME .
apple/swift
bb7e07cab292bbfd6ecac2c7858d4ddc4f9a386d
2014-01-24T04:13:11Z
mmm a / CMakeLists . txt <nl> ppp b / CMakeLists . txt <nl> endif ( ) <nl> # Using system libs can cause a lot of warnings in includes ( on macro expansion ) . <nl> if ( UNBUNDLED OR NOT ( OS_LINUX OR OS_DARWIN ) OR ARCH_32 ) <nl> option ( NO_WERROR " Disable - Werror compiler option " ON ) <nl> + <nl> + if ( NOT NO_WERROR ) <nl> + add_warning ( error ) <nl> + endif ( ) <nl> endif ( ) <nl> <nl> # Make this extra - checks for correct library dependencies . <nl> mmm a / base / CMakeLists . txt <nl> ppp b / base / CMakeLists . txt <nl> <nl> - if ( NOT NO_WERROR ) <nl> - set ( CMAKE_CXX_FLAGS " $ { CMAKE_CXX_FLAGS } - Werror " ) <nl> - set ( CMAKE_C_FLAGS " $ { CMAKE_C_FLAGS } - Werror " ) <nl> - endif ( ) <nl> - <nl> if ( USE_DEBUG_HELPERS ) <nl> set ( CMAKE_CXX_FLAGS " $ { CMAKE_CXX_FLAGS } - include $ { CMAKE_CURRENT_SOURCE_DIR } / common / iostream_debug_helpers . h " ) <nl> endif ( ) <nl> mmm a / base / common / CMakeLists . txt <nl> ppp b / base / common / CMakeLists . txt <nl> <nl> - set ( CONFIG_COMMON $ { CMAKE_CURRENT_BINARY_DIR } / config_common . h ) <nl> - configure_file ( $ { CMAKE_CURRENT_SOURCE_DIR } / config_common . h . in $ { CONFIG_COMMON } ) <nl> + configure_file ( config_common . h . in config_common . h ) <nl> <nl> add_library ( apple_rt apple_rt . cpp ) <nl> - target_include_directories ( apple_rt PUBLIC $ { COMMON_INCLUDE_DIR } ) <nl> + target_include_directories ( apple_rt PRIVATE . . ) # TODO : replace with proper header - only target . <nl> if ( DEFINED APPLE_HAVE_CLOCK_GETTIME ) <nl> target_compile_definitions ( apple_rt PUBLIC - DAPPLE_HAVE_CLOCK_GETTIME = $ { APPLE_HAVE_CLOCK_GETTIME } ) <nl> endif ( ) <nl> <nl> - set ( COMMON_SRCS <nl> + set ( SRCS <nl> argsToConfig . cpp <nl> coverage . cpp <nl> DateLUT . cpp <nl> set ( COMMON_SRCS <nl> ) <nl> <nl> if ( ENABLE_REPLXX ) <nl> - set ( COMMON_SRCS <nl> + set ( SRCS $ { SRCS } <nl> ReplxxLineReader . cpp <nl> ReplxxLineReader . h <nl> - <nl> - $ { COMMON_SRCS } <nl> ) <nl> endif ( ) <nl> <nl> - add_library ( common <nl> - $ { COMMON_SRCS } <nl> - $ { CONFIG_COMMON } ) <nl> + add_library ( common $ { SRCS } ) <nl> + <nl> + target_include_directories ( common PUBLIC . . $ { CMAKE_CURRENT_BINARY_DIR } / . . ) <nl> <nl> if ( USE_INTERNAL_MEMCPY ) <nl> set ( MEMCPY_LIBRARIES memcpy ) <nl> endif ( ) <nl> <nl> - find_package ( Threads ) <nl> - <nl> if ( CCTZ_INCLUDE_DIR ) <nl> target_include_directories ( common BEFORE PRIVATE $ { CCTZ_INCLUDE_DIR } ) <nl> endif ( ) <nl> <nl> - target_include_directories ( common PUBLIC $ { COMMON_INCLUDE_DIR } ) <nl> - <nl> if ( NOT USE_INTERNAL_BOOST_LIBRARY ) <nl> target_include_directories ( common SYSTEM BEFORE PUBLIC $ { Boost_INCLUDE_DIRS } ) <nl> endif ( ) <nl> if ( CCTZ_LIBRARY ) <nl> target_link_libraries ( common PRIVATE $ { CCTZ_LIBRARY } ) <nl> endif ( ) <nl> <nl> - if ( ENABLE_REPLXX ) <nl> - target_link_libraries ( common PUBLIC replxx ) <nl> - endif ( ) <nl> + target_link_libraries ( common PUBLIC replxx ) <nl> <nl> target_link_libraries ( common <nl> - PUBLIC <nl> - $ { Poco_Util_LIBRARY } <nl> - $ { Poco_Foundation_LIBRARY } <nl> - $ { CITYHASH_LIBRARIES } <nl> - PUBLIC <nl> - $ { Boost_SYSTEM_LIBRARY } <nl> - PRIVATE <nl> - $ { MEMCPY_LIBRARIES } ) <nl> + PUBLIC <nl> + $ { Poco_Util_LIBRARY } <nl> + $ { Poco_Foundation_LIBRARY } <nl> + $ { CITYHASH_LIBRARIES } <nl> + $ { Boost_SYSTEM_LIBRARY } <nl> + PRIVATE <nl> + $ { MEMCPY_LIBRARIES } <nl> + ) <nl> <nl> if ( RT_LIBRARY ) <nl> target_link_libraries ( common PRIVATE $ { RT_LIBRARY } ) <nl> mmm a / cmake / add_warning . cmake <nl> ppp b / cmake / add_warning . cmake <nl> <nl> include ( CheckCXXCompilerFlag ) <nl> + include ( CheckCCompilerFlag ) <nl> <nl> # Try to add - Wflag if compiler supports it <nl> macro ( add_warning flag ) <nl> string ( REPLACE " - " " _ " underscored_flag $ { flag } ) <nl> string ( REPLACE " + " " x " underscored_flag $ { underscored_flag } ) <nl> - check_cxx_compiler_flag ( " - W $ { flag } " SUPPORTS_FLAG_ $ { underscored_flag } ) <nl> - if ( SUPPORTS_FLAG_ $ { underscored_flag } ) <nl> + <nl> + check_cxx_compiler_flag ( " - W $ { flag } " SUPPORTS_CXXFLAG_ $ { underscored_flag } ) <nl> + check_c_compiler_flag ( " - W $ { flag } " SUPPORTS_CFLAG_ $ { underscored_flag } ) <nl> + <nl> + if ( SUPPORTS_CXXFLAG_ $ { underscored_flag } ) <nl> set ( CMAKE_CXX_FLAGS " $ { CMAKE_CXX_FLAGS } - W $ { flag } " ) <nl> else ( ) <nl> message ( WARNING " Flag - W $ { flag } is unsupported " ) <nl> endif ( ) <nl> + <nl> + if ( SUPPORTS_CFLAG_ $ { underscored_flag } ) <nl> + set ( CMAKE_C_FLAGS " $ { CMAKE_C_FLAGS } - W $ { flag } " ) <nl> + else ( ) <nl> + message ( WARNING " Flag - W $ { flag } is unsupported " ) <nl> + endif ( ) <nl> + <nl> endmacro ( ) <nl> <nl> # Try to add - Wno flag if compiler supports it <nl> mmm a / cmake / lib_name . cmake <nl> ppp b / cmake / lib_name . cmake <nl> <nl> set ( DIVIDE_INCLUDE_DIR $ { ClickHouse_SOURCE_DIR } / contrib / libdivide ) <nl> - set ( COMMON_INCLUDE_DIR $ { ClickHouse_SOURCE_DIR } / base $ { ClickHouse_BINARY_DIR } / base ) <nl> set ( DBMS_INCLUDE_DIR $ { ClickHouse_SOURCE_DIR } / dbms / src $ { ClickHouse_BINARY_DIR } / dbms / src ) <nl> set ( DOUBLE_CONVERSION_CONTRIB_INCLUDE_DIR $ { ClickHouse_SOURCE_DIR } / contrib / double - conversion ) <nl> set ( METROHASH_CONTRIB_INCLUDE_DIR $ { ClickHouse_SOURCE_DIR } / contrib / libmetrohash / src ) <nl> mmm a / dbms / CMakeLists . txt <nl> ppp b / dbms / CMakeLists . txt <nl> if ( NOT MSVC ) <nl> set ( CMAKE_CXX_FLAGS " $ { CMAKE_CXX_FLAGS } - Wextra " ) <nl> endif ( ) <nl> <nl> - if ( NOT NO_WERROR ) <nl> - set ( CMAKE_CXX_FLAGS " $ { CMAKE_CXX_FLAGS } - Werror " ) <nl> - set ( CMAKE_C_FLAGS " $ { CMAKE_C_FLAGS } - Werror " ) <nl> - endif ( ) <nl> - <nl> # Add some warnings that are not available even with - Wall - Wextra - Wpedantic . <nl> <nl> option ( WEVERYTHING " Enables - Weverything option with some exceptions . This is intended for exploration of new compiler warnings that may be found to be useful . Only makes sense for clang . " ON ) <nl> target_include_directories ( clickhouse_common_io PUBLIC $ { DBMS_INCLUDE_DIR } ) <nl> <nl> target_include_directories ( clickhouse_common_io SYSTEM BEFORE PUBLIC $ { DOUBLE_CONVERSION_INCLUDE_DIR } ) <nl> <nl> - # also for copy_headers . sh : <nl> - target_include_directories ( clickhouse_common_io BEFORE PRIVATE $ { COMMON_INCLUDE_DIR } ) <nl> - <nl> add_subdirectory ( programs ) <nl> add_subdirectory ( tests ) <nl> <nl> mmm a / dbms / programs / CMakeLists . txt <nl> ppp b / dbms / programs / CMakeLists . txt <nl> if ( CLICKHOUSE_SPLIT_BINARY ) <nl> else ( ) <nl> add_executable ( clickhouse main . cpp ) <nl> target_link_libraries ( clickhouse PRIVATE clickhouse_common_io string_utils ) <nl> - target_include_directories ( clickhouse BEFORE PRIVATE $ { COMMON_INCLUDE_DIR } ) <nl> target_include_directories ( clickhouse PRIVATE $ { CMAKE_CURRENT_BINARY_DIR } ) <nl> <nl> if ( ENABLE_CLICKHOUSE_SERVER ) <nl> mmm a / dbms / src / AggregateFunctions / CMakeLists . txt <nl> ppp b / dbms / src / AggregateFunctions / CMakeLists . txt <nl> list ( REMOVE_ITEM clickhouse_aggregate_functions_headers <nl> <nl> add_library ( clickhouse_aggregate_functions $ { clickhouse_aggregate_functions_sources } ) <nl> target_link_libraries ( clickhouse_aggregate_functions PRIVATE dbms PUBLIC $ { CITYHASH_LIBRARIES } ) <nl> - target_include_directories ( clickhouse_aggregate_functions PRIVATE $ { COMMON_INCLUDE_DIR } ) <nl> <nl> if ( ENABLE_TESTS ) <nl> add_subdirectory ( tests ) <nl> mmm a / utils / CMakeLists . txt <nl> ppp b / utils / CMakeLists . txt <nl> <nl> - if ( NOT NO_WERROR ) <nl> - set ( CMAKE_CXX_FLAGS " $ { CMAKE_CXX_FLAGS } - Werror " ) <nl> - set ( CMAKE_C_FLAGS " $ { CMAKE_C_FLAGS } - Werror " ) <nl> - endif ( ) <nl> - <nl> if ( MAKE_STATIC_LIBRARIES ) <nl> set ( MAX_LINKER_MEMORY 3500 ) <nl> else ( ) <nl>
Code clean - up
ClickHouse/ClickHouse
4cedd4619db126984fd362a1a094d5a99e484f2b
2020-02-16T08:04:03Z
mmm a / config / examples / Geeetech / A10M / Configuration . h <nl> ppp b / config / examples / Geeetech / A10M / Configuration . h <nl> <nl> * M204 R Retract Acceleration <nl> * M204 T Travel Acceleration <nl> * / <nl> - # define DEFAULT_ACCELERATION 500 / / X , Y , Z and E acceleration for printing moves <nl> - # define DEFAULT_RETRACT_ACCELERATION 500 / / E acceleration for retracts <nl> - # define DEFAULT_TRAVEL_ACCELERATION 500 / / X , Y , Z acceleration for travel ( non printing ) moves <nl> + # define DEFAULT_ACCELERATION 1000 / / X , Y , Z and E acceleration for printing moves <nl> + # define DEFAULT_RETRACT_ACCELERATION 2000 / / E acceleration for retracts <nl> + # define DEFAULT_TRAVEL_ACCELERATION 1000 / / X , Y , Z acceleration for travel ( non printing ) moves <nl> <nl> / / <nl> / / Use Junction Deviation instead of traditional Jerk Limiting <nl> <nl> * / <nl> / / # define BLTOUCH <nl> # if ENABLED ( BLTOUCH ) <nl> - / / # define BLTOUCH_DELAY 500 / / Minimum Command delay ( ms ) . Enable and increase if needed <nl> + # define BLTOUCH_DELAY 200 / / Minimum Command delay ( ms ) . Enable and increase if needed <nl> + # define BLTOUCH_HS_MODE <nl> <nl> / * * <nl> * BLTouch V3 . 0 and newer smart series <nl> <nl> * / <nl> # define X_PROBE_OFFSET_FROM_EXTRUDER - 37 / / X offset : - left + right [ of the nozzle ] <nl> # define Y_PROBE_OFFSET_FROM_EXTRUDER 0 / / Y offset : - front + behind [ the nozzle ] <nl> - # define Z_PROBE_OFFSET_FROM_EXTRUDER - 0 . 5 / / Z offset : - below + above [ the nozzle ] <nl> + # define Z_PROBE_OFFSET_FROM_EXTRUDER - 3 . 6 / / Z offset : - below + above [ the nozzle ] <nl> <nl> / / Certain types of probes need to stay away from edges <nl> # define MIN_PROBE_EDGE 10 <nl> <nl> * Example : ` M851 Z - 5 ` with a CLEARANCE of 4 = > 9mm from bed to nozzle . <nl> * But : ` M851 Z + 1 ` with a CLEARANCE of 2 = > 2mm from bed to nozzle . <nl> * / <nl> - # define Z_CLEARANCE_DEPLOY_PROBE 10 / / Z Clearance for Deploy / Stow <nl> - # define Z_CLEARANCE_BETWEEN_PROBES 5 / / Z Clearance between probe points <nl> - # define Z_CLEARANCE_MULTI_PROBE 5 / / Z Clearance between multiple probes <nl> - / / # define Z_AFTER_PROBING 5 / / Z position after probing is done <nl> + # define Z_CLEARANCE_DEPLOY_PROBE 5 / / Z Clearance for Deploy / Stow <nl> + # define Z_CLEARANCE_BETWEEN_PROBES 3 / / Z Clearance between probe points <nl> + # define Z_CLEARANCE_MULTI_PROBE 2 / / Z Clearance between multiple probes <nl> + # define Z_AFTER_PROBING 3 / / Z position after probing is done <nl> <nl> # define Z_PROBE_LOW_POINT - 2 / / Farthest distance below the trigger - point to go before stopping <nl> <nl> / / For M851 give a range for adjusting the Z probe offset <nl> - # define Z_PROBE_OFFSET_RANGE_MIN - 20 <nl> - # define Z_PROBE_OFFSET_RANGE_MAX 20 <nl> + # define Z_PROBE_OFFSET_RANGE_MIN - 5 <nl> + # define Z_PROBE_OFFSET_RANGE_MAX - 0 . 2 <nl> <nl> / / Enable the M48 repeatability test to test probe accuracy <nl> / / # define Z_MIN_PROBE_REPEATABILITY_TEST <nl> <nl> # endif <nl> # define PROBING_FANS_OFF / / Turn fans off when probing <nl> / / # define PROBING_STEPPERS_OFF / / Turn steppers off ( unless needed to hold position ) when probing <nl> - # define DELAY_BEFORE_PROBING 200 / / ( ms ) To prevent vibrations from triggering piezo sensors <nl> + # define DELAY_BEFORE_PROBING 100 / / ( ms ) To prevent vibrations from triggering piezo sensors <nl> <nl> / / For Inverting Stepper Enable Pins ( Active Low ) use 0 , Non Inverting ( Active High ) use 1 <nl> / / : { 0 : ' Low ' , 1 : ' High ' } <nl> <nl> # endif <nl> <nl> / / Homing speeds ( mm / m ) <nl> - # define HOMING_FEEDRATE_XY ( 100 * 60 ) <nl> + # define HOMING_FEEDRATE_XY ( 80 * 60 ) <nl> # define HOMING_FEEDRATE_Z ( 20 * 60 ) <nl> <nl> / / Validate that endstops are triggered on homing moves <nl> <nl> <nl> # if ENABLED ( NOZZLE_PARK_FEATURE ) <nl> / / Specify a park position as { X , Y , Z_raise } <nl> - # define NOZZLE_PARK_POINT { 3 , 3 , 10 } <nl> + # define NOZZLE_PARK_POINT { 3 , ( Y_MAX_POS - 3 ) , 10 } <nl> # define NOZZLE_PARK_XY_FEEDRATE 100 / / ( mm / s ) X and Y axes feedrate ( also used for delta Z axis ) <nl> # define NOZZLE_PARK_Z_FEEDRATE 5 / / ( mm / s ) Z axis feedrate ( not used for delta printers ) <nl> # endif <nl> <nl> / / <nl> / / Note : Usually sold with a white PCB . <nl> / / <nl> - / / # define REPRAP_DISCOUNT_SMART_CONTROLLER <nl> + # define REPRAP_DISCOUNT_SMART_CONTROLLER <nl> <nl> / / <nl> / / Original RADDS LCD Display + Encoder + SDCardReader <nl> <nl> / / <nl> / / ULTIPANEL as seen on Thingiverse . <nl> / / <nl> - # define ULTIPANEL <nl> + / / # define ULTIPANEL <nl> <nl> / / <nl> / / PanelOne from T3P3 ( via RAMPS 1 . 4 AUX2 / AUX3 ) <nl> mmm a / config / examples / Geeetech / A10M / Configuration_adv . h <nl> ppp b / config / examples / Geeetech / A10M / Configuration_adv . h <nl> <nl> * / <nl> # if HAS_GRAPHICAL_LCD <nl> / / Show SD percentage next to the progress bar <nl> - / / # define DOGM_SD_PERCENT <nl> + # define DOGM_SD_PERCENT <nl> <nl> / / Enable to save many cycles by drawing a hollow frame on the Info Screen <nl> # define XYZ_HOLLOW_FRAME <nl> <nl> / / Enable to save many cycles by drawing a hollow frame on Menu Screens <nl> - # define MENU_HOLLOW_FRAME <nl> + / / # define MENU_HOLLOW_FRAME <nl> <nl> / / A bigger font is available for edit items . Costs 3120 bytes of PROGMEM . <nl> / / Western only . Not available for Cyrillic , Kana , Turkish , Greek , or Chinese . <nl> <nl> # define STATUS_HOTEND_INVERTED / / Show solid nozzle bitmaps when heating ( Requires STATUS_HOTEND_ANIM ) <nl> # define STATUS_HOTEND_ANIM / / Use a second bitmap to indicate hotend heating <nl> # define STATUS_BED_ANIM / / Use a second bitmap to indicate bed heating <nl> - / / # define STATUS_ALT_BED_BITMAP / / Use the alternative bed bitmap <nl> - / / # define STATUS_ALT_FAN_BITMAP / / Use the alternative fan bitmap <nl> - / / # define STATUS_FAN_FRAMES 3 / / : [ 0 , 1 , 2 , 3 , 4 ] Number of fan animation frames <nl> - / / # define STATUS_HEAT_PERCENT / / Show heating in a progress bar <nl> - / / # define BOOT_MARLIN_LOGO_SMALL / / Show a smaller Marlin logo on the Boot Screen ( saving 399 bytes of flash ) <nl> + # define STATUS_ALT_BED_BITMAP / / Use the alternative bed bitmap <nl> + # define STATUS_ALT_FAN_BITMAP / / Use the alternative fan bitmap <nl> + # define STATUS_FAN_FRAMES 3 / / : [ 0 , 1 , 2 , 3 , 4 ] Number of fan animation frames <nl> + # define STATUS_HEAT_PERCENT / / Show heating in a progress bar <nl> + # define BOOT_MARLIN_LOGO_SMALL / / Show a smaller Marlin logo on the Boot Screen ( saving 399 bytes of flash ) <nl> <nl> / / Frivolous Game Options <nl> / / # define MARLIN_BRICKOUT <nl> mmm a / config / examples / Geeetech / A20M / Configuration . h <nl> ppp b / config / examples / Geeetech / A20M / Configuration . h <nl> <nl> * M204 R Retract Acceleration <nl> * M204 T Travel Acceleration <nl> * / <nl> - # define DEFAULT_ACCELERATION 500 / / X , Y , Z and E acceleration for printing moves <nl> - # define DEFAULT_RETRACT_ACCELERATION 500 / / E acceleration for retracts <nl> - # define DEFAULT_TRAVEL_ACCELERATION 500 / / X , Y , Z acceleration for travel ( non printing ) moves <nl> + # define DEFAULT_ACCELERATION 1000 / / X , Y , Z and E acceleration for printing moves <nl> + # define DEFAULT_RETRACT_ACCELERATION 2000 / / E acceleration for retracts <nl> + # define DEFAULT_TRAVEL_ACCELERATION 1000 / / X , Y , Z acceleration for travel ( non printing ) moves <nl> <nl> / / <nl> / / Use Junction Deviation instead of traditional Jerk Limiting <nl> <nl> * / <nl> / / # define BLTOUCH <nl> # if ENABLED ( BLTOUCH ) <nl> - / / # define BLTOUCH_DELAY 500 / / Minimum Command delay ( ms ) . Enable and increase if needed <nl> + # define BLTOUCH_DELAY 200 / / Minimum Command delay ( ms ) . Enable and increase if needed <nl> + # define BLTOUCH_HS_MODE <nl> <nl> / * * <nl> * BLTouch V3 . 0 and newer smart series <nl> <nl> * / <nl> # define X_PROBE_OFFSET_FROM_EXTRUDER - 37 / / X offset : - left + right [ of the nozzle ] <nl> # define Y_PROBE_OFFSET_FROM_EXTRUDER 0 / / Y offset : - front + behind [ the nozzle ] <nl> - # define Z_PROBE_OFFSET_FROM_EXTRUDER - 0 . 5 / / Z offset : - below + above [ the nozzle ] <nl> + # define Z_PROBE_OFFSET_FROM_EXTRUDER - 3 . 6 / / Z offset : - below + above [ the nozzle ] <nl> <nl> / / Certain types of probes need to stay away from edges <nl> # define MIN_PROBE_EDGE 10 <nl> <nl> * Example : ` M851 Z - 5 ` with a CLEARANCE of 4 = > 9mm from bed to nozzle . <nl> * But : ` M851 Z + 1 ` with a CLEARANCE of 2 = > 2mm from bed to nozzle . <nl> * / <nl> - # define Z_CLEARANCE_DEPLOY_PROBE 10 / / Z Clearance for Deploy / Stow <nl> - # define Z_CLEARANCE_BETWEEN_PROBES 5 / / Z Clearance between probe points <nl> - # define Z_CLEARANCE_MULTI_PROBE 5 / / Z Clearance between multiple probes <nl> - / / # define Z_AFTER_PROBING 5 / / Z position after probing is done <nl> + # define Z_CLEARANCE_DEPLOY_PROBE 5 / / Z Clearance for Deploy / Stow <nl> + # define Z_CLEARANCE_BETWEEN_PROBES 3 / / Z Clearance between probe points <nl> + # define Z_CLEARANCE_MULTI_PROBE 2 / / Z Clearance between multiple probes <nl> + # define Z_AFTER_PROBING 3 / / Z position after probing is done <nl> <nl> # define Z_PROBE_LOW_POINT - 2 / / Farthest distance below the trigger - point to go before stopping <nl> <nl> / / For M851 give a range for adjusting the Z probe offset <nl> - # define Z_PROBE_OFFSET_RANGE_MIN - 20 <nl> - # define Z_PROBE_OFFSET_RANGE_MAX 20 <nl> + # define Z_PROBE_OFFSET_RANGE_MIN - 5 <nl> + # define Z_PROBE_OFFSET_RANGE_MAX - 0 . 2 <nl> <nl> / / Enable the M48 repeatability test to test probe accuracy <nl> / / # define Z_MIN_PROBE_REPEATABILITY_TEST <nl> <nl> # endif <nl> # define PROBING_FANS_OFF / / Turn fans off when probing <nl> / / # define PROBING_STEPPERS_OFF / / Turn steppers off ( unless needed to hold position ) when probing <nl> - # define DELAY_BEFORE_PROBING 200 / / ( ms ) To prevent vibrations from triggering piezo sensors <nl> + # define DELAY_BEFORE_PROBING 100 / / ( ms ) To prevent vibrations from triggering piezo sensors <nl> <nl> / / For Inverting Stepper Enable Pins ( Active Low ) use 0 , Non Inverting ( Active High ) use 1 <nl> / / : { 0 : ' Low ' , 1 : ' High ' } <nl> <nl> / * * <nl> * Enable the G26 Mesh Validation Pattern tool . <nl> * / <nl> - / / # define G26_MESH_VALIDATION <nl> + # define G26_MESH_VALIDATION <nl> # if ENABLED ( G26_MESH_VALIDATION ) <nl> # define MESH_TEST_NOZZLE_SIZE 0 . 4 / / ( mm ) Diameter of primary nozzle . <nl> # define MESH_TEST_LAYER_HEIGHT 0 . 2 / / ( mm ) Default layer height for the G26 Mesh Validation Tool . <nl> <nl> # if EITHER ( AUTO_BED_LEVELING_LINEAR , AUTO_BED_LEVELING_BILINEAR ) <nl> <nl> / / Set the number of grid points per dimension . <nl> - # define GRID_MAX_POINTS_X 3 <nl> + # define GRID_MAX_POINTS_X 5 <nl> # define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X <nl> <nl> / / Set the boundaries for probing ( where the probe can reach ) . <nl> <nl> * Add a bed leveling sub - menu for ABL or MBL . <nl> * Include a guided procedure if manual probing is enabled . <nl> * / <nl> - / / # define LCD_BED_LEVELING <nl> - <nl> + # define LCD_BED_LEVELING <nl> # if ENABLED ( LCD_BED_LEVELING ) <nl> # define MESH_EDIT_Z_STEP 0 . 025 / / ( mm ) Step size while manually probing Z axis . <nl> # define LCD_PROBE_Z_RANGE 4 / / ( mm ) Z Range centered on Z_MIN_POS for LCD Z adjustment <nl> - / / # define MESH_EDIT_MENU / / Add a menu to edit mesh points <nl> + # define MESH_EDIT_MENU / / Add a menu to edit mesh points <nl> # endif <nl> <nl> / / Add a menu item to move between bed corners for manual bed adjustment <nl> <nl> # endif <nl> <nl> / / Homing speeds ( mm / m ) <nl> - # define HOMING_FEEDRATE_XY ( 100 * 60 ) <nl> + # define HOMING_FEEDRATE_XY ( 80 * 60 ) <nl> # define HOMING_FEEDRATE_Z ( 20 * 60 ) <nl> <nl> / / Validate that endstops are triggered on homing moves <nl> <nl> <nl> # if ENABLED ( NOZZLE_PARK_FEATURE ) <nl> / / Specify a park position as { X , Y , Z_raise } <nl> - # define NOZZLE_PARK_POINT { 3 , 3 , 10 } <nl> + # define NOZZLE_PARK_POINT { 3 , ( Y_MAX_POS - 3 ) , 10 } <nl> # define NOZZLE_PARK_XY_FEEDRATE 100 / / ( mm / s ) X and Y axes feedrate ( also used for delta Z axis ) <nl> # define NOZZLE_PARK_Z_FEEDRATE 5 / / ( mm / s ) Z axis feedrate ( not used for delta printers ) <nl> # endif <nl> mmm a / config / examples / Geeetech / A20M / Configuration_adv . h <nl> ppp b / config / examples / Geeetech / A20M / Configuration_adv . h <nl> <nl> / / # define LCD_SET_PROGRESS_MANUALLY <nl> <nl> # if HAS_CHARACTER_LCD & & HAS_PRINT_PROGRESS <nl> - / / # define LCD_PROGRESS_BAR / / Show a progress bar on HD44780 LCDs for SD printing <nl> + # define LCD_PROGRESS_BAR / / Show a progress bar on HD44780 LCDs for SD printing <nl> # if ENABLED ( LCD_PROGRESS_BAR ) <nl> # define PROGRESS_BAR_BAR_TIME 2000 / / ( ms ) Amount of time to show the bar <nl> # define PROGRESS_BAR_MSG_TIME 3000 / / ( ms ) Amount of time to show the status message <nl> - # define PROGRESS_MSG_EXPIRE 0 / / ( ms ) Amount of time to retain the status message ( 0 = forever ) <nl> + # define PROGRESS_MSG_EXPIRE 180000 / / ( ms ) Amount of time to retain the status message ( 0 = forever ) <nl> / / # define PROGRESS_MSG_ONCE / / Show the message for MSG_TIME then clear it <nl> / / # define LCD_PROGRESS_BAR_TEST / / Add a menu item to test the progress bar <nl> # endif <nl>
Geeetech A10M / A20M example updates
MarlinFirmware/Marlin
1210b735307b58d524b025df47153c1cf66ec179
2019-05-25T21:31:13Z
mmm a / src / qt / coincontroldialog . cpp <nl> ppp b / src / qt / coincontroldialog . cpp <nl> void CoinControlDialog : : updateLabels ( WalletModel * model , QDialog * dialog ) <nl> <nl> / / tool tips <nl> QString toolTip1 = tr ( " This label turns red if the transaction size is greater than 1000 bytes . " ) + " < br / > < br / > " ; <nl> - toolTip1 + = tr ( " This means a fee of at least % 1 per kB is required . " ) . arg ( BitcoinUnits : : formatWithUnit ( nDisplayUnit , CWallet : : minTxFee . GetFeePerK ( ) ) ) + " < br / > < br / > " ; <nl> + toolTip1 + = tr ( " This means a fee of at least % 1 per kB is required . " ) . arg ( BitcoinUnits : : formatWithUnit ( nDisplayUnit , CWallet : : GetRequiredFee ( 1000 ) ) ) + " < br / > < br / > " ; <nl> toolTip1 + = tr ( " Can vary + / - 1 byte per input . " ) ; <nl> <nl> QString toolTip2 = tr ( " Transactions with higher priority are more likely to get included into a block . " ) + " < br / > < br / > " ; <nl> toolTip2 + = tr ( " This label turns red if the priority is smaller than \ " medium \ " . " ) + " < br / > < br / > " ; <nl> - toolTip2 + = tr ( " This means a fee of at least % 1 per kB is required . " ) . arg ( BitcoinUnits : : formatWithUnit ( nDisplayUnit , CWallet : : minTxFee . GetFeePerK ( ) ) ) ; <nl> + toolTip2 + = tr ( " This means a fee of at least % 1 per kB is required . " ) . arg ( BitcoinUnits : : formatWithUnit ( nDisplayUnit , CWallet : : GetRequiredFee ( 1000 ) ) ) ; <nl> <nl> QString toolTip3 = tr ( " This label turns red if any recipient receives an amount smaller than % 1 . " ) . arg ( BitcoinUnits : : formatWithUnit ( nDisplayUnit , : : minRelayTxFee . GetFee ( 546 ) ) ) ; <nl> <nl> / / how many satoshis the estimated fee can vary per byte we guess wrong <nl> double dFeeVary ; <nl> if ( payTxFee . GetFeePerK ( ) > 0 ) <nl> - dFeeVary = ( double ) std : : max ( CWallet : : minTxFee . GetFeePerK ( ) , payTxFee . GetFeePerK ( ) ) / 1000 ; <nl> + dFeeVary = ( double ) std : : max ( CWallet : : GetRequiredFee ( 1000 ) , payTxFee . GetFeePerK ( ) ) / 1000 ; <nl> else <nl> - dFeeVary = ( double ) std : : max ( CWallet : : minTxFee . GetFeePerK ( ) , mempool . estimateFee ( nTxConfirmTarget ) . GetFeePerK ( ) ) / 1000 ; <nl> + dFeeVary = ( double ) std : : max ( CWallet : : GetRequiredFee ( 1000 ) , mempool . estimateFee ( nTxConfirmTarget ) . GetFeePerK ( ) ) / 1000 ; <nl> QString toolTip4 = tr ( " Can vary + / - % 1 satoshi ( s ) per input . " ) . arg ( dFeeVary ) ; <nl> <nl> l3 - > setToolTip ( toolTip4 ) ; <nl> mmm a / src / qt / optionsdialog . cpp <nl> ppp b / src / qt / optionsdialog . cpp <nl> <nl> # include " txdb . h " / / for - dbcache defaults <nl> <nl> # ifdef ENABLE_WALLET <nl> - # include " wallet / wallet . h " / / for CWallet : : minTxFee <nl> + # include " wallet / wallet . h " / / for CWallet : : GetRequiredFee ( ) <nl> # endif <nl> <nl> # include < boost / thread . hpp > <nl> mmm a / src / qt / sendcoinsdialog . cpp <nl> ppp b / src / qt / sendcoinsdialog . cpp <nl> void SendCoinsDialog : : setModel ( WalletModel * model ) <nl> connect ( ui - > checkBoxMinimumFee , SIGNAL ( stateChanged ( int ) ) , this , SLOT ( coinControlUpdateLabels ( ) ) ) ; <nl> connect ( ui - > checkBoxFreeTx , SIGNAL ( stateChanged ( int ) ) , this , SLOT ( updateGlobalFeeVariables ( ) ) ) ; <nl> connect ( ui - > checkBoxFreeTx , SIGNAL ( stateChanged ( int ) ) , this , SLOT ( coinControlUpdateLabels ( ) ) ) ; <nl> - ui - > customFee - > setSingleStep ( CWallet : : minTxFee . GetFeePerK ( ) ) ; <nl> + ui - > customFee - > setSingleStep ( CWallet : : GetRequiredFee ( 1000 ) ) ; <nl> updateFeeSectionControls ( ) ; <nl> updateMinFeeLabel ( ) ; <nl> updateSmartFeeLabel ( ) ; <nl> void SendCoinsDialog : : on_buttonMinimizeFee_clicked ( ) <nl> void SendCoinsDialog : : setMinimumFee ( ) <nl> { <nl> ui - > radioCustomPerKilobyte - > setChecked ( true ) ; <nl> - ui - > customFee - > setValue ( CWallet : : minTxFee . GetFeePerK ( ) ) ; <nl> + ui - > customFee - > setValue ( CWallet : : GetRequiredFee ( 1000 ) ) ; <nl> } <nl> <nl> void SendCoinsDialog : : updateFeeSectionControls ( ) <nl> void SendCoinsDialog : : updateFeeMinimizedLabel ( ) <nl> void SendCoinsDialog : : updateMinFeeLabel ( ) <nl> { <nl> if ( model & & model - > getOptionsModel ( ) ) <nl> - ui - > checkBoxMinimumFee - > setText ( tr ( " Pay only the minimum fee of % 1 " ) . arg ( <nl> - BitcoinUnits : : formatWithUnit ( model - > getOptionsModel ( ) - > getDisplayUnit ( ) , CWallet : : minTxFee . GetFeePerK ( ) ) + " / kB " ) <nl> + ui - > checkBoxMinimumFee - > setText ( tr ( " Pay only the required fee of % 1 " ) . arg ( <nl> + BitcoinUnits : : formatWithUnit ( model - > getOptionsModel ( ) - > getDisplayUnit ( ) , CWallet : : GetRequiredFee ( 1000 ) ) + " / kB " ) <nl> ) ; <nl> } <nl> <nl> void SendCoinsDialog : : updateSmartFeeLabel ( ) <nl> CFeeRate feeRate = mempool . estimateFee ( nBlocksToConfirm ) ; <nl> if ( feeRate < = CFeeRate ( 0 ) ) / / not enough data = > minfee <nl> { <nl> - ui - > labelSmartFee - > setText ( BitcoinUnits : : formatWithUnit ( model - > getOptionsModel ( ) - > getDisplayUnit ( ) , CWallet : : minTxFee . GetFeePerK ( ) ) + " / kB " ) ; <nl> + ui - > labelSmartFee - > setText ( BitcoinUnits : : formatWithUnit ( model - > getOptionsModel ( ) - > getDisplayUnit ( ) , CWallet : : GetRequiredFee ( 1000 ) ) + " / kB " ) ; <nl> ui - > labelSmartFee2 - > show ( ) ; / / ( Smart fee not initialized yet . This usually takes a few blocks . . . ) <nl> ui - > labelFeeEstimation - > setText ( " " ) ; <nl> } <nl> mmm a / src / wallet / wallet . cpp <nl> ppp b / src / wallet / wallet . cpp <nl> bool CWallet : : CommitTransaction ( CWalletTx & wtxNew , CReserveKey & reservekey ) <nl> return true ; <nl> } <nl> <nl> + CAmount CWallet : : GetRequiredFee ( unsigned int nTxBytes ) <nl> + { <nl> + return std : : max ( minTxFee . GetFee ( nTxBytes ) , : : minRelayTxFee . GetFee ( nTxBytes ) ) ; <nl> + } <nl> + <nl> CAmount CWallet : : GetMinimumFee ( unsigned int nTxBytes , unsigned int nConfirmTarget , const CTxMemPool & pool ) <nl> { <nl> / / payTxFee is user - set " I want to pay this much " <nl> CAmount CWallet : : GetMinimumFee ( unsigned int nTxBytes , unsigned int nConfirmTarge <nl> if ( nFeeNeeded = = 0 ) <nl> nFeeNeeded = pool . estimateFee ( nConfirmTarget ) . GetFee ( nTxBytes ) ; <nl> / / . . . unless we don ' t have enough mempool data , in which case fall <nl> - / / back to a hard - coded fee <nl> + / / back to the required fee <nl> if ( nFeeNeeded = = 0 ) <nl> - nFeeNeeded = minTxFee . GetFee ( nTxBytes ) ; <nl> + nFeeNeeded = GetRequiredFee ( nTxBytes ) ; <nl> / / prevent user from paying a non - sense fee ( like 1 satoshi ) : 0 < fee < minRelayFee <nl> if ( nFeeNeeded < : : minRelayTxFee . GetFee ( nTxBytes ) ) <nl> nFeeNeeded = : : minRelayTxFee . GetFee ( nTxBytes ) ; <nl> mmm a / src / wallet / wallet . h <nl> ppp b / src / wallet / wallet . h <nl> class CWallet : public CCryptoKeyStore , public CValidationInterface <nl> bool CommitTransaction ( CWalletTx & wtxNew , CReserveKey & reservekey ) ; <nl> <nl> static CFeeRate minTxFee ; <nl> + / * * <nl> + * Estimate the minimum fee considering user set parameters <nl> + * and the required fee <nl> + * / <nl> static CAmount GetMinimumFee ( unsigned int nTxBytes , unsigned int nConfirmTarget , const CTxMemPool & pool ) ; <nl> + / * * <nl> + * Return the minimum required fee taking into account the <nl> + * floating relay fee and user set minimum transaction fee <nl> + * / <nl> + static CAmount GetRequiredFee ( unsigned int nTxBytes ) ; <nl> <nl> bool NewKeyPool ( ) ; <nl> bool TopUpKeyPool ( unsigned int kpSize = 0 ) ; <nl>
[ qt ] Properly display required fee instead of minTxFee
bitcoin/bitcoin
abd8b768ee889f28b3d2bc209307a9867a973556
2015-11-03T07:53:37Z
mmm a / xbmc / addons / Visualisation . cpp <nl> ppp b / xbmc / addons / Visualisation . cpp <nl> void CVisualisation : : Render ( ) <nl> <nl> void CVisualisation : : Stop ( ) <nl> { <nl> - CAEFactory : : UnregisterAudioCallback ( ) ; <nl> + CAEFactory : : UnregisterAudioCallback ( this ) ; <nl> if ( Initialized ( ) ) <nl> { <nl> CAddonDll < DllVisualisation , Visualisation , VIS_PROPS > : : Stop ( ) ; <nl> mmm a / xbmc / cores / AudioEngine / AEFactory . cpp <nl> ppp b / xbmc / cores / AudioEngine / AEFactory . cpp <nl> void CAEFactory : : RegisterAudioCallback ( IAudioCallback * pCallback ) <nl> AE - > RegisterAudioCallback ( pCallback ) ; <nl> } <nl> <nl> - void CAEFactory : : UnregisterAudioCallback ( ) <nl> + void CAEFactory : : UnregisterAudioCallback ( IAudioCallback * pCallback ) <nl> { <nl> if ( AE ) <nl> - AE - > UnregisterAudioCallback ( ) ; <nl> + AE - > UnregisterAudioCallback ( pCallback ) ; <nl> } <nl> <nl> bool CAEFactory : : IsSettingVisible ( const std : : string & condition , const std : : string & value , const CSetting * setting , void * data ) <nl> mmm a / xbmc / cores / AudioEngine / AEFactory . h <nl> ppp b / xbmc / cores / AudioEngine / AEFactory . h <nl> class CAEFactory <nl> static void DeviceChange ( ) ; <nl> <nl> static void RegisterAudioCallback ( IAudioCallback * pCallback ) ; <nl> - static void UnregisterAudioCallback ( ) ; <nl> + static void UnregisterAudioCallback ( IAudioCallback * pCallback ) ; <nl> <nl> private : <nl> static IAE * AE ; <nl> mmm a / xbmc / cores / AudioEngine / Engines / ActiveAE / ActiveAE . cpp <nl> ppp b / xbmc / cores / AudioEngine / Engines / ActiveAE / ActiveAE . cpp <nl> CActiveAE : : CActiveAE ( ) : <nl> m_aeMuted = false ; <nl> m_mode = MODE_PCM ; <nl> m_encoder = NULL ; <nl> - m_audioCallback = NULL ; <nl> m_vizInitialized = false ; <nl> m_sinkHasVolume = false ; <nl> m_aeGUISoundForce = false ; <nl> void CActiveAE : : Configure ( AEAudioFormat * desiredFmt ) <nl> m_discardBufferPools . push_back ( m_vizBuffersInput ) ; <nl> m_vizBuffersInput = NULL ; <nl> } <nl> - if ( ! m_vizBuffers & & m_audioCallback ) <nl> + if ( ! m_vizBuffers & & ! m_audioCallback . empty ( ) ) <nl> { <nl> AEAudioFormat vizFormat = m_internalFormat ; <nl> vizFormat . m_channelLayout = AE_CH_LAYOUT_2_0 ; <nl> bool CActiveAE : : RunStages ( ) <nl> / / viz <nl> { <nl> CSingleLock lock ( m_vizLock ) ; <nl> - if ( m_audioCallback & & ! m_streams . empty ( ) ) <nl> + if ( ! m_audioCallback . empty ( ) & & ! m_streams . empty ( ) ) <nl> { <nl> if ( ! m_vizInitialized | | ! m_vizBuffers ) <nl> { <nl> Configure ( ) ; <nl> - m_audioCallback - > OnInitialize ( 2 , m_vizBuffers - > m_format . m_sampleRate , 32 ) ; <nl> + for ( auto & it : m_audioCallback ) <nl> + it - > OnInitialize ( 2 , m_vizBuffers - > m_format . m_sampleRate , 32 ) ; <nl> m_vizInitialized = true ; <nl> } <nl> <nl> bool CActiveAE : : RunStages ( ) <nl> else <nl> { <nl> int samples = buf - > pkt - > nb_samples ; <nl> - m_audioCallback - > OnAudioData ( ( float * ) ( buf - > pkt - > data [ 0 ] ) , samples ) ; <nl> + for ( auto & it : m_audioCallback ) <nl> + it - > OnAudioData ( ( float * ) ( buf - > pkt - > data [ 0 ] ) , samples ) ; <nl> buf - > Return ( ) ; <nl> m_vizBuffers - > m_outputSamples . pop_front ( ) ; <nl> } <nl> void CActiveAE : : SetStreamFade ( CActiveAEStream * stream , float from , float target , <nl> void CActiveAE : : RegisterAudioCallback ( IAudioCallback * pCallback ) <nl> { <nl> CSingleLock lock ( m_vizLock ) ; <nl> - m_audioCallback = pCallback ; <nl> + m_audioCallback . push_back ( pCallback ) ; <nl> m_vizInitialized = false ; <nl> } <nl> <nl> - void CActiveAE : : UnregisterAudioCallback ( ) <nl> + void CActiveAE : : UnregisterAudioCallback ( IAudioCallback * pCallback ) <nl> { <nl> CSingleLock lock ( m_vizLock ) ; <nl> - m_audioCallback = NULL ; <nl> + auto it = std : : find ( m_audioCallback . begin ( ) , m_audioCallback . end ( ) , pCallback ) ; <nl> + if ( it ! = m_audioCallback . end ( ) ) <nl> + m_audioCallback . erase ( it ) ; <nl> } <nl> mmm a / xbmc / cores / AudioEngine / Engines / ActiveAE / ActiveAE . h <nl> ppp b / xbmc / cores / AudioEngine / Engines / ActiveAE / ActiveAE . h <nl> class CActiveAE : public IAE , private CThread <nl> virtual AEAudioFormat GetCurrentSinkFormat ( ) ; <nl> <nl> virtual void RegisterAudioCallback ( IAudioCallback * pCallback ) ; <nl> - virtual void UnregisterAudioCallback ( ) ; <nl> + virtual void UnregisterAudioCallback ( IAudioCallback * pCallback ) ; <nl> <nl> virtual void OnLostDevice ( ) ; <nl> virtual void OnResetDevice ( ) ; <nl> class CActiveAE : public IAE , private CThread <nl> bool m_sinkHasVolume ; <nl> <nl> / / viz <nl> - IAudioCallback * m_audioCallback ; <nl> + std : : vector < IAudioCallback * > m_audioCallback ; <nl> bool m_vizInitialized ; <nl> CCriticalSection m_vizLock ; <nl> <nl> mmm a / xbmc / cores / AudioEngine / Interfaces / AE . h <nl> ppp b / xbmc / cores / AudioEngine / Interfaces / AE . h <nl> class IAE <nl> <nl> virtual void RegisterAudioCallback ( IAudioCallback * pCallback ) { } <nl> <nl> - virtual void UnregisterAudioCallback ( ) { } <nl> + virtual void UnregisterAudioCallback ( IAudioCallback * pCallback ) { } <nl> <nl> / * * <nl> * Returns true if AudioEngine supports specified quality level <nl>
changed : allow multiple callbacks in AE
xbmc/xbmc
36f01c0c0fa695784bf709350b7cdaae89e860cd
2015-12-06T19:33:48Z
mmm a / src / buffer_cache / alt / alt . hpp <nl> ppp b / src / buffer_cache / alt / alt . hpp <nl> <nl> # ifndef BUFFER_CACHE_ALT_ALT_HPP_ <nl> # define BUFFER_CACHE_ALT_ALT_HPP_ <nl> <nl> + # include < vector > <nl> + <nl> # include " buffer_cache / alt / page . hpp " <nl> # include " repli_timestamp . hpp " <nl> # include " utils . hpp " <nl> class alt_buf_lock_t ; <nl> <nl> class alt_cache_t { <nl> public : <nl> - alt_cache_t ( serializer_t * serializer ) ; <nl> + explicit alt_cache_t ( serializer_t * serializer ) ; <nl> ~ alt_cache_t ( ) ; <nl> <nl> page_cache_t page_cache_ ; <nl> class alt_buf_lock_t { <nl> <nl> class alt_buf_read_t { <nl> public : <nl> - alt_buf_read_t ( alt_buf_lock_t * lock ) ; <nl> + explicit alt_buf_read_t ( alt_buf_lock_t * lock ) ; <nl> ~ alt_buf_read_t ( ) ; <nl> <nl> const void * get_data_read ( uint32_t * block_size_out ) ; <nl> class alt_buf_read_t { <nl> <nl> class alt_buf_write_t { <nl> public : <nl> - alt_buf_write_t ( alt_buf_lock_t * lock ) ; <nl> + explicit alt_buf_write_t ( alt_buf_lock_t * lock ) ; <nl> ~ alt_buf_write_t ( ) ; <nl> <nl> void * get_data_write ( uint32_t block_size ) ; <nl> mmm a / src / buffer_cache / alt / page . hpp <nl> ppp b / src / buffer_cache / alt / page . hpp <nl> <nl> # ifndef BUFFER_CACHE_ALT_PAGE_HPP_ <nl> # define BUFFER_CACHE_ALT_PAGE_HPP_ <nl> <nl> + # include < utility > <nl> + # include < vector > <nl> + <nl> # include " concurrency / cond_var . hpp " <nl> # include " containers / intrusive_list . hpp " <nl> # include " containers / segmented_vector . hpp " <nl>
Fixed style problems in alt . hpp and page . hpp .
rethinkdb/rethinkdb
c9678fab54de0e362283b20cffca49251e737607
2013-10-29T08:11:36Z
mmm a / code / search / search_test / search_test . cpp <nl> ppp b / code / search / search_test / search_test . cpp <nl> <nl> # include < algorithm > <nl> # include " fibonacci_search . cpp " <nl> <nl> - # define InputIteratorContainer ; <nl> - # define SearchFunc fibonacciSearch ; <nl> + # define InputIteratorContainer <nl> + # define SearchFunc fibonacciSearch <nl> <nl> # ifdef InputIteratorContainer <nl> # define Container list <nl>
fix semantic
OpenGenus/cosmos
0d03038fc8420dc2d27a08b01b28ad4817865fa3
2017-11-18T15:20:05Z
mmm a / python / tests / tests . py <nl> ppp b / python / tests / tests . py <nl> class FakeFile ( object ) : <nl> def __init__ ( self , data ) : <nl> self . _data = data <nl> self . _ptr = 0 <nl> - print ( " # FakeFile ( % s ) : % d " % ( <nl> - binascii . hexlify ( data ) . decode ( ' ascii ' ) , <nl> - len ( data ) ) ) <nl> <nl> def readinto ( self , buf ) : <nl> l = len ( buf ) <nl> - print ( " # buf : % d " % ( l ) ) <nl> if len ( self . _data ) - self . _ptr < l : <nl> return None <nl> buf [ : ] = self . _data [ self . _ptr : self . _ptr + l ] <nl> def raw ( self , structured_input , bser_output ) : <nl> def roundtrip ( self , val , mutable = True , value_encoding = None , <nl> value_errors = None ) : <nl> enc = self . bser_mod . dumps ( val ) <nl> - print ( " # % s - - > % s " % ( repr ( val ) , <nl> - binascii . hexlify ( enc ) . decode ( ' ascii ' ) ) ) <nl> + # print ( " # % s - - > % s " % ( repr ( val ) , <nl> + # binascii . hexlify ( enc ) . decode ( ' ascii ' ) ) ) <nl> dec = self . bser_mod . loads ( enc , mutable , value_encoding = value_encoding , <nl> value_errors = value_errors ) <nl> self . assertEqual ( val , dec ) <nl> def roundtrip ( self , val , mutable = True , value_encoding = None , <nl> <nl> def munged ( self , val , munged , value_encoding = None , value_errors = None ) : <nl> enc = self . bser_mod . dumps ( val ) <nl> - print ( " # % s - - > % s " % ( repr ( val ) , <nl> - binascii . hexlify ( enc ) . decode ( ' ascii ' ) ) ) <nl> + # print ( " # % s - - > % s " % ( repr ( val ) , <nl> + # binascii . hexlify ( enc ) . decode ( ' ascii ' ) ) ) <nl> dec = self . bser_mod . loads ( enc , value_encoding = value_encoding , <nl> value_errors = value_errors ) <nl> self . assertEqual ( munged , dec ) <nl> mmm a / thirdparty / tap . cpp <nl> ppp b / thirdparty / tap . cpp <nl> <nl> * OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF <nl> * SUCH DAMAGE . <nl> * / <nl> - <nl> + # define COMPILING_TAP_CPP 1 <nl> # include " watchman_system . h " <nl> # include < ctype . h > <nl> # include < stdio . h > <nl> _gen_result ( int ok , const char * func , const char * file , unsigned int line , <nl> } <nl> <nl> if ( name_is_digits ) { <nl> - diag ( " You named your test ' % s ' . You shouldn ' t use numbers for your test names . " , local_test_name ) ; <nl> - diag ( " Very confusing . " ) ; <nl> + printf ( " # You named your test ' % s ' . You shouldn ' t use numbers " <nl> + " for your test names . \ n " , local_test_name ) ; <nl> } <nl> } <nl> } <nl> _gen_result ( int ok , const char * func , const char * file , unsigned int line , <nl> if ( getenv ( " HARNESS_ACTIVE " ) ! = NULL ) <nl> fputs ( " \ n " , stderr ) ; <nl> <nl> - diag ( " Failed % stest ( % s : % s ( ) at line % d ) " , <nl> + printf ( " # Failed % stest ( % s : % s ( ) at line % d ) \ n " , <nl> todo ? " ( TODO ) " : " " , file , func , line ) ; <nl> } <nl> free ( local_test_name ) ; <nl> diag ( const char * fmt , . . . ) <nl> { <nl> va_list ap ; <nl> <nl> + if ( ! getenv ( " TAP_SHOW_DIAG " ) ) { <nl> + return 0 ; <nl> + } <nl> + <nl> fputs ( " # " , stdout ) ; <nl> <nl> va_start ( ap , fmt ) ; <nl> _cleanup ( void ) <nl> and we ' re not skipping everything , then something happened <nl> before we could produce any output * / <nl> if ( ! no_plan & & ! have_plan & & ! skip_all ) { <nl> - diag ( " Looks like your test died before it could output anything . " ) ; <nl> + printf ( " # Looks like your test died before it could output anything . \ n " ) ; <nl> UNLOCK ; <nl> return ; <nl> } <nl> <nl> if ( test_died ) { <nl> - diag ( " Looks like your test died just after % d . " , test_count ) ; <nl> + printf ( " # Looks like your test died just after % d . \ n " , test_count ) ; <nl> UNLOCK ; <nl> return ; <nl> } <nl> _cleanup ( void ) <nl> } <nl> <nl> if ( ( have_plan & & ! no_plan ) & & e_tests < test_count ) { <nl> - diag ( " Looks like you planned % d % s but ran % d extra . " , <nl> + printf ( " # Looks like you planned % d % s but ran % d extra . \ n " , <nl> e_tests , e_tests = = 1 ? " test " : " tests " , test_count - e_tests ) ; <nl> UNLOCK ; <nl> return ; <nl> } <nl> <nl> if ( ( have_plan | | ! no_plan ) & & e_tests > test_count ) { <nl> - diag ( " Looks like you planned % d % s but only ran % d . " , <nl> + printf ( " # Looks like you planned % d % s but only ran % d . \ n " , <nl> e_tests , e_tests = = 1 ? " test " : " tests " , test_count ) ; <nl> UNLOCK ; <nl> return ; <nl> } <nl> <nl> if ( failures ) <nl> - diag ( " Looks like you failed % d % s of % d . " , <nl> + printf ( " # Looks like you failed % d % s of % d . \ n " , <nl> failures , failures = = 1 ? " test " : " tests " , test_count ) ; <nl> <nl> - diag ( " ELAPSED : % " PRIu64 " ms \ n " , ms ) ; <nl> + printf ( " # ELAPSED : % " PRIu64 " ms \ n " , ms ) ; <nl> <nl> UNLOCK ; <nl> } <nl>
suppress some noisy test diagnostics
facebook/watchman
e79a70341a42fec0b98ea11b66576385489092e2
2017-03-04T17:36:05Z
mmm a / src / ui / int_entry . cpp <nl> ppp b / src / ui / int_entry . cpp <nl> void IntEntry : : openPopup ( ) <nl> rc . y + = rc . h ; <nl> rc . h + = 2 * jguiscale ( ) ; <nl> rc . w = 128 * jguiscale ( ) ; <nl> + if ( rc . x + rc . w > JI_SCREEN_W ) <nl> + rc . x = rc . x - rc . w + getBounds ( ) . w ; <nl> + <nl> m_popupWindow = new PopupWindow ( NULL , false ) ; <nl> m_popupWindow - > setAutoRemap ( false ) ; <nl> m_popupWindow - > setBounds ( rc ) ; <nl>
Fix IntEntry ' s popup if it ' s beyond the screen border
aseprite/aseprite
1bf84bac415e54e127e6e8a990bd35b003608f41
2013-03-30T23:53:50Z
mmm a / HISTORY . md <nl> ppp b / HISTORY . md <nl> <nl> # # Unreleased <nl> # # # Public API Change <nl> # # # New Features <nl> + * Changes the format of index blocks by delta encoding the index values , which are the block handles . This saves the encoding of BlockHandle : : offset of the non - head index entries in each restart interval . The feature is backward compatible but not forward compatible . It is disabled by default unless format_version 4 or above is used . <nl> # # # Bug Fixes <nl> <nl> # # 5 . 15 . 0 ( 7 / 17 / 2018 ) <nl> <nl> * The " rocksdb . num . entries " table property no longer counts range deletion tombstones as entries . <nl> <nl> # # # New Features <nl> - * Changes the format of index blocks by storing the key in their raw form rather than converting them to InternalKey . This saves 8 bytes per index key . The feature is backward compatbile but not forward compatible . It is disabled by default unless format_version 3 or above is used . <nl> + * Changes the format of index blocks by storing the key in their raw form rather than converting them to InternalKey . This saves 8 bytes per index key . The feature is backward compatible but not forward compatible . It is disabled by default unless format_version 3 or above is used . <nl> * Avoid memcpy when reading mmap files with OpenReadOnly and max_open_files = = - 1 . <nl> * Support dynamically changing ` ColumnFamilyOptions : : ttl ` via ` SetOptions ( ) ` . <nl> * Add a new table property , " rocksdb . num . range - deletions " , which counts the number of range deletion tombstones in the table . <nl> mmm a / db / builder . h <nl> ppp b / db / builder . h <nl> class VersionEdit ; <nl> class TableBuilder ; <nl> class WritableFileWriter ; <nl> class InternalStats ; <nl> - class InternalIterator ; <nl> <nl> / / @ param column_family_name Name of the column family that is also identified <nl> / / by column_family_id , or empty string if unknown . It must outlive the <nl> mmm a / db / db_impl . cc <nl> ppp b / db / db_impl . cc <nl> InternalIterator * DBImpl : : NewInternalIterator ( <nl> } else { <nl> CleanupSuperVersion ( super_version ) ; <nl> } <nl> - return NewErrorInternalIterator ( s , arena ) ; <nl> + return NewErrorInternalIterator < Slice > ( s , arena ) ; <nl> } <nl> <nl> ColumnFamilyHandle * DBImpl : : DefaultColumnFamily ( ) const { <nl> mmm a / db / db_iter . h <nl> ppp b / db / db_iter . h <nl> namespace rocksdb { <nl> <nl> class Arena ; <nl> class DBIter ; <nl> - class InternalIterator ; <nl> <nl> / / Return a new iterator that converts internal keys ( yielded by <nl> / / " * internal_iter " ) that were live at the specified " sequence " number <nl> mmm a / db / db_properties_test . cc <nl> ppp b / db / db_properties_test . cc <nl> void ParseTablePropertiesString ( std : : string tp_string , TableProperties * tp ) { <nl> ResetTableProperties ( tp ) ; <nl> sscanf ( tp_string . c_str ( ) , <nl> " # data blocks % " SCNu64 " # entries % " SCNu64 <nl> - " # range deletions % " SCNu64 <nl> - " raw key size % " SCNu64 <nl> + " # range deletions % " SCNu64 " raw key size % " SCNu64 <nl> " raw average key size % lf " <nl> " raw value size % " SCNu64 <nl> " raw average value size % lf " <nl> " data block size % " SCNu64 " index block size ( user - key ? % " SCNu64 <nl> - " ) % " SCNu64 " filter block size % " SCNu64 , <nl> + " , delta - value ? % " SCNu64 " ) % " SCNu64 " filter block size % " SCNu64 , <nl> & tp - > num_data_blocks , & tp - > num_entries , & tp - > num_range_deletions , <nl> & tp - > raw_key_size , & dummy_double , & tp - > raw_value_size , & dummy_double , <nl> - & tp - > data_size , & tp - > index_key_is_user_key , & tp - > index_size , <nl> - & tp - > filter_size ) ; <nl> + & tp - > data_size , & tp - > index_key_is_user_key , <nl> + & tp - > index_value_is_delta_encoded , & tp - > index_size , & tp - > filter_size ) ; <nl> } <nl> <nl> void VerifySimilar ( uint64_t a , uint64_t b , double bias ) { <nl> void VerifyTableProperties ( const TableProperties & base_tp , <nl> ASSERT_EQ ( base_tp . num_range_deletions , new_tp . num_range_deletions ) ; <nl> } <nl> <nl> - void GetExpectedTableProperties ( TableProperties * expected_tp , <nl> - const int kKeySize , const int kValueSize , <nl> - const int kKeysPerTable , <nl> - const int kRangeDeletionsPerTable , <nl> - const int kTableCount , <nl> - const int kBloomBitsPerKey , <nl> - const size_t kBlockSize , <nl> - const bool index_key_is_user_key ) { <nl> + void GetExpectedTableProperties ( <nl> + TableProperties * expected_tp , const int kKeySize , const int kValueSize , <nl> + const int kKeysPerTable , const int kRangeDeletionsPerTable , <nl> + const int kTableCount , const int kBloomBitsPerKey , const size_t kBlockSize , <nl> + const bool index_key_is_user_key , const bool value_delta_encoding ) { <nl> const int kKeyCount = kTableCount * kKeysPerTable ; <nl> const int kRangeDeletionCount = kTableCount * kRangeDeletionsPerTable ; <nl> const int kAvgSuccessorSize = kKeySize / 5 ; <nl> void GetExpectedTableProperties ( TableProperties * expected_tp , <nl> kTableCount * ( kKeysPerTable * ( kKeySize + 8 + kValueSize ) ) ; <nl> expected_tp - > index_size = <nl> expected_tp - > num_data_blocks * <nl> - ( kAvgSuccessorSize + ( index_key_is_user_key ? 0 : 8 ) ) ; <nl> + ( kAvgSuccessorSize + ( index_key_is_user_key ? 0 : 8 ) - <nl> + / / discount 1 byte as value size is not encoded in value delta encoding <nl> + ( value_delta_encoding ? 1 : 0 ) ) ; <nl> expected_tp - > filter_size = <nl> kTableCount * ( kKeysPerTable * kBloomBitsPerKey / 8 ) ; <nl> } <nl> TEST_F ( DBPropertiesTest , AggregatedTableProperties ) { <nl> TableProperties output_tp ; <nl> ParseTablePropertiesString ( property , & output_tp ) ; <nl> bool index_key_is_user_key = output_tp . index_key_is_user_key > 0 ; <nl> + bool value_is_delta_encoded = output_tp . index_value_is_delta_encoded > 0 ; <nl> <nl> TableProperties expected_tp ; <nl> GetExpectedTableProperties ( & expected_tp , kKeySize , kValueSize , <nl> kKeysPerTable , kRangeDeletionsPerTable , <nl> kTableCount , kBloomBitsPerKey , <nl> - table_options . block_size , index_key_is_user_key ) ; <nl> + table_options . block_size , index_key_is_user_key , <nl> + value_is_delta_encoded ) ; <nl> <nl> VerifyTableProperties ( expected_tp , output_tp ) ; <nl> } <nl> TEST_F ( DBPropertiesTest , AggregatedTablePropertiesAtLevel ) { <nl> db_ - > GetProperty ( DB : : Properties : : kAggregatedTableProperties , & tp_string ) ; <nl> ParseTablePropertiesString ( tp_string , & tp ) ; <nl> bool index_key_is_user_key = tp . index_key_is_user_key > 0 ; <nl> + bool value_is_delta_encoded = tp . index_value_is_delta_encoded > 0 ; <nl> ASSERT_EQ ( sum_tp . data_size , tp . data_size ) ; <nl> ASSERT_EQ ( sum_tp . index_size , tp . index_size ) ; <nl> ASSERT_EQ ( sum_tp . filter_size , tp . filter_size ) ; <nl> TEST_F ( DBPropertiesTest , AggregatedTablePropertiesAtLevel ) { <nl> ASSERT_EQ ( sum_tp . num_entries , tp . num_entries ) ; <nl> ASSERT_EQ ( sum_tp . num_range_deletions , tp . num_range_deletions ) ; <nl> if ( table > 3 ) { <nl> - GetExpectedTableProperties ( <nl> - & expected_tp , kKeySize , kValueSize , kKeysPerTable , <nl> - kRangeDeletionsPerTable , table , kBloomBitsPerKey , <nl> - table_options . block_size , index_key_is_user_key ) ; <nl> + GetExpectedTableProperties ( & expected_tp , kKeySize , kValueSize , <nl> + kKeysPerTable , kRangeDeletionsPerTable , table , <nl> + kBloomBitsPerKey , table_options . block_size , <nl> + index_key_is_user_key , value_is_delta_encoded ) ; <nl> / / Gives larger bias here as index block size , filter block size , <nl> / / and data block size become much harder to estimate in this test . <nl> VerifyTableProperties ( expected_tp , tp , 0 . 5 , 0 . 4 , 0 . 4 , 0 . 25 ) ; <nl> mmm a / db / db_test_util . cc <nl> ppp b / db / db_test_util . cc <nl> Options DBTestBase : : GetOptions ( <nl> options . prefix_extractor . reset ( NewNoopTransform ( ) ) ; <nl> break ; <nl> } <nl> - case kBlockBasedTableWithPartitionedIndexFormat3 : { <nl> - table_options . format_version = 3 ; <nl> + case kBlockBasedTableWithPartitionedIndexFormat4 : { <nl> + table_options . format_version = 4 ; <nl> / / Format 3 changes the binary index format . Since partitioned index is a <nl> / / super - set of simple indexes , we are also using kTwoLevelIndexSearch to <nl> / / test this format . <nl> mmm a / db / db_test_util . h <nl> ppp b / db / db_test_util . h <nl> class DBTestBase : public testing : : Test { <nl> kLevelSubcompactions , <nl> kBlockBasedTableWithIndexRestartInterval , <nl> kBlockBasedTableWithPartitionedIndex , <nl> - kBlockBasedTableWithPartitionedIndexFormat3 , <nl> + kBlockBasedTableWithPartitionedIndexFormat4 , <nl> kPartitionedFilterWithNewTableReaderForCompactions , <nl> kUniversalSubcompactions , <nl> / / This must be the last line <nl> mmm a / db / memtable . h <nl> ppp b / db / memtable . h <nl> namespace rocksdb { <nl> class Mutex ; <nl> class MemTableIterator ; <nl> class MergeContext ; <nl> - class InternalIterator ; <nl> <nl> struct ImmutableMemTableOptions { <nl> explicit ImmutableMemTableOptions ( const ImmutableCFOptions & ioptions , <nl> mmm a / db / merge_helper . h <nl> ppp b / db / merge_helper . h <nl> class Iterator ; <nl> class Logger ; <nl> class MergeOperator ; <nl> class Statistics ; <nl> - class InternalIterator ; <nl> <nl> class MergeHelper { <nl> public : <nl> mmm a / db / table_cache . cc <nl> ppp b / db / table_cache . cc <nl> InternalIterator * TableCache : : NewIterator ( <nl> if ( s . ok ( ) ) { <nl> if ( options . table_filter & & <nl> ! options . table_filter ( * table_reader - > GetTableProperties ( ) ) ) { <nl> - result = NewEmptyInternalIterator ( arena ) ; <nl> + result = NewEmptyInternalIterator < Slice > ( arena ) ; <nl> } else { <nl> result = table_reader - > NewIterator ( options , prefix_extractor , arena , <nl> skip_filters , for_compaction ) ; <nl> InternalIterator * TableCache : : NewIterator ( <nl> } <nl> if ( ! s . ok ( ) ) { <nl> assert ( result = = nullptr ) ; <nl> - result = NewErrorInternalIterator ( s , arena ) ; <nl> + result = NewErrorInternalIterator < Slice > ( s , arena ) ; <nl> } <nl> return result ; <nl> } <nl> mmm a / db / table_cache . h <nl> ppp b / db / table_cache . h <nl> class Arena ; <nl> struct FileDescriptor ; <nl> class GetContext ; <nl> class HistogramImpl ; <nl> - class InternalIterator ; <nl> <nl> class TableCache { <nl> public : <nl> mmm a / db / version_edit . cc <nl> ppp b / db / version_edit . cc <nl> enum CustomTag : uint32_t { <nl> kTerminate = 1 , / / The end of customized fields <nl> kNeedCompaction = 2 , <nl> / / Since Manifest is not entirely currently forward - compatible , and the only <nl> - / / forward - compatbile part is the CutsomtTag of kNewFile , we currently encode <nl> + / / forward - compatible part is the CutsomtTag of kNewFile , we currently encode <nl> / / kMinLogNumberToKeep as part of a CustomTag as a hack . This should be <nl> / / removed when manifest becomes forward - comptabile . <nl> kMinLogNumberToKeepHack = 3 , <nl> const char * VersionEdit : : DecodeNewFile4From ( Slice * input ) { <nl> break ; <nl> case kMinLogNumberToKeepHack : <nl> / / This is a hack to encode kMinLogNumberToKeep in a <nl> - / / forward - compatbile fashion . <nl> + / / forward - compatible fashion . <nl> if ( ! GetFixed64 ( & field , & min_log_number_to_keep_ ) ) { <nl> return " deleted log number malformatted " ; <nl> } <nl> mmm a / db / version_set . h <nl> ppp b / db / version_set . h <nl> class Writer ; <nl> } <nl> <nl> class Compaction ; <nl> - class InternalIterator ; <nl> class LogBuffer ; <nl> class LookupKey ; <nl> class MemTable ; <nl> mmm a / include / rocksdb / table_properties . h <nl> ppp b / include / rocksdb / table_properties . h <nl> struct TablePropertiesNames { <nl> static const std : : string kIndexPartitions ; <nl> static const std : : string kTopLevelIndexSize ; <nl> static const std : : string kIndexKeyIsUserKey ; <nl> + static const std : : string kIndexValueIsDeltaEncoded ; <nl> static const std : : string kFilterSize ; <nl> static const std : : string kRawKeySize ; <nl> static const std : : string kRawValueSize ; <nl> struct TableProperties { <nl> / / Whether the index key is user key . Otherwise it includes 8 byte of sequence <nl> / / number added by internal key format . <nl> uint64_t index_key_is_user_key = 0 ; <nl> + / / Whether delta encoding is used to encode the index values . <nl> + uint64_t index_value_is_delta_encoded = 0 ; <nl> / / the size of filter block . <nl> uint64_t filter_size = 0 ; <nl> / / total raw key size <nl> mmm a / table / block . cc <nl> ppp b / table / block . cc <nl> namespace rocksdb { <nl> / / <nl> / / If any errors are detected , returns nullptr . Otherwise , returns a <nl> / / pointer to the key delta ( just past the three decoded values ) . <nl> - static inline const char * DecodeEntry ( const char * p , const char * limit , <nl> - uint32_t * shared , <nl> - uint32_t * non_shared , <nl> - uint32_t * value_length ) { <nl> - if ( limit - p < 3 ) return nullptr ; <nl> - * shared = reinterpret_cast < const unsigned char * > ( p ) [ 0 ] ; <nl> - * non_shared = reinterpret_cast < const unsigned char * > ( p ) [ 1 ] ; <nl> - * value_length = reinterpret_cast < const unsigned char * > ( p ) [ 2 ] ; <nl> - if ( ( * shared | * non_shared | * value_length ) < 128 ) { <nl> - / / Fast path : all three values are encoded in one byte each <nl> - p + = 3 ; <nl> - } else { <nl> - if ( ( p = GetVarint32Ptr ( p , limit , shared ) ) = = nullptr ) return nullptr ; <nl> - if ( ( p = GetVarint32Ptr ( p , limit , non_shared ) ) = = nullptr ) return nullptr ; <nl> - if ( ( p = GetVarint32Ptr ( p , limit , value_length ) ) = = nullptr ) return nullptr ; <nl> - } <nl> + struct DecodeEntry { <nl> + inline const char * operator ( ) ( const char * p , const char * limit , <nl> + uint32_t * shared , uint32_t * non_shared , <nl> + uint32_t * value_length ) { <nl> + / / We need 2 bytes for shared and non_shared size . We also need one more <nl> + / / byte either for value size or the actual value in case of value delta <nl> + / / encoding . <nl> + assert ( limit - p > = 3 ) ; <nl> + * shared = reinterpret_cast < const unsigned char * > ( p ) [ 0 ] ; <nl> + * non_shared = reinterpret_cast < const unsigned char * > ( p ) [ 1 ] ; <nl> + * value_length = reinterpret_cast < const unsigned char * > ( p ) [ 2 ] ; <nl> + if ( ( * shared | * non_shared | * value_length ) < 128 ) { <nl> + / / Fast path : all three values are encoded in one byte each <nl> + p + = 3 ; <nl> + } else { <nl> + if ( ( p = GetVarint32Ptr ( p , limit , shared ) ) = = nullptr ) return nullptr ; <nl> + if ( ( p = GetVarint32Ptr ( p , limit , non_shared ) ) = = nullptr ) return nullptr ; <nl> + if ( ( p = GetVarint32Ptr ( p , limit , value_length ) ) = = nullptr ) { <nl> + return nullptr ; <nl> + } <nl> + } <nl> <nl> - if ( static_cast < uint32_t > ( limit - p ) < ( * non_shared + * value_length ) ) { <nl> - return nullptr ; <nl> + / / Using an assert in place of " return null " since we should not pay the <nl> + / / cost of checking for corruption on every single key decoding <nl> + assert ( ! ( static_cast < uint32_t > ( limit - p ) < ( * non_shared + * value_length ) ) ) ; <nl> + return p ; <nl> + } <nl> + } ; <nl> + <nl> + struct DecodeKey { <nl> + inline const char * operator ( ) ( const char * p , const char * limit , <nl> + uint32_t * shared , uint32_t * non_shared ) { <nl> + uint32_t value_length ; <nl> + return DecodeEntry ( ) ( p , limit , shared , non_shared , & value_length ) ; <nl> + } <nl> + } ; <nl> + <nl> + / / In format_version 4 , which is used by index blocks , the value size is not <nl> + / / encoded before the entry , as the value is known to be the handle with the <nl> + / / known size . <nl> + struct DecodeKeyV4 { <nl> + inline const char * operator ( ) ( const char * p , const char * limit , <nl> + uint32_t * shared , uint32_t * non_shared ) { <nl> + / / We need 2 bytes for shared and non_shared size . We also need one more <nl> + / / byte either for value size or the actual value in case of value delta <nl> + / / encoding . <nl> + if ( limit - p < 3 ) return nullptr ; <nl> + * shared = reinterpret_cast < const unsigned char * > ( p ) [ 0 ] ; <nl> + * non_shared = reinterpret_cast < const unsigned char * > ( p ) [ 1 ] ; <nl> + if ( ( * shared | * non_shared ) < 128 ) { <nl> + / / Fast path : all three values are encoded in one byte each <nl> + p + = 2 ; <nl> + } else { <nl> + if ( ( p = GetVarint32Ptr ( p , limit , shared ) ) = = nullptr ) return nullptr ; <nl> + if ( ( p = GetVarint32Ptr ( p , limit , non_shared ) ) = = nullptr ) return nullptr ; <nl> + } <nl> + return p ; <nl> } <nl> - return p ; <nl> - } <nl> + } ; <nl> <nl> void DataBlockIter : : Next ( ) { <nl> assert ( Valid ( ) ) ; <nl> void DataBlockIter : : Seek ( const Slice & target ) { <nl> return ; <nl> } <nl> uint32_t index = 0 ; <nl> - bool ok = BinarySeek ( seek_key , 0 , num_restarts_ - 1 , & index , comparator_ ) ; <nl> + bool ok = BinarySeek < DecodeKey > ( seek_key , 0 , num_restarts_ - 1 , & index , <nl> + comparator_ ) ; <nl> <nl> if ( ! ok ) { <nl> return ; <nl> void IndexBlockIter : : Seek ( const Slice & target ) { <nl> bool ok = false ; <nl> if ( prefix_index_ ) { <nl> ok = PrefixSeek ( target , & index ) ; <nl> + } else if ( value_delta_encoded_ ) { <nl> + ok = BinarySeek < DecodeKeyV4 > ( seek_key , 0 , num_restarts_ - 1 , & index , <nl> + active_comparator_ ) ; <nl> } else { <nl> - ok = BinarySeek ( seek_key , 0 , num_restarts_ - 1 , & index , active_comparator_ ) ; <nl> + ok = BinarySeek < DecodeKey > ( seek_key , 0 , num_restarts_ - 1 , & index , <nl> + active_comparator_ ) ; <nl> } <nl> <nl> if ( ! ok ) { <nl> void DataBlockIter : : SeekForPrev ( const Slice & target ) { <nl> return ; <nl> } <nl> uint32_t index = 0 ; <nl> - bool ok = BinarySeek ( seek_key , 0 , num_restarts_ - 1 , & index , comparator_ ) ; <nl> + bool ok = BinarySeek < DecodeKey > ( seek_key , 0 , num_restarts_ - 1 , & index , <nl> + comparator_ ) ; <nl> <nl> if ( ! ok ) { <nl> return ; <nl> void IndexBlockIter : : SeekToLast ( ) { <nl> } <nl> } <nl> <nl> - void BlockIter : : CorruptionError ( ) { <nl> + template < class TValue > <nl> + void BlockIter < TValue > : : CorruptionError ( ) { <nl> current_ = restarts_ ; <nl> restart_index_ = num_restarts_ ; <nl> status_ = Status : : Corruption ( " bad entry in block " ) ; <nl> bool DataBlockIter : : ParseNextDataKey ( ) { <nl> <nl> / / Decode next entry <nl> uint32_t shared , non_shared , value_length ; <nl> - p = DecodeEntry ( p , limit , & shared , & non_shared , & value_length ) ; <nl> + p = DecodeEntry ( ) ( p , limit , & shared , & non_shared , & value_length ) ; <nl> if ( p = = nullptr | | key_ . Size ( ) < shared ) { <nl> CorruptionError ( ) ; <nl> return false ; <nl> bool DataBlockIter : : ParseNextDataKey ( ) { <nl> } <nl> <nl> value_ = Slice ( p + non_shared , value_length ) ; <nl> - while ( restart_index_ + 1 < num_restarts_ & & <nl> - GetRestartPoint ( restart_index_ + 1 ) < current_ ) { <nl> - + + restart_index_ ; <nl> + if ( shared = = 0 ) { <nl> + while ( restart_index_ + 1 < num_restarts_ & & <nl> + GetRestartPoint ( restart_index_ + 1 ) < current_ ) { <nl> + + + restart_index_ ; <nl> + } <nl> } <nl> + / / else we are in the middle of a restart interval and the restart_index_ <nl> + / / thus has not changed <nl> return true ; <nl> } <nl> } <nl> bool IndexBlockIter : : ParseNextIndexKey ( ) { <nl> <nl> / / Decode next entry <nl> uint32_t shared , non_shared , value_length ; <nl> - p = DecodeEntry ( p , limit , & shared , & non_shared , & value_length ) ; <nl> + if ( value_delta_encoded_ ) { <nl> + p = DecodeKeyV4 ( ) ( p , limit , & shared , & non_shared ) ; <nl> + value_length = 0 ; <nl> + } else { <nl> + p = DecodeEntry ( ) ( p , limit , & shared , & non_shared , & value_length ) ; <nl> + } <nl> if ( p = = nullptr | | key_ . Size ( ) < shared ) { <nl> CorruptionError ( ) ; <nl> return false ; <nl> bool IndexBlockIter : : ParseNextIndexKey ( ) { <nl> key_pinned_ = false ; <nl> } <nl> value_ = Slice ( p + non_shared , value_length ) ; <nl> - while ( restart_index_ + 1 < num_restarts_ & & <nl> - GetRestartPoint ( restart_index_ + 1 ) < current_ ) { <nl> - + + restart_index_ ; <nl> + if ( shared = = 0 ) { <nl> + while ( restart_index_ + 1 < num_restarts_ & & <nl> + GetRestartPoint ( restart_index_ + 1 ) < current_ ) { <nl> + + + restart_index_ ; <nl> + } <nl> + } <nl> + / / else we are in the middle of a restart interval and the restart_index_ <nl> + / / thus has not changed <nl> + if ( value_delta_encoded_ ) { <nl> + assert ( value_length = = 0 ) ; <nl> + DecodeCurrentValue ( shared ) ; <nl> } <nl> return true ; <nl> } <nl> <nl> + / / The format : <nl> + / / restart_point 0 : k , v ( off , sz ) , k , v ( delta - sz ) , . . . , k , v ( delta - sz ) <nl> + / / restart_point 1 : k , v ( off , sz ) , k , v ( delta - sz ) , . . . , k , v ( delta - sz ) <nl> + / / . . . <nl> + / / restart_point n - 1 : k , v ( off , sz ) , k , v ( delta - sz ) , . . . , k , v ( delta - sz ) <nl> + / / where , k is key , v is value , and its encoding is in parenthesis . <nl> + / / The format of each key is ( shared_size , non_shared_size , shared , non_shared ) <nl> + / / The format of each value , i . e . , block hanlde , is ( offset , size ) whenever the <nl> + / / shared_size is 0 , which included the first entry in each restart point . <nl> + / / Otherwise the format is delta - size = block handle size - size of last block <nl> + / / handle . <nl> + void IndexBlockIter : : DecodeCurrentValue ( uint32_t shared ) { <nl> + assert ( value_delta_encoded_ ) ; <nl> + const char * limit = data_ + restarts_ ; <nl> + if ( shared = = 0 ) { <nl> + uint64_t o , s ; <nl> + const char * newp = GetVarint64Ptr ( value_ . data ( ) , limit , & o ) ; <nl> + newp = GetVarint64Ptr ( newp , limit , & s ) ; <nl> + decoded_value_ = BlockHandle ( o , s ) ; <nl> + value_ = Slice ( value_ . data ( ) , newp - value_ . data ( ) ) ; <nl> + } else { <nl> + uint64_t next_value_base = <nl> + decoded_value_ . offset ( ) + decoded_value_ . size ( ) + kBlockTrailerSize ; <nl> + int64_t delta ; <nl> + const char * newp = GetVarsignedint64Ptr ( value_ . data ( ) , limit , & delta ) ; <nl> + decoded_value_ = <nl> + BlockHandle ( next_value_base , decoded_value_ . size ( ) + delta ) ; <nl> + value_ = Slice ( value_ . data ( ) , newp - value_ . data ( ) ) ; <nl> + } <nl> + } <nl> + <nl> / / Binary search in restart array to find the first restart point that <nl> / / is either the last restart point with a key less than target , <nl> / / which means the key of next restart point is larger than target , or <nl> / / the first restart point with a key = target <nl> - bool BlockIter : : BinarySeek ( const Slice & target , uint32_t left , uint32_t right , <nl> - uint32_t * index , const Comparator * comp ) { <nl> + template < class TValue > <nl> + template < typename DecodeKeyFunc > <nl> + bool BlockIter < TValue > : : BinarySeek ( const Slice & target , uint32_t left , <nl> + uint32_t right , uint32_t * index , <nl> + const Comparator * comp ) { <nl> assert ( left < = right ) ; <nl> <nl> while ( left < right ) { <nl> uint32_t mid = ( left + right + 1 ) / 2 ; <nl> uint32_t region_offset = GetRestartPoint ( mid ) ; <nl> - uint32_t shared , non_shared , value_length ; <nl> - const char * key_ptr = DecodeEntry ( data_ + region_offset , data_ + restarts_ , <nl> - & shared , & non_shared , & value_length ) ; <nl> + uint32_t shared , non_shared ; <nl> + const char * key_ptr = DecodeKeyFunc ( ) ( <nl> + data_ + region_offset , data_ + restarts_ , & shared , & non_shared ) ; <nl> if ( key_ptr = = nullptr | | ( shared ! = 0 ) ) { <nl> CorruptionError ( ) ; <nl> return false ; <nl> bool BlockIter : : BinarySeek ( const Slice & target , uint32_t left , uint32_t right , <nl> / / Return - 1 if error . <nl> int IndexBlockIter : : CompareBlockKey ( uint32_t block_index , const Slice & target ) { <nl> uint32_t region_offset = GetRestartPoint ( block_index ) ; <nl> - uint32_t shared , non_shared , value_length ; <nl> - const char * key_ptr = DecodeEntry ( data_ + region_offset , data_ + restarts_ , <nl> - & shared , & non_shared , & value_length ) ; <nl> + uint32_t shared , non_shared ; <nl> + const char * key_ptr = <nl> + value_delta_encoded_ <nl> + ? DecodeKeyV4 ( ) ( data_ + region_offset , data_ + restarts_ , & shared , <nl> + & non_shared ) <nl> + : DecodeKey ( ) ( data_ + region_offset , data_ + restarts_ , & shared , <nl> + & non_shared ) ; <nl> if ( key_ptr = = nullptr | | ( shared ! = 0 ) ) { <nl> CorruptionError ( ) ; <nl> return 1 ; / / Return target is smaller <nl> DataBlockIter * Block : : NewIterator ( const Comparator * cmp , const Comparator * ucmp , <nl> DataBlockIter * iter , Statistics * stats , <nl> bool / * total_order_seek * / , <nl> bool / * key_includes_seq * / , <nl> + bool / * value_is_full * / , <nl> BlockPrefixIndex * / * prefix_index * / ) { <nl> DataBlockIter * ret_iter ; <nl> if ( iter ! = nullptr ) { <nl> template < > <nl> IndexBlockIter * Block : : NewIterator ( const Comparator * cmp , <nl> const Comparator * ucmp , IndexBlockIter * iter , <nl> Statistics * / * stats * / , bool total_order_seek , <nl> - bool key_includes_seq , <nl> + bool key_includes_seq , bool value_is_full , <nl> BlockPrefixIndex * prefix_index ) { <nl> IndexBlockIter * ret_iter ; <nl> if ( iter ! = nullptr ) { <nl> IndexBlockIter * Block : : NewIterator ( const Comparator * cmp , <nl> BlockPrefixIndex * prefix_index_ptr = <nl> total_order_seek ? nullptr : prefix_index ; <nl> ret_iter - > Initialize ( cmp , ucmp , data_ , restart_offset_ , num_restarts_ , <nl> - prefix_index_ptr , key_includes_seq , cachable ( ) ) ; <nl> + prefix_index_ptr , key_includes_seq , value_is_full , <nl> + cachable ( ) ) ; <nl> } <nl> <nl> return ret_iter ; <nl> mmm a / table / block . h <nl> ppp b / table / block . h <nl> namespace rocksdb { <nl> <nl> struct BlockContents ; <nl> class Comparator ; <nl> + template < class TValue > <nl> class BlockIter ; <nl> class DataBlockIter ; <nl> class IndexBlockIter ; <nl> class Block { <nl> / / If iter is null , return new Iterator <nl> / / If iter is not null , update this one and return it as Iterator * <nl> / / <nl> + / / key_includes_seq , default true , means that the keys are in internal key <nl> + / / format . <nl> + / / value_is_full , default ture , means that no delta encoding is <nl> + / / applied to values . <nl> + / / <nl> / / NewIterator < DataBlockIter > <nl> / / Same as above but also updates read_amp_bitmap_ if it is not nullptr . <nl> / / <nl> class Block { <nl> / / the iterator will simply be set as " invalid " , rather than returning <nl> / / the key that is just pass the target key . <nl> template < typename TBlockIter > <nl> - TBlockIter * NewIterator ( const Comparator * comparator , <nl> - const Comparator * user_comparator , <nl> - TBlockIter * iter = nullptr , <nl> - Statistics * stats = nullptr , <nl> - bool total_order_seek = true , <nl> - bool key_includes_seq = true , <nl> - BlockPrefixIndex * prefix_index = nullptr ) ; <nl> + TBlockIter * NewIterator ( <nl> + const Comparator * comparator , const Comparator * user_comparator , <nl> + TBlockIter * iter = nullptr , Statistics * stats = nullptr , <nl> + bool total_order_seek = true , bool key_includes_seq = true , <nl> + bool value_is_full = true , BlockPrefixIndex * prefix_index = nullptr ) ; <nl> <nl> / / Report an approximation of how much memory has been used . <nl> size_t ApproximateMemoryUsage ( ) const ; <nl> class Block { <nl> void operator = ( const Block & ) = delete ; <nl> } ; <nl> <nl> - class BlockIter : public InternalIterator { <nl> + template < class TValue > <nl> + class BlockIter : public InternalIteratorBase < TValue > { <nl> public : <nl> void InitializeBase ( const Comparator * comparator , const char * data , <nl> uint32_t restarts , uint32_t num_restarts , <nl> class BlockIter : public InternalIterator { <nl> assert ( Valid ( ) ) ; <nl> return key_ . GetKey ( ) ; <nl> } <nl> - virtual Slice value ( ) const override { <nl> - assert ( Valid ( ) ) ; <nl> - return value_ ; <nl> - } <nl> <nl> # ifndef NDEBUG <nl> virtual ~ BlockIter ( ) { <nl> class BlockIter : public InternalIterator { <nl> const char * data_ ; / / underlying block contents <nl> uint32_t num_restarts_ ; / / Number of uint32_t entries in restart array <nl> <nl> - uint32_t restart_index_ ; / / Index of restart block in which current_ falls <nl> + / / Index of restart block in which current_ or current_ - 1 falls <nl> + uint32_t restart_index_ ; <nl> uint32_t restarts_ ; / / Offset of restart array ( list of fixed32 ) <nl> / / current_ is offset in data_ of current entry . > = restarts_ if ! Valid <nl> uint32_t current_ ; <nl> class BlockIter : public InternalIterator { <nl> <nl> void CorruptionError ( ) ; <nl> <nl> - bool BinarySeek ( const Slice & target , uint32_t left , uint32_t right , <nl> - uint32_t * index , const Comparator * comp ) ; <nl> + template < typename DecodeKeyFunc > <nl> + inline bool BinarySeek ( const Slice & target , uint32_t left , uint32_t right , <nl> + uint32_t * index , const Comparator * comp ) ; <nl> } ; <nl> <nl> - class DataBlockIter final : public BlockIter { <nl> + class DataBlockIter final : public BlockIter < Slice > { <nl> public : <nl> DataBlockIter ( ) <nl> : BlockIter ( ) , read_amp_bitmap_ ( nullptr ) , last_bitmap_offset_ ( 0 ) { } <nl> class DataBlockIter final : public BlockIter { <nl> std : : vector < CachedPrevEntry > prev_entries_ ; <nl> int32_t prev_entries_idx_ = - 1 ; <nl> <nl> - bool ParseNextDataKey ( ) ; <nl> + inline bool ParseNextDataKey ( ) ; <nl> <nl> inline int Compare ( const IterKey & ikey , const Slice & b ) const { <nl> return comparator_ - > Compare ( ikey . GetInternalKey ( ) , b ) ; <nl> } <nl> } ; <nl> <nl> - class IndexBlockIter final : public BlockIter { <nl> + class IndexBlockIter final : public BlockIter < BlockHandle > { <nl> public : <nl> IndexBlockIter ( ) : BlockIter ( ) , prefix_index_ ( nullptr ) { } <nl> <nl> class IndexBlockIter final : public BlockIter { <nl> assert ( Valid ( ) ) ; <nl> return key_ . GetKey ( ) ; <nl> } <nl> + / / key_includes_seq , default true , means that the keys are in internal key <nl> + / / format . <nl> + / / value_is_full , default ture , means that no delta encoding is <nl> + / / applied to values . <nl> IndexBlockIter ( const Comparator * comparator , <nl> const Comparator * user_comparator , const char * data , <nl> uint32_t restarts , uint32_t num_restarts , <nl> BlockPrefixIndex * prefix_index , bool key_includes_seq , <nl> - bool block_contents_pinned ) <nl> + bool value_is_full , bool block_contents_pinned ) <nl> : IndexBlockIter ( ) { <nl> Initialize ( comparator , user_comparator , data , restarts , num_restarts , <nl> - prefix_index , key_includes_seq , block_contents_pinned ) ; <nl> + prefix_index , key_includes_seq , block_contents_pinned , <nl> + value_is_full ) ; <nl> } <nl> <nl> void Initialize ( const Comparator * comparator , <nl> const Comparator * user_comparator , const char * data , <nl> uint32_t restarts , uint32_t num_restarts , <nl> BlockPrefixIndex * prefix_index , bool key_includes_seq , <nl> - bool block_contents_pinned ) { <nl> + bool value_is_full , bool block_contents_pinned ) { <nl> InitializeBase ( comparator , data , restarts , num_restarts , <nl> kDisableGlobalSequenceNumber , block_contents_pinned ) ; <nl> key_includes_seq_ = key_includes_seq ; <nl> active_comparator_ = key_includes_seq_ ? comparator_ : user_comparator ; <nl> key_ . SetIsUserKey ( ! key_includes_seq_ ) ; <nl> prefix_index_ = prefix_index ; <nl> + value_delta_encoded_ = ! value_is_full ; <nl> + } <nl> + <nl> + virtual BlockHandle value ( ) const override { <nl> + assert ( Valid ( ) ) ; <nl> + if ( value_delta_encoded_ ) { <nl> + return decoded_value_ ; <nl> + } else { <nl> + BlockHandle handle ; <nl> + Slice v = value_ ; <nl> + Status decode_s __attribute__ ( ( __unused__ ) ) = handle . DecodeFrom ( & v ) ; <nl> + assert ( decode_s . ok ( ) ) ; <nl> + return handle ; <nl> + } <nl> } <nl> <nl> virtual void Seek ( const Slice & target ) override ; <nl> class IndexBlockIter final : public BlockIter { <nl> void Invalidate ( Status s ) { InvalidateBase ( s ) ; } <nl> <nl> private : <nl> + / / Key is in InternalKey format <nl> + bool key_includes_seq_ ; <nl> + bool value_delta_encoded_ ; <nl> + / / key_includes_seq_ ? comparator_ : user_comparator_ <nl> + const Comparator * active_comparator_ ; <nl> + BlockPrefixIndex * prefix_index_ ; <nl> + / / Whether the value is delta encoded . In that case the value is assumed to be <nl> + / / BlockHandle . The first value in each restart interval is the full encoded <nl> + / / BlockHandle ; the restart of encoded size part of the BlockHandle . The <nl> + / / offset of delta encoded BlockHandles is computed by adding the size of <nl> + / / previous delta encoded values in the same restart interval to the offset of <nl> + / / the first value in that restart interval . <nl> + BlockHandle decoded_value_ ; <nl> + <nl> bool PrefixSeek ( const Slice & target , uint32_t * index ) ; <nl> bool BinaryBlockIndexSeek ( const Slice & target , uint32_t * block_ids , <nl> uint32_t left , uint32_t right , <nl> uint32_t * index ) ; <nl> - int CompareBlockKey ( uint32_t block_index , const Slice & target ) ; <nl> + inline int CompareBlockKey ( uint32_t block_index , const Slice & target ) ; <nl> <nl> inline int Compare ( const Slice & a , const Slice & b ) const { <nl> return active_comparator_ - > Compare ( a , b ) ; <nl> class IndexBlockIter final : public BlockIter { <nl> return active_comparator_ - > Compare ( ikey . GetKey ( ) , b ) ; <nl> } <nl> <nl> - bool ParseNextIndexKey ( ) ; <nl> + inline bool ParseNextIndexKey ( ) ; <nl> <nl> - / / Key is in InternalKey format <nl> - bool key_includes_seq_ ; <nl> - / / key_includes_seq_ ? comparator_ : user_comparator_ <nl> - const Comparator * active_comparator_ ; <nl> - BlockPrefixIndex * prefix_index_ ; <nl> + / / When value_delta_encoded_ is enabled it decodes the value which is assumed <nl> + / / to be BlockHandle and put it to decoded_value_ <nl> + inline void DecodeCurrentValue ( uint32_t shared ) ; <nl> } ; <nl> <nl> } / / namespace rocksdb <nl> mmm a / table / block_based_table_builder . cc <nl> ppp b / table / block_based_table_builder . cc <nl> namespace { <nl> FilterBlockBuilder * CreateFilterBlockBuilder ( <nl> const ImmutableCFOptions & / * opt * / , const MutableCFOptions & mopt , <nl> const BlockBasedTableOptions & table_opt , <nl> + const bool use_delta_encoding_for_index_values , <nl> PartitionedIndexBuilder * const p_index_builder ) { <nl> if ( table_opt . filter_policy = = nullptr ) return nullptr ; <nl> <nl> FilterBlockBuilder * CreateFilterBlockBuilder ( <nl> return new PartitionedFilterBlockBuilder ( <nl> mopt . prefix_extractor . get ( ) , table_opt . whole_key_filtering , <nl> filter_bits_builder , table_opt . index_block_restart_interval , <nl> - p_index_builder , partition_size ) ; <nl> + use_delta_encoding_for_index_values , p_index_builder , partition_size ) ; <nl> } else { <nl> return new FullFilterBlockBuilder ( mopt . prefix_extractor . get ( ) , <nl> table_opt . whole_key_filtering , <nl> struct BlockBasedTableBuilder : : Rep { <nl> TableProperties props ; <nl> <nl> bool closed = false ; / / Either Finish ( ) or Abandon ( ) has been called . <nl> + const bool use_delta_encoding_for_index_values ; <nl> std : : unique_ptr < FilterBlockBuilder > filter_builder ; <nl> char compressed_cache_key_prefix [ BlockBasedTable : : kMaxCacheKeyPrefixSize ] ; <nl> size_t compressed_cache_key_prefix_size ; <nl> struct BlockBasedTableBuilder : : Rep { <nl> internal_prefix_transform ( _moptions . prefix_extractor . get ( ) ) , <nl> compression_dict ( _compression_dict ) , <nl> compression_ctx ( _compression_type , _compression_opts ) , <nl> + use_delta_encoding_for_index_values ( table_opt . format_version > = 4 & & <nl> + ! table_opt . block_align ) , <nl> compressed_cache_key_prefix_size ( 0 ) , <nl> flush_block_policy ( <nl> table_options . flush_block_policy_factory - > NewFlushBlockPolicy ( <nl> struct BlockBasedTableBuilder : : Rep { <nl> if ( table_options . index_type = = <nl> BlockBasedTableOptions : : kTwoLevelIndexSearch ) { <nl> p_index_builder_ = PartitionedIndexBuilder : : CreateIndexBuilder ( <nl> - & internal_comparator , table_options ) ; <nl> + & internal_comparator , use_delta_encoding_for_index_values , <nl> + table_options ) ; <nl> index_builder . reset ( p_index_builder_ ) ; <nl> } else { <nl> index_builder . reset ( IndexBuilder : : CreateIndexBuilder ( <nl> table_options . index_type , & internal_comparator , <nl> - & this - > internal_prefix_transform , table_options ) ) ; <nl> + & this - > internal_prefix_transform , use_delta_encoding_for_index_values , <nl> + table_options ) ) ; <nl> } <nl> if ( skip_filters ) { <nl> filter_builder = nullptr ; <nl> } else { <nl> filter_builder . reset ( CreateFilterBlockBuilder ( <nl> - _ioptions , _moptions , table_options , p_index_builder_ ) ) ; <nl> + _ioptions , _moptions , table_options , <nl> + use_delta_encoding_for_index_values , p_index_builder_ ) ) ; <nl> } <nl> <nl> for ( auto & collector_factories : * int_tbl_prop_collector_factories ) { <nl> void BlockBasedTableBuilder : : WritePropertiesBlock ( <nl> } <nl> rep_ - > props . index_key_is_user_key = <nl> ! rep_ - > index_builder - > seperator_is_key_plus_seq ( ) ; <nl> + rep_ - > props . index_value_is_delta_encoded = <nl> + rep_ - > use_delta_encoding_for_index_values ; <nl> rep_ - > props . creation_time = rep_ - > creation_time ; <nl> rep_ - > props . oldest_key_time = rep_ - > oldest_key_time ; <nl> <nl> mmm a / table / block_based_table_reader . cc <nl> ppp b / table / block_based_table_reader . cc <nl> class PartitionIndexReader : public IndexReader , public Cleanable { <nl> const InternalKeyComparator * icomparator , <nl> IndexReader * * index_reader , <nl> const PersistentCacheOptions & cache_options , <nl> - const int level , const bool index_key_includes_seq ) { <nl> + const int level , const bool index_key_includes_seq , <nl> + const bool index_value_is_full ) { <nl> std : : unique_ptr < Block > index_block ; <nl> auto s = ReadBlockFromFile ( <nl> file , prefetch_buffer , footer , ReadOptions ( ) , index_handle , <nl> class PartitionIndexReader : public IndexReader , public Cleanable { <nl> if ( s . ok ( ) ) { <nl> * index_reader = new PartitionIndexReader ( <nl> table , icomparator , std : : move ( index_block ) , ioptions . statistics , <nl> - level , index_key_includes_seq ) ; <nl> + level , index_key_includes_seq , index_value_is_full ) ; <nl> } <nl> <nl> return s ; <nl> } <nl> <nl> / / return a two - level iterator : first level is on the partition index <nl> - virtual InternalIterator * NewIterator ( IndexBlockIter * / * iter * / = nullptr , <nl> - bool / * dont_care * / = true , <nl> - bool fill_cache = true ) override { <nl> + virtual InternalIteratorBase < BlockHandle > * NewIterator ( <nl> + IndexBlockIter * / * iter * / = nullptr , bool / * dont_care * / = true , <nl> + bool fill_cache = true ) override { <nl> Statistics * kNullStats = nullptr ; <nl> / / Filters are already checked before seeking the index <nl> if ( ! partition_map_ . empty ( ) ) { <nl> return NewTwoLevelIterator ( <nl> new BlockBasedTable : : PartitionedIndexIteratorState ( <nl> - table_ , & partition_map_ , index_key_includes_seq_ ) , <nl> + table_ , & partition_map_ , index_key_includes_seq_ , <nl> + index_value_is_full_ ) , <nl> index_block_ - > NewIterator < IndexBlockIter > ( <nl> icomparator_ , icomparator_ - > user_comparator ( ) , nullptr , <nl> - kNullStats , true , index_key_includes_seq_ ) ) ; <nl> + kNullStats , true , index_key_includes_seq_ , index_value_is_full_ ) ) ; <nl> } else { <nl> auto ro = ReadOptions ( ) ; <nl> ro . fill_cache = fill_cache ; <nl> bool kIsIndex = true ; <nl> - return new BlockBasedTableIterator < IndexBlockIter > ( <nl> + return new BlockBasedTableIterator < IndexBlockIter , BlockHandle > ( <nl> table_ , ro , * icomparator_ , <nl> index_block_ - > NewIterator < IndexBlockIter > ( <nl> icomparator_ , icomparator_ - > user_comparator ( ) , nullptr , <nl> - kNullStats , true , index_key_includes_seq_ ) , <nl> + kNullStats , true , index_key_includes_seq_ , index_value_is_full_ ) , <nl> false , true , / * prefix_extractor * / nullptr , kIsIndex , <nl> - index_key_includes_seq_ ) ; <nl> + index_key_includes_seq_ , index_value_is_full_ ) ; <nl> } <nl> / / TODO ( myabandeh ) : Update TwoLevelIterator to be able to make use of <nl> / / on - stack BlockIter while the state is on heap . Currentlly it assumes <nl> class PartitionIndexReader : public IndexReader , public Cleanable { <nl> Statistics * kNullStats = nullptr ; <nl> index_block_ - > NewIterator < IndexBlockIter > ( <nl> icomparator_ , icomparator_ - > user_comparator ( ) , & biter , kNullStats , true , <nl> - index_key_includes_seq_ ) ; <nl> + index_key_includes_seq_ , index_value_is_full_ ) ; <nl> / / Index partitions are assumed to be consecuitive . Prefetch them all . <nl> / / Read the first block offset <nl> biter . SeekToFirst ( ) ; <nl> class PartitionIndexReader : public IndexReader , public Cleanable { <nl> / / Empty index . <nl> return ; <nl> } <nl> - Slice input = biter . value ( ) ; <nl> - Status s = handle . DecodeFrom ( & input ) ; <nl> - assert ( s . ok ( ) ) ; <nl> - if ( ! s . ok ( ) ) { <nl> - ROCKS_LOG_WARN ( rep - > ioptions . info_log , <nl> - " Could not read first index partition " ) ; <nl> - return ; <nl> - } <nl> + handle = biter . value ( ) ; <nl> uint64_t prefetch_off = handle . offset ( ) ; <nl> <nl> / / Read the last block ' s offset <nl> class PartitionIndexReader : public IndexReader , public Cleanable { <nl> / / Empty index . <nl> return ; <nl> } <nl> - input = biter . value ( ) ; <nl> - s = handle . DecodeFrom ( & input ) ; <nl> - assert ( s . ok ( ) ) ; <nl> - if ( ! s . ok ( ) ) { <nl> - ROCKS_LOG_WARN ( rep - > ioptions . info_log , <nl> - " Could not read last index partition " ) ; <nl> - return ; <nl> - } <nl> + handle = biter . value ( ) ; <nl> uint64_t last_off = handle . offset ( ) + handle . size ( ) + kBlockTrailerSize ; <nl> uint64_t prefetch_len = last_off - prefetch_off ; <nl> std : : unique_ptr < FilePrefetchBuffer > prefetch_buffer ; <nl> auto & file = table_ - > rep_ - > file ; <nl> prefetch_buffer . reset ( new FilePrefetchBuffer ( ) ) ; <nl> - s = prefetch_buffer - > Prefetch ( file . get ( ) , prefetch_off , <nl> - static_cast < size_t > ( prefetch_len ) ) ; <nl> + Status s = prefetch_buffer - > Prefetch ( file . get ( ) , prefetch_off , <nl> + static_cast < size_t > ( prefetch_len ) ) ; <nl> <nl> / / After prefetch , read the partitions one by one <nl> biter . SeekToFirst ( ) ; <nl> auto ro = ReadOptions ( ) ; <nl> Cache * block_cache = rep - > table_options . block_cache . get ( ) ; <nl> for ( ; biter . Valid ( ) ; biter . Next ( ) ) { <nl> - input = biter . value ( ) ; <nl> - s = handle . DecodeFrom ( & input ) ; <nl> - assert ( s . ok ( ) ) ; <nl> - if ( ! s . ok ( ) ) { <nl> - ROCKS_LOG_WARN ( rep - > ioptions . info_log , <nl> - " Could not read index partition " ) ; <nl> - continue ; <nl> - } <nl> - <nl> + handle = biter . value ( ) ; <nl> BlockBasedTable : : CachableEntry < Block > block ; <nl> Slice compression_dict ; <nl> if ( rep - > compression_dict_block ) { <nl> class PartitionIndexReader : public IndexReader , public Cleanable { <nl> PartitionIndexReader ( BlockBasedTable * table , <nl> const InternalKeyComparator * icomparator , <nl> std : : unique_ptr < Block > & & index_block , Statistics * stats , <nl> - const int / * level * / , const bool index_key_includes_seq ) <nl> + const int / * level * / , const bool index_key_includes_seq , <nl> + const bool index_value_is_full ) <nl> : IndexReader ( icomparator , stats ) , <nl> table_ ( table ) , <nl> index_block_ ( std : : move ( index_block ) ) , <nl> - index_key_includes_seq_ ( index_key_includes_seq ) { <nl> + index_key_includes_seq_ ( index_key_includes_seq ) , <nl> + index_value_is_full_ ( index_value_is_full ) { <nl> assert ( index_block_ ! = nullptr ) ; <nl> } <nl> BlockBasedTable * table_ ; <nl> class PartitionIndexReader : public IndexReader , public Cleanable { <nl> std : : unordered_map < uint64_t , BlockBasedTable : : CachableEntry < Block > > <nl> partition_map_ ; <nl> const bool index_key_includes_seq_ ; <nl> + const bool index_value_is_full_ ; <nl> } ; <nl> <nl> / / Index that allows binary search lookup for the first key of each block . <nl> class BinarySearchIndexReader : public IndexReader { <nl> const InternalKeyComparator * icomparator , <nl> IndexReader * * index_reader , <nl> const PersistentCacheOptions & cache_options , <nl> - const bool index_key_includes_seq ) { <nl> + const bool index_key_includes_seq , <nl> + const bool index_value_is_full ) { <nl> std : : unique_ptr < Block > index_block ; <nl> auto s = ReadBlockFromFile ( <nl> file , prefetch_buffer , footer , ReadOptions ( ) , index_handle , <nl> class BinarySearchIndexReader : public IndexReader { <nl> if ( s . ok ( ) ) { <nl> * index_reader = new BinarySearchIndexReader ( <nl> icomparator , std : : move ( index_block ) , ioptions . statistics , <nl> - index_key_includes_seq ) ; <nl> + index_key_includes_seq , index_value_is_full ) ; <nl> } <nl> <nl> return s ; <nl> } <nl> <nl> - virtual InternalIterator * NewIterator ( IndexBlockIter * iter = nullptr , <nl> - bool / * dont_care * / = true , <nl> - bool / * dont_care * / = true ) override { <nl> + virtual InternalIteratorBase < BlockHandle > * NewIterator ( <nl> + IndexBlockIter * iter = nullptr , bool / * dont_care * / = true , <nl> + bool / * dont_care * / = true ) override { <nl> Statistics * kNullStats = nullptr ; <nl> return index_block_ - > NewIterator < IndexBlockIter > ( <nl> icomparator_ , icomparator_ - > user_comparator ( ) , iter , kNullStats , true , <nl> - index_key_includes_seq_ ) ; <nl> + index_key_includes_seq_ , index_value_is_full_ ) ; <nl> } <nl> <nl> virtual size_t size ( ) const override { return index_block_ - > size ( ) ; } <nl> class BinarySearchIndexReader : public IndexReader { <nl> private : <nl> BinarySearchIndexReader ( const InternalKeyComparator * icomparator , <nl> std : : unique_ptr < Block > & & index_block , <nl> - Statistics * stats , const bool index_key_includes_seq ) <nl> + Statistics * stats , const bool index_key_includes_seq , <nl> + const bool index_value_is_full ) <nl> : IndexReader ( icomparator , stats ) , <nl> index_block_ ( std : : move ( index_block ) ) , <nl> - index_key_includes_seq_ ( index_key_includes_seq ) { <nl> + index_key_includes_seq_ ( index_key_includes_seq ) , <nl> + index_value_is_full_ ( index_value_is_full ) { <nl> assert ( index_block_ ! = nullptr ) ; <nl> } <nl> std : : unique_ptr < Block > index_block_ ; <nl> const bool index_key_includes_seq_ ; <nl> + const bool index_value_is_full_ ; <nl> } ; <nl> <nl> / / Index that leverages an internal hash table to quicken the lookup for a given <nl> / / key . <nl> class HashIndexReader : public IndexReader { <nl> public : <nl> - static Status Create ( const SliceTransform * hash_key_extractor , <nl> - const Footer & footer , RandomAccessFileReader * file , <nl> - FilePrefetchBuffer * prefetch_buffer , <nl> - const ImmutableCFOptions & ioptions , <nl> - const InternalKeyComparator * icomparator , <nl> - const BlockHandle & index_handle , <nl> - InternalIterator * meta_index_iter , <nl> - IndexReader * * index_reader , <nl> - bool / * hash_index_allow_collision * / , <nl> - const PersistentCacheOptions & cache_options , <nl> - const bool index_key_includes_seq ) { <nl> + static Status Create ( <nl> + const SliceTransform * hash_key_extractor , const Footer & footer , <nl> + RandomAccessFileReader * file , FilePrefetchBuffer * prefetch_buffer , <nl> + const ImmutableCFOptions & ioptions , <nl> + const InternalKeyComparator * icomparator , const BlockHandle & index_handle , <nl> + InternalIterator * meta_index_iter , IndexReader * * index_reader , <nl> + bool / * hash_index_allow_collision * / , <nl> + const PersistentCacheOptions & cache_options , <nl> + const bool index_key_includes_seq , const bool index_value_is_full ) { <nl> std : : unique_ptr < Block > index_block ; <nl> auto s = ReadBlockFromFile ( <nl> file , prefetch_buffer , footer , ReadOptions ( ) , index_handle , <nl> class HashIndexReader : public IndexReader { <nl> / / hard error . We can still fall back to the original binary search index . <nl> / / So , Create will succeed regardless , from this point on . <nl> <nl> - auto new_index_reader = <nl> - new HashIndexReader ( icomparator , std : : move ( index_block ) , <nl> - ioptions . statistics , index_key_includes_seq ) ; <nl> + auto new_index_reader = new HashIndexReader ( <nl> + icomparator , std : : move ( index_block ) , ioptions . statistics , <nl> + index_key_includes_seq , index_value_is_full ) ; <nl> * index_reader = new_index_reader ; <nl> <nl> / / Get prefixes block <nl> class HashIndexReader : public IndexReader { <nl> return Status : : OK ( ) ; <nl> } <nl> <nl> - virtual InternalIterator * NewIterator ( IndexBlockIter * iter = nullptr , <nl> - bool total_order_seek = true , <nl> - bool / * dont_care * / = true ) override { <nl> + virtual InternalIteratorBase < BlockHandle > * NewIterator ( <nl> + IndexBlockIter * iter = nullptr , bool total_order_seek = true , <nl> + bool / * dont_care * / = true ) override { <nl> Statistics * kNullStats = nullptr ; <nl> return index_block_ - > NewIterator < IndexBlockIter > ( <nl> icomparator_ , icomparator_ - > user_comparator ( ) , iter , kNullStats , <nl> - total_order_seek , index_key_includes_seq_ , prefix_index_ . get ( ) ) ; <nl> + total_order_seek , index_key_includes_seq_ , index_value_is_full_ , <nl> + prefix_index_ . get ( ) ) ; <nl> } <nl> <nl> virtual size_t size ( ) const override { return index_block_ - > size ( ) ; } <nl> class HashIndexReader : public IndexReader { <nl> private : <nl> HashIndexReader ( const InternalKeyComparator * icomparator , <nl> std : : unique_ptr < Block > & & index_block , Statistics * stats , <nl> - const bool index_key_includes_seq ) <nl> + const bool index_key_includes_seq , <nl> + const bool index_value_is_full ) <nl> : IndexReader ( icomparator , stats ) , <nl> index_block_ ( std : : move ( index_block ) ) , <nl> - index_key_includes_seq_ ( index_key_includes_seq ) { <nl> + index_key_includes_seq_ ( index_key_includes_seq ) , <nl> + index_value_is_full_ ( index_value_is_full ) { <nl> assert ( index_block_ ! = nullptr ) ; <nl> } <nl> <nl> class HashIndexReader : public IndexReader { <nl> std : : unique_ptr < BlockPrefixIndex > prefix_index_ ; <nl> BlockContents prefixes_contents_ ; <nl> const bool index_key_includes_seq_ ; <nl> + const bool index_value_is_full_ ; <nl> } ; <nl> <nl> / / Helper function to setup the cache key ' s prefix for the Table . <nl> Status BlockBasedTable : : Open ( const ImmutableCFOptions & ioptions , <nl> bool disable_prefix_seek = <nl> rep - > index_type = = BlockBasedTableOptions : : kHashSearch & & <nl> need_upper_bound_check ; <nl> - unique_ptr < InternalIterator > iter ( new_table - > NewIndexIterator ( <nl> - ReadOptions ( ) , disable_prefix_seek , nullptr , & index_entry ) ) ; <nl> + unique_ptr < InternalIteratorBase < BlockHandle > > iter ( <nl> + new_table - > NewIndexIterator ( ReadOptions ( ) , disable_prefix_seek , <nl> + nullptr , & index_entry ) ) ; <nl> s = iter - > status ( ) ; <nl> if ( s . ok ( ) ) { <nl> / / This is the first call to NewIndexIterator ( ) since we ' re in Open ( ) . <nl> FilterBlockReader * BlockBasedTable : : ReadFilter ( <nl> rep - > whole_key_filtering , std : : move ( block ) , nullptr , <nl> rep - > ioptions . statistics , rep - > internal_comparator , this , <nl> rep_ - > table_properties = = nullptr | | <nl> - ! rep_ - > table_properties - > index_key_is_user_key ) ; <nl> + rep_ - > table_properties - > index_key_is_user_key = = 0 , <nl> + rep_ - > table_properties = = nullptr | | <nl> + rep_ - > table_properties - > index_value_is_delta_encoded = = 0 ) ; <nl> } <nl> <nl> case Rep : : FilterType : : kBlockFilter : <nl> BlockBasedTable : : CachableEntry < FilterBlockReader > BlockBasedTable : : GetFilter ( <nl> <nl> / / disable_prefix_seek should be set to true when prefix_extractor found in SST <nl> / / differs from the one in mutable_cf_options and index type is HashBasedIndex <nl> - InternalIterator * BlockBasedTable : : NewIndexIterator ( <nl> + InternalIteratorBase < BlockHandle > * BlockBasedTable : : NewIndexIterator ( <nl> const ReadOptions & read_options , bool disable_prefix_seek , <nl> IndexBlockIter * input_iter , CachableEntry < IndexReader > * index_entry , <nl> GetContext * get_context ) { <nl> InternalIterator * BlockBasedTable : : NewIndexIterator ( <nl> input_iter - > Invalidate ( Status : : Incomplete ( " no blocking io " ) ) ; <nl> return input_iter ; <nl> } else { <nl> - return NewErrorInternalIterator ( Status : : Incomplete ( " no blocking io " ) ) ; <nl> + return NewErrorInternalIterator < BlockHandle > ( <nl> + Status : : Incomplete ( " no blocking io " ) ) ; <nl> } <nl> } <nl> <nl> InternalIterator * BlockBasedTable : : NewIndexIterator ( <nl> input_iter - > Invalidate ( s ) ; <nl> return input_iter ; <nl> } else { <nl> - return NewErrorInternalIterator ( s ) ; <nl> + return NewErrorInternalIterator < BlockHandle > ( s ) ; <nl> } <nl> } <nl> <nl> InternalIterator * BlockBasedTable : : NewIndexIterator ( <nl> return iter ; <nl> } <nl> <nl> - template < typename TBlockIter > <nl> - TBlockIter * BlockBasedTable : : NewDataBlockIterator ( <nl> - Rep * rep , const ReadOptions & ro , const Slice & index_value , <nl> - TBlockIter * input_iter , bool is_index , bool key_includes_seq , <nl> - GetContext * get_context , FilePrefetchBuffer * prefetch_buffer ) { <nl> - BlockHandle handle ; <nl> - Slice input = index_value ; <nl> - / / We intentionally allow extra stuff in index_value so that we <nl> - / / can add more features in the future . <nl> - Status s = handle . DecodeFrom ( & input ) ; <nl> - return NewDataBlockIterator < TBlockIter > ( rep , ro , handle , input_iter , is_index , <nl> - key_includes_seq , get_context , s , <nl> - prefetch_buffer ) ; <nl> - } <nl> - <nl> / / Convert an index iterator value ( i . e . , an encoded BlockHandle ) <nl> / / into an iterator over the contents of the corresponding block . <nl> / / If input_iter is null , new a iterator <nl> template < typename TBlockIter > <nl> TBlockIter * BlockBasedTable : : NewDataBlockIterator ( <nl> Rep * rep , const ReadOptions & ro , const BlockHandle & handle , <nl> TBlockIter * input_iter , bool is_index , bool key_includes_seq , <nl> - GetContext * get_context , Status s , FilePrefetchBuffer * prefetch_buffer ) { <nl> + bool index_key_is_full , GetContext * get_context , Status s , <nl> + FilePrefetchBuffer * prefetch_buffer ) { <nl> PERF_TIMER_GUARD ( new_table_block_iter_nanos ) ; <nl> <nl> const bool no_io = ( ro . read_tier = = kBlockCacheTier ) ; <nl> TBlockIter * BlockBasedTable : : NewDataBlockIterator ( <nl> const bool kTotalOrderSeek = true ; <nl> iter = block . value - > NewIterator < TBlockIter > ( <nl> & rep - > internal_comparator , rep - > internal_comparator . user_comparator ( ) , <nl> - iter , rep - > ioptions . statistics , kTotalOrderSeek , key_includes_seq ) ; <nl> + iter , rep - > ioptions . statistics , kTotalOrderSeek , key_includes_seq , <nl> + index_key_is_full ) ; <nl> if ( block . cache_handle ! = nullptr ) { <nl> iter - > RegisterCleanup ( & ReleaseCachedEntry , block_cache , <nl> block . cache_handle ) ; <nl> Status BlockBasedTable : : MaybeLoadDataBlockToCache ( <nl> BlockBasedTable : : PartitionedIndexIteratorState : : PartitionedIndexIteratorState ( <nl> BlockBasedTable * table , <nl> std : : unordered_map < uint64_t , CachableEntry < Block > > * block_map , <nl> - bool index_key_includes_seq ) <nl> + bool index_key_includes_seq , bool index_key_is_full ) <nl> : table_ ( table ) , <nl> block_map_ ( block_map ) , <nl> - index_key_includes_seq_ ( index_key_includes_seq ) { } <nl> + index_key_includes_seq_ ( index_key_includes_seq ) , <nl> + index_key_is_full_ ( index_key_is_full ) { } <nl> <nl> - template < class TBlockIter > <nl> - const size_t BlockBasedTableIterator < TBlockIter > : : kMaxReadaheadSize = <nl> + template < class TBlockIter , typename TValue > <nl> + const size_t BlockBasedTableIterator < TBlockIter , TValue > : : kMaxReadaheadSize = <nl> 256 * 1024 ; <nl> <nl> - InternalIterator * <nl> + InternalIteratorBase < BlockHandle > * <nl> BlockBasedTable : : PartitionedIndexIteratorState : : NewSecondaryIterator ( <nl> - const Slice & index_value ) { <nl> + const BlockHandle & handle ) { <nl> / / Return a block iterator on the index partition <nl> - BlockHandle handle ; <nl> - Slice input = index_value ; <nl> - Status s = handle . DecodeFrom ( & input ) ; <nl> auto rep = table_ - > get_rep ( ) ; <nl> auto block = block_map_ - > find ( handle . offset ( ) ) ; <nl> / / This is a possible scenario since block cache might not have had space <nl> BlockBasedTable : : PartitionedIndexIteratorState : : NewSecondaryIterator ( <nl> Statistics * kNullStats = nullptr ; <nl> return block - > second . value - > NewIterator < IndexBlockIter > ( <nl> & rep - > internal_comparator , rep - > internal_comparator . user_comparator ( ) , <nl> - nullptr , kNullStats , true , index_key_includes_seq_ ) ; <nl> + nullptr , kNullStats , true , index_key_includes_seq_ , index_key_is_full_ ) ; <nl> } <nl> / / Create an empty iterator <nl> - return new DataBlockIter ( ) ; <nl> + return new IndexBlockIter ( ) ; <nl> } <nl> <nl> / / This will be broken if the user specifies an unusual implementation <nl> bool BlockBasedTable : : PrefixMayMatch ( <nl> / / Then , try find it within each block <nl> / / we already know prefix_extractor and prefix_extractor_name must match <nl> / / because ` CheckPrefixMayMatch ` first checks ` check_filter_ = = true ` <nl> - unique_ptr < InternalIterator > iiter ( <nl> + unique_ptr < InternalIteratorBase < BlockHandle > > iiter ( <nl> NewIndexIterator ( no_io_read_options , <nl> / * need_upper_bound_check * / false ) ) ; <nl> iiter - > Seek ( internal_prefix ) ; <nl> bool BlockBasedTable : : PrefixMayMatch ( <nl> / / after the data block corresponding to iiter - > key ( ) cannot <nl> / / possibly contain the key . Thus , the corresponding data block <nl> / / is the only on could potentially contain the prefix . <nl> - Slice handle_value = iiter - > value ( ) ; <nl> - BlockHandle handle ; <nl> - s = handle . DecodeFrom ( & handle_value ) ; <nl> - assert ( s . ok ( ) ) ; <nl> + BlockHandle handle = iiter - > value ( ) ; <nl> may_match = <nl> filter - > PrefixMayMatch ( prefix , prefix_extractor , handle . offset ( ) ) ; <nl> } <nl> bool BlockBasedTable : : PrefixMayMatch ( <nl> return may_match ; <nl> } <nl> <nl> - template < class TBlockIter > <nl> - void BlockBasedTableIterator < TBlockIter > : : Seek ( const Slice & target ) { <nl> + template < class TBlockIter , typename TValue > <nl> + void BlockBasedTableIterator < TBlockIter , TValue > : : Seek ( const Slice & target ) { <nl> is_out_of_bound_ = false ; <nl> if ( ! CheckPrefixMayMatch ( target ) ) { <nl> ResetDataIter ( ) ; <nl> void BlockBasedTableIterator < TBlockIter > : : Seek ( const Slice & target ) { <nl> block_iter_ . key ( ) ) < = 0 ) ) ; <nl> } <nl> <nl> - template < class TBlockIter > <nl> - void BlockBasedTableIterator < TBlockIter > : : SeekForPrev ( const Slice & target ) { <nl> + template < class TBlockIter , typename TValue > <nl> + void BlockBasedTableIterator < TBlockIter , TValue > : : SeekForPrev ( <nl> + const Slice & target ) { <nl> is_out_of_bound_ = false ; <nl> if ( ! CheckPrefixMayMatch ( target ) ) { <nl> ResetDataIter ( ) ; <nl> void BlockBasedTableIterator < TBlockIter > : : SeekForPrev ( const Slice & target ) { <nl> icomp_ . Compare ( target , block_iter_ . key ( ) ) > = 0 ) ; <nl> } <nl> <nl> - template < class TBlockIter > <nl> - void BlockBasedTableIterator < TBlockIter > : : SeekToFirst ( ) { <nl> + template < class TBlockIter , typename TValue > <nl> + void BlockBasedTableIterator < TBlockIter , TValue > : : SeekToFirst ( ) { <nl> is_out_of_bound_ = false ; <nl> SavePrevIndexValue ( ) ; <nl> index_iter_ - > SeekToFirst ( ) ; <nl> void BlockBasedTableIterator < TBlockIter > : : SeekToFirst ( ) { <nl> FindKeyForward ( ) ; <nl> } <nl> <nl> - template < class TBlockIter > <nl> - void BlockBasedTableIterator < TBlockIter > : : SeekToLast ( ) { <nl> + template < class TBlockIter , typename TValue > <nl> + void BlockBasedTableIterator < TBlockIter , TValue > : : SeekToLast ( ) { <nl> is_out_of_bound_ = false ; <nl> SavePrevIndexValue ( ) ; <nl> index_iter_ - > SeekToLast ( ) ; <nl> void BlockBasedTableIterator < TBlockIter > : : SeekToLast ( ) { <nl> FindKeyBackward ( ) ; <nl> } <nl> <nl> - template < class TBlockIter > <nl> - void BlockBasedTableIterator < TBlockIter > : : Next ( ) { <nl> + template < class TBlockIter , typename TValue > <nl> + void BlockBasedTableIterator < TBlockIter , TValue > : : Next ( ) { <nl> assert ( block_iter_points_to_real_block_ ) ; <nl> block_iter_ . Next ( ) ; <nl> FindKeyForward ( ) ; <nl> } <nl> <nl> - template < class TBlockIter > <nl> - void BlockBasedTableIterator < TBlockIter > : : Prev ( ) { <nl> + template < class TBlockIter , typename TValue > <nl> + void BlockBasedTableIterator < TBlockIter , TValue > : : Prev ( ) { <nl> assert ( block_iter_points_to_real_block_ ) ; <nl> block_iter_ . Prev ( ) ; <nl> FindKeyBackward ( ) ; <nl> } <nl> <nl> - template < class TBlockIter > <nl> - void BlockBasedTableIterator < TBlockIter > : : InitDataBlock ( ) { <nl> - BlockHandle data_block_handle ; <nl> - Slice handle_slice = index_iter_ - > value ( ) ; <nl> + template < class TBlockIter , typename TValue > <nl> + void BlockBasedTableIterator < TBlockIter , TValue > : : InitDataBlock ( ) { <nl> + BlockHandle data_block_handle = index_iter_ - > value ( ) ; <nl> if ( ! block_iter_points_to_real_block_ | | <nl> - handle_slice . compare ( prev_index_value_ ) ! = 0 | | <nl> + data_block_handle . offset ( ) ! = prev_index_value_ . offset ( ) | | <nl> / / if previous attempt of reading the block missed cache , try again <nl> block_iter_ . status ( ) . IsIncomplete ( ) ) { <nl> if ( block_iter_points_to_real_block_ ) { <nl> ResetDataIter ( ) ; <nl> } <nl> - Status s = data_block_handle . DecodeFrom ( & handle_slice ) ; <nl> auto * rep = table_ - > get_rep ( ) ; <nl> <nl> / / Automatically prefetch additional data when a range scan ( iterator ) does <nl> void BlockBasedTableIterator < TBlockIter > : : InitDataBlock ( ) { <nl> } <nl> } <nl> <nl> + Status s ; <nl> BlockBasedTable : : NewDataBlockIterator < TBlockIter > ( <nl> rep , read_options_ , data_block_handle , & block_iter_ , is_index_ , <nl> - key_includes_seq_ , <nl> + key_includes_seq_ , index_key_is_full_ , <nl> / * get_context * / nullptr , s , prefetch_buffer_ . get ( ) ) ; <nl> block_iter_points_to_real_block_ = true ; <nl> } <nl> } <nl> <nl> - template < class TBlockIter > <nl> - void BlockBasedTableIterator < TBlockIter > : : FindKeyForward ( ) { <nl> + template < class TBlockIter , typename TValue > <nl> + void BlockBasedTableIterator < TBlockIter , TValue > : : FindKeyForward ( ) { <nl> assert ( ! is_out_of_bound_ ) ; <nl> / / TODO the while loop inherits from two - level - iterator . We don ' t know <nl> / / whether a block can be empty so it can be replaced by an " if " . <nl> void BlockBasedTableIterator < TBlockIter > : : FindKeyForward ( ) { <nl> } <nl> } <nl> <nl> - template < class TBlockIter > <nl> - void BlockBasedTableIterator < TBlockIter > : : FindKeyBackward ( ) { <nl> + template < class TBlockIter , typename TValue > <nl> + void BlockBasedTableIterator < TBlockIter , TValue > : : FindKeyBackward ( ) { <nl> assert ( ! is_out_of_bound_ ) ; <nl> while ( ! block_iter_ . Valid ( ) ) { <nl> if ( ! block_iter_ . status ( ) . ok ( ) ) { <nl> InternalIterator * BlockBasedTable : : NewRangeTombstoneIterator ( <nl> return iter ; <nl> } <nl> } <nl> - std : : string str ; <nl> - rep_ - > range_del_handle . EncodeTo ( & str ) ; <nl> / / The meta - block exists but isn ' t in uncompressed block cache ( maybe <nl> / / because it is disabled ) , so go through the full lookup process . <nl> - return NewDataBlockIterator < DataBlockIter > ( rep_ , read_options , Slice ( str ) ) ; <nl> + return NewDataBlockIterator < DataBlockIter > ( rep_ , read_options , <nl> + rep_ - > range_del_handle ) ; <nl> } <nl> <nl> bool BlockBasedTable : : FullFilterKeyMayMatch ( <nl> Status BlockBasedTable : : Get ( const ReadOptions & read_options , const Slice & key , <nl> auto iiter = <nl> NewIndexIterator ( read_options , need_upper_bound_check , & iiter_on_stack , <nl> / * index_entry * / nullptr , get_context ) ; <nl> - std : : unique_ptr < InternalIterator > iiter_unique_ptr ; <nl> + std : : unique_ptr < InternalIteratorBase < BlockHandle > > iiter_unique_ptr ; <nl> if ( iiter ! = & iiter_on_stack ) { <nl> iiter_unique_ptr . reset ( iiter ) ; <nl> } <nl> Status BlockBasedTable : : Get ( const ReadOptions & read_options , const Slice & key , <nl> bool matched = false ; / / if such user key mathced a key in SST <nl> bool done = false ; <nl> for ( iiter - > Seek ( key ) ; iiter - > Valid ( ) & & ! done ; iiter - > Next ( ) ) { <nl> - Slice handle_value = iiter - > value ( ) ; <nl> + BlockHandle handle = iiter - > value ( ) ; <nl> <nl> - BlockHandle handle ; <nl> bool not_exist_in_filter = <nl> filter ! = nullptr & & filter - > IsBlockBased ( ) = = true & & <nl> - handle . DecodeFrom ( & handle_value ) . ok ( ) & & <nl> ! filter - > KeyMayMatch ( ExtractUserKey ( key ) , prefix_extractor , <nl> handle . offset ( ) , no_io ) ; <nl> <nl> Status BlockBasedTable : : Prefetch ( const Slice * const begin , <nl> <nl> IndexBlockIter iiter_on_stack ; <nl> auto iiter = NewIndexIterator ( ReadOptions ( ) , false , & iiter_on_stack ) ; <nl> - std : : unique_ptr < InternalIterator > iiter_unique_ptr ; <nl> + std : : unique_ptr < InternalIteratorBase < BlockHandle > > iiter_unique_ptr ; <nl> if ( iiter ! = & iiter_on_stack ) { <nl> - iiter_unique_ptr = std : : unique_ptr < InternalIterator > ( iiter ) ; <nl> + iiter_unique_ptr = <nl> + std : : unique_ptr < InternalIteratorBase < BlockHandle > > ( iiter ) ; <nl> } <nl> <nl> if ( ! iiter - > status ( ) . ok ( ) ) { <nl> Status BlockBasedTable : : Prefetch ( const Slice * const begin , <nl> <nl> for ( begin ? iiter - > Seek ( * begin ) : iiter - > SeekToFirst ( ) ; iiter - > Valid ( ) ; <nl> iiter - > Next ( ) ) { <nl> - Slice block_handle = iiter - > value ( ) ; <nl> + BlockHandle block_handle = iiter - > value ( ) ; <nl> const bool is_user_key = rep_ - > table_properties & & <nl> rep_ - > table_properties - > index_key_is_user_key > 0 ; <nl> if ( end & & <nl> Status BlockBasedTable : : VerifyChecksum ( ) { <nl> } <nl> / / Check Data blocks <nl> IndexBlockIter iiter_on_stack ; <nl> - InternalIterator * iiter = <nl> + InternalIteratorBase < BlockHandle > * iiter = <nl> NewIndexIterator ( ReadOptions ( ) , false , & iiter_on_stack ) ; <nl> - std : : unique_ptr < InternalIterator > iiter_unique_ptr ; <nl> + std : : unique_ptr < InternalIteratorBase < BlockHandle > > iiter_unique_ptr ; <nl> if ( iiter ! = & iiter_on_stack ) { <nl> - iiter_unique_ptr = std : : unique_ptr < InternalIterator > ( iiter ) ; <nl> + iiter_unique_ptr = <nl> + std : : unique_ptr < InternalIteratorBase < BlockHandle > > ( iiter ) ; <nl> } <nl> if ( ! iiter - > status ( ) . ok ( ) ) { <nl> / / error opening index iterator <nl> Status BlockBasedTable : : VerifyChecksum ( ) { <nl> return s ; <nl> } <nl> <nl> - Status BlockBasedTable : : VerifyChecksumInBlocks ( InternalIterator * index_iter ) { <nl> + Status BlockBasedTable : : VerifyChecksumInBlocks ( <nl> + InternalIteratorBase < BlockHandle > * index_iter ) { <nl> Status s ; <nl> for ( index_iter - > SeekToFirst ( ) ; index_iter - > Valid ( ) ; index_iter - > Next ( ) ) { <nl> s = index_iter - > status ( ) ; <nl> if ( ! s . ok ( ) ) { <nl> break ; <nl> } <nl> - BlockHandle handle ; <nl> - Slice input = index_iter - > value ( ) ; <nl> - s = handle . DecodeFrom ( & input ) ; <nl> + BlockHandle handle = index_iter - > value ( ) ; <nl> + BlockContents contents ; <nl> + Slice dummy_comp_dict ; <nl> + BlockFetcher block_fetcher ( rep_ - > file . get ( ) , nullptr / * prefetch buffer * / , <nl> + rep_ - > footer , ReadOptions ( ) , handle , & contents , <nl> + rep_ - > ioptions , false / * decompress * / , <nl> + dummy_comp_dict / * compression dict * / , <nl> + rep_ - > persistent_cache_options ) ; <nl> + s = block_fetcher . ReadBlockContents ( ) ; <nl> + if ( ! s . ok ( ) ) { <nl> + break ; <nl> + } <nl> + } <nl> + return s ; <nl> + } <nl> + <nl> + Status BlockBasedTable : : VerifyChecksumInBlocks ( <nl> + InternalIteratorBase < Slice > * index_iter ) { <nl> + Status s ; <nl> + for ( index_iter - > SeekToFirst ( ) ; index_iter - > Valid ( ) ; index_iter - > Next ( ) ) { <nl> + s = index_iter - > status ( ) ; <nl> if ( ! s . ok ( ) ) { <nl> break ; <nl> } <nl> + BlockHandle handle ; <nl> + Slice input = index_iter - > value ( ) ; <nl> + s = handle . DecodeFrom ( & input ) ; <nl> BlockContents contents ; <nl> Slice dummy_comp_dict ; <nl> BlockFetcher block_fetcher ( rep_ - > file . get ( ) , nullptr / * prefetch buffer * / , <nl> Status BlockBasedTable : : VerifyChecksumInBlocks ( InternalIterator * index_iter ) { <nl> <nl> bool BlockBasedTable : : TEST_KeyInCache ( const ReadOptions & options , <nl> const Slice & key ) { <nl> - std : : unique_ptr < InternalIterator > iiter ( NewIndexIterator ( options ) ) ; <nl> + std : : unique_ptr < InternalIteratorBase < BlockHandle > > iiter ( <nl> + NewIndexIterator ( options ) ) ; <nl> iiter - > Seek ( key ) ; <nl> assert ( iiter - > Valid ( ) ) ; <nl> CachableEntry < Block > block ; <nl> <nl> - BlockHandle handle ; <nl> - Slice input = iiter - > value ( ) ; <nl> - Status s = handle . DecodeFrom ( & input ) ; <nl> - assert ( s . ok ( ) ) ; <nl> + BlockHandle handle = iiter - > value ( ) ; <nl> Cache * block_cache = rep_ - > table_options . block_cache . get ( ) ; <nl> assert ( block_cache ! = nullptr ) ; <nl> <nl> bool BlockBasedTable : : TEST_KeyInCache ( const ReadOptions & options , <nl> cache_key_storage ) ; <nl> Slice ckey ; <nl> <nl> + Status s ; <nl> s = GetDataBlockFromCache ( <nl> cache_key , ckey , block_cache , nullptr , rep_ - > ioptions , options , & block , <nl> rep_ - > table_options . format_version , <nl> Status BlockBasedTable : : CreateIndexReader ( <nl> rep_ - > ioptions , icomparator , index_reader , <nl> rep_ - > persistent_cache_options , level , <nl> rep_ - > table_properties = = nullptr | | <nl> - rep_ - > table_properties - > index_key_is_user_key = = 0 ) ; <nl> + rep_ - > table_properties - > index_key_is_user_key = = 0 , <nl> + rep_ - > table_properties = = nullptr | | <nl> + rep_ - > table_properties - > index_value_is_delta_encoded = = 0 ) ; <nl> } <nl> case BlockBasedTableOptions : : kBinarySearch : { <nl> return BinarySearchIndexReader : : Create ( <nl> file , prefetch_buffer , footer , footer . index_handle ( ) , rep_ - > ioptions , <nl> icomparator , index_reader , rep_ - > persistent_cache_options , <nl> rep_ - > table_properties = = nullptr | | <nl> - rep_ - > table_properties - > index_key_is_user_key = = 0 ) ; <nl> + rep_ - > table_properties - > index_key_is_user_key = = 0 , <nl> + rep_ - > table_properties = = nullptr | | <nl> + rep_ - > table_properties - > index_value_is_delta_encoded = = 0 ) ; <nl> } <nl> case BlockBasedTableOptions : : kHashSearch : { <nl> std : : unique_ptr < Block > meta_guard ; <nl> Status BlockBasedTable : : CreateIndexReader ( <nl> rep_ - > ioptions , icomparator , index_reader , <nl> rep_ - > persistent_cache_options , <nl> rep_ - > table_properties = = nullptr | | <nl> - rep_ - > table_properties - > index_key_is_user_key = = 0 ) ; <nl> + rep_ - > table_properties - > index_key_is_user_key = = 0 , <nl> + rep_ - > table_properties = = nullptr | | <nl> + rep_ - > table_properties - > index_value_is_delta_encoded = = 0 ) ; <nl> } <nl> meta_index_iter = meta_iter_guard . get ( ) ; <nl> } <nl> Status BlockBasedTable : : CreateIndexReader ( <nl> index_reader , rep_ - > hash_index_allow_collision , <nl> rep_ - > persistent_cache_options , <nl> rep_ - > table_properties = = nullptr | | <nl> - rep_ - > table_properties - > index_key_is_user_key = = 0 ) ; <nl> + rep_ - > table_properties - > index_key_is_user_key = = 0 , <nl> + rep_ - > table_properties = = nullptr | | <nl> + rep_ - > table_properties - > index_value_is_delta_encoded = = 0 ) ; <nl> } <nl> default : { <nl> std : : string error_message = <nl> Status BlockBasedTable : : CreateIndexReader ( <nl> } <nl> <nl> uint64_t BlockBasedTable : : ApproximateOffsetOf ( const Slice & key ) { <nl> - unique_ptr < InternalIterator > index_iter ( NewIndexIterator ( ReadOptions ( ) ) ) ; <nl> + unique_ptr < InternalIteratorBase < BlockHandle > > index_iter ( <nl> + NewIndexIterator ( ReadOptions ( ) ) ) ; <nl> <nl> index_iter - > Seek ( key ) ; <nl> uint64_t result ; <nl> if ( index_iter - > Valid ( ) ) { <nl> - BlockHandle handle ; <nl> - Slice input = index_iter - > value ( ) ; <nl> - Status s = handle . DecodeFrom ( & input ) ; <nl> - if ( s . ok ( ) ) { <nl> - result = handle . offset ( ) ; <nl> - } else { <nl> - / / Strange : we can ' t decode the block handle in the index block . <nl> - / / We ' ll just return the offset of the metaindex block , which is <nl> - / / close to the whole file size for this case . <nl> - result = rep_ - > footer . metaindex_handle ( ) . offset ( ) ; <nl> - } <nl> + BlockHandle handle = index_iter - > value ( ) ; <nl> + result = handle . offset ( ) ; <nl> } else { <nl> / / key is past the last key in the file . If table_properties is not <nl> / / available , approximate the offset by returning the offset of the <nl> bool BlockBasedTable : : TEST_index_reader_preloaded ( ) const { <nl> <nl> Status BlockBasedTable : : GetKVPairsFromDataBlocks ( <nl> std : : vector < KVPairBlock > * kv_pair_blocks ) { <nl> - std : : unique_ptr < InternalIterator > blockhandles_iter ( <nl> + std : : unique_ptr < InternalIteratorBase < BlockHandle > > blockhandles_iter ( <nl> NewIndexIterator ( ReadOptions ( ) ) ) ; <nl> <nl> Status s = blockhandles_iter - > status ( ) ; <nl> Status BlockBasedTable : : DumpIndexBlock ( WritableFile * out_file ) { <nl> out_file - > Append ( <nl> " Index Details : \ n " <nl> " mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - \ n " ) ; <nl> - std : : unique_ptr < InternalIterator > blockhandles_iter ( <nl> + std : : unique_ptr < InternalIteratorBase < BlockHandle > > blockhandles_iter ( <nl> NewIndexIterator ( ReadOptions ( ) ) ) ; <nl> Status s = blockhandles_iter - > status ( ) ; <nl> if ( ! s . ok ( ) ) { <nl> Status BlockBasedTable : : DumpIndexBlock ( WritableFile * out_file ) { <nl> } <nl> <nl> Status BlockBasedTable : : DumpDataBlocks ( WritableFile * out_file ) { <nl> - std : : unique_ptr < InternalIterator > blockhandles_iter ( <nl> + std : : unique_ptr < InternalIteratorBase < BlockHandle > > blockhandles_iter ( <nl> NewIndexIterator ( ReadOptions ( ) ) ) ; <nl> Status s = blockhandles_iter - > status ( ) ; <nl> if ( ! s . ok ( ) ) { <nl> Status BlockBasedTable : : DumpDataBlocks ( WritableFile * out_file ) { <nl> break ; <nl> } <nl> <nl> - Slice bh_val = blockhandles_iter - > value ( ) ; <nl> - BlockHandle bh ; <nl> - bh . DecodeFrom ( & bh_val ) ; <nl> + BlockHandle bh = blockhandles_iter - > value ( ) ; <nl> uint64_t datablock_size = bh . size ( ) ; <nl> datablock_size_min = std : : min ( datablock_size_min , datablock_size ) ; <nl> datablock_size_max = std : : max ( datablock_size_max , datablock_size ) ; <nl> mmm a / table / block_based_table_reader . h <nl> ppp b / table / block_based_table_reader . h <nl> struct BlockBasedTableOptions ; <nl> struct EnvOptions ; <nl> struct ReadOptions ; <nl> class GetContext ; <nl> - class InternalIterator ; <nl> <nl> using std : : unique_ptr ; <nl> <nl> class BlockBasedTable : public TableReader { <nl> / / to <nl> / / a different object then iter and the callee has the ownership of the <nl> / / returned object . <nl> - virtual InternalIterator * NewIterator ( IndexBlockIter * iter = nullptr , <nl> - bool total_order_seek = true , <nl> - bool fill_cache = true ) = 0 ; <nl> + virtual InternalIteratorBase < BlockHandle > * NewIterator ( <nl> + IndexBlockIter * iter = nullptr , bool total_order_seek = true , <nl> + bool fill_cache = true ) = 0 ; <nl> <nl> / / The size of the index . <nl> virtual size_t size ( ) const = 0 ; <nl> class BlockBasedTable : public TableReader { <nl> static TBlockIter * NewDataBlockIterator ( <nl> Rep * rep , const ReadOptions & ro , const Slice & index_value , <nl> TBlockIter * input_iter = nullptr , bool is_index = false , <nl> - bool key_includes_seq = true , GetContext * get_context = nullptr , <nl> + bool key_includes_seq = true , bool index_key_is_full = true , <nl> + GetContext * get_context = nullptr , <nl> FilePrefetchBuffer * prefetch_buffer = nullptr ) ; <nl> template < typename TBlockIter > <nl> static TBlockIter * NewDataBlockIterator ( <nl> Rep * rep , const ReadOptions & ro , const BlockHandle & block_hanlde , <nl> TBlockIter * input_iter = nullptr , bool is_index = false , <nl> - bool key_includes_seq = true , GetContext * get_context = nullptr , <nl> - Status s = Status ( ) , FilePrefetchBuffer * prefetch_buffer = nullptr ) ; <nl> + bool key_includes_seq = true , bool index_key_is_full = true , <nl> + GetContext * get_context = nullptr , Status s = Status ( ) , <nl> + FilePrefetchBuffer * prefetch_buffer = nullptr ) ; <nl> <nl> class PartitionedIndexIteratorState ; <nl> <nl> class BlockBasedTable : public TableReader { <nl> / / 2 . index is not present in block cache . <nl> / / 3 . We disallowed any io to be performed , that is , read_options = = <nl> / / kBlockCacheTier <nl> - InternalIterator * NewIndexIterator ( <nl> + InternalIteratorBase < BlockHandle > * NewIndexIterator ( <nl> const ReadOptions & read_options , bool need_upper_bound_check = false , <nl> IndexBlockIter * input_iter = nullptr , <nl> CachableEntry < IndexReader > * index_entry = nullptr , <nl> class BlockBasedTable : public TableReader { <nl> std : : unique_ptr < Block > * meta_block , <nl> std : : unique_ptr < InternalIterator > * iter ) ; <nl> <nl> - Status VerifyChecksumInBlocks ( InternalIterator * index_iter ) ; <nl> + Status VerifyChecksumInBlocks ( InternalIteratorBase < Slice > * index_iter ) ; <nl> + Status VerifyChecksumInBlocks ( InternalIteratorBase < BlockHandle > * index_iter ) ; <nl> <nl> / / Create the filter from the filter block . <nl> virtual FilterBlockReader * ReadFilter ( <nl> class BlockBasedTable : : PartitionedIndexIteratorState <nl> PartitionedIndexIteratorState ( <nl> BlockBasedTable * table , <nl> std : : unordered_map < uint64_t , CachableEntry < Block > > * block_map , <nl> - const bool index_key_includes_seq ) ; <nl> - InternalIterator * NewSecondaryIterator ( const Slice & index_value ) override ; <nl> + const bool index_key_includes_seq , const bool index_key_is_full ) ; <nl> + InternalIteratorBase < BlockHandle > * NewSecondaryIterator ( <nl> + const BlockHandle & index_value ) override ; <nl> <nl> private : <nl> / / Don ' t own table_ <nl> BlockBasedTable * table_ ; <nl> std : : unordered_map < uint64_t , CachableEntry < Block > > * block_map_ ; <nl> bool index_key_includes_seq_ ; <nl> + bool index_key_is_full_ ; <nl> } ; <nl> <nl> / / CachableEntry represents the entries that * may * be fetched from block cache . <nl> struct BlockBasedTable : : Rep { <nl> const bool immortal_table ; <nl> } ; <nl> <nl> - template < class TBlockIter > <nl> - class BlockBasedTableIterator : public InternalIterator { <nl> + template < class TBlockIter , typename TValue = Slice > <nl> + class BlockBasedTableIterator : public InternalIteratorBase < TValue > { <nl> public : <nl> BlockBasedTableIterator ( BlockBasedTable * table , <nl> const ReadOptions & read_options , <nl> const InternalKeyComparator & icomp , <nl> - InternalIterator * index_iter , bool check_filter , <nl> - bool need_upper_bound_check , <nl> + InternalIteratorBase < BlockHandle > * index_iter , <nl> + bool check_filter , bool need_upper_bound_check , <nl> const SliceTransform * prefix_extractor , bool is_index , <nl> bool key_includes_seq = true , <nl> + bool index_key_is_full = true , <nl> bool for_compaction = false ) <nl> : table_ ( table ) , <nl> read_options_ ( read_options ) , <nl> class BlockBasedTableIterator : public InternalIterator { <nl> prefix_extractor_ ( prefix_extractor ) , <nl> is_index_ ( is_index ) , <nl> key_includes_seq_ ( key_includes_seq ) , <nl> + index_key_is_full_ ( index_key_is_full ) , <nl> for_compaction_ ( for_compaction ) { } <nl> <nl> ~ BlockBasedTableIterator ( ) { delete index_iter_ ; } <nl> class BlockBasedTableIterator : public InternalIterator { <nl> assert ( Valid ( ) ) ; <nl> return block_iter_ . key ( ) ; <nl> } <nl> - Slice value ( ) const override { <nl> + TValue value ( ) const override { <nl> assert ( Valid ( ) ) ; <nl> return block_iter_ . value ( ) ; <nl> } <nl> class BlockBasedTableIterator : public InternalIterator { <nl> if ( block_iter_points_to_real_block_ ) { <nl> / / Reseek . If they end up with the same data block , we shouldn ' t re - fetch <nl> / / the same data block . <nl> - Slice v = index_iter_ - > value ( ) ; <nl> - prev_index_value_ . assign ( v . data ( ) , v . size ( ) ) ; <nl> + prev_index_value_ = index_iter_ - > value ( ) ; <nl> } <nl> } <nl> <nl> class BlockBasedTableIterator : public InternalIterator { <nl> BlockBasedTable * table_ ; <nl> const ReadOptions read_options_ ; <nl> const InternalKeyComparator & icomp_ ; <nl> - InternalIterator * index_iter_ ; <nl> + InternalIteratorBase < BlockHandle > * index_iter_ ; <nl> PinnedIteratorsManager * pinned_iters_mgr_ ; <nl> TBlockIter block_iter_ ; <nl> bool block_iter_points_to_real_block_ ; <nl> class BlockBasedTableIterator : public InternalIterator { <nl> bool is_index_ ; <nl> / / If the keys in the blocks over which we iterate include 8 byte sequence <nl> bool key_includes_seq_ ; <nl> + bool index_key_is_full_ ; <nl> / / If this iterator is created for compaction <nl> bool for_compaction_ ; <nl> - / / TODO use block offset instead <nl> - std : : string prev_index_value_ ; <nl> + BlockHandle prev_index_value_ ; <nl> <nl> static const size_t kInitReadaheadSize = 8 * 1024 ; <nl> / / Found that 256 KB readahead size provides the best performance , based on <nl> mmm a / table / block_builder . cc <nl> ppp b / table / block_builder . cc <nl> <nl> <nl> namespace rocksdb { <nl> <nl> - BlockBuilder : : BlockBuilder ( int block_restart_interval , bool use_delta_encoding ) <nl> + BlockBuilder : : BlockBuilder ( int block_restart_interval , bool use_delta_encoding , <nl> + bool use_value_delta_encoding ) <nl> : block_restart_interval_ ( block_restart_interval ) , <nl> use_delta_encoding_ ( use_delta_encoding ) , <nl> + use_value_delta_encoding_ ( use_value_delta_encoding ) , <nl> restarts_ ( ) , <nl> counter_ ( 0 ) , <nl> finished_ ( false ) { <nl> void BlockBuilder : : Reset ( ) { <nl> size_t BlockBuilder : : EstimateSizeAfterKV ( const Slice & key , const Slice & value ) <nl> const { <nl> size_t estimate = CurrentSizeEstimate ( ) ; <nl> - estimate + = key . size ( ) + value . size ( ) ; <nl> + / / Note : this is an imprecise estimate as it accounts for the whole key size <nl> + / / instead of non - shared key size . <nl> + estimate + = key . size ( ) ; <nl> + / / In value delta encoding we estimate the value delta size as half the full <nl> + / / value size since only the size field of block handle is encoded . <nl> + estimate + = <nl> + ! use_value_delta_encoding_ | | ( counter_ > = block_restart_interval_ ) <nl> + ? value . size ( ) <nl> + : value . size ( ) / 2 ; <nl> + <nl> if ( counter_ > = block_restart_interval_ ) { <nl> estimate + = sizeof ( uint32_t ) ; / / a new restart entry . <nl> } <nl> <nl> estimate + = sizeof ( int32_t ) ; / / varint for shared prefix length . <nl> + / / Note : this is an imprecise estimate as we will have to encoded size , one <nl> + / / for shared key and one for non - shared key . <nl> estimate + = VarintLength ( key . size ( ) ) ; / / varint for key length . <nl> - estimate + = VarintLength ( value . size ( ) ) ; / / varint for value length . <nl> + if ( ! use_value_delta_encoding_ | | ( counter_ > = block_restart_interval_ ) ) { <nl> + estimate + = VarintLength ( value . size ( ) ) ; / / varint for value length . <nl> + } <nl> <nl> return estimate ; <nl> } <nl> Slice BlockBuilder : : Finish ( ) { <nl> return Slice ( buffer_ ) ; <nl> } <nl> <nl> - void BlockBuilder : : Add ( const Slice & key , const Slice & value ) { <nl> + void BlockBuilder : : Add ( const Slice & key , const Slice & value , <nl> + const Slice * const delta_value ) { <nl> assert ( ! finished_ ) ; <nl> assert ( counter_ < = block_restart_interval_ ) ; <nl> + assert ( ! use_value_delta_encoding_ | | delta_value ) ; <nl> size_t shared = 0 ; / / number of bytes shared with prev key <nl> if ( counter_ > = block_restart_interval_ ) { <nl> / / Restart compression <nl> void BlockBuilder : : Add ( const Slice & key , const Slice & value ) { <nl> const size_t non_shared = key . size ( ) - shared ; <nl> const size_t curr_size = buffer_ . size ( ) ; <nl> <nl> - / / Add " < shared > < non_shared > < value_size > " to buffer_ <nl> - PutVarint32Varint32Varint32 ( & buffer_ , static_cast < uint32_t > ( shared ) , <nl> - static_cast < uint32_t > ( non_shared ) , <nl> - static_cast < uint32_t > ( value . size ( ) ) ) ; <nl> + if ( use_value_delta_encoding_ ) { <nl> + / / Add " < shared > < non_shared > " to buffer_ <nl> + PutVarint32Varint32 ( & buffer_ , static_cast < uint32_t > ( shared ) , <nl> + static_cast < uint32_t > ( non_shared ) ) ; <nl> + } else { <nl> + / / Add " < shared > < non_shared > < value_size > " to buffer_ <nl> + PutVarint32Varint32Varint32 ( & buffer_ , static_cast < uint32_t > ( shared ) , <nl> + static_cast < uint32_t > ( non_shared ) , <nl> + static_cast < uint32_t > ( value . size ( ) ) ) ; <nl> + } <nl> <nl> / / Add string delta to buffer_ followed by value <nl> buffer_ . append ( key . data ( ) + shared , non_shared ) ; <nl> - buffer_ . append ( value . data ( ) , value . size ( ) ) ; <nl> + / / Use value delta encoding only when the key has shared bytes . This would <nl> + / / simplify the decoding , where it can figure which decoding to use simply by <nl> + / / looking at the shared bytes size . <nl> + if ( shared ! = 0 & & use_value_delta_encoding_ ) { <nl> + buffer_ . append ( delta_value - > data ( ) , delta_value - > size ( ) ) ; <nl> + } else { <nl> + buffer_ . append ( value . data ( ) , value . size ( ) ) ; <nl> + } <nl> <nl> counter_ + + ; <nl> estimate_ + = buffer_ . size ( ) - curr_size ; <nl> mmm a / table / block_builder . h <nl> ppp b / table / block_builder . h <nl> class BlockBuilder { <nl> void operator = ( const BlockBuilder & ) = delete ; <nl> <nl> explicit BlockBuilder ( int block_restart_interval , <nl> - bool use_delta_encoding = true ) ; <nl> + bool use_delta_encoding = true , <nl> + bool use_value_delta_encoding = false ) ; <nl> <nl> / / Reset the contents as if the BlockBuilder was just constructed . <nl> void Reset ( ) ; <nl> <nl> / / REQUIRES : Finish ( ) has not been called since the last call to Reset ( ) . <nl> / / REQUIRES : key is larger than any previously added key <nl> - void Add ( const Slice & key , const Slice & value ) ; <nl> + void Add ( const Slice & key , const Slice & value , <nl> + const Slice * const delta_value = nullptr ) ; <nl> <nl> / / Finish building the block and return a slice that refers to the <nl> / / block contents . The returned slice will remain valid for the <nl> class BlockBuilder { <nl> <nl> private : <nl> const int block_restart_interval_ ; <nl> + / / TODO ( myabandeh ) : put it into a separate IndexBlockBuilder <nl> const bool use_delta_encoding_ ; <nl> + / / Refer to BlockIter : : DecodeCurrentValue for format of delta encoded values <nl> + const bool use_value_delta_encoding_ ; <nl> <nl> std : : string buffer_ ; / / Destination buffer <nl> std : : vector < uint32_t > restarts_ ; / / Restart points <nl> mmm a / table / block_test . cc <nl> ppp b / table / block_test . cc <nl> void GenerateRandomKVs ( std : : vector < std : : string > * keys , <nl> } <nl> } <nl> <nl> + / / Same as GenerateRandomKVs but the values are BlockHandle <nl> + void GenerateRandomKBHs ( std : : vector < std : : string > * keys , <nl> + std : : vector < BlockHandle > * values , const int from , <nl> + const int len , const int step = 1 , <nl> + const int padding_size = 0 , <nl> + const int keys_share_prefix = 1 ) { <nl> + Random rnd ( 302 ) ; <nl> + uint64_t offset = 0 ; <nl> + <nl> + / / generate different prefix <nl> + for ( int i = from ; i < from + len ; i + = step ) { <nl> + / / generate keys that shares the prefix <nl> + for ( int j = 0 ; j < keys_share_prefix ; + + j ) { <nl> + keys - > emplace_back ( GenerateKey ( i , j , padding_size , & rnd ) ) ; <nl> + <nl> + uint64_t size = rnd . Uniform ( 1024 * 16 ) ; <nl> + BlockHandle handle ( offset , size ) ; <nl> + offset + = size + kBlockTrailerSize ; <nl> + values - > emplace_back ( handle ) ; <nl> + } <nl> + } <nl> + } <nl> + <nl> class BlockTest : public testing : : Test { } ; <nl> <nl> / / block test <nl> TEST_F ( BlockTest , SimpleTest ) { <nl> delete iter ; <nl> } <nl> <nl> + TEST_F ( BlockTest , ValueDeltaEncodingTest ) { <nl> + Random rnd ( 301 ) ; <nl> + Options options = Options ( ) ; <nl> + std : : unique_ptr < InternalKeyComparator > ic ; <nl> + ic . reset ( new test : : PlainInternalKeyComparator ( options . comparator ) ) ; <nl> + <nl> + std : : vector < std : : string > keys ; <nl> + std : : vector < BlockHandle > values ; <nl> + const bool kUseDeltaEncoding = true ; <nl> + const bool kUseValueDeltaEncoding = true ; <nl> + BlockBuilder builder ( 16 , kUseDeltaEncoding , kUseValueDeltaEncoding ) ; <nl> + int num_records = 100 ; <nl> + <nl> + GenerateRandomKBHs ( & keys , & values , 0 , num_records ) ; <nl> + / / add a bunch of records to a block <nl> + BlockHandle last_encoded_handle ; <nl> + for ( int i = 0 ; i < num_records ; i + + ) { <nl> + auto block_handle = values [ i ] ; <nl> + std : : string handle_encoding ; <nl> + block_handle . EncodeTo ( & handle_encoding ) ; <nl> + std : : string handle_delta_encoding ; <nl> + PutVarsignedint64 ( & handle_delta_encoding , <nl> + block_handle . size ( ) - last_encoded_handle . size ( ) ) ; <nl> + last_encoded_handle = block_handle ; <nl> + const Slice handle_delta_encoding_slice ( handle_delta_encoding ) ; <nl> + builder . Add ( keys [ i ] , handle_encoding , & handle_delta_encoding_slice ) ; <nl> + } <nl> + <nl> + / / read serialized contents of the block <nl> + Slice rawblock = builder . Finish ( ) ; <nl> + <nl> + / / create block reader <nl> + BlockContents contents ; <nl> + contents . data = rawblock ; <nl> + contents . cachable = false ; <nl> + Block reader ( std : : move ( contents ) , kDisableGlobalSequenceNumber ) ; <nl> + <nl> + const bool kTotalOrderSeek = true ; <nl> + const bool kIncludesSeq = true ; <nl> + const bool kValueIsFull = ! kUseValueDeltaEncoding ; <nl> + IndexBlockIter * kNullIter = nullptr ; <nl> + Statistics * kNullStats = nullptr ; <nl> + / / read contents of block sequentially <nl> + int count = 0 ; <nl> + InternalIteratorBase < BlockHandle > * iter = reader . NewIterator < IndexBlockIter > ( <nl> + options . comparator , options . comparator , kNullIter , kNullStats , <nl> + kTotalOrderSeek , kIncludesSeq , kValueIsFull ) ; <nl> + for ( iter - > SeekToFirst ( ) ; iter - > Valid ( ) ; count + + , iter - > Next ( ) ) { <nl> + / / read kv from block <nl> + Slice k = iter - > key ( ) ; <nl> + BlockHandle handle = iter - > value ( ) ; <nl> + <nl> + / / compare with lookaside array <nl> + ASSERT_EQ ( k . ToString ( ) . compare ( keys [ count ] ) , 0 ) ; <nl> + <nl> + ASSERT_EQ ( values [ count ] . offset ( ) , handle . offset ( ) ) ; <nl> + ASSERT_EQ ( values [ count ] . size ( ) , handle . size ( ) ) ; <nl> + } <nl> + delete iter ; <nl> + <nl> + / / read block contents randomly <nl> + iter = reader . NewIterator < IndexBlockIter > ( <nl> + options . comparator , options . comparator , kNullIter , kNullStats , <nl> + kTotalOrderSeek , kIncludesSeq , kValueIsFull ) ; <nl> + for ( int i = 0 ; i < num_records ; i + + ) { <nl> + / / find a random key in the lookaside array <nl> + int index = rnd . Uniform ( num_records ) ; <nl> + Slice k ( keys [ index ] ) ; <nl> + <nl> + / / search in block for this key <nl> + iter - > Seek ( k ) ; <nl> + ASSERT_TRUE ( iter - > Valid ( ) ) ; <nl> + BlockHandle handle = iter - > value ( ) ; <nl> + ASSERT_EQ ( values [ index ] . offset ( ) , handle . offset ( ) ) ; <nl> + ASSERT_EQ ( values [ index ] . size ( ) , handle . size ( ) ) ; <nl> + } <nl> + delete iter ; <nl> + } <nl> / / return the block contents <nl> BlockContents GetBlockContents ( std : : unique_ptr < BlockBuilder > * builder , <nl> const std : : vector < std : : string > & keys , <nl> mmm a / table / cuckoo_table_reader . cc <nl> ppp b / table / cuckoo_table_reader . cc <nl> Slice CuckooTableIterator : : value ( ) const { <nl> return curr_value_ ; <nl> } <nl> <nl> - extern InternalIterator * NewErrorInternalIterator ( const Status & status , <nl> - Arena * arena ) ; <nl> - <nl> InternalIterator * CuckooTableReader : : NewIterator ( <nl> const ReadOptions & / * read_options * / , <nl> const SliceTransform * / * prefix_extractor * / , Arena * arena , <nl> bool / * skip_filters * / , bool / * for_compaction * / ) { <nl> if ( ! status ( ) . ok ( ) ) { <nl> - return NewErrorInternalIterator ( <nl> + return NewErrorInternalIterator < Slice > ( <nl> Status : : Corruption ( " CuckooTableReader status is not okay . " ) , arena ) ; <nl> } <nl> CuckooTableIterator * iter ; <nl> mmm a / table / cuckoo_table_reader . h <nl> ppp b / table / cuckoo_table_reader . h <nl> namespace rocksdb { <nl> <nl> class Arena ; <nl> class TableReader ; <nl> - class InternalIterator ; <nl> <nl> class CuckooTableReader : public TableReader { <nl> public : <nl> mmm a / table / format . cc <nl> ppp b / table / format . cc <nl> void BlockHandle : : EncodeTo ( std : : string * dst ) const { <nl> PutVarint64Varint64 ( dst , offset_ , size_ ) ; <nl> } <nl> <nl> + void BlockHandle : : EncodeSizeTo ( std : : string * dst ) const { <nl> + / / Sanity check that all fields have been set <nl> + assert ( offset_ ! = ~ static_cast < uint64_t > ( 0 ) ) ; <nl> + assert ( size_ ! = ~ static_cast < uint64_t > ( 0 ) ) ; <nl> + PutVarint64 ( dst , size_ ) ; <nl> + } <nl> + <nl> Status BlockHandle : : DecodeFrom ( Slice * input ) { <nl> if ( GetVarint64 ( input , & offset_ ) & & <nl> GetVarint64 ( input , & size_ ) ) { <nl> Status BlockHandle : : DecodeFrom ( Slice * input ) { <nl> } <nl> } <nl> <nl> + Status BlockHandle : : DecodeSizeFrom ( uint64_t _offset , Slice * input ) { <nl> + if ( GetVarint64 ( input , & size_ ) ) { <nl> + offset_ = _offset ; <nl> + return Status : : OK ( ) ; <nl> + } else { <nl> + / / reset in case failure after partially decoding <nl> + offset_ = 0 ; <nl> + size_ = 0 ; <nl> + return Status : : Corruption ( " bad block handle " ) ; <nl> + } <nl> + } <nl> + <nl> / / Return a string that contains the copy of handle . <nl> std : : string BlockHandle : : ToString ( bool hex ) const { <nl> std : : string handle_str ; <nl> mmm a / table / format . h <nl> ppp b / table / format . h <nl> class BlockHandle { <nl> <nl> void EncodeTo ( std : : string * dst ) const ; <nl> Status DecodeFrom ( Slice * input ) ; <nl> + Status DecodeSizeFrom ( uint64_t offset , Slice * input ) ; <nl> + void EncodeSizeTo ( std : : string * dst ) const ; <nl> <nl> / / Return a string that contains the copy of handle . <nl> std : : string ToString ( bool hex = true ) const ; <nl> inline uint32_t GetCompressFormatForVersion ( <nl> } <nl> <nl> inline bool BlockBasedTableSupportedVersion ( uint32_t version ) { <nl> - return version < = 3 ; <nl> + return version < = 4 ; <nl> } <nl> <nl> / / Footer encapsulates the fixed information stored at the tail <nl> mmm a / table / index_builder . cc <nl> ppp b / table / index_builder . cc <nl> IndexBuilder * IndexBuilder : : CreateIndexBuilder ( <nl> BlockBasedTableOptions : : IndexType index_type , <nl> const InternalKeyComparator * comparator , <nl> const InternalKeySliceTransform * int_key_slice_transform , <nl> + const bool use_value_delta_encoding , <nl> const BlockBasedTableOptions & table_opt ) { <nl> IndexBuilder * result = nullptr ; <nl> switch ( index_type ) { <nl> case BlockBasedTableOptions : : kBinarySearch : { <nl> - result = new ShortenedIndexBuilder ( comparator , <nl> - table_opt . index_block_restart_interval , <nl> - table_opt . format_version ) ; <nl> + result = new ShortenedIndexBuilder ( <nl> + comparator , table_opt . index_block_restart_interval , <nl> + table_opt . format_version , use_value_delta_encoding ) ; <nl> } <nl> break ; <nl> case BlockBasedTableOptions : : kHashSearch : { <nl> result = new HashIndexBuilder ( comparator , int_key_slice_transform , <nl> table_opt . index_block_restart_interval , <nl> - table_opt . format_version ) ; <nl> + table_opt . format_version , <nl> + use_value_delta_encoding ) ; <nl> } <nl> break ; <nl> case BlockBasedTableOptions : : kTwoLevelIndexSearch : { <nl> - result = PartitionedIndexBuilder : : CreateIndexBuilder ( comparator , table_opt ) ; <nl> + result = PartitionedIndexBuilder : : CreateIndexBuilder ( <nl> + comparator , use_value_delta_encoding , table_opt ) ; <nl> } <nl> break ; <nl> default : { <nl> IndexBuilder * IndexBuilder : : CreateIndexBuilder ( <nl> <nl> PartitionedIndexBuilder * PartitionedIndexBuilder : : CreateIndexBuilder ( <nl> const InternalKeyComparator * comparator , <nl> + const bool use_value_delta_encoding , <nl> const BlockBasedTableOptions & table_opt ) { <nl> - return new PartitionedIndexBuilder ( comparator , table_opt ) ; <nl> + return new PartitionedIndexBuilder ( comparator , table_opt , <nl> + use_value_delta_encoding ) ; <nl> } <nl> <nl> PartitionedIndexBuilder : : PartitionedIndexBuilder ( <nl> const InternalKeyComparator * comparator , <nl> - const BlockBasedTableOptions & table_opt ) <nl> + const BlockBasedTableOptions & table_opt , <nl> + const bool use_value_delta_encoding ) <nl> : IndexBuilder ( comparator ) , <nl> index_block_builder_ ( table_opt . index_block_restart_interval , <nl> - table_opt . format_version ) , <nl> + true / * use_delta_encoding * / , <nl> + use_value_delta_encoding ) , <nl> index_block_builder_without_seq_ ( table_opt . index_block_restart_interval , <nl> - table_opt . format_version ) , <nl> + true / * use_delta_encoding * / , <nl> + use_value_delta_encoding ) , <nl> sub_index_builder_ ( nullptr ) , <nl> table_opt_ ( table_opt ) , <nl> - seperator_is_key_plus_seq_ ( false ) { } <nl> + seperator_is_key_plus_seq_ ( false ) , <nl> + use_value_delta_encoding_ ( use_value_delta_encoding ) { } <nl> <nl> PartitionedIndexBuilder : : ~ PartitionedIndexBuilder ( ) { <nl> delete sub_index_builder_ ; <nl> void PartitionedIndexBuilder : : MakeNewSubIndexBuilder ( ) { <nl> assert ( sub_index_builder_ = = nullptr ) ; <nl> sub_index_builder_ = new ShortenedIndexBuilder ( <nl> comparator_ , table_opt_ . index_block_restart_interval , <nl> - table_opt_ . format_version ) ; <nl> + table_opt_ . format_version , use_value_delta_encoding_ ) ; <nl> flush_policy_ . reset ( FlushBlockBySizePolicyFactory : : NewFlushBlockPolicy ( <nl> table_opt_ . metadata_block_size , table_opt_ . block_size_deviation , <nl> sub_index_builder_ - > index_block_builder_ ) ) ; <nl> Status PartitionedIndexBuilder : : Finish ( <nl> Entry & last_entry = entries_ . front ( ) ; <nl> std : : string handle_encoding ; <nl> last_partition_block_handle . EncodeTo ( & handle_encoding ) ; <nl> - index_block_builder_ . Add ( last_entry . key , handle_encoding ) ; <nl> + std : : string handle_delta_encoding ; <nl> + PutVarsignedint64 ( <nl> + & handle_delta_encoding , <nl> + last_partition_block_handle . size ( ) - last_encoded_handle_ . size ( ) ) ; <nl> + last_encoded_handle_ = last_partition_block_handle ; <nl> + const Slice handle_delta_encoding_slice ( handle_delta_encoding ) ; <nl> + index_block_builder_ . Add ( last_entry . key , handle_encoding , <nl> + & handle_delta_encoding_slice ) ; <nl> if ( ! seperator_is_key_plus_seq_ ) { <nl> index_block_builder_without_seq_ . Add ( ExtractUserKey ( last_entry . key ) , <nl> - handle_encoding ) ; <nl> + handle_encoding , <nl> + & handle_delta_encoding_slice ) ; <nl> } <nl> entries_ . pop_front ( ) ; <nl> } <nl> size_t PartitionedIndexBuilder : : EstimateTopLevelIndexSize ( <nl> uint64_t size = it - > value - > EstimatedSize ( ) ; <nl> BlockHandle tmp_block_handle ( offset , size ) ; <nl> tmp_block_handle . EncodeTo ( & tmp_handle_encoding ) ; <nl> + std : : string handle_delta_encoding ; <nl> + tmp_block_handle . EncodeSizeTo ( & handle_delta_encoding ) ; <nl> + const Slice handle_delta_encoding_slice ( handle_delta_encoding ) ; <nl> tmp_builder . Add ( <nl> seperator_is_key_plus_seq_ ? it - > key : ExtractUserKey ( it - > key ) , <nl> - tmp_handle_encoding ) ; <nl> + tmp_handle_encoding , & handle_delta_encoding_slice ) ; <nl> offset + = size ; <nl> } <nl> return tmp_builder . CurrentSizeEstimate ( ) ; <nl> mmm a / table / index_builder . h <nl> ppp b / table / index_builder . h <nl> class IndexBuilder { <nl> BlockBasedTableOptions : : IndexType index_type , <nl> const rocksdb : : InternalKeyComparator * comparator , <nl> const InternalKeySliceTransform * int_key_slice_transform , <nl> + const bool use_value_delta_encoding , <nl> const BlockBasedTableOptions & table_opt ) ; <nl> <nl> / / Index builder will construct a set of blocks which contain : <nl> class IndexBuilder { <nl> class ShortenedIndexBuilder : public IndexBuilder { <nl> public : <nl> explicit ShortenedIndexBuilder ( const InternalKeyComparator * comparator , <nl> - int index_block_restart_interval , <nl> - uint32_t format_version ) <nl> + const int index_block_restart_interval , <nl> + const uint32_t format_version , <nl> + const bool use_value_delta_encoding ) <nl> : IndexBuilder ( comparator ) , <nl> - index_block_builder_ ( index_block_restart_interval ) , <nl> - index_block_builder_without_seq_ ( index_block_restart_interval ) { <nl> + index_block_builder_ ( index_block_restart_interval , <nl> + true / * use_delta_encoding * / , <nl> + use_value_delta_encoding ) , <nl> + index_block_builder_without_seq_ ( index_block_restart_interval , <nl> + true / * use_delta_encoding * / , <nl> + use_value_delta_encoding ) { <nl> / / Making the default true will disable the feature for old versions <nl> seperator_is_key_plus_seq_ = ( format_version < = 2 ) ; <nl> } <nl> class ShortenedIndexBuilder : public IndexBuilder { <nl> <nl> std : : string handle_encoding ; <nl> block_handle . EncodeTo ( & handle_encoding ) ; <nl> - index_block_builder_ . Add ( sep , handle_encoding ) ; <nl> + std : : string handle_delta_encoding ; <nl> + PutVarsignedint64 ( & handle_delta_encoding , <nl> + block_handle . size ( ) - last_encoded_handle_ . size ( ) ) ; <nl> + assert ( handle_delta_encoding . size ( ) ! = 0 ) ; <nl> + last_encoded_handle_ = block_handle ; <nl> + const Slice handle_delta_encoding_slice ( handle_delta_encoding ) ; <nl> + index_block_builder_ . Add ( sep , handle_encoding , <nl> + & handle_delta_encoding_slice ) ; <nl> if ( ! seperator_is_key_plus_seq_ ) { <nl> - index_block_builder_without_seq_ . Add ( ExtractUserKey ( sep ) , <nl> - handle_encoding ) ; <nl> + index_block_builder_without_seq_ . Add ( ExtractUserKey ( sep ) , handle_encoding , <nl> + & handle_delta_encoding_slice ) ; <nl> } <nl> } <nl> <nl> class ShortenedIndexBuilder : public IndexBuilder { <nl> BlockBuilder index_block_builder_ ; <nl> BlockBuilder index_block_builder_without_seq_ ; <nl> bool seperator_is_key_plus_seq_ ; <nl> + BlockHandle last_encoded_handle_ ; <nl> } ; <nl> <nl> / / HashIndexBuilder contains a binary - searchable primary index and the <nl> class HashIndexBuilder : public IndexBuilder { <nl> explicit HashIndexBuilder ( const InternalKeyComparator * comparator , <nl> const SliceTransform * hash_key_extractor , <nl> int index_block_restart_interval , <nl> - int format_version ) <nl> + int format_version , bool use_value_delta_encoding ) <nl> : IndexBuilder ( comparator ) , <nl> primary_index_builder_ ( comparator , index_block_restart_interval , <nl> - format_version ) , <nl> + format_version , use_value_delta_encoding ) , <nl> hash_key_extractor_ ( hash_key_extractor ) { } <nl> <nl> virtual void AddIndexEntry ( std : : string * last_key_in_current_block , <nl> class PartitionedIndexBuilder : public IndexBuilder { <nl> public : <nl> static PartitionedIndexBuilder * CreateIndexBuilder ( <nl> const rocksdb : : InternalKeyComparator * comparator , <nl> + const bool use_value_delta_encoding , <nl> const BlockBasedTableOptions & table_opt ) ; <nl> <nl> explicit PartitionedIndexBuilder ( const InternalKeyComparator * comparator , <nl> - const BlockBasedTableOptions & table_opt ) ; <nl> + const BlockBasedTableOptions & table_opt , <nl> + const bool use_value_delta_encoding ) ; <nl> <nl> virtual ~ PartitionedIndexBuilder ( ) ; <nl> <nl> class PartitionedIndexBuilder : public IndexBuilder { <nl> return seperator_is_key_plus_seq_ ; <nl> } <nl> <nl> + bool get_use_value_delta_encoding ( ) { return use_value_delta_encoding_ ; } <nl> + <nl> private : <nl> void MakeNewSubIndexBuilder ( ) ; <nl> <nl> class PartitionedIndexBuilder : public IndexBuilder { <nl> bool finishing_indexes = false ; <nl> const BlockBasedTableOptions & table_opt_ ; <nl> bool seperator_is_key_plus_seq_ ; <nl> + bool use_value_delta_encoding_ ; <nl> / / true if an external entity ( such as filter partition builder ) request <nl> / / cutting the next partition <nl> bool partition_cut_requested_ = true ; <nl> / / true if it should cut the next filter partition block <nl> bool cut_filter_block = false ; <nl> + BlockHandle last_encoded_handle_ ; <nl> } ; <nl> } / / namespace rocksdb <nl> mmm a / table / internal_iterator . h <nl> ppp b / table / internal_iterator . h <nl> <nl> # include " rocksdb / comparator . h " <nl> # include " rocksdb / iterator . h " <nl> # include " rocksdb / status . h " <nl> + # include " table / format . h " <nl> <nl> namespace rocksdb { <nl> <nl> class PinnedIteratorsManager ; <nl> <nl> - class InternalIterator : public Cleanable { <nl> + template < class TValue > <nl> + class InternalIteratorBase : public Cleanable { <nl> public : <nl> - InternalIterator ( ) { } <nl> - virtual ~ InternalIterator ( ) { } <nl> + InternalIteratorBase ( ) { } <nl> + virtual ~ InternalIteratorBase ( ) { } <nl> <nl> / / An iterator is either positioned at a key / value pair , or <nl> / / not valid . This method returns true iff the iterator is valid . <nl> class InternalIterator : public Cleanable { <nl> / / the returned slice is valid only until the next modification of <nl> / / the iterator . <nl> / / REQUIRES : Valid ( ) <nl> - virtual Slice value ( ) const = 0 ; <nl> + virtual TValue value ( ) const = 0 ; <nl> <nl> / / If an error has occurred , return it . Else return an ok status . <nl> / / If non - blocking IO is requested and this operation cannot be <nl> class InternalIterator : public Cleanable { <nl> <nl> private : <nl> / / No copying allowed <nl> - InternalIterator ( const InternalIterator & ) = delete ; <nl> - InternalIterator & operator = ( const InternalIterator & ) = delete ; <nl> + InternalIteratorBase ( const InternalIteratorBase & ) = delete ; <nl> + InternalIteratorBase & operator = ( const InternalIteratorBase & ) = delete ; <nl> } ; <nl> <nl> + using InternalIterator = InternalIteratorBase < Slice > ; <nl> + <nl> / / Return an empty iterator ( yields nothing ) . <nl> - extern InternalIterator * NewEmptyInternalIterator ( ) ; <nl> + template < class TValue = Slice > <nl> + extern InternalIteratorBase < TValue > * NewEmptyInternalIterator ( ) ; <nl> <nl> / / Return an empty iterator with the specified status . <nl> - extern InternalIterator * NewErrorInternalIterator ( const Status & status ) ; <nl> + template < class TValue = Slice > <nl> + extern InternalIteratorBase < TValue > * NewErrorInternalIterator ( <nl> + const Status & status ) ; <nl> + <nl> + / / Return an empty iterator with the specified status , allocated arena . <nl> + template < class TValue = Slice > <nl> + extern InternalIteratorBase < TValue > * NewErrorInternalIterator ( <nl> + const Status & status , Arena * arena ) ; <nl> <nl> } / / namespace rocksdb <nl> mmm a / table / iterator . cc <nl> ppp b / table / iterator . cc <nl> class EmptyIterator : public Iterator { <nl> Status status_ ; <nl> } ; <nl> <nl> - class EmptyInternalIterator : public InternalIterator { <nl> + template < class TValue = Slice > <nl> + class EmptyInternalIterator : public InternalIteratorBase < TValue > { <nl> public : <nl> explicit EmptyInternalIterator ( const Status & s ) : status_ ( s ) { } <nl> virtual bool Valid ( ) const override { return false ; } <nl> class EmptyInternalIterator : public InternalIterator { <nl> assert ( false ) ; <nl> return Slice ( ) ; <nl> } <nl> - Slice value ( ) const override { <nl> + TValue value ( ) const override { <nl> assert ( false ) ; <nl> - return Slice ( ) ; <nl> + return TValue ( ) ; <nl> } <nl> virtual Status status ( ) const override { return status_ ; } <nl> <nl> Iterator * NewErrorIterator ( const Status & status ) { <nl> return new EmptyIterator ( status ) ; <nl> } <nl> <nl> - InternalIterator * NewEmptyInternalIterator ( ) { <nl> - return new EmptyInternalIterator ( Status : : OK ( ) ) ; <nl> + template < class TValue > <nl> + InternalIteratorBase < TValue > * NewErrorInternalIterator ( const Status & status ) { <nl> + return new EmptyInternalIterator < TValue > ( status ) ; <nl> } <nl> - <nl> - InternalIterator * NewEmptyInternalIterator ( Arena * arena ) { <nl> + template InternalIteratorBase < BlockHandle > * NewErrorInternalIterator ( <nl> + const Status & status ) ; <nl> + template InternalIteratorBase < Slice > * NewErrorInternalIterator ( <nl> + const Status & status ) ; <nl> + <nl> + template < class TValue > <nl> + InternalIteratorBase < TValue > * NewErrorInternalIterator ( const Status & status , <nl> + Arena * arena ) { <nl> if ( arena = = nullptr ) { <nl> - return NewEmptyInternalIterator ( ) ; <nl> + return NewErrorInternalIterator < TValue > ( status ) ; <nl> } else { <nl> auto mem = arena - > AllocateAligned ( sizeof ( EmptyIterator ) ) ; <nl> - return new ( mem ) EmptyInternalIterator ( Status : : OK ( ) ) ; <nl> + return new ( mem ) EmptyInternalIterator < TValue > ( status ) ; <nl> } <nl> } <nl> - <nl> - InternalIterator * NewErrorInternalIterator ( const Status & status ) { <nl> - return new EmptyInternalIterator ( status ) ; <nl> + template InternalIteratorBase < BlockHandle > * NewErrorInternalIterator ( <nl> + const Status & status , Arena * arena ) ; <nl> + template InternalIteratorBase < Slice > * NewErrorInternalIterator ( <nl> + const Status & status , Arena * arena ) ; <nl> + <nl> + template < class TValue > <nl> + InternalIteratorBase < TValue > * NewEmptyInternalIterator ( ) { <nl> + return new EmptyInternalIterator < TValue > ( Status : : OK ( ) ) ; <nl> } <nl> + template InternalIteratorBase < BlockHandle > * NewEmptyInternalIterator ( ) ; <nl> + template InternalIteratorBase < Slice > * NewEmptyInternalIterator ( ) ; <nl> <nl> - InternalIterator * NewErrorInternalIterator ( const Status & status , Arena * arena ) { <nl> + template < class TValue > <nl> + InternalIteratorBase < TValue > * NewEmptyInternalIterator ( Arena * arena ) { <nl> if ( arena = = nullptr ) { <nl> - return NewErrorInternalIterator ( status ) ; <nl> + return NewEmptyInternalIterator < TValue > ( ) ; <nl> } else { <nl> auto mem = arena - > AllocateAligned ( sizeof ( EmptyIterator ) ) ; <nl> - return new ( mem ) EmptyInternalIterator ( status ) ; <nl> + return new ( mem ) EmptyInternalIterator < TValue > ( Status : : OK ( ) ) ; <nl> } <nl> } <nl> + template InternalIteratorBase < BlockHandle > * NewEmptyInternalIterator ( <nl> + Arena * arena ) ; <nl> + template InternalIteratorBase < Slice > * NewEmptyInternalIterator ( Arena * arena ) ; <nl> <nl> } / / namespace rocksdb <nl> mmm a / table / iterator_wrapper . h <nl> ppp b / table / iterator_wrapper . h <nl> namespace rocksdb { <nl> / / the valid ( ) and key ( ) results for an underlying iterator . <nl> / / This can help avoid virtual function calls and also gives better <nl> / / cache locality . <nl> - class IteratorWrapper { <nl> + template < class TValue = Slice > <nl> + class IteratorWrapperBase { <nl> public : <nl> - IteratorWrapper ( ) : iter_ ( nullptr ) , valid_ ( false ) { } <nl> - explicit IteratorWrapper ( InternalIterator * _iter ) : iter_ ( nullptr ) { <nl> + IteratorWrapperBase ( ) : iter_ ( nullptr ) , valid_ ( false ) { } <nl> + explicit IteratorWrapperBase ( InternalIteratorBase < TValue > * _iter ) <nl> + : iter_ ( nullptr ) { <nl> Set ( _iter ) ; <nl> } <nl> - ~ IteratorWrapper ( ) { } <nl> - InternalIterator * iter ( ) const { return iter_ ; } <nl> + ~ IteratorWrapperBase ( ) { } <nl> + InternalIteratorBase < TValue > * iter ( ) const { return iter_ ; } <nl> <nl> / / Set the underlying Iterator to _iter and return <nl> / / previous underlying Iterator . <nl> - InternalIterator * Set ( InternalIterator * _iter ) { <nl> - InternalIterator * old_iter = iter_ ; <nl> + InternalIteratorBase < TValue > * Set ( InternalIteratorBase < TValue > * _iter ) { <nl> + InternalIteratorBase < TValue > * old_iter = iter_ ; <nl> <nl> iter_ = _iter ; <nl> if ( iter_ = = nullptr ) { <nl> class IteratorWrapper { <nl> if ( ! is_arena_mode ) { <nl> delete iter_ ; <nl> } else { <nl> - iter_ - > ~ InternalIterator ( ) ; <nl> + iter_ - > ~ InternalIteratorBase < TValue > ( ) ; <nl> } <nl> } <nl> } <nl> class IteratorWrapper { <nl> / / Iterator interface methods <nl> bool Valid ( ) const { return valid_ ; } <nl> Slice key ( ) const { assert ( Valid ( ) ) ; return key_ ; } <nl> - Slice value ( ) const { assert ( Valid ( ) ) ; return iter_ - > value ( ) ; } <nl> + TValue value ( ) const { <nl> + assert ( Valid ( ) ) ; <nl> + return iter_ - > value ( ) ; <nl> + } <nl> / / Methods below require iter ( ) ! = nullptr <nl> Status status ( ) const { assert ( iter_ ) ; return iter_ - > status ( ) ; } <nl> void Next ( ) { assert ( iter_ ) ; iter_ - > Next ( ) ; Update ( ) ; } <nl> class IteratorWrapper { <nl> } <nl> } <nl> <nl> - InternalIterator * iter_ ; <nl> + InternalIteratorBase < TValue > * iter_ ; <nl> bool valid_ ; <nl> Slice key_ ; <nl> } ; <nl> <nl> + using IteratorWrapper = IteratorWrapperBase < Slice > ; <nl> + <nl> class Arena ; <nl> / / Return an empty iterator ( yields nothing ) allocated from arena . <nl> - extern InternalIterator * NewEmptyInternalIterator ( Arena * arena ) ; <nl> - <nl> - / / Return an empty iterator with the specified status , allocated arena . <nl> - extern InternalIterator * NewErrorInternalIterator ( const Status & status , <nl> - Arena * arena ) ; <nl> + template < class TValue = Slice > <nl> + extern InternalIteratorBase < TValue > * NewEmptyInternalIterator ( Arena * arena ) ; <nl> <nl> } / / namespace rocksdb <nl> mmm a / table / merging_iterator . cc <nl> ppp b / table / merging_iterator . cc <nl> InternalIterator * NewMergingIterator ( const InternalKeyComparator * cmp , <nl> Arena * arena , bool prefix_seek_mode ) { <nl> assert ( n > = 0 ) ; <nl> if ( n = = 0 ) { <nl> - return NewEmptyInternalIterator ( arena ) ; <nl> + return NewEmptyInternalIterator < Slice > ( arena ) ; <nl> } else if ( n = = 1 ) { <nl> return list [ 0 ] ; <nl> } else { <nl> mmm a / table / merging_iterator . h <nl> ppp b / table / merging_iterator . h <nl> <nl> namespace rocksdb { <nl> <nl> class Comparator ; <nl> - class InternalIterator ; <nl> class Env ; <nl> class Arena ; <nl> + template < class TValue > <nl> + class InternalIteratorBase ; <nl> + using InternalIterator = InternalIteratorBase < Slice > ; <nl> <nl> / / Return an iterator that provided the union of the data in <nl> / / children [ 0 , n - 1 ] . Takes ownership of the child iterators and <nl> mmm a / table / meta_blocks . cc <nl> ppp b / table / meta_blocks . cc <nl> void PropertyBlockBuilder : : AddTableProperty ( const TableProperties & props ) { <nl> Add ( TablePropertiesNames : : kTopLevelIndexSize , props . top_level_index_size ) ; <nl> } <nl> Add ( TablePropertiesNames : : kIndexKeyIsUserKey , props . index_key_is_user_key ) ; <nl> + Add ( TablePropertiesNames : : kIndexValueIsDeltaEncoded , <nl> + props . index_value_is_delta_encoded ) ; <nl> Add ( TablePropertiesNames : : kNumEntries , props . num_entries ) ; <nl> Add ( TablePropertiesNames : : kNumRangeDeletions , props . num_range_deletions ) ; <nl> Add ( TablePropertiesNames : : kNumDataBlocks , props . num_data_blocks ) ; <nl> Status ReadProperties ( const Slice & handle_value , RandomAccessFileReader * file , <nl> & new_table_properties - > top_level_index_size } , <nl> { TablePropertiesNames : : kIndexKeyIsUserKey , <nl> & new_table_properties - > index_key_is_user_key } , <nl> + { TablePropertiesNames : : kIndexValueIsDeltaEncoded , <nl> + & new_table_properties - > index_value_is_delta_encoded } , <nl> { TablePropertiesNames : : kFilterSize , & new_table_properties - > filter_size } , <nl> { TablePropertiesNames : : kRawKeySize , & new_table_properties - > raw_key_size } , <nl> { TablePropertiesNames : : kRawValueSize , <nl> mmm a / table / meta_blocks . h <nl> ppp b / table / meta_blocks . h <nl> class Footer ; <nl> class Logger ; <nl> class RandomAccessFile ; <nl> struct TableProperties ; <nl> - class InternalIterator ; <nl> <nl> class MetaIndexBuilder { <nl> public : <nl> mmm a / table / partitioned_filter_block . cc <nl> ppp b / table / partitioned_filter_block . cc <nl> namespace rocksdb { <nl> PartitionedFilterBlockBuilder : : PartitionedFilterBlockBuilder ( <nl> const SliceTransform * prefix_extractor , bool whole_key_filtering , <nl> FilterBitsBuilder * filter_bits_builder , int index_block_restart_interval , <nl> + const bool use_value_delta_encoding , <nl> PartitionedIndexBuilder * const p_index_builder , <nl> const uint32_t partition_size ) <nl> : FullFilterBlockBuilder ( prefix_extractor , whole_key_filtering , <nl> filter_bits_builder ) , <nl> - index_on_filter_block_builder_ ( index_block_restart_interval ) , <nl> - index_on_filter_block_builder_without_seq_ ( index_block_restart_interval ) , <nl> + index_on_filter_block_builder_ ( index_block_restart_interval , <nl> + true / * use_delta_encoding * / , <nl> + use_value_delta_encoding ) , <nl> + index_on_filter_block_builder_without_seq_ ( index_block_restart_interval , <nl> + true / * use_delta_encoding * / , <nl> + use_value_delta_encoding ) , <nl> p_index_builder_ ( p_index_builder ) , <nl> filters_in_partition_ ( 0 ) , <nl> num_added_ ( 0 ) { <nl> Slice PartitionedFilterBlockBuilder : : Finish ( <nl> FilterEntry & last_entry = filters . front ( ) ; <nl> std : : string handle_encoding ; <nl> last_partition_block_handle . EncodeTo ( & handle_encoding ) ; <nl> - index_on_filter_block_builder_ . Add ( last_entry . key , handle_encoding ) ; <nl> + std : : string handle_delta_encoding ; <nl> + last_partition_block_handle . EncodeSizeTo ( & handle_delta_encoding ) ; <nl> + const Slice handle_delta_encoding_slice ( handle_delta_encoding ) ; <nl> + index_on_filter_block_builder_ . Add ( last_entry . key , handle_encoding , <nl> + & handle_delta_encoding_slice ) ; <nl> if ( ! p_index_builder_ - > seperator_is_key_plus_seq ( ) ) { <nl> index_on_filter_block_builder_without_seq_ . Add ( <nl> - ExtractUserKey ( last_entry . key ) , handle_encoding ) ; <nl> + ExtractUserKey ( last_entry . key ) , handle_encoding , <nl> + & handle_delta_encoding_slice ) ; <nl> } <nl> filters . pop_front ( ) ; <nl> } else { <nl> PartitionedFilterBlockReader : : PartitionedFilterBlockReader ( <nl> const SliceTransform * prefix_extractor , bool _whole_key_filtering , <nl> BlockContents & & contents , FilterBitsReader * / * filter_bits_reader * / , <nl> Statistics * stats , const InternalKeyComparator comparator , <nl> - const BlockBasedTable * table , const bool index_key_includes_seq ) <nl> + const BlockBasedTable * table , const bool index_key_includes_seq , <nl> + const bool index_value_is_full ) <nl> : FilterBlockReader ( contents . data . size ( ) , stats , _whole_key_filtering ) , <nl> prefix_extractor_ ( prefix_extractor ) , <nl> comparator_ ( comparator ) , <nl> table_ ( table ) , <nl> - index_key_includes_seq_ ( index_key_includes_seq ) { <nl> + index_key_includes_seq_ ( index_key_includes_seq ) , <nl> + index_value_is_full_ ( index_value_is_full ) { <nl> idx_on_fltr_blk_ . reset ( new Block ( std : : move ( contents ) , <nl> kDisableGlobalSequenceNumber , <nl> 0 / * read_amp_bytes_per_bit * / , stats ) ) ; <nl> PartitionedFilterBlockReader : : ~ PartitionedFilterBlockReader ( ) { <nl> Statistics * kNullStats = nullptr ; <nl> idx_on_fltr_blk_ - > NewIterator < IndexBlockIter > ( <nl> & comparator_ , comparator_ . user_comparator ( ) , & biter , kNullStats , true , <nl> - index_key_includes_seq_ ) ; <nl> + index_key_includes_seq_ , index_value_is_full_ ) ; <nl> biter . SeekToFirst ( ) ; <nl> for ( ; biter . Valid ( ) ; biter . Next ( ) ) { <nl> - auto input = biter . value ( ) ; <nl> - auto s = handle . DecodeFrom ( & input ) ; <nl> - assert ( s . ok ( ) ) ; <nl> - if ( ! s . ok ( ) ) { <nl> - continue ; <nl> - } <nl> + handle = biter . value ( ) ; <nl> auto key = BlockBasedTable : : GetCacheKey ( table_ - > rep_ - > cache_key_prefix , <nl> table_ - > rep_ - > cache_key_prefix_size , <nl> handle , cache_key ) ; <nl> bool PartitionedFilterBlockReader : : KeyMayMatch ( <nl> } <nl> bool cached = false ; <nl> auto filter_partition = <nl> - GetFilterPartition ( nullptr / * prefetch_buffer * / , & filter_handle , no_io , <nl> + GetFilterPartition ( nullptr / * prefetch_buffer * / , filter_handle , no_io , <nl> & cached , prefix_extractor ) ; <nl> if ( UNLIKELY ( ! filter_partition . value ) ) { <nl> return true ; <nl> bool PartitionedFilterBlockReader : : PrefixMayMatch ( <nl> } <nl> bool cached = false ; <nl> auto filter_partition = <nl> - GetFilterPartition ( nullptr / * prefetch_buffer * / , & filter_handle , no_io , <nl> + GetFilterPartition ( nullptr / * prefetch_buffer * / , filter_handle , no_io , <nl> & cached , prefix_extractor ) ; <nl> if ( UNLIKELY ( ! filter_partition . value ) ) { <nl> return true ; <nl> bool PartitionedFilterBlockReader : : PrefixMayMatch ( <nl> return res ; <nl> } <nl> <nl> - Slice PartitionedFilterBlockReader : : GetFilterPartitionHandle ( <nl> + BlockHandle PartitionedFilterBlockReader : : GetFilterPartitionHandle ( <nl> const Slice & entry ) { <nl> IndexBlockIter iter ; <nl> Statistics * kNullStats = nullptr ; <nl> idx_on_fltr_blk_ - > NewIterator < IndexBlockIter > ( <nl> & comparator_ , comparator_ . user_comparator ( ) , & iter , kNullStats , true , <nl> - index_key_includes_seq_ ) ; <nl> + index_key_includes_seq_ , index_value_is_full_ ) ; <nl> iter . Seek ( entry ) ; <nl> if ( UNLIKELY ( ! iter . Valid ( ) ) ) { <nl> - return Slice ( ) ; <nl> + return BlockHandle ( 0 , 0 ) ; <nl> } <nl> assert ( iter . Valid ( ) ) ; <nl> - Slice handle_value = iter . value ( ) ; <nl> - return handle_value ; <nl> + BlockHandle fltr_blk_handle = iter . value ( ) ; <nl> + return fltr_blk_handle ; <nl> } <nl> <nl> BlockBasedTable : : CachableEntry < FilterBlockReader > <nl> PartitionedFilterBlockReader : : GetFilterPartition ( <nl> - FilePrefetchBuffer * prefetch_buffer , Slice * handle_value , const bool no_io , <nl> - bool * cached , const SliceTransform * prefix_extractor ) { <nl> - BlockHandle fltr_blk_handle ; <nl> - auto s = fltr_blk_handle . DecodeFrom ( handle_value ) ; <nl> - assert ( s . ok ( ) ) ; <nl> + FilePrefetchBuffer * prefetch_buffer , BlockHandle & fltr_blk_handle , <nl> + const bool no_io , bool * cached , const SliceTransform * prefix_extractor ) { <nl> const bool is_a_filter_partition = true ; <nl> auto block_cache = table_ - > rep_ - > table_options . block_cache . get ( ) ; <nl> if ( LIKELY ( block_cache ! = nullptr ) ) { <nl> void PartitionedFilterBlockReader : : CacheDependencies ( <nl> / / Before read partitions , prefetch them to avoid lots of IOs <nl> auto rep = table_ - > rep_ ; <nl> IndexBlockIter biter ; <nl> - BlockHandle handle ; <nl> Statistics * kNullStats = nullptr ; <nl> idx_on_fltr_blk_ - > NewIterator < IndexBlockIter > ( <nl> & comparator_ , comparator_ . user_comparator ( ) , & biter , kNullStats , true , <nl> - index_key_includes_seq_ ) ; <nl> + index_key_includes_seq_ , index_value_is_full_ ) ; <nl> / / Index partitions are assumed to be consecuitive . Prefetch them all . <nl> / / Read the first block offset <nl> biter . SeekToFirst ( ) ; <nl> - Slice input = biter . value ( ) ; <nl> - Status s = handle . DecodeFrom ( & input ) ; <nl> - assert ( s . ok ( ) ) ; <nl> - if ( ! s . ok ( ) ) { <nl> - ROCKS_LOG_WARN ( rep - > ioptions . info_log , <nl> - " Could not read first index partition " ) ; <nl> - return ; <nl> - } <nl> + BlockHandle handle = biter . value ( ) ; <nl> uint64_t prefetch_off = handle . offset ( ) ; <nl> <nl> / / Read the last block ' s offset <nl> biter . SeekToLast ( ) ; <nl> - input = biter . value ( ) ; <nl> - s = handle . DecodeFrom ( & input ) ; <nl> - assert ( s . ok ( ) ) ; <nl> - if ( ! s . ok ( ) ) { <nl> - ROCKS_LOG_WARN ( rep - > ioptions . info_log , <nl> - " Could not read last index partition " ) ; <nl> - return ; <nl> - } <nl> + handle = biter . value ( ) ; <nl> uint64_t last_off = handle . offset ( ) + handle . size ( ) + kBlockTrailerSize ; <nl> uint64_t prefetch_len = last_off - prefetch_off ; <nl> std : : unique_ptr < FilePrefetchBuffer > prefetch_buffer ; <nl> auto & file = table_ - > rep_ - > file ; <nl> prefetch_buffer . reset ( new FilePrefetchBuffer ( ) ) ; <nl> + Status s ; <nl> s = prefetch_buffer - > Prefetch ( file . get ( ) , prefetch_off , <nl> static_cast < size_t > ( prefetch_len ) ) ; <nl> <nl> void PartitionedFilterBlockReader : : CacheDependencies ( <nl> biter . SeekToFirst ( ) ; <nl> Cache * block_cache = rep - > table_options . block_cache . get ( ) ; <nl> for ( ; biter . Valid ( ) ; biter . Next ( ) ) { <nl> - input = biter . value ( ) ; <nl> - s = handle . DecodeFrom ( & input ) ; <nl> - assert ( s . ok ( ) ) ; <nl> - if ( ! s . ok ( ) ) { <nl> - ROCKS_LOG_WARN ( rep - > ioptions . info_log , " Could not read index partition " ) ; <nl> - continue ; <nl> - } <nl> - <nl> + handle = biter . value ( ) ; <nl> const bool no_io = true ; <nl> const bool is_a_filter_partition = true ; <nl> auto filter = table_ - > GetFilter ( <nl> mmm a / table / partitioned_filter_block . h <nl> ppp b / table / partitioned_filter_block . h <nl> class PartitionedFilterBlockBuilder : public FullFilterBlockBuilder { <nl> explicit PartitionedFilterBlockBuilder ( <nl> const SliceTransform * prefix_extractor , bool whole_key_filtering , <nl> FilterBitsBuilder * filter_bits_builder , int index_block_restart_interval , <nl> + const bool use_value_delta_encoding , <nl> PartitionedIndexBuilder * const p_index_builder , <nl> const uint32_t partition_size ) ; <nl> <nl> class PartitionedFilterBlockReader : public FilterBlockReader , <nl> const SliceTransform * prefix_extractor , bool whole_key_filtering , <nl> BlockContents & & contents , FilterBitsReader * filter_bits_reader , <nl> Statistics * stats , const InternalKeyComparator comparator , <nl> - const BlockBasedTable * table , const bool index_key_includes_seq ) ; <nl> + const BlockBasedTable * table , const bool index_key_includes_seq , <nl> + const bool index_value_is_full ) ; <nl> virtual ~ PartitionedFilterBlockReader ( ) ; <nl> <nl> virtual bool IsBlockBased ( ) override { return false ; } <nl> class PartitionedFilterBlockReader : public FilterBlockReader , <nl> virtual size_t ApproximateMemoryUsage ( ) const override ; <nl> <nl> private : <nl> - Slice GetFilterPartitionHandle ( const Slice & entry ) ; <nl> + BlockHandle GetFilterPartitionHandle ( const Slice & entry ) ; <nl> BlockBasedTable : : CachableEntry < FilterBlockReader > GetFilterPartition ( <nl> - FilePrefetchBuffer * prefetch_buffer , Slice * handle , const bool no_io , <nl> - bool * cached , const SliceTransform * prefix_extractor = nullptr ) ; <nl> + FilePrefetchBuffer * prefetch_buffer , BlockHandle & handle , <nl> + const bool no_io , bool * cached , <nl> + const SliceTransform * prefix_extractor = nullptr ) ; <nl> virtual void CacheDependencies ( <nl> bool bin , const SliceTransform * prefix_extractor ) override ; <nl> <nl> class PartitionedFilterBlockReader : public FilterBlockReader , <nl> const InternalKeyComparator comparator_ ; <nl> const BlockBasedTable * table_ ; <nl> const bool index_key_includes_seq_ ; <nl> + const bool index_value_is_full_ ; <nl> std : : unordered_map < uint64_t , <nl> BlockBasedTable : : CachableEntry < FilterBlockReader > > <nl> filter_map_ ; <nl> mmm a / table / partitioned_filter_block_test . cc <nl> ppp b / table / partitioned_filter_block_test . cc <nl> class PartitionedFilterBlockTest : public testing : : Test { <nl> } <nl> <nl> PartitionedIndexBuilder * NewIndexBuilder ( ) { <nl> - return PartitionedIndexBuilder : : CreateIndexBuilder ( & icomp , table_options_ ) ; <nl> + const bool kValueDeltaEncoded = true ; <nl> + return PartitionedIndexBuilder : : CreateIndexBuilder ( <nl> + & icomp , ! kValueDeltaEncoded , table_options_ ) ; <nl> } <nl> <nl> PartitionedFilterBlockBuilder * NewBuilder ( <nl> class PartitionedFilterBlockTest : public testing : : Test { <nl> 99 ) / <nl> 100 ) ; <nl> partition_size = std : : max ( partition_size , static_cast < uint32_t > ( 1 ) ) ; <nl> + const bool kValueDeltaEncoded = true ; <nl> return new PartitionedFilterBlockBuilder ( <nl> prefix_extractor , table_options_ . whole_key_filtering , <nl> table_options_ . filter_policy - > GetFilterBitsBuilder ( ) , <nl> - table_options_ . index_block_restart_interval , p_index_builder , <nl> - partition_size ) ; <nl> + table_options_ . index_block_restart_interval , ! kValueDeltaEncoded , <nl> + p_index_builder , partition_size ) ; <nl> } <nl> <nl> std : : unique_ptr < MockedBlockBasedTable > table ; <nl> class PartitionedFilterBlockTest : public testing : : Test { <nl> ! kSkipFilters , ! kImmortal ) ) ) ; <nl> auto reader = new PartitionedFilterBlockReader ( <nl> prefix_extractor , true , BlockContents ( slice , false , kNoCompression ) , <nl> - nullptr , nullptr , icomp , table . get ( ) , pib - > seperator_is_key_plus_seq ( ) ) ; <nl> + nullptr , nullptr , icomp , table . get ( ) , pib - > seperator_is_key_plus_seq ( ) , <nl> + ! pib - > get_use_value_delta_encoding ( ) ) ; <nl> return reader ; <nl> } <nl> <nl> mmm a / table / plain_table_reader . h <nl> ppp b / table / plain_table_reader . h <nl> class TableReader ; <nl> class InternalKeyComparator ; <nl> class PlainTableKeyDecoder ; <nl> class GetContext ; <nl> - class InternalIterator ; <nl> <nl> using std : : unique_ptr ; <nl> using std : : unordered_map ; <nl> mmm a / table / table_properties . cc <nl> ppp b / table / table_properties . cc <nl> std : : string TableProperties : : ToString ( <nl> AppendProperty ( result , " data block size " , data_size , prop_delim , kv_delim ) ; <nl> char index_block_size_str [ 80 ] ; <nl> snprintf ( index_block_size_str , sizeof ( index_block_size_str ) , <nl> - " index block size ( user - key ? % d ) " , <nl> - static_cast < int > ( index_key_is_user_key ) ) ; <nl> + " index block size ( user - key ? % d , delta - value ? % d ) " , <nl> + static_cast < int > ( index_key_is_user_key ) , <nl> + static_cast < int > ( index_value_is_delta_encoded ) ) ; <nl> AppendProperty ( result , index_block_size_str , index_size , prop_delim , <nl> kv_delim ) ; <nl> if ( index_partitions ! = 0 ) { <nl> void TableProperties : : Add ( const TableProperties & tp ) { <nl> index_partitions + = tp . index_partitions ; <nl> top_level_index_size + = tp . top_level_index_size ; <nl> index_key_is_user_key + = tp . index_key_is_user_key ; <nl> + index_value_is_delta_encoded + = tp . index_value_is_delta_encoded ; <nl> filter_size + = tp . filter_size ; <nl> raw_key_size + = tp . raw_key_size ; <nl> raw_value_size + = tp . raw_value_size ; <nl> const std : : string TablePropertiesNames : : kTopLevelIndexSize = <nl> " rocksdb . top - level . index . size " ; <nl> const std : : string TablePropertiesNames : : kIndexKeyIsUserKey = <nl> " rocksdb . index . key . is . user . key " ; <nl> + const std : : string TablePropertiesNames : : kIndexValueIsDeltaEncoded = <nl> + " rocksdb . index . value . is . delta . encoded " ; <nl> const std : : string TablePropertiesNames : : kFilterSize = <nl> " rocksdb . filter . size " ; <nl> const std : : string TablePropertiesNames : : kRawKeySize = <nl> mmm a / table / table_properties_internal . h <nl> ppp b / table / table_properties_internal . h <nl> <nl> <nl> namespace rocksdb { <nl> <nl> - class InternalIterator ; <nl> class BlockHandle ; <nl> <nl> / / Seek to the properties block . <nl> mmm a / table / table_reader . h <nl> ppp b / table / table_reader . h <nl> class Arena ; <nl> struct ReadOptions ; <nl> struct TableProperties ; <nl> class GetContext ; <nl> - class InternalIterator ; <nl> <nl> / / A Table is a sorted map from strings to strings . Tables are <nl> / / immutable and persistent . A Table may be safely accessed from <nl> mmm a / table / table_test . cc <nl> ppp b / table / table_test . cc <nl> TEST_F ( HarnessTest , FooterTests ) { <nl> <nl> class IndexBlockRestartIntervalTest <nl> : public TableTest , <nl> - public : : testing : : WithParamInterface < int > { <nl> + public : : testing : : WithParamInterface < std : : pair < int , bool > > { <nl> public : <nl> - static std : : vector < int > GetRestartValues ( ) { return { - 1 , 0 , 1 , 8 , 16 , 32 } ; } <nl> + static std : : vector < std : : pair < int , bool > > GetRestartValues ( ) { <nl> + return { { - 1 , false } , { 0 , false } , { 1 , false } , { 8 , false } , <nl> + { 16 , false } , { 32 , false } , { - 1 , true } , { 0 , true } , <nl> + { 1 , true } , { 8 , true } , { 16 , true } , { 32 , true } } ; <nl> + } <nl> } ; <nl> <nl> INSTANTIATE_TEST_CASE_P ( <nl> TEST_P ( IndexBlockRestartIntervalTest , IndexBlockRestartInterval ) { <nl> const int kKeySize = 100 ; <nl> const int kValSize = 500 ; <nl> <nl> - int index_block_restart_interval = GetParam ( ) ; <nl> + const int index_block_restart_interval = std : : get < 0 > ( GetParam ( ) ) ; <nl> + const bool value_delta_encoding = std : : get < 1 > ( GetParam ( ) ) ; <nl> <nl> Options options ; <nl> BlockBasedTableOptions table_options ; <nl> table_options . block_size = 64 ; / / small block size to get big index block <nl> table_options . index_block_restart_interval = index_block_restart_interval ; <nl> + if ( value_delta_encoding ) { <nl> + table_options . format_version = 4 ; <nl> + } <nl> options . table_factory . reset ( new BlockBasedTableFactory ( table_options ) ) ; <nl> <nl> TableConstructor c ( BytewiseComparator ( ) ) ; <nl> mmm a / table / two_level_iterator . cc <nl> ppp b / table / two_level_iterator . cc <nl> namespace rocksdb { <nl> <nl> namespace { <nl> <nl> - class TwoLevelIterator : public InternalIterator { <nl> + class TwoLevelIndexIterator : public InternalIteratorBase < BlockHandle > { <nl> public : <nl> - explicit TwoLevelIterator ( TwoLevelIteratorState * state , <nl> - InternalIterator * first_level_iter ) ; <nl> + explicit TwoLevelIndexIterator ( <nl> + TwoLevelIteratorState * state , <nl> + InternalIteratorBase < BlockHandle > * first_level_iter ) ; <nl> <nl> - virtual ~ TwoLevelIterator ( ) { <nl> + virtual ~ TwoLevelIndexIterator ( ) { <nl> first_level_iter_ . DeleteIter ( false / * is_arena_mode * / ) ; <nl> second_level_iter_ . DeleteIter ( false / * is_arena_mode * / ) ; <nl> delete state_ ; <nl> class TwoLevelIterator : public InternalIterator { <nl> assert ( Valid ( ) ) ; <nl> return second_level_iter_ . key ( ) ; <nl> } <nl> - virtual Slice value ( ) const override { <nl> + virtual BlockHandle value ( ) const override { <nl> assert ( Valid ( ) ) ; <nl> return second_level_iter_ . value ( ) ; <nl> } <nl> class TwoLevelIterator : public InternalIterator { <nl> } <nl> void SkipEmptyDataBlocksForward ( ) ; <nl> void SkipEmptyDataBlocksBackward ( ) ; <nl> - void SetSecondLevelIterator ( InternalIterator * iter ) ; <nl> + void SetSecondLevelIterator ( InternalIteratorBase < BlockHandle > * iter ) ; <nl> void InitDataBlock ( ) ; <nl> <nl> TwoLevelIteratorState * state_ ; <nl> - IteratorWrapper first_level_iter_ ; <nl> - IteratorWrapper second_level_iter_ ; / / May be nullptr <nl> + IteratorWrapperBase < BlockHandle > first_level_iter_ ; <nl> + IteratorWrapperBase < BlockHandle > second_level_iter_ ; / / May be nullptr <nl> Status status_ ; <nl> / / If second_level_iter is non - nullptr , then " data_block_handle_ " holds the <nl> / / " index_value " passed to block_function_ to create the second_level_iter . <nl> - std : : string data_block_handle_ ; <nl> + BlockHandle data_block_handle_ ; <nl> } ; <nl> <nl> - TwoLevelIterator : : TwoLevelIterator ( TwoLevelIteratorState * state , <nl> - InternalIterator * first_level_iter ) <nl> + TwoLevelIndexIterator : : TwoLevelIndexIterator ( <nl> + TwoLevelIteratorState * state , <nl> + InternalIteratorBase < BlockHandle > * first_level_iter ) <nl> : state_ ( state ) , first_level_iter_ ( first_level_iter ) { } <nl> <nl> - void TwoLevelIterator : : Seek ( const Slice & target ) { <nl> + void TwoLevelIndexIterator : : Seek ( const Slice & target ) { <nl> first_level_iter_ . Seek ( target ) ; <nl> <nl> InitDataBlock ( ) ; <nl> void TwoLevelIterator : : Seek ( const Slice & target ) { <nl> SkipEmptyDataBlocksForward ( ) ; <nl> } <nl> <nl> - void TwoLevelIterator : : SeekForPrev ( const Slice & target ) { <nl> + void TwoLevelIndexIterator : : SeekForPrev ( const Slice & target ) { <nl> first_level_iter_ . Seek ( target ) ; <nl> InitDataBlock ( ) ; <nl> if ( second_level_iter_ . iter ( ) ! = nullptr ) { <nl> void TwoLevelIterator : : SeekForPrev ( const Slice & target ) { <nl> } <nl> } <nl> <nl> - void TwoLevelIterator : : SeekToFirst ( ) { <nl> + void TwoLevelIndexIterator : : SeekToFirst ( ) { <nl> first_level_iter_ . SeekToFirst ( ) ; <nl> InitDataBlock ( ) ; <nl> if ( second_level_iter_ . iter ( ) ! = nullptr ) { <nl> void TwoLevelIterator : : SeekToFirst ( ) { <nl> SkipEmptyDataBlocksForward ( ) ; <nl> } <nl> <nl> - void TwoLevelIterator : : SeekToLast ( ) { <nl> + void TwoLevelIndexIterator : : SeekToLast ( ) { <nl> first_level_iter_ . SeekToLast ( ) ; <nl> InitDataBlock ( ) ; <nl> if ( second_level_iter_ . iter ( ) ! = nullptr ) { <nl> void TwoLevelIterator : : SeekToLast ( ) { <nl> SkipEmptyDataBlocksBackward ( ) ; <nl> } <nl> <nl> - void TwoLevelIterator : : Next ( ) { <nl> + void TwoLevelIndexIterator : : Next ( ) { <nl> assert ( Valid ( ) ) ; <nl> second_level_iter_ . Next ( ) ; <nl> SkipEmptyDataBlocksForward ( ) ; <nl> } <nl> <nl> - void TwoLevelIterator : : Prev ( ) { <nl> + void TwoLevelIndexIterator : : Prev ( ) { <nl> assert ( Valid ( ) ) ; <nl> second_level_iter_ . Prev ( ) ; <nl> SkipEmptyDataBlocksBackward ( ) ; <nl> } <nl> <nl> - void TwoLevelIterator : : SkipEmptyDataBlocksForward ( ) { <nl> + void TwoLevelIndexIterator : : SkipEmptyDataBlocksForward ( ) { <nl> while ( second_level_iter_ . iter ( ) = = nullptr | | <nl> ( ! second_level_iter_ . Valid ( ) & & second_level_iter_ . status ( ) . ok ( ) ) ) { <nl> / / Move to next block <nl> void TwoLevelIterator : : SkipEmptyDataBlocksForward ( ) { <nl> } <nl> } <nl> <nl> - void TwoLevelIterator : : SkipEmptyDataBlocksBackward ( ) { <nl> + void TwoLevelIndexIterator : : SkipEmptyDataBlocksBackward ( ) { <nl> while ( second_level_iter_ . iter ( ) = = nullptr | | <nl> ( ! second_level_iter_ . Valid ( ) & & second_level_iter_ . status ( ) . ok ( ) ) ) { <nl> / / Move to next block <nl> void TwoLevelIterator : : SkipEmptyDataBlocksBackward ( ) { <nl> } <nl> } <nl> <nl> - void TwoLevelIterator : : SetSecondLevelIterator ( InternalIterator * iter ) { <nl> - InternalIterator * old_iter = second_level_iter_ . Set ( iter ) ; <nl> + void TwoLevelIndexIterator : : SetSecondLevelIterator ( <nl> + InternalIteratorBase < BlockHandle > * iter ) { <nl> + InternalIteratorBase < BlockHandle > * old_iter = second_level_iter_ . Set ( iter ) ; <nl> delete old_iter ; <nl> } <nl> <nl> - void TwoLevelIterator : : InitDataBlock ( ) { <nl> + void TwoLevelIndexIterator : : InitDataBlock ( ) { <nl> if ( ! first_level_iter_ . Valid ( ) ) { <nl> SetSecondLevelIterator ( nullptr ) ; <nl> } else { <nl> - Slice handle = first_level_iter_ . value ( ) ; <nl> + BlockHandle handle = first_level_iter_ . value ( ) ; <nl> if ( second_level_iter_ . iter ( ) ! = nullptr & & <nl> ! second_level_iter_ . status ( ) . IsIncomplete ( ) & & <nl> - handle . compare ( data_block_handle_ ) = = 0 ) { <nl> + handle . offset ( ) = = data_block_handle_ . offset ( ) ) { <nl> / / second_level_iter is already constructed with this iterator , so <nl> / / no need to change anything <nl> } else { <nl> - InternalIterator * iter = state_ - > NewSecondaryIterator ( handle ) ; <nl> - data_block_handle_ . assign ( handle . data ( ) , handle . size ( ) ) ; <nl> + InternalIteratorBase < BlockHandle > * iter = <nl> + state_ - > NewSecondaryIterator ( handle ) ; <nl> + data_block_handle_ = handle ; <nl> SetSecondLevelIterator ( iter ) ; <nl> } <nl> } <nl> void TwoLevelIterator : : InitDataBlock ( ) { <nl> <nl> } / / namespace <nl> <nl> - InternalIterator * NewTwoLevelIterator ( TwoLevelIteratorState * state , <nl> - InternalIterator * first_level_iter ) { <nl> - return new TwoLevelIterator ( state , first_level_iter ) ; <nl> + InternalIteratorBase < BlockHandle > * NewTwoLevelIterator ( <nl> + TwoLevelIteratorState * state , <nl> + InternalIteratorBase < BlockHandle > * first_level_iter ) { <nl> + return new TwoLevelIndexIterator ( state , first_level_iter ) ; <nl> } <nl> } / / namespace rocksdb <nl> mmm a / table / two_level_iterator . h <nl> ppp b / table / two_level_iterator . h <nl> struct TwoLevelIteratorState { <nl> TwoLevelIteratorState ( ) { } <nl> <nl> virtual ~ TwoLevelIteratorState ( ) { } <nl> - virtual InternalIterator * NewSecondaryIterator ( const Slice & handle ) = 0 ; <nl> + virtual InternalIteratorBase < BlockHandle > * NewSecondaryIterator ( <nl> + const BlockHandle & handle ) = 0 ; <nl> } ; <nl> <nl> <nl> struct TwoLevelIteratorState { <nl> / / Uses a supplied function to convert an index_iter value into <nl> / / an iterator over the contents of the corresponding block . <nl> / / Note : this function expects first_level_iter was not created using the arena <nl> - extern InternalIterator * NewTwoLevelIterator ( <nl> - TwoLevelIteratorState * state , InternalIterator * first_level_iter ) ; <nl> + extern InternalIteratorBase < BlockHandle > * NewTwoLevelIterator ( <nl> + TwoLevelIteratorState * state , <nl> + InternalIteratorBase < BlockHandle > * first_level_iter ) ; <nl> <nl> } / / namespace rocksdb <nl> mmm a / util / coding . h <nl> ppp b / util / coding . h <nl> extern Slice GetLengthPrefixedSlice ( const char * data ) ; <nl> <nl> extern Slice GetSliceUntil ( Slice * slice , char delimiter ) ; <nl> <nl> + / / Borrowed from https : / / github . com / facebook / fbthrift / blob / 449a5f77f9f9bae72c9eb5e78093247eef185c04 / thrift / lib / cpp / util / VarintUtils - inl . h # L202 - L208 <nl> + constexpr inline uint64_t i64ToZigzag ( const int64_t l ) { <nl> + return ( static_cast < uint64_t > ( l ) < < 1 ) ^ static_cast < uint64_t > ( l > > 63 ) ; <nl> + } <nl> + inline int64_t zigzagToI64 ( uint64_t n ) { <nl> + return ( n > > 1 ) ^ - static_cast < int64_t > ( n & 1 ) ; <nl> + } <nl> + <nl> / / Pointer - based variants of GetVarint . . . These either store a value <nl> / / in * v and return a pointer just past the parsed value , or return <nl> / / nullptr on error . These routines only look at bytes in the range <nl> / / [ p . . limit - 1 ] <nl> extern const char * GetVarint32Ptr ( const char * p , const char * limit , uint32_t * v ) ; <nl> extern const char * GetVarint64Ptr ( const char * p , const char * limit , uint64_t * v ) ; <nl> + inline const char * GetVarsignedint64Ptr ( const char * p , const char * limit , <nl> + int64_t * value ) { <nl> + uint64_t u = 0 ; <nl> + const char * ret = GetVarint64Ptr ( p , limit , & u ) ; <nl> + * value = zigzagToI64 ( u ) ; <nl> + return ret ; <nl> + } <nl> <nl> / / Returns the length of the varint32 or varint64 encoding of " v " <nl> extern int VarintLength ( uint64_t v ) ; <nl> inline char * EncodeVarint64 ( char * dst , uint64_t v ) { <nl> } <nl> <nl> inline void PutVarint64 ( std : : string * dst , uint64_t v ) { <nl> - char buf [ 10 ] ; <nl> + char buf [ kMaxVarint64Length ] ; <nl> char * ptr = EncodeVarint64 ( buf , v ) ; <nl> dst - > append ( buf , static_cast < size_t > ( ptr - buf ) ) ; <nl> } <nl> <nl> + inline void PutVarsignedint64 ( std : : string * dst , int64_t v ) { <nl> + char buf [ kMaxVarint64Length ] ; <nl> + / / Using Zigzag format to convert signed to unsigned <nl> + char * ptr = EncodeVarint64 ( buf , i64ToZigzag ( v ) ) ; <nl> + dst - > append ( buf , static_cast < size_t > ( ptr - buf ) ) ; <nl> + } <nl> + <nl> inline void PutVarint64Varint64 ( std : : string * dst , uint64_t v1 , uint64_t v2 ) { <nl> char buf [ 20 ] ; <nl> char * ptr = EncodeVarint64 ( buf , v1 ) ; <nl> mmm a / util / testutil . cc <nl> ppp b / util / testutil . cc <nl> namespace rocksdb { <nl> namespace test { <nl> <nl> const uint32_t kDefaultFormatVersion = BlockBasedTableOptions ( ) . format_version ; <nl> - const uint32_t kLatestFormatVersion = 3u ; <nl> + const uint32_t kLatestFormatVersion = 4u ; <nl> <nl> Slice RandomString ( Random * rnd , int len , std : : string * dst ) { <nl> dst - > resize ( len ) ; <nl> mmm a / utilities / transactions / transaction_test . h <nl> ppp b / utilities / transactions / transaction_test . h <nl> class TransactionTestBase : public : : testing : : Test { <nl> if ( empty_wal ) { <nl> ASSERT_OK ( s ) ; <nl> } else { <nl> - / / Test that we can detect the WAL that is produced by an incompatbile <nl> + / / Test that we can detect the WAL that is produced by an incompatible <nl> / / WritePolicy and fail fast before mis - interpreting the WAL . <nl> ASSERT_TRUE ( s . IsNotSupported ( ) ) ; <nl> return ; <nl>
Index value delta encoding ( )
facebook/rocksdb
caf0f53a74ee2bf624c423d4764f4d7774a26f8b
2018-08-09T23:58:40Z
mmm a / dbms / include / DB / Columns / ColumnString . h <nl> ppp b / dbms / include / DB / Columns / ColumnString . h <nl> class ColumnString : public IColumn <nl> ColumnString * res_ = new ColumnString ; <nl> ColumnPtr res = res_ ; <nl> <nl> - res_ - > chars . resize ( length ) ; <nl> + res_ - > chars . resize ( nested_length ) ; <nl> memcpy ( & res_ - > chars [ 0 ] , & chars [ nested_offset ] , nested_length ) ; <nl> <nl> Offsets_t & res_offsets = res_ - > offsets ; <nl>
dbms : fixed error in prev . revision [ # CONV - 2944 ] .
ClickHouse/ClickHouse
a283ee9ad134bc743cb8e2b08cf08a7812ccb3ce
2013-05-05T16:18:25Z
new file mode 100644 <nl> index 0000000000 . . edb008fb40 <nl> mmm / dev / null <nl> ppp b / src / core / util / std / make_unique . hpp <nl> <nl> + / * Copyright © 2020 Apple Inc . All rights reserved . <nl> + * <nl> + * Use of this source code is governed by a BSD - 3 - clause license that can <nl> + * be found in the LICENSE . txt file or at https : / / opensource . org / licenses / BSD - 3 - Clause <nl> + * / <nl> + <nl> + # pragma once <nl> + <nl> + # include < memory > <nl> + <nl> + # if __cplusplus < = 201103L <nl> + <nl> + namespace std { <nl> + <nl> + template < typename T , typename . . . Args > <nl> + std : : unique_ptr < T > make_unique ( Args & & . . . args ) <nl> + { <nl> + return std : : unique_ptr < T > ( new T ( std : : forward < Args > ( args ) . . . ) ) ; <nl> + } <nl> + <nl> + } / / namespace std <nl> + <nl> + # endif <nl> mmm a / src / ml / neural_net / GrandCentralDispatchQueue . cpp <nl> ppp b / src / ml / neural_net / GrandCentralDispatchQueue . cpp <nl> <nl> # include < exception > <nl> # include < mutex > <nl> <nl> + # include < core / util / std / make_unique . hpp > <nl> + <nl> namespace turi { <nl> namespace neural_net { <nl> <nl> std : : unique_ptr < GrandCentralDispatchQueue > GrandCentralDispatchQueue : : CreateSeri <nl> const char * label ) <nl> { <nl> dispatch_queue_t impl = dispatch_queue_create ( label , DISPATCH_QUEUE_SERIAL ) ; <nl> - std : : unique_ptr < GrandCentralDispatchQueue > result ( new GrandCentralDispatchQueue ( impl ) ) ; <nl> + auto result = std : : make_unique < GrandCentralDispatchQueue > ( impl ) ; <nl> dispatch_release ( impl ) ; <nl> return result ; <nl> } <nl> mmm a / src / ml / neural_net / Image_Apple . mm <nl> ppp b / src / ml / neural_net / Image_Apple . mm <nl> <nl> <nl> # include < ml / neural_net / Image . hpp > <nl> <nl> + # include < core / util / std / make_unique . hpp > <nl> # include < ml / neural_net / CoreImageImage . hpp > <nl> <nl> namespace turi { <nl> <nl> / / static <nl> std : : unique_ptr < Image > Image : : CreateFromPath ( const std : : string & path ) <nl> { <nl> - return std : : unique_ptr < CoreImageImage > ( new CoreImageImage ( path ) ) ; <nl> + return std : : make_unique < CoreImageImage > ( path ) ; <nl> } <nl> <nl> Image : : ~ Image ( ) = default ; <nl> mmm a / src / ml / neural_net / PosixTaskQueue . cpp <nl> ppp b / src / ml / neural_net / PosixTaskQueue . cpp <nl> <nl> # include < ml / neural_net / PosixTaskQueue . hpp > <nl> <nl> # include < core / parallel / lambda_omp . hpp > <nl> + # include < core / util / std / make_unique . hpp > <nl> <nl> namespace turi { <nl> namespace neural_net { <nl> std : : shared_ptr < PosixTaskQueue > PosixTaskQueue : : GetGlobalConcurrentQueue ( ) { <nl> / / static <nl> std : : unique_ptr < PosixTaskQueue > PosixTaskQueue : : CreateSerialQueue ( const char * label ) <nl> { <nl> - return std : : unique_ptr < SerialPosixTaskQueue > ( new SerialPosixTaskQueue ( / * num_threads * / 1 ) ) ; <nl> + return std : : make_unique < SerialPosixTaskQueue > ( / * num_threads * / 1 ) ; <nl> } <nl> <nl> void PosixTaskQueue : : DispatchAsync ( std : : function < void ( ) > task ) { <nl> mmm a / src / ml / neural_net / combine_futures_subscriber . hpp <nl> ppp b / src / ml / neural_net / combine_futures_subscriber . hpp <nl> <nl> # include < memory > <nl> # include < queue > <nl> <nl> + # include < core / util / std / make_unique . hpp > <nl> # include < ml / neural_net / combine_base . hpp > <nl> <nl> namespace turi { <nl> class FuturesSubscriber : public Subscriber < T > { <nl> if ( completed_ ) return Demand : : None ( ) ; <nl> <nl> / / Wrap the value in a unique_ptr and fulfill the promise . <nl> - std : : unique_ptr < Input > input ( new Input ( std : : move ( element ) ) ) ; <nl> + auto input = std : : make_unique < Input > ( std : : move ( element ) ) ; <nl> promises_ . front ( ) . set_value ( std : : move ( input ) ) ; <nl> promises_ . pop ( ) ; <nl> return Demand : : None ( ) ; <nl>
Add std : : make_unique and update a small selection of recently written code to use it . ( )
apple/turicreate
49541d7d2ceb792ab5d2fdf51485db687fee532b
2020-07-15T17:29:48Z
mmm a / arangod / Agency / ActiveFailoverJob . cpp <nl> ppp b / arangod / Agency / ActiveFailoverJob . cpp <nl> bool ActiveFailoverJob : : start ( ) { <nl> <nl> std : : string newLeader = findBestFollower ( ) ; <nl> if ( newLeader . empty ( ) | | _server = = newLeader ) { <nl> - LOG_TOPIC ( INFO , Logger : : SUPERVISION ) < < " No server available , will retry job later " ; <nl> + LOG_TOPIC ( INFO , Logger : : SUPERVISION ) < < " No follower for fail - over available , will retry " ; <nl> return false ; / / job will retry later <nl> } <nl> LOG_TOPIC ( INFO , Logger : : SUPERVISION ) < < " Selected ' " < < newLeader < < " ' as leader " ; <nl> std : : string ActiveFailoverJob : : findBestFollower ( ) { <nl> trx - > add ( VPackValue ( " / " + Job : : agencyPrefix + asyncReplTransientPrefix ) ) ; <nl> } <nl> trans_ret_t res = _agent - > transient ( std : : move ( trx ) ) ; <nl> + if ( ! res . accepted ) { <nl> + LOG_TOPIC ( ERR , Logger : : SUPERVISION ) < < " could not read from transient while " <nl> + < < " determining follower ticks " ; <nl> + return " " ; <nl> + } <nl> + VPackSlice resp = res . result - > slice ( ) ; <nl> + if ( ! resp . isArray ( ) | | resp . length ( ) = = 0 ) { <nl> + LOG_TOPIC ( ERR , Logger : : SUPERVISION ) < < " no follower ticks in transient store " ; <nl> + return " " ; <nl> + } <nl> <nl> - if ( res . accepted ) { <nl> - VPackSlice resp = res . result - > slice ( ) ; <nl> - if ( ! resp . isArray ( ) | | resp . length ( ) = = 0 ) { <nl> - return " " ; <nl> + VPackSlice obj = resp . at ( 0 ) . get < std : : string > ( { Job : : agencyPrefix , std : : string ( " AsyncReplication " ) } ) ; <nl> + for ( VPackObjectIterator : : ObjectPair pair : VPackObjectIterator ( obj ) ) { <nl> + std : : string srvUUID = pair . key . copyString ( ) ; <nl> + bool isAvailable = std : : find ( healthy . begin ( ) , healthy . end ( ) , srvUUID ) ! = healthy . end ( ) ; <nl> + if ( ! isAvailable ) { <nl> + continue ; / / skip inaccessible servers <nl> } <nl> - VPackSlice obj = resp . at ( 0 ) . get < std : : string > ( { Job : : agencyPrefix , std : : string ( " AsyncReplication " ) } ) ; <nl> - for ( VPackObjectIterator : : ObjectPair pair : VPackObjectIterator ( obj ) ) { <nl> - std : : string srvUUID = pair . key . copyString ( ) ; <nl> - bool isAvailable = std : : find ( healthy . begin ( ) , healthy . end ( ) , srvUUID ) ! = healthy . end ( ) ; <nl> - if ( ! isAvailable ) { <nl> - continue ; / / skip inaccessible servers <nl> - } <nl> - TRI_ASSERT ( srvUUID ! = _server ) ; / / assumption : _server is unhealthy <nl> - <nl> - VPackSlice leader = pair . value . get ( " leader " ) ; / / broken leader <nl> - VPackSlice lastTick = pair . value . get ( " lastTick " ) ; <nl> - if ( leader . isString ( ) & & leader . isEqualString ( _server ) & & <nl> - lastTick . isNumber ( ) ) { <nl> - ticks . emplace_back ( std : : move ( srvUUID ) , lastTick . getUInt ( ) ) ; <nl> - } <nl> + TRI_ASSERT ( srvUUID ! = _server ) ; / / assumption : _server is unhealthy <nl> + <nl> + VPackSlice leader = pair . value . get ( " leader " ) ; / / broken leader <nl> + VPackSlice lastTick = pair . value . get ( " lastTick " ) ; <nl> + if ( leader . isString ( ) & & leader . isEqualString ( _server ) & & <nl> + lastTick . isNumber ( ) ) { <nl> + ticks . emplace_back ( std : : move ( srvUUID ) , lastTick . getUInt ( ) ) ; <nl> } <nl> } <nl> - } catch ( . . . ) { } <nl> + } catch ( basics : : Exception const & e ) { <nl> + LOG_TOPIC ( ERR , Logger : : SUPERVISION ) < < " could not determine follower : " < < e . message ( ) ; <nl> + } catch ( std : : exception const & e ) { <nl> + LOG_TOPIC ( ERR , Logger : : SUPERVISION ) < < " could not determine follower : " < < e . what ( ) ; <nl> + } catch ( . . . ) { <nl> + LOG_TOPIC ( ERR , Logger : : SUPERVISION ) < < " internal error while determining best follower " ; <nl> + } <nl> <nl> std : : sort ( ticks . begin ( ) , ticks . end ( ) , [ & ] ( ServerTick const & a , <nl> ServerTick const & b ) { <nl> std : : string ActiveFailoverJob : : findBestFollower ( ) { <nl> TRI_ASSERT ( ticks . size ( ) = = 1 | | ticks [ 0 ] . second > = ticks [ 1 ] . second ) ; <nl> return ticks [ 0 ] . first ; <nl> } <nl> + LOG_TOPIC ( ERR , Logger : : SUPERVISION ) < < " no follower ticks available " ; <nl> return " " ; / / fallback to any available server <nl> } <nl> mmm a / arangod / Scheduler / Scheduler . cpp <nl> ppp b / arangod / Scheduler / Scheduler . cpp <nl> bool Scheduler : : threadShouldStop ( double now ) { <nl> } <nl> <nl> void Scheduler : : startNewThread ( ) { <nl> + TRI_IF_FAILURE ( " Scheduler : : startNewThread " ) { <nl> + LOG_TOPIC ( WARN , Logger : : FIXME ) < < " Debug : preventing thread from starting " ; <nl> + THROW_ARANGO_EXCEPTION ( TRI_ERROR_DEBUG ) ; <nl> + } <nl> auto thread = new SchedulerThread ( shared_from_this ( ) , _ioContext . get ( ) ) ; <nl> if ( ! thread - > start ( ) ) { <nl> THROW_ARANGO_EXCEPTION_MESSAGE ( TRI_ERROR_FAILED , <nl> mmm a / tests / js / client / active - failover / basic . js <nl> ppp b / tests / js / client / active - failover / basic . js <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / DISCLAIMER <nl> / / / <nl> - / / / Copyright 2016 ArangoDB GmbH , Cologne , Germany <nl> - / / / Copyright 2014 triagens GmbH , Cologne , Germany <nl> + / / / Copyright 2018 ArangoDB GmbH , Cologne , Germany <nl> / / / <nl> / / / Licensed under the Apache License , Version 2 . 0 ( the " License " ) ; <nl> / / / you may not use this file except in compliance with the License . <nl> <nl> / / / <nl> / / / Copyright holder is ArangoDB GmbH , Cologne , Germany <nl> / / / <nl> - / / / @ author Andreas Streichardt <nl> + / / / @ author Simon Grätzer <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> const jsunity = require ( ' jsunity ' ) ; <nl> function ActiveFailoverSuite ( ) { <nl> return { <nl> setUp : function ( ) { <nl> let col = db . _create ( cname ) ; <nl> - print ( " < setUp > " ) ; <nl> assertTrue ( checkInSync ( currentLead , servers ) ) ; <nl> for ( let i = 0 ; i < 10000 ; i + + ) { <nl> col . save ( { attr : i } ) ; <nl> } <nl> - print ( " < / setUp > " ) ; <nl> } , <nl> <nl> tearDown : function ( ) { <nl> / / db . _collection ( cname ) . drop ( ) ; <nl> / / serverTeardown ( ) ; <nl> - print ( " < tearDown > " ) ; <nl> <nl> suspended . forEach ( arangod = > { <nl> print ( " Resuming : " , arangod . endpoint ) ; <nl> function ActiveFailoverSuite ( ) { <nl> let endpoints = getClusterEndpoints ( ) ; <nl> assertTrue ( endpoints . length = = = servers . length ) ; <nl> assertTrue ( endpoints [ 0 ] = = = currentLead ) ; <nl> - <nl> - print ( " < / tearDown > " ) ; <nl> } , <nl> <nl> / / Basic test if followers get in sync <nl>
Debug logs for ActiveFailover ( )
arangodb/arangodb
5837291495a12a9082b752f82a058a66bee3b4b2
2018-10-02T13:10:50Z
mmm a / hphp / hack / src / client / ide_service / clientIdeDaemon . ml <nl> ppp b / hphp / hack / src / client / ide_service / clientIdeDaemon . ml <nl> let handle_message : <nl> initialized_state . peak_changed_files_queue_size + 1 <nl> in <nl> let ctx = <nl> - Provider_context . empty <nl> - ~ tcopt : initialized_state . server_env . ServerEnv . tcopt <nl> + Provider_utils . ctx_from_server_env initialized_state . server_env <nl> in <nl> let state = <nl> Initialized <nl> mmm a / hphp / hack / src / hh_single_decl . ml <nl> ppp b / hphp / hack / src / hh_single_decl . ml <nl> let init root : Provider_context . t = <nl> } <nl> in <nl> Global_naming_options . set tcopt ; <nl> - let ctx = Provider_context . empty ~ tcopt in <nl> + let ctx = <nl> + Provider_context . empty_for_tool <nl> + ~ tcopt <nl> + ~ backend : Provider_backend . Shared_memory <nl> + in <nl> <nl> ( * Push local stacks here so we don ' t include shared memory in our timing . * ) <nl> File_provider . local_changes_push_stack ( ) ; <nl> mmm a / hphp / hack / src / hh_single_type_check . ml <nl> ppp b / hphp / hack / src / hh_single_type_check . ml <nl> let parse_name_and_decl popt files_contents = <nl> let ( parsed_files , files_info ) = parse_and_name popt files_contents in <nl> Relative_path . Map . iter parsed_files ( fun fn parsed_file - > <nl> Errors . run_in_context fn Errors . Decl ( fun ( ) - > <nl> - let ctx = Provider_context . empty ~ tcopt : popt in <nl> + let ctx = Provider_context . empty_for_test ~ tcopt : popt in <nl> Decl . name_and_declare_types_program <nl> ctx <nl> parsed_file . Parser_return . ast ) ) ; <nl> let handle_mode <nl> in <nl> let result = <nl> FfpAutocompleteService . auto_complete <nl> - ctx . Provider_context . tcopt <nl> + ctx <nl> file_text <nl> position <nl> ~ filter_by_token : true <nl> let decl_and_run_mode <nl> in <nl> Typing_deps . add_dependency_callback " get_debug_trace " get_debug_trace ) ; <nl> let ( errors , files_info ) = parse_name_and_decl popt to_decl in <nl> - let ctx = Provider_context . empty ~ tcopt in <nl> + let ctx = Provider_context . empty_for_test ~ tcopt in <nl> handle_mode <nl> mode <nl> files <nl> mmm a / hphp / hack / src / providers / provider_backend . mli <nl> ppp b / hphp / hack / src / providers / provider_backend . mli <nl> module Decl_cache : sig <nl> include module type of Lru_cache . Cache ( Decl_cache_entry ) <nl> end <nl> <nl> - type t = private <nl> + type t = <nl> | Shared_memory <nl> | Local_memory of { decl_cache : Decl_cache . t } <nl> - ( * In Decl_service , ' unit ' left for further expansion * ) <nl> | Decl_service of Decl_service_client . t <nl> <nl> val t_to_string : t - > string <nl> mmm a / hphp / hack / src / providers / provider_context . ml <nl> ppp b / hphp / hack / src / providers / provider_context . ml <nl> type t = { <nl> entries : entry Relative_path . Map . t ; <nl> } <nl> <nl> - let empty ~ tcopt = <nl> - ( * TODO : [ backend ] should be provided as a parameter . The backend should likely <nl> - live in the [ ServerEnv . env ] , along with the [ tcopt ] . * ) <nl> - let backend = Provider_backend . get ( ) in <nl> + let empty_for_tool ~ tcopt ~ backend = <nl> { tcopt ; backend ; entries = Relative_path . Map . empty } <nl> <nl> + let empty_for_worker ~ tcopt = <nl> + { <nl> + tcopt ; <nl> + backend = Provider_backend . Shared_memory ; <nl> + entries = Relative_path . Map . empty ; <nl> + } <nl> + <nl> + let empty_for_test ~ tcopt = <nl> + { <nl> + tcopt ; <nl> + backend = Provider_backend . Shared_memory ; <nl> + entries = Relative_path . Map . empty ; <nl> + } <nl> + <nl> + let empty_for_debugging ~ tcopt = <nl> + { <nl> + tcopt ; <nl> + backend = Provider_backend . Shared_memory ; <nl> + entries = Relative_path . Map . empty ; <nl> + } <nl> + <nl> let map_tcopt ( t : t ) ~ ( f : TypecheckerOptions . t - > TypecheckerOptions . t ) : t = <nl> { t with tcopt = f t . tcopt } <nl> <nl> mmm a / hphp / hack / src / providers / provider_context . mli <nl> ppp b / hphp / hack / src / providers / provider_context . mli <nl> type t = { <nl> entries : entry Relative_path . Map . t ; <nl> } <nl> <nl> - ( * * The empty context , denoting no delta from the current state of the world . * ) <nl> - val empty : tcopt : TypecheckerOptions . t - > t <nl> + ( * * The empty context , for use at the top - level of stand - alone tools which don ' t <nl> + have a [ ServerEnv . env ] . * ) <nl> + val empty_for_tool : <nl> + tcopt : TypecheckerOptions . t - > backend : Provider_backend . t - > t <nl> + <nl> + ( * * The empty context , for use with Multiworker workers . This assumes that the <nl> + backend is shared memory . We don ' t want to serialize and send the entire <nl> + [ ServerEnv . env ] to these workers because a [ ServerEnv . env ] contains large data <nl> + objects ( such as the forward naming table ) . * ) <nl> + val empty_for_worker : tcopt : TypecheckerOptions . t - > t <nl> + <nl> + ( * * The empty context , for use in tests , where there may not be a <nl> + [ ServerEnv . env ] available . * ) <nl> + val empty_for_test : tcopt : TypecheckerOptions . t - > t <nl> + <nl> + ( * * The empty context , for use in debugging aides in production code , where <nl> + there may not be a [ ServerEnv . env ] available . * ) <nl> + val empty_for_debugging : tcopt : TypecheckerOptions . t - > t <nl> <nl> ( * * Update the [ TypecheckerOptions . t ] contained within the [ t ] . * ) <nl> val map_tcopt : t - > f : ( TypecheckerOptions . t - > TypecheckerOptions . t ) - > t <nl> mmm a / hphp / hack / src / providers / provider_utils . ml <nl> ppp b / hphp / hack / src / providers / provider_utils . ml <nl> module Compute_tast_and_errors = struct <nl> end <nl> <nl> let ctx_from_server_env ( env : ServerEnv . env ) : Provider_context . t = <nl> - Provider_context . empty ~ tcopt : env . ServerEnv . tcopt <nl> + { <nl> + Provider_context . tcopt = env . ServerEnv . tcopt ; <nl> + ( * TODO : backend should be stored in [ env ] . * ) <nl> + backend = Provider_backend . get ( ) ; <nl> + entries = Relative_path . Map . empty ; <nl> + } <nl> <nl> let respect_but_quarantine_unsaved_changes <nl> ~ ( ctx : Provider_context . t ) ~ ( f : unit - > ' a ) : ' a = <nl> mmm a / hphp / hack / src / server / cstSearchService . ml <nl> ppp b / hphp / hack / src / server / cstSearchService . ml <nl> let go <nl> ( Relative_path . t * result ) list = <nl> List . fold inputs ~ init : acc ~ f : ( fun acc ( path , pattern ) - > <nl> try <nl> - let ctx = Provider_context . empty ~ tcopt in <nl> + let ctx = Provider_context . empty_for_worker ~ tcopt in <nl> let ( ctx , entry ) = <nl> Provider_utils . update_context <nl> ~ ctx <nl> mmm a / hphp / hack / src / server / ffpAutocompleteService . ml <nl> ppp b / hphp / hack / src / server / ffpAutocompleteService . ml <nl> let handle_empty_autocomplete ( pos : File_content . position ) file_content = <nl> file_content ) <nl> <nl> let auto_complete <nl> - ( tcopt : TypecheckerOptions . t ) <nl> + ( ctx : Provider_context . t ) <nl> ( file_content : string ) <nl> ( pos : File_content . position ) <nl> ~ ( filter_by_token : bool ) <nl> let auto_complete <nl> | > List . map ~ f : ( make_keyword_completion replace_pos ) <nl> in <nl> let type_based_completions = <nl> - FfpAutocompleteTypeCheck . run <nl> - ~ context <nl> - ~ file_content <nl> - ~ stub <nl> - ~ pos <nl> - ~ tcopt <nl> - ~ sienv <nl> + FfpAutocompleteTypeCheck . run ~ context ~ file_content ~ stub ~ pos ~ ctx ~ sienv <nl> in <nl> let global_completions = <nl> FfpAutocompleteGlobals . get_globals <nl> mmm a / hphp / hack / src / server / ffpAutocompleteTypeCheck . ml <nl> ppp b / hphp / hack / src / server / ffpAutocompleteTypeCheck . ml <nl> let run <nl> ~ ( file_content : string ) <nl> ~ ( stub : string ) <nl> ~ ( pos : File_content . position ) <nl> - ~ ( tcopt : TypecheckerOptions . t ) <nl> + ~ ( ctx : Provider_context . t ) <nl> ~ ( sienv : SearchUtils . si_env ) : <nl> AutocompleteTypes . complete_autocomplete_result list = <nl> if <nl> let run <nl> then <nl> let ( ctx , entry ) = <nl> Provider_utils . update_context <nl> - ~ ctx : ( Provider_context . empty tcopt ) <nl> + ~ ctx <nl> ~ path : ( Relative_path . create_detect_prefix " " ) <nl> ~ file_input : ( ServerCommandTypes . FileContent file_content ) <nl> in <nl> mmm a / hphp / hack / src / server / serverAiInit . ml <nl> ppp b / hphp / hack / src / server / serverAiInit . ml <nl> let ai_check <nl> let errorl = <nl> Ai . go <nl> ( fun tcopt path file_info - > <nl> - let ctx = Provider_context . empty ~ tcopt in <nl> + let ctx = <nl> + Provider_context . empty_for_tool <nl> + ~ tcopt <nl> + ~ backend : Provider_backend . Shared_memory <nl> + in <nl> Typing_check_utils . type_file ctx path file_info ) <nl> genv . workers <nl> files_info <nl> mmm a / hphp / hack / src / server / serverGlobalInference . ml <nl> ppp b / hphp / hack / src / server / serverGlobalInference . ml <nl> module Mode_merge = struct <nl> Hh_logger . log " GI : Merging % d files " ( Array . length subgraphs ) ; <nl> let env = <nl> Typing_env . empty <nl> - ( Provider_context . empty ~ tcopt : GlobalOptions . default ) <nl> + ( Provider_context . empty_for_tool <nl> + ~ tcopt : GlobalOptions . default <nl> + ~ backend : Provider_backend . Shared_memory ) <nl> ( Relative_path . from_root " " ) <nl> ~ droot : None <nl> in <nl> mmm a / hphp / hack / src / server / serverRefactor . ml <nl> ppp b / hphp / hack / src / server / serverRefactor . ml <nl> let get_call_signature_for_wrap ( func_decl : Full_fidelity_positioned_syntax . t ) <nl> } ) <nl> <nl> ( * Produce a " deprecated " version of the old function so that calls to it can be rerouted * ) <nl> - let get_deprecated_wrapper_patch ~ filename ~ definition ~ tcopt new_name = <nl> + let get_deprecated_wrapper_patch ~ filename ~ definition ~ ctx new_name = <nl> SymbolDefinition . ( <nl> Full_fidelity_positioned_syntax . ( <nl> Option . Monad_infix . ( <nl> let get_deprecated_wrapper_patch ~ filename ~ definition ~ tcopt new_name = <nl> let col_start = col_start_plus1 - 1 in <nl> let entry = <nl> Provider_utils . get_entry_VOLATILE <nl> - ~ ctx : ( Provider_context . empty tcopt ) <nl> + ~ ctx <nl> ~ path : ( Relative_path . create_detect_prefix filename ) <nl> in <nl> let cst_node = <nl> let go ctx action genv env = <nl> match action with <nl> | FunctionRename { filename ; definition ; _ } <nl> | MethodRename { filename ; definition ; _ } - > <nl> - get_deprecated_wrapper_patch <nl> - ~ filename <nl> - ~ definition <nl> - ~ tcopt : env . tcopt <nl> - new_name <nl> + get_deprecated_wrapper_patch ~ filename ~ definition ~ ctx new_name <nl> | ClassRename _ <nl> | ClassConstRename _ <nl> | LocalVarRename _ - > <nl> mmm a / hphp / hack / src / server / serverRpc . ml <nl> ppp b / hphp / hack / src / server / serverRpc . ml <nl> let handle : type a . genv - > env - > is_stale : bool - > a t - > env * a = <nl> last_recheck_stats ; <nl> } ) <nl> | STATUS_SINGLE ( fn , max_errors ) - > <nl> - ( env , take_max_errors ( ServerStatusSingle . go fn env . tcopt ) max_errors ) <nl> + let ctx = Provider_utils . ctx_from_server_env env in <nl> + ( env , take_max_errors ( ServerStatusSingle . go fn ctx ) max_errors ) <nl> | COVERAGE_LEVELS ( path , file_input ) - > <nl> let path = Relative_path . create_detect_prefix path in <nl> let ( ctx , entry ) = <nl> let handle : type a . genv - > env - > is_stale : bool - > a t - > env * a = <nl> let offset = File_content . get_offset content pos in <nl> ( * will raise if out of bounds * ) <nl> let char_at_pos = File_content . get_char content offset in <nl> + let ctx = Provider_utils . ctx_from_server_env env in <nl> let result = <nl> FfpAutocompleteService . auto_complete <nl> - env . tcopt <nl> + ctx <nl> content <nl> pos <nl> ~ filter_by_token : false <nl> mmm a / hphp / hack / src / server / serverStatusSingle . ml <nl> ppp b / hphp / hack / src / server / serverStatusSingle . ml <nl> <nl> open Hh_core <nl> open ServerCommandTypes <nl> <nl> - let go file_input tcopt = <nl> - let ctx = Provider_context . empty ~ tcopt in <nl> + let go file_input ctx = <nl> let path = <nl> match file_input with <nl> | FileName file_name - > Relative_path . create_detect_prefix file_name <nl> mmm a / hphp / hack / src / typing / tast_env . ml <nl> ppp b / hphp / hack / src / typing / tast_env . ml <nl> let def_env ctx d = <nl> | Class x - > class_env ctx x <nl> | Typedef x - > typedef_env ctx x <nl> | Constant x - > gconst_env ctx x <nl> - | RecordDef _ - > empty ( Provider_context . empty ~ tcopt : GlobalOptions . default ) <nl> + | RecordDef _ - > empty ctx <nl> ( * TODO T44306013 * ) <nl> ( * The following nodes are included in the TAST , but are not typechecked . <nl> * However , we need to return an env here so for now create an empty env using <nl> let def_env ctx d = <nl> | NamespaceUse _ <nl> | SetNamespaceEnv _ <nl> | FileAttributes _ - > <nl> - empty ( Provider_context . empty ~ tcopt : GlobalOptions . default ) <nl> + empty ctx <nl> <nl> let set_ppl_lambda env = { env with Typing_env_types . inside_ppl_class = false } <nl> <nl> mmm a / hphp / hack / src / typing / typing_check_service . ml <nl> ppp b / hphp / hack / src / typing / typing_check_service . ml <nl> let load_and_process_files <nl> Sys_utils . set_signal <nl> Sys . sigusr1 <nl> ( Sys . Signal_handle Typing . debug_print_last_pos ) ; <nl> - let ctx = Provider_context . empty ~ tcopt : opts in <nl> + let ctx = Provider_context . empty_for_worker ~ tcopt : opts in <nl> process_files dynamic_view_files ctx errors progress ~ memory_cap ~ check_info <nl> <nl> ( * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ) <nl> let go_with_interrupt <nl> ( Errors . t , Delegate . state , Telemetry . t , ' a ) job_result = <nl> let fnl = List . map fnl ~ f : ( fun path - > Check { path ; deferred_count = 0 } ) in <nl> Mocking . with_test_mocking fnl @ @ fun fnl - > <nl> - let ctx = Provider_context . empty ~ tcopt : opts in <nl> + let ctx = Provider_context . empty_for_worker ~ tcopt : opts in <nl> let result = <nl> if should_process_sequentially opts fnl then ( <nl> Hh_logger . log " Type checking service will process files sequentially " ; <nl> mmm a / hphp / hack / src / typing / typing_log . ml <nl> ppp b / hphp / hack / src / typing / typing_log . ml <nl> let indentEnv ? ( color = Normal Yellow ) message f = <nl> let lastenv = <nl> ref <nl> ( Env . empty <nl> - ( Provider_context . empty ~ tcopt : TypecheckerOptions . default ) <nl> + ( Provider_context . empty_for_debugging ~ tcopt : TypecheckerOptions . default ) <nl> Relative_path . default <nl> None ) <nl> <nl> mmm a / hphp / hack / test / integration / symbol_index_test . ml <nl> ppp b / hphp / hack / test / integration / symbol_index_test . ml <nl> let test_sqlite_plus_local ( harness : Test_harness . t ) : bool = <nl> ] <nl> in <nl> let env = ServerEnvBuild . make_env ServerConfig . default_config in <nl> - let ctx = Provider_context . empty ~ tcopt : env . ServerEnv . tcopt in <nl> + let ctx = Provider_utils . ctx_from_server_env env in <nl> let sienv = SymbolIndex . update_files ~ ctx ~ sienv ~ paths : changelist in <nl> let n = LocalSearchService . count_local_fileinfos sienv in <nl> Hh_logger . log " Added back ; local search service now contains % d files " n ; <nl> mmm a / hphp / hack / test / integration_ml / integration_test_base . ml <nl> ppp b / hphp / hack / test / integration_ml / integration_test_base . ml <nl> let run_loop_once : <nl> ( * Always pick up disk changes in tests immediately * ) <nl> let env = ServerEnv . { env with last_notifier_check_time = 0 . 0 } in <nl> let env = ServerMain . serve_one_iteration genv env client_provider in <nl> - let ctx = Provider_context . empty ~ tcopt : env . ServerEnv . tcopt in <nl> + let ctx = Provider_utils . ctx_from_server_env env in <nl> let env = <nl> { <nl> env with <nl> mmm a / hphp / hack / test / unit / server_tests . ml <nl> ppp b / hphp / hack / test / unit / server_tests . ml <nl> let server_setup_for_deferral_tests ( ) = <nl> two computations : <nl> - a declaration of \ Bar <nl> - a ( deferred ) type check of \ Foo * ) <nl> - let ctx = Provider_context . empty ~ tcopt : ( Global_naming_options . get ( ) ) in <nl> + let ctx = <nl> + Provider_context . empty_for_test ~ tcopt : ( Global_naming_options . get ( ) ) <nl> + in <nl> ( ctx , foo_path , foo_contents ) <nl> <nl> ( * In this test , we wish to establish that we enable deferring type checking <nl> let test_compute_tast_counting ( ) = <nl> Provider_backend . set_shared_memory_backend ( ) ) <nl> ~ do_ : ( fun ( ) - > <nl> Parser_options_provider . set ParserOptions . default ; <nl> - let ctx = Provider_context . empty ~ tcopt : TypecheckerOptions . default in <nl> + let ctx = <nl> + Provider_context . empty_for_tool <nl> + ~ tcopt : TypecheckerOptions . default <nl> + ~ backend : ( Provider_backend . get ( ) ) <nl> + in <nl> let ( ctx , entry ) = Provider_utils . update_context ctx path file_input in <nl> let { Provider_utils . Compute_tast_and_errors . telemetry ; _ } = <nl> Provider_utils . compute_tast_and_errors_unquarantined ~ ctx ~ entry <nl> mmm a / hphp / hack / test / unit / typing / typeSimplifierTest . ml <nl> ppp b / hphp / hack / test / unit / typing / typeSimplifierTest . ml <nl> end = struct <nl> let ( ) = Typing_subtype . set_fun_refs ( ) <nl> <nl> let dummy_env = <nl> - let ctx = Provider_context . empty ~ tcopt : TypecheckerOptions . default in <nl> + let ctx = <nl> + Provider_context . empty_for_test ~ tcopt : TypecheckerOptions . default <nl> + in <nl> let env = Env . empty ctx Relative_path . default ~ droot : None in <nl> let env = Env . set_log_level env " show " 2 in <nl> env <nl>
Audit every call site of ` Provider_context . empty ` and provide justification
facebook/hhvm
ac308dfe796c8dcec170b27aa3b5b9c95216f0af
2020-02-10T23:33:30Z
mmm a / drivers / nrex / regex . cpp <nl> ppp b / drivers / nrex / regex . cpp <nl> void RegEx : : _bind_methods ( ) { <nl> ObjectTypeDB : : bind_method ( _MD ( " is_valid " ) , & RegEx : : is_valid ) ; <nl> ObjectTypeDB : : bind_method ( _MD ( " get_capture_count " ) , & RegEx : : get_capture_count ) ; <nl> ObjectTypeDB : : bind_method ( _MD ( " get_capture " , " capture " ) , & RegEx : : get_capture ) ; <nl> + ObjectTypeDB : : bind_method ( _MD ( " get_capture_start " , " capture " ) , & RegEx : : get_capture_start ) ; <nl> ObjectTypeDB : : bind_method ( _MD ( " get_captures " ) , & RegEx : : _bind_get_captures ) ; <nl> <nl> } ; <nl> String RegEx : : get_capture ( int capture ) const { <nl> <nl> } <nl> <nl> + int RegEx : : get_capture_start ( int capture ) const { <nl> + <nl> + ERR_FAIL_COND_V ( get_capture_count ( ) < = capture , - 1 ) ; <nl> + <nl> + return captures [ capture ] . start ; <nl> + <nl> + } <nl> + <nl> Error RegEx : : compile ( const String & p_pattern , int capture ) { <nl> <nl> clear ( ) ; <nl> mmm a / drivers / nrex / regex . h <nl> ppp b / drivers / nrex / regex . h <nl> class RegEx : public Reference { <nl> void clear ( ) ; <nl> bool is_valid ( ) const ; <nl> int get_capture_count ( ) const ; <nl> + int get_capture_start ( int capture ) const ; <nl> String get_capture ( int capture ) const ; <nl> Error compile ( const String & p_pattern , int capture = 9 ) ; <nl> int find ( const String & p_text , int p_start = 0 , int p_end = - 1 ) const ; <nl>
Merge pull request from StraToN / regex_get_capture_start
godotengine/godot
de6d6633ec96ee90afb3074be79c0ad6055ec8eb
2016-02-12T09:49:11Z
mmm a / cocos / ui / UILoadingBar . cpp <nl> ppp b / cocos / ui / UILoadingBar . cpp <nl> IMPLEMENT_CLASS_GUI_INFO ( LoadingBar ) <nl> <nl> LoadingBar : : LoadingBar ( ) : <nl> _direction ( Direction : : LEFT ) , <nl> - _percent ( 100 ) , <nl> + _percent ( 100 . 0 ) , <nl> _totalLength ( 0 ) , <nl> _barRenderer ( nullptr ) , <nl> _renderBarTexType ( TextureResType : : LOCAL ) , <nl> LoadingBar * LoadingBar : : create ( ) <nl> return nullptr ; <nl> } <nl> <nl> - LoadingBar * LoadingBar : : create ( const std : : string & textureName , int percentage ) <nl> + LoadingBar * LoadingBar : : create ( const std : : string & textureName , float percentage ) <nl> { <nl> LoadingBar * widget = new LoadingBar ; <nl> if ( widget & & widget - > init ( ) ) { <nl> const Rect & LoadingBar : : getCapInsets ( ) <nl> return _capInsets ; <nl> } <nl> <nl> - void LoadingBar : : setPercent ( int percent ) <nl> + void LoadingBar : : setPercent ( float percent ) <nl> { <nl> if ( percent < 0 | | percent > 100 ) <nl> { <nl> void LoadingBar : : setPercent ( int percent ) <nl> } <nl> } <nl> <nl> - int LoadingBar : : getPercent ( ) <nl> + float LoadingBar : : getPercent ( ) <nl> { <nl> return _percent ; <nl> } <nl> mmm a / cocos / ui / UILoadingBar . h <nl> ppp b / cocos / ui / UILoadingBar . h <nl> class LoadingBar : public Widget <nl> / * * <nl> * create a LoadingBar with a texture and a percentage <nl> * * / <nl> - static LoadingBar * create ( const std : : string & textureName , int percentage = 0 ) ; <nl> + static LoadingBar * create ( const std : : string & textureName , float percentage = 0 ) ; <nl> <nl> / * * <nl> * Changes the progress direction of loadingbar . <nl> class LoadingBar : public Widget <nl> * <nl> * @ param percent percent value from 1 to 100 . <nl> * / <nl> - void setPercent ( int percent ) ; <nl> + void setPercent ( float percent ) ; <nl> <nl> / * * <nl> * Gets the progress direction of loadingbar . <nl> * <nl> * @ return percent percent value from 1 to 100 . <nl> * / <nl> - int getPercent ( ) ; <nl> + float getPercent ( ) ; <nl> <nl> / * * <nl> * Sets if loadingbar is using scale9 renderer . <nl> class LoadingBar : public Widget <nl> virtual void adaptRenderers ( ) override ; <nl> protected : <nl> Direction _direction ; <nl> - int _percent ; <nl> + float _percent ; <nl> float _totalLength ; <nl> Node * _barRenderer ; <nl> TextureResType _renderBarTexType ; <nl>
closed , change percentage from int to float
cocos2d/cocos2d-x
7db02fc0e99417375b0c0263b6029a4f4944c1f7
2014-05-13T02:34:08Z
mmm a / infra / testing / builders . pyl <nl> ppp b / infra / testing / builders . pyl <nl> <nl> # Clusterfuzz . <nl> ' V8 NumFuzz ' : { <nl> ' swarming_task_attrs ' : { <nl> - ' expiration ' : 14400 , <nl> - ' hard_timeout ' : 3600 , <nl> + ' expiration ' : 13800 , <nl> + ' hard_timeout ' : 4200 , <nl> ' priority ' : 35 , <nl> } , <nl> ' tests ' : [ <nl> <nl> } , <nl> ' V8 NumFuzz - TSAN ' : { <nl> ' swarming_task_attrs ' : { <nl> - ' expiration ' : 14400 , <nl> - ' hard_timeout ' : 3600 , <nl> + ' expiration ' : 13800 , <nl> + ' hard_timeout ' : 4200 , <nl> ' priority ' : 35 , <nl> } , <nl> ' tests ' : [ <nl> <nl> } , <nl> ' V8 NumFuzz - debug ' : { <nl> ' swarming_task_attrs ' : { <nl> - ' expiration ' : 14400 , <nl> - ' hard_timeout ' : 3600 , <nl> + ' expiration ' : 13800 , <nl> + ' hard_timeout ' : 4200 , <nl> ' priority ' : 35 , <nl> } , <nl> ' tests ' : [ <nl>
Extend timeout for numfuzz by 10 minutes
v8/v8
8e18d29ee619388d06752c9c33612675843cb714
2019-04-11T08:27:15Z
mmm a / tensorflow / python / compat / compat . py <nl> ppp b / tensorflow / python / compat / compat . py <nl> <nl> # This value changes every day with an automatic CL . It can be modified in code <nl> # via ` forward_compatibility_horizon ( ) ` or with the environment variable <nl> # TF_FORWARD_COMPATIBILITY_DELTA_DAYS , which is added to the compatibility date . <nl> - _FORWARD_COMPATIBILITY_HORIZON = datetime . date ( 2020 , 11 , 12 ) <nl> + _FORWARD_COMPATIBILITY_HORIZON = datetime . date ( 2020 , 11 , 13 ) <nl> _FORWARD_COMPATIBILITY_DELTA_DAYS_VAR_NAME = " TF_FORWARD_COMPATIBILITY_DELTA_DAYS " <nl> _FORWARD_COMPATIBILITY_DATE_NUMBER = None <nl> <nl>
compat : Update forward compatibility horizon to 2020 - 11 - 13
tensorflow/tensorflow
70197850e6ab2df07ccb2c3463b1912c087255eb
2020-11-13T09:15:33Z
mmm a / modules / planning / conf / planning_config . pb . txt <nl> ppp b / modules / planning / conf / planning_config . pb . txt <nl> em_planner_config { <nl> obstacle_collision_distance : 0 . 5 <nl> obstacle_risk_distance : 2 . 0 <nl> obstacle_collision_cost : 1e6 <nl> - path_l_cost : 1e1 <nl> + path_l_cost : 5e1 <nl> path_dl_cost : 1e5 <nl> path_ddl_cost : 1e4 <nl> } <nl> mmm a / modules / planning / tasks / dp_poly_path / dp_road_graph . cc <nl> ppp b / modules / planning / tasks / dp_poly_path / dp_road_graph . cc <nl> bool DPRoadGraph : : GenerateMinCostPath ( <nl> CHECK ( min_cost_path ! = nullptr ) ; <nl> <nl> std : : vector < std : : vector < common : : SLPoint > > path_waypoints ; <nl> - if ( ! SamplePathWaypoints ( init_point_ , & path_waypoints ) ) { <nl> + if ( ! SamplePathWaypoints ( init_point_ , & path_waypoints ) | | <nl> + path_waypoints . size ( ) < 2 ) { <nl> AERROR < < " Fail to sample path waypoints ! " ; <nl> return false ; <nl> } <nl> bool DPRoadGraph : : GenerateMinCostPath ( <nl> init_sl_point_ ) ; <nl> <nl> std : : vector < std : : vector < DPRoadGraphNode > > graph_nodes ( path_waypoints . size ( ) ) ; <nl> + if ( graph_nodes . size ( ) < 2 ) { <nl> + AERROR < < " Too few graph_nodes . " ; <nl> + return false ; <nl> + } <nl> graph_nodes [ 0 ] . emplace_back ( init_sl_point_ , nullptr , 0 . 0 ) ; <nl> <nl> for ( std : : size_t level = 1 ; level < path_waypoints . size ( ) ; + + level ) { <nl> bool DPRoadGraph : : SamplePathWaypoints ( <nl> double left_width = 0 . 0 ; <nl> double right_width = 0 . 0 ; <nl> reference_line_ . GetLaneWidth ( s , & left_width , & right_width ) ; <nl> + <nl> + constexpr double kBoundaryBuff = 0 . 10 ; <nl> const auto & vehicle_config = <nl> common : : VehicleConfigHelper : : instance ( ) - > GetConfig ( ) ; <nl> const double half_adc_width = vehicle_config . vehicle_param ( ) . width ( ) / 2 . 0 ; <nl> - const double eff_right_width = right_width - half_adc_width ; <nl> - const double eff_left_width = left_width - half_adc_width ; <nl> + const double eff_right_width = right_width - half_adc_width - kBoundaryBuff ; <nl> + const double eff_left_width = left_width - half_adc_width - kBoundaryBuff ; <nl> <nl> const double sample_right_boundary = <nl> std : : fmin ( - eff_right_width , init_sl_point_ . l ( ) ) ; <nl> bool DPRoadGraph : : SamplePathWaypoints ( <nl> common : : util : : uniform_slice ( sample_right_boundary , sample_left_boundary , <nl> config_ . sample_points_num_each_level ( ) - 1 , <nl> & sample_l ) ; <nl> - for ( double l : sample_l ) { <nl> - level_points . emplace_back ( common : : util : : MakeSLPoint ( s , l ) ) ; <nl> + for ( uint8_t j = 0 ; j < sample_l . size ( ) ; + + j ) { <nl> + const double l = sample_l [ j ] ; <nl> + <nl> + if ( j % 2 = = 0 | | total_length - accumulated_s < level_distance ) { <nl> + level_points . emplace_back ( common : : util : : MakeSLPoint ( s , l ) ) ; <nl> + } else { <nl> + constexpr double kResonateDistance = 1 . 0 ; <nl> + level_points . emplace_back ( common : : util : : MakeSLPoint ( <nl> + std : : fmin ( total_length , s + kResonateDistance ) , l ) ) ; <nl> + } <nl> } <nl> if ( ! level_points . empty ( ) ) { <nl> points - > emplace_back ( level_points ) ; <nl> mmm a / modules / planning / testdata / sunnyvale_loop_test / result_follow_01_0 . pb . txt <nl> ppp b / modules / planning / testdata / sunnyvale_loop_test / result_follow_01_0 . pb . txt <nl> decision { <nl> follow { <nl> distance_s : - 14 . 199999809265137 <nl> fence_point { <nl> - x : 587269 . 62553199858 <nl> - y : 4140986 . 4160825522 <nl> + x : 587269 . 62439126265 <nl> + y : 4140986 . 4128284273 <nl> z : 0 <nl> } <nl> - fence_heading : - 1 . 9078030651813802 <nl> + fence_heading : - 1 . 9078132104638457 <nl> } <nl> } <nl> } <nl> mmm a / modules / planning / testdata / sunnyvale_loop_test / result_follow_03_0 . pb . txt <nl> ppp b / modules / planning / testdata / sunnyvale_loop_test / result_follow_03_0 . pb . txt <nl> decision { <nl> follow { <nl> distance_s : - 10 <nl> fence_point { <nl> - x : 587256 . 83261690242 <nl> - y : 4140940 . 2422684487 <nl> + x : 587256 . 86205541564 <nl> + y : 4140940 . 3301986544 <nl> z : 0 <nl> } <nl> - fence_heading : - 1 . 8941558956607674 <nl> + fence_heading : - 1 . 8926238009119705 <nl> } <nl> } <nl> } <nl> decision { <nl> follow { <nl> distance_s : - 10 <nl> fence_point { <nl> - x : 587256 . 81707161583 <nl> - y : 4140940 . 1958360686 <nl> + x : 587256 . 84881903208 <nl> + y : 4140940 . 2906627608 <nl> z : 0 <nl> } <nl> - fence_heading : - 1 . 8949649328472515 <nl> + fence_heading : - 1 . 8933126738044315 <nl> } <nl> } <nl> } <nl>
Planning : introduced mirror sampling points , adjusted dl cost in dp path based on road test .
ApolloAuto/apollo
334808ae8424cd0c453e0ebd51713d426feb8835
2017-12-07T05:11:12Z
mmm a / modules / monitor / hardware / resource_monitor . cc <nl> ppp b / modules / monitor / hardware / resource_monitor . cc <nl> float GetCPUUsage ( const int pid , const std : : string & process_name , <nl> if ( prev_jiffies = = 0 ) { <nl> return 0 . 0 ; <nl> } <nl> - return static_cast < float > ( 100 . 0 * ( ( jiffies - prev_jiffies ) / hertz / <nl> - FLAGS_resource_monitor_interval ) ) ; <nl> + return 100 . 0f * ( static_cast < float > ( jiffies - prev_jiffies ) / hertz / <nl> + FLAGS_resource_monitor_interval ) ; <nl> } <nl> <nl> } / / namespace <nl> mmm a / modules / monitor / software / latency_monitor . cc <nl> ppp b / modules / monitor / software / latency_monitor . cc <nl> void LatencyMonitor : : ValidateMaxLatency ( ) { <nl> <nl> for ( const auto & latency : <nl> latency_report_ . latency_tracks ( ) . module_latency ( ) ) { <nl> - if ( latency . module_name ( ) = = name & & <nl> + if ( latency . module_name ( ) = = config . name ( ) & & <nl> latency . module_stat ( ) . aver_duration ( ) > <nl> config . max_latency_allowed ( ) ) { <nl> / / send out alert <nl> void LatencyMonitor : : ValidateMaxLatency ( ) { <nl> ComponentStatus : : WARN , <nl> absl : : StrCat ( config . name ( ) , " has average latency " , <nl> latency . module_stat ( ) . aver_duration ( ) , <nl> - " bigger than " , config . max_latency_allowed ( ) ) , <nl> + " > " , config . max_latency_allowed ( ) ) , <nl> status ) ; <nl> } <nl> } <nl>
paladin : a couple of minor bug fixes ( )
ApolloAuto/apollo
0e98debed0b5ba91c7785e6cf9cad941cd44e07d
2019-11-27T20:30:16Z
mmm a / hphp / compiler / package . cpp <nl> ppp b / hphp / compiler / package . cpp <nl> bool Package : : parseImpl ( const std : : string * fileName ) { <nl> } <nl> } <nl> <nl> + auto report = [ & ] ( int lines ) { <nl> + struct stat fst ; <nl> + / / @ lint - ignore HOWTOEVEN1 <nl> + stat ( fullPath . c_str ( ) , & fst ) ; <nl> + <nl> + Lock lock ( m_mutex ) ; <nl> + m_lineCount + = lines ; <nl> + m_charCount + = fst . st_size ; <nl> + if ( ! m_extraStaticFiles . count ( * fileName ) & & <nl> + ! m_discoveredStaticFiles . count ( * fileName ) ) { <nl> + if ( Option : : CachePHPFile ) { <nl> + m_discoveredStaticFiles [ * fileName ] = fullPath ; <nl> + } else { <nl> + m_discoveredStaticFiles [ * fileName ] = " " ; <nl> + } <nl> + } <nl> + } ; <nl> + <nl> if ( ( RuntimeOption : : EvalHackCompilerDefault & & <nl> ! RuntimeOption : : EvalHackCompilerCommand . empty ( ) ) | | <nl> RuntimeOption : : EvalPHP7CompilerEnabled ) { <nl> bool Package : : parseImpl ( const std : : string * fileName ) { <nl> content . data ( ) , content . size ( ) , fileName - > c_str ( ) , md5 ) ) { <nl> try { <nl> if ( auto ue = uc - > compile ( m_ar - > getParseOnDemandCallBacks ( ) ) ) { <nl> - Lock lock ( m_ar - > getMutex ( ) ) ; <nl> - m_ar - > addHhasFile ( std : : move ( ue ) ) ; <nl> + m_ar - > lock ( ) - > addHhasFile ( std : : move ( ue ) ) ; <nl> + report ( 0 ) ; <nl> return true ; <nl> } else { <nl> Logger : : Error ( <nl> bool Package : : parseImpl ( const std : : string * fileName ) { <nl> return false ; <nl> } <nl> <nl> - struct stat fst ; <nl> - stat ( fullPath . c_str ( ) , & fst ) ; <nl> - <nl> - Lock lock ( m_mutex ) ; <nl> - m_lineCount + = lines ; <nl> - m_charCount + = fst . st_size ; <nl> - if ( ! m_extraStaticFiles . count ( * fileName ) & & <nl> - ! m_discoveredStaticFiles . count ( * fileName ) ) { <nl> - if ( Option : : CachePHPFile ) { <nl> - m_discoveredStaticFiles [ * fileName ] = fullPath ; <nl> - } else { <nl> - m_discoveredStaticFiles [ * fileName ] = " " ; <nl> - } <nl> - } <nl> + report ( lines ) ; <nl> return true ; <nl> } <nl> <nl>
Record hackc - compiled files in the static contents cache
facebook/hhvm
5432ca4365b0b4a9e45ca8aa89a50c44ec79176f
2018-01-27T00:18:38Z
mmm a / runtime_data / region / us . xml <nl> ppp b / runtime_data / region / us . xml <nl> <nl> < stageParams > <nl> < boostType > GAB < / boostType > <nl> < minHitRate > 9 . 9500000476837158e - 01 < / minHitRate > <nl> - < maxFalseAlarm > 5 . 0000000000000000e - 01 < / maxFalseAlarm > <nl> + < maxFalseAlarm > 4 . 4999998807907104e - 01 < / maxFalseAlarm > <nl> < weightTrimRate > 9 . 4999999999999996e - 01 < / weightTrimRate > <nl> < maxDepth > 1 < / maxDepth > <nl> < maxWeakCount > 100 < / maxWeakCount > < / stageParams > <nl> < featureParams > <nl> < maxCatCount > 256 < / maxCatCount > <nl> < featSize > 1 < / featSize > < / featureParams > <nl> - < stageNum > 16 < / stageNum > <nl> + < stageNum > 15 < / stageNum > <nl> < stages > <nl> < ! - - stage 0 - - > <nl> < _ > <nl> < maxWeakCount > 5 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 0164581537246704e + 00 < / stageThreshold > <nl> + < stageThreshold > - 1 . 1315891742706299e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 121 - 2101490 8645451 - 283130880 - 521148469 - 204483069 <nl> - 12806163 - 87825664 - 134217729 < / internalNodes > <nl> + 0 - 1 71 20 419437396 1024663551 - 2769453 - 1613119489 <nl> + - 1146315059 - 1432436801 - 1145290774 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 9118094444274902e - 01 5 . 3935295343399048e - 01 < / leafValues > < / _ > <nl> + - 6 . 8558579683303833e - 01 6 . 3679248094558716e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 10 - 279974098 - 496242961 - 1069413754 - 393288982 <nl> - 1933003556 1107542979 1930908736 - 137887881 < / internalNodes > <nl> + 0 - 1 76 67109888 2136554527 - 1089226241 - 719921 - 1432438594 <nl> + - 1074091304 - 1446109442 - 1465381876 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 3112831115722656e - 01 5 . 1992321014404297e - 01 < / leafValues > < / _ > <nl> + - 6 . 8175607919692993e - 01 5 . 1517778635025024e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 22 35655605 - 827433 - 5415457 - 36391040 1874996219 <nl> - - 34146 - 275874833 706740768 < / internalNodes > <nl> + 0 - 1 16 - 355472722 - 972037618 - 935115776 - 368131922 <nl> + 1912828755 1702354955 1649374020 - 210241545 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 8107974529266357e - 01 5 . 0729984045028687e - 01 < / leafValues > < / _ > <nl> + - 6 . 9773137569427490e - 01 4 . 5371291041374207e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 45 905461180 1071454716 - 1190553121 - 1107455523 <nl> - - 3604483 969733017 - 1229826 1001921916 < / internalNodes > <nl> + 0 - 1 30 262144 1068374479 1095830739 991442579 - 1194570604 <nl> + - 4257028 - 34760481 - 1103809 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 8964874744415283e - 01 4 . 4974544644355774e - 01 < / leafValues > < / _ > <nl> + - 6 . 6132634878158569e - 01 4 . 2120867967605591e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 73 - 83890686 - 2137546038 16777224 - 1060960242 952574500 <nl> - 46351119 - 801677308 1400893103 < / internalNodes > <nl> + 0 - 1 163 - 69207253 651939935 1125502976 168555219 - 340793050 <nl> + 2863205 - 1040189952 - 788529153 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 9438413381576538e - 01 5 . 3718543052673340e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 5 . 3568303585052490e - 01 5 . 1227539777755737e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 1 - - > <nl> < _ > <nl> - < maxWeakCount > 3 < / maxWeakCount > <nl> - < stageThreshold > - 9 . 6158474683761597e - 01 < / stageThreshold > <nl> + < maxWeakCount > 5 < / maxWeakCount > <nl> + < stageThreshold > - 8 . 9071625471115112e - 01 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 7 - 342891990 - 858787222 - 993861598 - 420558910 <nl> - 1895973654 1112604759 - 1021099775 - 143132809 < / internalNodes > <nl> + 0 - 1 160 - 2102526 248335 - 687094784 - 1066408501 - 203431421 <nl> + 4431891 - 221789440 - 134217729 < / internalNodes > <nl> + < leafValues > <nl> + - 6 . 2259888648986816e - 01 5 . 0267618894577026e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 124 - 1073545214 - 212889022 1079636195 - 179321854 <nl> + - 957877526 - 1039728638 - 1069298773 - 799545598 < / internalNodes > <nl> < leafValues > <nl> - - 8 . 1113457679748535e - 01 4 . 5976096391677856e - 01 < / leafValues > < / _ > <nl> + - 6 . 0503137111663818e - 01 4 . 6733918786048889e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 108 - 335813114 - 529607678 5522944 1084412484 1620529409 <nl> - 1076093571 - 981147648 - 201327637 < / internalNodes > <nl> + 0 - 1 70 288365052 1609569756 420745727 1071448511 - 24599555 <nl> + - 2350691 - 1627899137 999821228 < / internalNodes > <nl> < leafValues > <nl> - - 7 . 1228593587875366e - 01 5 . 3981220722198486e - 01 < / leafValues > < / _ > <nl> + - 6 . 2239152193069458e - 01 4 . 5454022288322449e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 49 5136 269795672 - 1861144515 - 1076422671 - 611597063 <nl> - - 1149220182 - 1585173830 - 1141147489 < / internalNodes > <nl> + 0 - 1 97 - 1073495550 - 212077552 1193763531 - 170406045 <nl> + - 525860945 - 218939552 - 340000769 - 955791605 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 3254243135452271e - 01 5 . 6183582544326782e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 4 . 8815056681632996e - 01 5 . 5824530124664307e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 38 8388824 - 33815083 638720671 - 42134884 549463807 <nl> + - 5011270 - 367858693 551551618 < / internalNodes > <nl> + < leafValues > <nl> + - 6 . 6163635253906250e - 01 4 . 0106019377708435e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 2 - - > <nl> < _ > <nl> - < maxWeakCount > 5 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 0309549570083618e + 00 < / stageThreshold > <nl> + < maxWeakCount > 8 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 3955345153808594e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 51 268437744 290500948 - 1114719811 - 6704805 - 1618149379 <nl> - - 1076078413 - 357921859 - 1078915093 < / internalNodes > <nl> + 0 - 1 12 - 298850782 - 1060124978 - 1040153598 - 902830002 <nl> + 1091027255 1129539334 1683460613 - 134220809 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 9590566158294678e - 01 4 . 9309173226356506e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 91 268435600 - 1244655116 1029717823 - 1108003503 <nl> + - 1182037571 - 423734 - 1331155285 - 1346683201 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 7859891653060913e - 01 5 . 0198388099670410e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 123 - 33838342 285255866 17047560 463210888 1921826232 <nl> + 6328 332929928 - 69468161 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 2346640825271606e - 01 5 . 1349174976348877e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 34 67112112 - 1114101252 - 1189869059 495458456 70262268 <nl> + - 68675416 - 1390723396 186648972 < / internalNodes > <nl> < leafValues > <nl> - - 7 . 1921354532241821e - 01 3 . 8260513544082642e - 01 < / leafValues > < / _ > <nl> + - 7 . 2637259960174561e - 01 3 . 4962016344070435e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 122 - 17830386 13563031 - 953434100 - 2008231014 <nl> - - 220995577 1076482227 - 637821440 - 789577749 < / internalNodes > <nl> + 0 - 1 62 - 1073225214 - 753460957 - 1072208345 - 683157885 <nl> + - 415763538 - 1789417650 1983243435 - 732436669 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 3529521226882935e - 01 4 . 3188422918319702e - 01 < / leafValues > < / _ > <nl> + - 4 . 6379733085632324e - 01 5 . 6209003925323486e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 36 496508412 - 1653307174 957356029 1071120604 314050812 <nl> - - 72849222 724646911 458762496 < / internalNodes > <nl> + 0 - 1 77 - 502546398 - 783052531 1073959191 - 1055947381 <nl> + 1644929514 - 2136276479 - 1073546309 1091031859 < / internalNodes > <nl> < leafValues > <nl> - - 7 . 2846937179565430e - 01 3 . 9699622988700867e - 01 < / leafValues > < / _ > <nl> + - 5 . 4509049654006958e - 01 4 . 2558404803276062e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 81 - 2643238 931172412 4194440 990384812 172499336 <nl> - 574624745 964690924 - 134220801 < / internalNodes > <nl> + 0 - 1 138 - 1073496062 - 133741050 - 1846018329 - 170400637 <nl> + 1086762670 - 2136814560 - 795102226 - 1063000573 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 9917802214622498e - 01 5 . 5823230743408203e - 01 < / leafValues > < / _ > <nl> + - 4 . 6248286962509155e - 01 5 . 1868611574172974e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 60 819200221 - 545819180 - 786991361 - 543199009 <nl> - - 1165378309 - 1145372421 - 762590469 - 1367855576 < / internalNodes > <nl> + 0 - 1 111 - 268458582 2031132674 395709320 937332864 868811168 <nl> + 675287178 1376321704 2135945211 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 7338857650756836e - 01 5 . 2183729410171509e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 5 . 3599596023559570e - 01 4 . 4301798939704895e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 3 - - > <nl> < _ > <nl> - < maxWeakCount > 6 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 3750067949295044e + 00 < / stageThreshold > <nl> + < maxWeakCount > 7 < / maxWeakCount > <nl> + < stageThreshold > - 9 . 7626328468322754e - 01 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 86 - 1073225214 - 745282173 1611024547 - 682630394 <nl> - - 233847825 - 1038097918 - 455611717 - 1060641149 < / internalNodes > <nl> + 0 - 1 54 353374612 - 42723412 1569054713 - 2764518 - 1179894100 <nl> + - 41374840 - 72774981 - 1157627392 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 9098154306411743e - 01 4 . 6347942948341370e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 141 - 1073511934 - 685316602 - 957354234 - 681058302 <nl> + - 969939537 - 1233125730 - 520098069 - 757073009 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 2025314569473267e - 01 4 . 0825036168098450e - 01 < / leafValues > < / _ > <nl> + - 4 . 6918162703514099e - 01 5 . 3005498647689819e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 43 876613916 - 40037089 - 783166017 - 8432889 - 1171594753 <nl> - - 4274039 - 133657938 - 1467482104 < / internalNodes > <nl> + 0 - 1 86 - 67125270 1066176488 808984576 872190012 2107910620 <nl> + 185088477 726671528 - 2097218 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 8861476182937622e - 01 4 . 7982457280158997e - 01 < / leafValues > < / _ > <nl> + - 4 . 6513924002647400e - 01 4 . 9545615911483765e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 6 - 336597458 - 490215229 - 1058878458 - 489764182 <nl> - 1668641655 1393971207 - 217128362 - 134745097 < / internalNodes > <nl> + 0 - 1 81 13631580 - 572777480 1069521887 - 537066021 <nl> + - 1159020545 - 72181251 788140031 - 1475868672 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 6835436820983887e - 01 4 . 8286029696464539e - 01 < / leafValues > < / _ > <nl> + - 6 . 3504773378372192e - 01 3 . 6614644527435303e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 20 79692020 534677841 424218623 1070072336 268704925 <nl> - - 73329762 - 1079369730 - 1073909782 < / internalNodes > <nl> + 0 - 1 161 - 67121406 13623979 - 1046228992 - 2001805686 <nl> + - 620523709 1073981483 - 405806336 - 1023410177 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 0406535863876343e - 01 4 . 6269953250885010e - 01 < / leafValues > < / _ > <nl> + - 5 . 8710521459579468e - 01 4 . 4328999519348145e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 97 - 21330 421536498 - 1342363608 - 214028566 1836585004 <nl> - 286537041 1865875704 - 1025 < / internalNodes > <nl> + 0 - 1 66 268438008 487855408 1560354749 - 1623114800 478313468 <nl> + - 1144479508 495192252 228071592 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 6817129850387573e - 01 5 . 8012592792510986e - 01 < / leafValues > < / _ > <nl> + - 7 . 0252084732055664e - 01 2 . 9410389065742493e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 63 909651700 - 2612866 - 1081069153 - 1084489636 839925759 <nl> - - 1079235939 998865919 - 1111744804 < / internalNodes > <nl> + 0 - 1 104 - 1065098750 - 246947818 - 536645399 - 238815709 <nl> + - 1566841941 - 2113683450 - 2112095249 - 1069039033 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 2081623077392578e - 01 4 . 2852258682250977e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 4 . 8274382948875427e - 01 4 . 8472142219543457e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 4 - - > <nl> < _ > <nl> - < maxWeakCount > 7 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 3817892074584961e + 00 < / stageThreshold > <nl> + < maxWeakCount > 10 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 1215074062347412e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 90 - 1073233918 - 7867830 1774438879 - 174071546 <nl> - - 487591697 - 353447872 1630530447 - 795351289 < / internalNodes > <nl> + 0 - 1 80 - 1073496061 - 2887681 1145505565 - 715129769 <nl> + - 268963857 - 286267441 - 180883477 - 145758453 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 0853856801986694e - 01 3 . 0612245202064514e - 01 < / leafValues > < / _ > <nl> + - 4 . 0678557753562927e - 01 5 . 7192105054855347e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 27 - 866087472 - 47148812 1543519733 - 538179376 178522620 <nl> - - 1091040067 - 1966043204 - 1428943612 < / internalNodes > <nl> + 0 - 1 40 1426076125 - 11239433 396180447 2138390463 - 10617347 <nl> + - 15417347 - 2642945 2069703339 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 7823383808135986e - 01 3 . 8258698582649231e - 01 < / leafValues > < / _ > <nl> + - 4 . 3444082140922546e - 01 4 . 7383734583854675e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 37 289739038 2134880727 - 1687055361 2138284927 <nl> - - 1738673666 - 8005187 1509787391 172952264 < / internalNodes > <nl> + 0 - 1 17 - 269490582 - 823464314 - 2134465984 - 389361990 <nl> + 1666544993 1647659782 - 12103152 - 134750217 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 0462307929992676e - 01 3 . 4132298827171326e - 01 < / leafValues > < / _ > <nl> + - 5 . 5509299039840698e - 01 3 . 6482420563697815e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 112 - 1063522814 1090515890 - 987518497 - 975187365 <nl> - - 666902270 - 2004358237 - 456460858 14679803 < / internalNodes > <nl> + 0 - 1 69 335581556 - 42707660 1552268733 - 8836079 - 1205297924 <nl> + - 1734857064 - 324227924 - 1207170424 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 6259483098983765e - 01 4 . 1315501928329468e - 01 < / leafValues > < / _ > <nl> + - 5 . 0096267461776733e - 01 4 . 1481718420982361e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 71 893136892 424984573 - 641843717 - 1078150900 <nl> - 2109476861 - 1154906888 - 1079493636 1056454904 < / internalNodes > <nl> + 0 - 1 152 229419 - 209780741 - 235012353 - 613942321 - 28315905 <nl> + - 872415745 - 1040449873 - 1064844542 < / internalNodes > <nl> < leafValues > <nl> - - 7 . 5118625164031982e - 01 2 . 5987851619720459e - 01 < / leafValues > < / _ > <nl> + - 4 . 3097272515296936e - 01 4 . 5764714479446411e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 77 - 1060641790 2002240806 - 258542561 - 578727421 <nl> - - 292822385 - 1878916986 - 800094261 - 1068244437 < / internalNodes > <nl> + 0 - 1 116 - 100685570 713566968 963510988 320373212 1961697692 <nl> + 180510953 1694439660 1470627743 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 5728075504302979e - 01 4 . 6161931753158569e - 01 < / leafValues > < / _ > <nl> + - 5 . 6145566701889038e - 01 3 . 3812394738197327e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 28 12912 2002213853 1558175231 - 1256749681 - 1424237825 <nl> - - 103100885 - 410259713 4653568 < / internalNodes > <nl> + 0 - 1 29 100663476 - 3042704 - 1992218113 2006194140 <nl> + - 1362491137 - 2424645 - 5648705 - 1967128080 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 8373686075210571e - 01 2 . 8601825237274170e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 5 . 2533459663391113e - 01 3 . 5392826795578003e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 101 - 11544650 1066414792 285213456 - 2606574 583594972 <nl> + 218118536 557582728 - 306 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 5520931482315063e - 01 4 . 2317685484886169e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 41 - 1073495421 - 34868314 - 35031077 - 81559681 - 523439128 <nl> + - 26230985 - 2138773878 - 1041242737 < / internalNodes > <nl> + < leafValues > <nl> + - 3 . 1471559405326843e - 01 5 . 9666180610656738e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 87 134259184 - 1207946864 1024925117 - 1117741199 <nl> + - 1080185929 - 7634245 - 1709209412 - 1162534799 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 1263880729675293e - 01 3 . 8730156421661377e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 5 - - > <nl> < _ > <nl> - < maxWeakCount > 7 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 0901353359222412e + 00 < / stageThreshold > <nl> + < maxWeakCount > 10 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 6210550069808960e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 92 - 3163938 396397186 - 1122500432 1003139974 2041847944 <nl> - 271073553 332334300 2147483647 < / internalNodes > <nl> + 0 - 1 155 - 2101375225 69196191 - 394792689 - 239085869 <nl> + 1881142119 1123795155 - 822087250 - 486539265 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 0622135400772095e - 01 4 . 2005544900894165e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 31 - 1339424720 - 9428014 523714039 929046528 295181759 <nl> + - 62813 1924795327 - 2146773 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 0234359502792358e - 01 3 . 6318147182464600e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 114 - 1064574430 - 222575294 1113762623 - 207627998 <nl> + - 1576011030 - 491065174 - 463539317 1073997314 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 6991362571716309e - 01 3 . 2597339153289795e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 14 - 338696465 - 422583506 1759954798 - 301537586 <nl> + 1733763959 1383295031 - 146283001 - 134219777 < / internalNodes > <nl> < leafValues > <nl> - - 7 . 0157480239868164e - 01 2 . 2578348219394684e - 01 < / leafValues > < / _ > <nl> + - 4 . 5088911056518555e - 01 3 . 8441386818885803e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 120 - 268440822 4184991 - 674370816 1659876317 - 370410686 <nl> - 2000418299 - 84149504 - 252706881 < / internalNodes > <nl> + 0 - 1 27 896568828 - 1074252840 - 1754004995 532459610 <nl> + 212867260 - 1107557124 1038424573 135797036 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 0130935907363892e - 01 3 . 3310183882713318e - 01 < / leafValues > < / _ > <nl> + - 6 . 0290712118148804e - 01 2 . 7784070372581482e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 42 - 1039941118 - 217616093 1615063327 - 241712605 <nl> - - 687289430 - 1144354306 - 334762162 - 1066932381 < / internalNodes > <nl> + 0 - 1 139 - 243287302 291566322 141328476 958687480 818788824 <nl> + 293646752 1504569544 - 67109969 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 4966760277748108e - 01 4 . 6698939800262451e - 01 < / leafValues > < / _ > <nl> + - 4 . 0381547808647156e - 01 4 . 0789937973022461e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 68 - 2122284912 - 1090455534 - 1681680995 1070641104 <nl> - - 20972611 - 1078224767 - 1410137411 - 1343018573 < / internalNodes > <nl> + 0 - 1 122 - 1135990 1000874960 752877600 466519212 1005205224 <nl> + 675310046 118893198 1238365695 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 3551906347274780e - 01 3 . 7870019674301147e - 01 < / leafValues > < / _ > <nl> + - 5 . 6136018037796021e - 01 2 . 8674939274787903e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 88 - 1070450 870985048 42139824 996573700 - 1106765700 <nl> - 201873562 1743410140 1540358111 < / internalNodes > <nl> + 0 - 1 53 285230544 1603285393 1031740927 - 1148958950 <nl> + 1963792476 - 1165367090 1021585919 486501675 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 2978163957595825e - 01 3 . 6144843697547913e - 01 < / leafValues > < / _ > <nl> + - 5 . 6618553400039673e - 01 2 . 9611474275588989e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 31 - 1939853392 - 577122062 1502616063 1599219130 <nl> - 227580924 - 914321004 - 370630673 214173504 < / internalNodes > <nl> + 0 - 1 28 - 517775344 - 146852034 - 644620801 - 2114647 <nl> + - 1437906497 - 86337429 - 393696002 - 1475674112 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 0552209615707397e - 01 3 . 4924620389938354e - 01 < / leafValues > < / _ > <nl> + - 4 . 2873978614807129e - 01 3 . 4760397672653198e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 126 - 541065224 422115384 - 1057384 - 1090060358 <nl> - - 1673538307 - 1438728201 2113920252 - 15467077 < / internalNodes > <nl> + 0 - 1 94 1078427650 - 1480989757 1636291919 - 204483021 <nl> + - 476058689 - 17006533 - 192290898 - 800594390 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 8117402791976929e - 01 5 . 2778989076614380e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 4 . 8171666264533997e - 01 3 . 1618660688400269e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 6 - - > <nl> < _ > <nl> - < maxWeakCount > 8 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 3476891517639160e + 00 < / stageThreshold > <nl> + < maxWeakCount > 11 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 2827157974243164e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 11 - 286265649 - 287390017 - 827683226 - 290536562 <nl> - 1395093845 1931956081 - 285903036 - 134744073 < / internalNodes > <nl> + 0 - 1 164 - 254 15922431 - 977299968 - 1593838697 - 18352383 <nl> + 75479551 - 1051904 - 184549441 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 2529915571212769e - 01 2 . 8105655312538147e - 01 < / leafValues > < / _ > <nl> + - 5 . 8010739088058472e - 01 2 . 8901302814483643e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 56 - 1071127037 - 50863125 - 289407402 - 239343617 <nl> - - 147853846 - 1018253502 - 1062801473 - 800590013 < / internalNodes > <nl> + 0 - 1 4 - 294967761 - 878186833 - 491820417 - 1118490 1969710975 <nl> + 1735882751 2004842367 - 1 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 9758357405662537e - 01 5 . 0723552703857422e - 01 < / leafValues > < / _ > <nl> + - 3 . 7647312879562378e - 01 4 . 4337275624275208e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 33 - 2080373888 - 546589771 - 171995141 - 2638918 <nl> - - 342044931 - 1062913 - 1177818178 - 1977612032 < / internalNodes > <nl> + 0 - 1 78 - 66082 431010492 721420536 957391356 1541159160 <nl> + 436217588 1900818908 2147483647 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 8244431018829346e - 01 3 . 3762589097023010e - 01 < / leafValues > < / _ > <nl> + - 4 . 9568274617195129e - 01 3 . 1543681025505066e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 75 - 356520186 615433775 - 307301214 - 529603718 <nl> - 1675579941 1194556139 - 172625312 - 167774209 < / internalNodes > <nl> + 0 - 1 63 290461661 - 33996961 - 1618233861 1071201242 <nl> + - 175114753 - 1176962482 1338764795 180355976 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 1843309402465820e - 01 3 . 6296874284744263e - 01 < / leafValues > < / _ > <nl> + - 5 . 7554852962493896e - 01 2 . 9411214590072632e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 23 2097328 - 4262985 - 1538521673 - 1216114040 1662518268 <nl> - - 18070610 - 1920135429 - 271626369 < / internalNodes > <nl> + 0 - 1 119 - 860323650 - 541325166 572005560 - 6448885 <nl> + - 1400069124 - 24903484 - 1155691522 - 545407169 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 2509132623672485e - 01 4 . 5544615387916565e - 01 < / leafValues > < / _ > <nl> + - 4 . 5495247840881348e - 01 3 . 2816058397293091e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 5 - 294688977 - 472912437 1799466506 - 353440566 655565423 <nl> - 850647851 1444407287 - 164628619 < / internalNodes > <nl> + 0 - 1 109 - 338706430 - 550870750 - 1878293673 - 681590526 <nl> + - 166738465 - 68179294 - 673190198 1074520322 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 9901044368743896e - 01 3 . 8141638040542603e - 01 < / leafValues > < / _ > <nl> + - 4 . 6881011128425598e - 01 3 . 2084804773330688e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 110 83345431 12774355 - 251191905 - 2231585 - 525861961 <nl> - 1506648762 - 1997276758 - 2065699353 < / internalNodes > <nl> + 0 - 1 32 - 1082385028 532424188 - 1091553796 1066940730 <nl> + - 1156838404 - 1379980911 1069549752 - 1082253384 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 2755702137947083e - 01 4 . 3639278411865234e - 01 < / leafValues > < / _ > <nl> + - 4 . 9592861533164978e - 01 2 . 7856069803237915e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 48 1358977424 - 1791707260 - 81636387 - 6754249 - 106832451 <nl> - - 111112061 - 979761441 - 1085463894 < / internalNodes > <nl> + 0 - 1 158 - 1962990334 18867517 - 753150960 - 1604454530 <nl> + 1973383971 538431647 - 1070861632 - 1023412485 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 1844465732574463e - 01 3 . 5742419958114624e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 4 . 9516552686691284e - 01 2 . 9508915543556213e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 58 1346635024 - 41876203 838612991 1470127033 <nl> + - 1580680001 2091690146 - 1431815686 390342408 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 9500992298126221e - 01 2 . 2086399793624878e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 144 - 425220814 535226521 - 548665272 420122188 517841292 <nl> + 402956223 1442809836 - 538443793 < / internalNodes > <nl> + < leafValues > <nl> + - 3 . 6363378167152405e - 01 4 . 0157413482666016e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 103 1073930883 - 774912009 1428019583 - 715679109 <nl> + - 66137861 - 641220590 - 1011901553 - 1073229429 < / internalNodes > <nl> + < leafValues > <nl> + - 3 . 9099892973899841e - 01 3 . 9034131169319153e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 7 - - > <nl> < _ > <nl> - < maxWeakCount > 8 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 6724135875701904e + 00 < / stageThreshold > <nl> + < maxWeakCount > 11 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 1057239770889282e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 123 - 209 148633591 - 25698048 - 520093961 - 1209 133169151 <nl> - - 103812348 - 721428481 < / internalNodes > <nl> + 0 - 1 59 - 1073495933 - 678997665 - 706818561 - 178785845 <nl> + - 191901457 - 565746485 - 543961617 - 1052523057 < / internalNodes > <nl> + < leafValues > <nl> + - 3 . 7506765127182007e - 01 4 . 6880570054054260e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 15 - 405806097 - 823136401 - 856757082 - 353375794 <nl> + 2009068071 1735647859 - 136841353 - 134217729 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 3566167354583740e - 01 3 . 6605897545814514e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 146 16754178 - 1866481201 - 1238370337 - 234914857 <nl> + - 94377121 - 1996872785 - 527716630 - 2130706689 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 5783321857452393e - 01 1 . 9410495460033417e - 01 < / leafValues > < / _ > <nl> + - 5 . 0979322195053101e - 01 2 . 8614249825477600e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 61 - 717179948 - 9374236 - 581713921 - 1076841616 <nl> - 1323720701 - 1081549914 - 272744449 722468864 < / internalNodes > <nl> + 0 - 1 60 489953276 1006385904 - 1250150467 - 1086580866 <nl> + 186386936 - 1508147 - 304603652 - 1075045316 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 6369322538375854e - 01 2 . 9236978292465210e - 01 < / leafValues > < / _ > <nl> + - 5 . 1819789409637451e - 01 2 . 8307336568832397e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 3 - 500750814 - 487627273 - 2131735954 - 87102706 <nl> - 1969713956 1618695899 1989624053 - 135793865 < / internalNodes > <nl> + 0 - 1 98 - 139754206 - 203426153 - 547105961 - 613185981 <nl> + - 120084049 - 320106336 - 893403205 1131406058 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 4797309637069702e - 01 3 . 1121733784675598e - 01 < / leafValues > < / _ > <nl> + - 3 . 9534735679626465e - 01 3 . 7579467892646790e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 57 4194384 2113868221 - 45051395 - 2157229 - 722703681 <nl> - - 67236929 - 1155745027 4204544 < / internalNodes > <nl> + 0 - 1 130 - 8418626 503091380 67373720 1067189130 218672796 <nl> + 1028658201 1057233292 - 513 < / internalNodes > <nl> < leafValues > <nl> - - 7 . 6136893033981323e - 01 2 . 4244518578052521e - 01 < / leafValues > < / _ > <nl> + - 4 . 2171582579612732e - 01 3 . 2932344079017639e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 102 - 203491074 836792416 978849880 980465884 333488593 <nl> - 282654613 - 1029668628 - 335545601 < / internalNodes > <nl> + 0 - 1 0 606498338 - 542130014 1895251255 1430458626 1107751659 <nl> + - 338246969 1695546271 1732736087 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 4871535897254944e - 01 3 . 8452658057212830e - 01 < / leafValues > < / _ > <nl> + - 4 . 6848702430725098e - 01 3 . 1390014290809631e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 24 - 1757501443 - 1076483905 - 1653865985 1067193105 <nl> - 704908280 - 1076312132 - 105239847 - 1090905634 < / internalNodes > <nl> + 0 - 1 68 - 737799919 - 4505793 2042052605 - 12602381 - 799246916 <nl> + - 1079951444 - 185205571 - 269238390 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 0212839841842651e - 01 4 . 5655438303947449e - 01 < / leafValues > < / _ > <nl> + - 3 . 6606946587562561e - 01 3 . 8847473263740540e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 93 - 68224350 - 498997469 - 723851742 - 1331496190 <nl> - 1637503309 1101152343 1908400422 - 168296449 < / internalNodes > <nl> + 0 - 1 95 - 865468412 1998565435 - 677938179 - 540594117 <nl> + - 1825882113 - 10511945 - 635524356 - 1942093824 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 0145322084426880e - 01 3 . 3501255512237549e - 01 < / leafValues > < / _ > <nl> + - 5 . 0503420829772949e - 01 2 . 7480033040046692e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 15 - 545370627 - 78245 - 444461090 - 1096931590 199758333 <nl> - 1310203059 1331437533 1566725100 < / internalNodes > <nl> + 0 - 1 162 - 537137401 12833727 - 502043904 1089190796 <nl> + - 1018210810 1109038603 - 1310271744 - 184549381 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 0831568241119385e - 01 3 . 5741838812828064e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 4 . 6874895691871643e - 01 3 . 1296932697296143e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 105 - 69817520 999818896 - 644675072 - 1289704678 56496536 <nl> + 974267491 1036730344 1599076350 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 3080624341964722e - 01 2 . 7049133181571960e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 8 - - > <nl> < _ > <nl> - < maxWeakCount > 8 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 0506174564361572e + 00 < / stageThreshold > <nl> + < maxWeakCount > 12 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 5055572986602783e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 124 - 67109109 1113576183 - 14160600 - 924854433 <nl> - - 341836020 382462907 - 69206268 - 184549381 < / internalNodes > <nl> + 0 - 1 153 - 1057030140 1574946051 - 740559489 - 3154945 <nl> + - 996151666 - 67137057 8711818 - 1459618033 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 2355889081954956e - 01 3 . 7054112553596497e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 83 - 1069506046 - 3147073 - 714091137 - 3178567 - 1394868273 <nl> + - 73684861 - 337907233 - 69997749 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 0169494152069092e - 01 2 . 2098569571971893e - 01 < / leafValues > < / _ > <nl> + - 4 . 0331789851188660e - 01 3 . 6199384927749634e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 55 - 1073512445 - 788345853 74174129 - 105666001 <nl> - - 632894997 - 1073630138 - 1046500353 - 1055932277 < / internalNodes > <nl> + 0 - 1 7 - 282072277 711977926 - 389044796 - 691285074 1900503863 <nl> + 1467461691 2078799837 - 134744073 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 1919940710067749e - 01 4 . 3400409817695618e - 01 < / leafValues > < / _ > <nl> + - 3 . 7218493223190308e - 01 3 . 9399796724319458e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 99 - 1066933725 - 169871541 - 2047083273 - 176820373 <nl> - - 1194670898 - 2002588448 - 532938753 - 1071120757 < / internalNodes > <nl> + 0 - 1 121 - 1072970110 - 202143681 - 470819333 - 136316050 <nl> + - 357572689 - 336596309 - 1058546197 1362097614 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 4907507896423340e - 01 4 . 8660326004028320e - 01 < / leafValues > < / _ > <nl> + - 3 . 9347946643829346e - 01 3 . 5276982188224792e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 44 770194932 532454301 - 155316322 536753624 532750332 <nl> - - 1617090311 999832316 1072434316 < / internalNodes > <nl> + 0 - 1 102 1003494576 1072694780 1033650141 1072961397 <nl> + 517487612 1069286308 - 1075036163 450379000 < / internalNodes > <nl> < leafValues > <nl> - - 7 . 5946396589279175e - 01 2 . 3567344248294830e - 01 < / leafValues > < / _ > <nl> + - 6 . 7931276559829712e - 01 2 . 2426170110702515e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 8 - 858790034 1759166227 - 390697462 - 84152498 2003005808 <nl> - 1459833890 - 244295820 1970765431 < / internalNodes > <nl> + 0 - 1 137 - 1073741816 - 586860178 - 1404550919 - 716877673 <nl> + - 253099812 - 908591100 - 387990531 - 119805185 < / internalNodes > <nl> < leafValues > <nl> - - 7 . 4084985256195068e - 01 2 . 1838405728340149e - 01 < / leafValues > < / _ > <nl> + - 4 . 8878890275955200e - 01 2 . 5015780329704285e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 30 268440317 2069442837 291833788 899196306 1688807419 <nl> - 440540331 1403083432 870126063 < / internalNodes > <nl> + 0 - 1 45 861339826 - 1144055448 257700784 - 1081533990 <nl> + 953231758 781716028 821902319 - 2097185 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 8843880891799927e - 01 2 . 9690697789192200e - 01 < / leafValues > < / _ > <nl> + - 4 . 0018874406814575e - 01 3 . 5065442323684692e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 118 264220423 137016315 - 883978220 - 1712087557 <nl> - - 539766463 1084217535 - 325453368 - 457179137 < / internalNodes > <nl> + 0 - 1 22 - 279517222 - 3403777 - 1985289988 1068514296 <nl> + 1271136764 460344701 1340150489 1609588732 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 0881922245025635e - 01 3 . 2800257205963135e - 01 < / leafValues > < / _ > <nl> + - 4 . 9826344847679138e - 01 2 . 7094477415084839e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 84 - 492052222 - 746653870 - 992126635 - 5251052 <nl> - - 1417702965 - 1599993849 - 477111705 1074258246 < / internalNodes > <nl> + 0 - 1 100 - 341053681 1243988775 - 390116608 - 774900722 <nl> + - 415767857 1137147710 - 210250506 - 136314881 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 9887087941169739e - 01 3 . 7321901321411133e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 3 . 3275696635246277e - 01 4 . 0732103586196899e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 142 - 2111140014 - 405114913 - 13066251 - 1151384687 <nl> + - 1903237123 - 2106418 - 356454417 - 1434311806 < / internalNodes > <nl> + < leafValues > <nl> + - 3 . 7124043703079224e - 01 3 . 5607641935348511e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 147 - 1587666 4709630 - 1034717694 14349534 2051012929 <nl> + 10148259 - 134481663 1414004699 < / internalNodes > <nl> + < leafValues > <nl> + - 7 . 3774188756942749e - 01 1 . 9265139102935791e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 43 - 712437760 2102335936 - 1657414699 - 1114555055 <nl> + - 1613220628 - 1084407552 553517016 443445316 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 1415991783142090e - 01 2 . 2656092047691345e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 9 - - > <nl> < _ > <nl> - < maxWeakCount > 9 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 0952166318893433e + 00 < / stageThreshold > <nl> + < maxWeakCount > 13 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 0785216093063354e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 14 - 67174401 - 341121 - 747439362 - 2959238 1588467868 <nl> - 1540575161 - 359706659 - 537763845 < / internalNodes > <nl> + 0 - 1 35 - 784313891 - 2293793 288425151 - 2279441 - 6946817 <nl> + - 117430072 - 36843537 - 1056821 < / internalNodes > <nl> + < leafValues > <nl> + - 3 . 3903035521507263e - 01 4 . 5448818802833557e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 37 1298519 1905486833 1898938335 1964455925 540670463 <nl> + - 1087111233 1155518367 4440582 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 1352906227111816e - 01 3 . 3938100934028625e - 01 < / leafValues > < / _ > <nl> + - 4 . 1682696342468262e - 01 3 . 3542725443840027e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 94 - 2098946 1524162928 480250392 2084999728 1539835836 <nl> - 410534280 1382295996 - 1041 < / internalNodes > <nl> + 0 - 1 126 - 25890 1998242546 2132420760 2078849018 2100564152 <nl> + 963659669 1542269180 2103441407 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 2444497346878052e - 01 3 . 6781191825866699e - 01 < / leafValues > < / _ > <nl> + - 4 . 4722837209701538e - 01 2 . 9583036899566650e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 106 - 2106421449 - 32833 - 4169 - 1150550021 - 1095325697 <nl> - - 16777254 - 69633 - 1367203038 < / internalNodes > <nl> + 0 - 1 21 - 336130 - 4538630 - 72429826 1604873406 1576946844 <nl> + - 604676270 - 564372264 - 548250369 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 5375756025314331e - 01 4 . 4176253676414490e - 01 < / leafValues > < / _ > <nl> + - 3 . 4256321191787720e - 01 3 . 8541832566261292e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 74 - 211830852 977036212 - 1324474212 466099646 <nl> - 1531197468 693137649 1966932760 2147483611 < / internalNodes > <nl> + 0 - 1 157 788499983 78682031 - 610552572 - 1848133678 <nl> + - 605588409 27251251 - 86275296 - 452984833 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 3484636545181274e - 01 2 . 9696145653724670e - 01 < / leafValues > < / _ > <nl> + - 4 . 2739653587341309e - 01 3 . 1468886137008667e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 53 - 395318034 - 466107909 - 804811776 - 218127710 <nl> - 1433621701 1155756407 - 1272463945 - 201328641 < / internalNodes > <nl> + 0 - 1 129 - 17071992 - 82666552 2082144268 2145695648 <nl> + 1042811309 1061319911 1443632540 1601174222 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 2170733213424683e - 01 3 . 7720391154289246e - 01 < / leafValues > < / _ > <nl> + - 5 . 2671432495117188e - 01 2 . 1994121372699738e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 19 - 397670742 - 1612936999 - 1076229793 1071130368 <nl> - 689441036 - 347459953 1504251647 - 69385219 < / internalNodes > <nl> + 0 - 1 84 134259653 - 1694320186 - 1482424321 - 143925551 <nl> + - 1353864497 - 1347942168 - 283461121 - 1178325103 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 1462930440902710e - 01 2 . 9735124111175537e - 01 < / leafValues > < / _ > <nl> + - 4 . 0252542495727539e - 01 3 . 1188529729843140e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 105 - 8716872 998558710 - 1756428132 1057791154 728858552 <nl> - 759925180 1240457188 - 1343503809 < / internalNodes > <nl> + 0 - 1 65 - 353370614 1798020070 - 964680726 - 184355449 <nl> + 1174372938 329656105 - 1295788608 - 135004161 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 3214339017868042e - 01 3 . 7407690286636353e - 01 < / leafValues > < / _ > <nl> + - 4 . 1937479376792908e - 01 2 . 9932251572608948e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 0 713953058 - 8196014 1102445911 1462899456 1750480879 <nl> - - 70002273 - 414456321 1164398675 < / internalNodes > <nl> + 0 - 1 92 2111815676 1599907420 491798332 - 537322616 54528232 <nl> + - 338163576 1592040188 - 67110913 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 9928321838378906e - 01 2 . 5606244802474976e - 01 < / leafValues > < / _ > <nl> + - 3 . 5893958806991577e - 01 3 . 5004481673240662e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 101 - 1023423481 16438302 - 782775987 1414519651 <nl> - 2036583974 1082048647 - 815796477 1149231087 < / internalNodes > <nl> + 0 - 1 166 - 513 422247096 - 1057636 - 1089552387 - 62943608 <nl> + 138412023 - 42492800 - 1119879717 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 1024430990219116e - 01 3 . 2512000203132629e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 2 . 6492440700531006e - 01 4 . 6535709500312805e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 74 - 803766117 - 608851853 2041241023 - 36462429 <nl> + - 830473313 - 1948277856 - 275002881 - 787758949 < / internalNodes > <nl> + < leafValues > <nl> + - 2 . 6536831259727478e - 01 4 . 7008103132247925e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 115 - 1142017408 - 75970016 27272204 1892950442 708787365 <nl> + 149949860 1425880920 1101332222 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 7564556598663330e - 01 2 . 3929047584533691e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 13 1810883370 1780188358 1611368680 - 1362221458 <nl> + 1662153252 1445358435 2001958773 2002219639 < / internalNodes > <nl> + < leafValues > <nl> + - 7 . 3415631055831909e - 01 1 . 4111998677253723e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 10 - - > <nl> < _ > <nl> - < maxWeakCount > 9 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 2098878622055054e + 00 < / stageThreshold > <nl> + < maxWeakCount > 14 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 3285338878631592e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 114 828129277 1073495037 902635005 996941529 2139963389 <nl> - - 1074492688 1073420797 - 1073992196 < / internalNodes > <nl> + 0 - 1 50 - 654355243 - 262913 221992797 1538720915 - 394478120 <nl> + - 98577 - 649200129 - 67108965 < / internalNodes > <nl> + < leafValues > <nl> + - 3 . 1309363245964050e - 01 4 . 4639894366264343e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 19 - 286265618 - 286891578 - 301798234 - 361830326 <nl> + 1192718421 1883465061 - 787131197 - 134743177 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 8251372575759888e - 01 2 . 6683706045150757e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 52 - 2079929726 - 2113585 - 1128269313 495290778 <nl> + - 1998665041 - 1049137 - 1428173061 - 1910306302 < / internalNodes > <nl> + < leafValues > <nl> + - 3 . 9381647109985352e - 01 3 . 1201609969139099e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 85 - 1860132208 - 78578252 - 1745209345 - 13624960 <nl> + 1262444543 - 1076039396 1005476607 995098672 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 7351798415184021e - 01 2 . 8958338499069214e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 72 - 1064964 990390844 427821340 996150924 1006670764 <nl> + 991955380 421007004 - 269347 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 6112993359565735e - 01 2 . 4932533502578735e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 154 67079431 150993723 71817789 - 2139423761 - 1043341821 <nl> + 59957627 - 139601784 - 1731724289 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 4098429679870605e - 01 1 . 5371209383010864e - 01 < / leafValues > < / _ > <nl> + - 4 . 4749864935874939e - 01 2 . 5348764657974243e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 98 - 2001852559 - 1652591777 - 549464097 - 1075370221 <nl> - - 1176567876 - 4218881 - 678250309 - 1474166784 < / internalNodes > <nl> + 0 - 1 49 1355755658 1977478867 815206564 1977035476 <nl> + 1238366971 267274590 - 74663297 1892596426 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 6904677152633667e - 01 3 . 1162470579147339e - 01 < / leafValues > < / _ > <nl> + - 4 . 6636793017387390e - 01 2 . 6220443844795227e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 96 - 285506 - 72338470 - 118159272 1063598842 2062815416 <nl> - 755249356 1843205868 2139093755 < / internalNodes > <nl> + 0 - 1 51 2147467260 532452173 - 43827715 - 1217055078 753971704 <nl> + 494665904 516200382 997046014 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 9528336524963379e - 01 3 . 1505000591278076e - 01 < / leafValues > < / _ > <nl> + - 4 . 0472748875617981e - 01 2 . 9735934734344482e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 12 - 428880145 - 298400305 - 433412890 - 288428378 <nl> - 1406629637 - 210544355 - 178239196 - 134875321 < / internalNodes > <nl> + 0 - 1 136 - 1024472437 - 209721601 2075916927 - 203424253 <nl> + - 1862537489 - 668275066 - 1057513489 - 776995409 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 5534977316856384e - 01 3 . 5366109013557434e - 01 < / leafValues > < / _ > <nl> + - 2 . 7244195342063904e - 01 4 . 6101731061935425e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 50 1076150005 1576308661 1966390781 - 41992271 <nl> - - 1327710548 - 1177534499 938254335 - 1358152824 < / internalNodes > <nl> + 0 - 1 150 - 67109716 1056982327 - 884024268 1034800075 <nl> + - 1209264244 1058773133 - 1662668784 - 1641030285 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 7629887461662292e - 01 4 . 3275776505470276e - 01 < / leafValues > < / _ > <nl> + - 3 . 4828582406044006e - 01 3 . 3140233159065247e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 72 - 1073233406 - 212621525 - 753454245 - 172756878 <nl> - - 970474517 - 1919709 1777054207 - 467142777 < / internalNodes > <nl> + 0 - 1 113 - 605237250 2145134672 477890736 1071253208 <nl> + - 1895762468 1051338864 468233432 - 8736785 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 2834660410881042e - 01 3 . 8237318396568298e - 01 < / leafValues > < / _ > <nl> + - 3 . 5859769582748413e - 01 3 . 3230432868003845e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 70 - 1104674384 159417284 - 1370474053 - 1852796492 <nl> - - 106169864 - 39286580 683543517 - 1449321120 < / internalNodes > <nl> + 0 - 1 120 1081111347 1979699503 - 1223173669 - 943479981 <nl> + 37302223 - 6347889 1438972879 1073969666 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 5155992507934570e - 01 2 . 6364430785179138e - 01 < / leafValues > < / _ > <nl> + - 4 . 1908574104309082e - 01 2 . 7238705754280090e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 67 - 873476314 1531589507 - 233729446 1455866726 <nl> - - 879542507 1427460699 - 310958112 - 175972465 < / internalNodes > <nl> + 0 - 1 0 - 859690462 - 408791264 1362870585 900965474 1731082151 <nl> + - 829517513 1888990191 - 1033374363 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 8735302686691284e - 01 3 . 2814309000968933e - 01 < / leafValues > < / _ > <nl> + - 3 . 8828590512275696e - 01 3 . 1671464443206787e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 17 - 167824420 529301702 286274006 - 1076292717 <nl> - - 731073828 361802184 - 1513342056 1776401834 < / internalNodes > <nl> + 0 - 1 89 - 1015038206 1511836114 - 78298798 - 221251545 <nl> + - 940835633 1363238976 - 154671919 - 137887809 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 2737045288085938e - 01 3 . 0997651815414429e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 3 . 7009325623512268e - 01 3 . 2544624805450439e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 11 - - > <nl> < _ > <nl> - < maxWeakCount > 10 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 0168726444244385e + 00 < / stageThreshold > <nl> + < maxWeakCount > 15 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 4683995246887207e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 2 - 282105049 1854882015 - 763108866 - 24315162 1077237623 <nl> - 1593999391 - 68683819 - 134745097 < / internalNodes > <nl> + 0 - 1 9 - 365957457 - 269488657 - 857321797 - 492110260 <nl> + 1730369399 2012176917 2136963063 - 526345 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 6601125001907349e - 01 1 . 8559999763965607e - 01 < / leafValues > < / _ > <nl> + - 4 . 1403508186340332e - 01 3 . 1892389059066772e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 25 - 1069658863 - 143960619 - 100935745 - 2107053 - 82945 <nl> - - 72356689 - 909156629 - 2002059260 < / internalNodes > <nl> + 0 - 1 125 - 754720637 - 145030578 - 1604063233 - 9968314 <nl> + - 496504918 - 17078957 1629221871 - 169609345 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 8864189386367798e - 01 3 . 7928998470306396e - 01 < / leafValues > < / _ > <nl> + - 2 . 7360364794731140e - 01 4 . 4716605544090271e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 113 - 1051844 403755324 2090136700 1026881812 - 112328761 <nl> - 479507756 - 272697132 941618814 < / internalNodes > <nl> + 0 - 1 28 - 334625792 - 14681299 - 541328897 - 34079819 <nl> + - 1612979971 - 67113825 - 40075032 - 1397809152 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 2156370878219604e - 01 2 . 7425044775009155e - 01 < / leafValues > < / _ > <nl> + - 4 . 1866955161094666e - 01 2 . 8572413325309753e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 64 - 788467504 - 112184752 1460884859 1964298582 <nl> - - 249060385 - 542400312 729492155 - 611888945 < / internalNodes > <nl> + 0 - 1 148 - 1354776052 271119951 - 72362224 941683590 <nl> + - 372244552 136378287 - 609234956 - 1192232961 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 9346575736999512e - 01 3 . 6530187726020813e - 01 < / leafValues > < / _ > <nl> + - 4 . 5833292603492737e - 01 2 . 4874490499496460e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 52 - 163664932 931703872 1797007512 1066180504 929829884 <nl> - 493879645 432876188 2113797612 < / internalNodes > <nl> + 0 - 1 82 - 656801094 - 1288683530 - 2000679461 2141206493 <nl> + - 1074872323 - 542932245 - 1494085895 - 1142407177 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 3601201772689819e - 01 2 . 0326934754848480e - 01 < / leafValues > < / _ > <nl> + - 3 . 8880479335784912e - 01 3 . 0604282021522522e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 89 - 269490390 1153909735 - 1056250586 1924030858 <nl> - 323638037 1083437111 - 148909884 - 744489985 < / internalNodes > <nl> + 0 - 1 56 - 2136742142 - 203455689 1326687573 - 617631444 <nl> + - 352388950 - 1196710430 - 674583410 1078969346 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 4436231255531311e - 01 3 . 1746098399162292e - 01 < / leafValues > < / _ > <nl> + - 4 . 5704048871994019e - 01 2 . 3741361498832703e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 80 - 1030758398 - 1619279070 - 1793862817 2008020225 <nl> - - 85087332 - 627838142 - 243282482 1661989193 < / internalNodes > <nl> + 0 - 1 107 - 1073553277 - 681838015 - 1094527049 - 637800275 <nl> + - 1627675729 - 1911904864 - 457184805 - 788479862 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 6089529991149902e - 01 2 . 8434169292449951e - 01 < / leafValues > < / _ > <nl> + - 3 . 1670939922332764e - 01 3 . 5761344432830811e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 47 1813451020 1060316989 - 1281298465 1060333234 <nl> - - 859403330 - 22027843 - 1790755684 - 1474402292 < / internalNodes > <nl> + 0 - 1 79 387194876 - 1649398795 1010244093 501562013 <nl> + 2132606973 1839213300 1857338367 1066942128 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 9409744143486023e - 01 2 . 9811391234397888e - 01 < / leafValues > < / _ > <nl> + - 5 . 9198862314224243e - 01 1 . 6486838459968567e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 29 - 620290014 - 1682231266 21373082 429728255 <nl> - - 1723004230 254347419 1539383790 - 539496021 < / internalNodes > <nl> + 0 - 1 99 - 218111358 1346552079 816181888 - 1281168802 <nl> + 2027147968 1179115618 - 153946888 2013002687 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 2372927069664001e - 01 3 . 5059794783592224e - 01 < / leafValues > < / _ > <nl> + - 4 . 9596974253654480e - 01 2 . 3916998505592346e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 91 1104627504 - 202913830 567135735 1804026111 403270335 <nl> - - 1417494079 4516271 1500482 < / internalNodes > <nl> + 0 - 1 39 75497600 - 138410239 865890301 289414443 - 1126945368 <nl> + - 1446756652 - 1667245315 - 70452515 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 0134706497192383e - 01 2 . 9041498899459839e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 5 . 2455854415893555e - 01 2 . 0321974158287048e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 96 - 2005958642 - 77901125 1678951451 1364186750 <nl> + - 1288718662 - 1640774559 - 355798098 1076814379 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 2971473932266235e - 01 2 . 5745406746864319e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 156 - 1174409977 138331770 - 711735796 - 2109753349 <nl> + - 110166267 362924579 - 1428427008 - 386400529 < / internalNodes > <nl> + < leafValues > <nl> + - 3 . 4834834933280945e - 01 3 . 2031142711639404e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 57 - 544208848 - 546008512 - 1123012208 - 1382209512 <nl> + 595634585 - 1692792552 777882875 - 335805265 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 3257603049278259e - 01 2 . 5573647022247314e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 2 704809170 - 34316329 1703444471 529531324 - 1014534217 <nl> + - 1147596417 - 1461211137 1749042002 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 9990031123161316e - 01 2 . 1384839713573456e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 134 - 536964964 - 616525640 282733584 837356624 - 74547301 <nl> + 234901928 444992250 1586757598 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 1537562012672424e - 01 2 . 6713356375694275e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 12 - - > <nl> < _ > <nl> - < maxWeakCount > 10 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 3292946815490723e + 00 < / stageThreshold > <nl> + < maxWeakCount > 15 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 4047870635986328e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 126 - 8397891 1059715566 - 284174916 - 1089735083 <nl> - - 71309331 993783025 - 1615692 - 1119882243 < / internalNodes > <nl> + 0 - 1 165 - 2302 - 2064669753 - 1227886592 284537815 - 553651193 <nl> + 80400523 - 17827840 - 520093797 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 1894056797027588e - 01 2 . 5559258460998535e - 01 < / leafValues > < / _ > <nl> + - 4 . 8905938863754272e - 01 2 . 2634507715702057e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 117 268406023 16512863 - 883751412 - 1937838283 <nl> - 1508900115 211490699 - 2254104 - 1730678849 < / internalNodes > <nl> + 0 - 1 64 - 586477089 - 1739049 - 376836705 - 67535183 - 1863711521 <nl> + - 39906211 - 55681665 - 4519525 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 8317861557006836e - 01 2 . 8284984827041626e - 01 < / leafValues > < / _ > <nl> + - 2 . 9972866177558899e - 01 3 . 9937162399291992e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 41 996949948 - 1074251786 - 1927935233 - 1076350024 <nl> - 2075671804 - 1142087780 1073228796 419182780 < / internalNodes > <nl> + 0 - 1 6 - 368054737 - 386994705 - 1408881074 - 460395570 <nl> + 1412653943 2008510935 2001149943 - 134742057 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 7560386657714844e - 01 1 . 9361333549022675e - 01 < / leafValues > < / _ > <nl> + - 3 . 6805298924446106e - 01 3 . 0004048347473145e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 34 285159670 1574877663 812781612 902735252 1349253615 <nl> - 501624074 1660812238 837135102 < / internalNodes > <nl> + 0 - 1 151 67113012 - 35739137 1057372155 - 33829 - 1361273926 <nl> + - 288337 - 645481541 142608384 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 5906951427459717e - 01 2 . 4412161111831665e - 01 < / leafValues > < / _ > <nl> + - 5 . 9330224990844727e - 01 1 . 8238928914070129e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 87 - 401964542 - 604282584 - 238832173 - 201336817 <nl> - 407841743 - 1952461093 537912235 1076871682 < / internalNodes > <nl> + 0 - 1 75 - 1072701301 - 671366845 - 16816801 - 214179585 <nl> + - 287576661 - 1898205966 - 910775361 - 796397174 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 8815396428108215e - 01 2 . 8597831726074219e - 01 < / leafValues > < / _ > <nl> + - 2 . 7409136295318604e - 01 3 . 9939814805984497e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 13 - 319827993 - 336706129 - 464467252 - 355808542 <nl> - 1880126391 2065129619 1637237623 - 170393849 < / internalNodes > <nl> + 0 - 1 145 - 210260430 - 550458918 - 817164360 522852214 <nl> + 1608063412 523835127 1767140330 2142619599 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 3116512894630432e - 01 3 . 1429883837699890e - 01 < / leafValues > < / _ > <nl> + - 4 . 2007333040237427e - 01 2 . 5036361813545227e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 58 - 1082594312 2001260664 - 1714419576 462032044 <nl> - 504642296 940394525 238295292 2140786687 < / internalNodes > <nl> + 0 - 1 106 - 668991480 - 571137128 134225789 2036082857 <nl> + - 1355239426 - 1097843932 - 65229377 - 1409278696 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 9527158737182617e - 01 2 . 5428023934364319e - 01 < / leafValues > < / _ > <nl> + - 4 . 4620364904403687e - 01 2 . 5361731648445129e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 107 - 536875509 - 290797713 - 836580346 1937303703 <nl> - - 1143021729 1079230851 - 241961232 - 201326593 < / internalNodes > <nl> + 0 - 1 23 - 13640710 - 1621752264 913482714 - 1083040236 <nl> + 1576750572 498139137 439618008 1870552502 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 8347908854484558e - 01 3 . 8469237089157104e - 01 < / leafValues > < / _ > <nl> + - 4 . 1628214716911316e - 01 2 . 6402309536933899e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 76 24948468 1439961976 117965308 394148762 824443848 <nl> - 355535340 1576580607 2147105023 < / internalNodes > <nl> + 0 - 1 67 - 787246445 - 749212077 - 935551043 - 172779723 <nl> + - 94817285 - 1938471563 - 918498631 - 708587333 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 8180338144302368e - 01 2 . 6587575674057007e - 01 < / leafValues > < / _ > <nl> + - 2 . 7984970808029175e - 01 4 . 1098093986511230e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 79 - 97412 705625872 - 1928719736 991174672 1991513048 <nl> - 340794318 132452816 2074410985 < / internalNodes > <nl> + 0 - 1 128 - 243202912 1407021568 - 779528369 1418547202 <nl> + - 1442076737 - 926219147 - 1364246390 1075266562 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 4737218618392944e - 01 2 . 0131689310073853e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + - 4 . 9520006775856018e - 01 2 . 2138561308383942e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 5 1372927212 - 227213382 538535388 1526273482 - 775685636 <nl> + 1359217696 1892498367 1106549226 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 6740746498107910e - 01 2 . 2221027314662933e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 18 - 680105346 - 50672006 - 61043722 - 20652580 1167148304 <nl> + 1297171281 1564541172 2135252980 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 8021813631057739e - 01 1 . 6776110231876373e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 93 - 67190785 2138815230 513028533 2138649213 <nl> + - 1351045460 - 1073866056 737192892 - 1073793345 < / internalNodes > <nl> + < leafValues > <nl> + - 2 . 7366468310356140e - 01 3 . 9427521824836731e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 111 - 18374216 2066660528 - 846658680 1998192784 <nl> + - 353720643 1050333580 1196495962 2131548142 < / internalNodes > <nl> + < leafValues > <nl> + - 4 . 2084836959838867e - 01 2 . 6041650772094727e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 36 41815722 800667216 41947696 403091603 214502100 <nl> + 766251320 1196506010 1559027679 < / internalNodes > <nl> + < leafValues > <nl> + - 5 . 5139392614364624e - 01 1 . 8117542564868927e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> < ! - - stage 13 - - > <nl> < _ > <nl> - < maxWeakCount > 11 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 3363951444625854e + 00 < / stageThreshold > <nl> + < maxWeakCount > 17 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 1453258991241455e + 00 < / stageThreshold > <nl> < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 119 - 1210061049 239064501 1036498688 48232447 - 91241205 <nl> - 1571810027 - 274466048 - 234881025 < / internalNodes > <nl> + 0 - 1 1 - 1432179870 - 1847809 - 148681217 1998594402 <nl> + - 1570247433 - 536941 - 3675137 - 8947853 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 9806686639785767e - 01 1 . 1762652546167374e - 01 < / leafValues > < / _ > <nl> + - 3 . 7709194421768188e - 01 2 . 8644382953643799e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 116 - 2072027132 1499457101 1561809911 - 608176129 <nl> - - 823149942 - 811340033 15530634 14679843 < / internalNodes > <nl> + 0 - 1 26 2065162207 2135953240 890785663 1561586171 <nl> + 1365013981 1228145616 1576886525 2103312095 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 8367556929588318e - 01 2 . 6368728280067444e - 01 < / leafValues > < / _ > <nl> + - 3 . 3218267560005188e - 01 3 . 1739917397499084e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 26 - 947640228 - 5240282 1397146301 - 1817464 - 113215576 <nl> - - 276022548 - 1142185266 721682944 < / internalNodes > <nl> + 0 - 1 159 - 4349 10484095 - 379912926 299367819 - 336673018 <nl> + 1085845711 - 69209856 - 35652609 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 6088328361511230e - 01 2 . 3705115914344788e - 01 < / leafValues > < / _ > <nl> + - 3 . 6497038602828979e - 01 2 . 8210833668708801e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 83 - 939475964 - 1630259847 - 1163364107 896693461 <nl> - - 1129545224 - 1163337043 - 1131627606 - 1476257760 < / internalNodes > <nl> + 0 - 1 90 - 1879000591 - 1281348623 2134636927 - 1223216813 <nl> + - 70255697 - 1157948165 - 1362818049 - 1409306038 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 8416930437088013e - 01 2 . 7785962820053101e - 01 < / leafValues > < / _ > <nl> + - 3 . 1854087114334106e - 01 3 . 4325140714645386e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 1 - 286265553 - 2097172889 - 1360007282 - 810752504 <nl> - 1945337719 931133431 2138466151 - 134752411 < / internalNodes > <nl> + 0 - 1 135 1414922256 1543083153 536870928 2009669737 <nl> + - 1604542325 - 1125515136 - 1492341106 - 627049989 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 6276057362556458e - 01 3 . 7057456374168396e - 01 < / leafValues > < / _ > <nl> + - 3 . 3447694778442383e - 01 3 . 0122682452201843e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 104 - 1140933122 - 1720043790 - 1426186882 968100792 <nl> - - 1159066977 - 273792711 - 1077401116 - 1111601445 < / internalNodes > <nl> + 0 - 1 24 1976806840 - 1108554788 1001602460 - 1075995302 <nl> + 1912421613 285221532 - 104023846 2131593870 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 9298012852668762e - 01 3 . 4287840127944946e - 01 < / leafValues > < / _ > <nl> + - 4 . 2866972088813782e - 01 2 . 1284209191799164e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 95 - 495991805 1207847255 553108994 2004613963 <nl> - 1695536911 125740555 1655957479 - 204484689 < / internalNodes > <nl> + 0 - 1 117 - 337643958 1125043050 - 470160768 1405681036 <nl> + - 221252907 5676195 - 1293565824 1362353599 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 9670366048812866e - 01 3 . 5816499590873718e - 01 < / leafValues > < / _ > <nl> + - 4 . 1978845000267029e - 01 2 . 3867085576057434e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 69 268572211 - 1157685379 228540413 - 1246281740 <nl> - 1073065723 - 1073840132 - 318914561 - 104598310 < / internalNodes > <nl> + 0 - 1 42 - 416873417 2144887222 744295231 - 1183394817 <nl> + 774638665 - 73530752 686489834 - 67166793 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 4255403280258179e - 01 4 . 1352078318595886e - 01 < / leafValues > < / _ > <nl> + - 3 . 3158728480339050e - 01 2 . 9727581143379211e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 78 - 401350528 - 682952605 - 767638169 - 771264442 <nl> - - 1383950964 - 1412695392 - 404776225 1345840138 < / internalNodes > <nl> + 0 - 1 108 - 564138855 461664083 - 1448593027 - 1074405509 <nl> + - 273705219 - 1090834952 9517264 - 1073768171 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 8042595386505127e - 01 2 . 6937142014503479e - 01 < / leafValues > < / _ > <nl> + - 2 . 3852770030498505e - 01 4 . 2410340905189514e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 32 558182944 - 1644488209 - 774811301 - 134234981 <nl> - - 1848805381 - 1147803949 - 991183874 17965568 < / internalNodes > <nl> + 0 - 1 61 - 804011381 - 551435525 - 581741159 - 779267455 <nl> + - 1882200145 - 541104658 - 822415634 - 985145213 < / internalNodes > <nl> < leafValues > <nl> - - 6 . 9411402940750122e - 01 1 . 7676301300525665e - 01 < / leafValues > < / _ > <nl> + - 2 . 0804791152477264e - 01 4 . 3163785338401794e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 54 - 840311459 1472786284 329555577 494149437 851195388 <nl> - 788428412 937691550 - 67110145 < / internalNodes > <nl> + 0 - 1 133 - 12914272 - 611707484 122821916 1504191292 <nl> + - 1429179970 2660282 84317480 1909456895 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 3304396271705627e - 01 4 . 0314087271690369e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> - < ! - - stage 14 - - > <nl> - < _ > <nl> - < maxWeakCount > 11 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 5702900886535645e + 00 < / stageThreshold > <nl> - < weakClassifiers > <nl> + - 4 . 2466604709625244e - 01 2 . 1644283831119537e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 111 - 1056985201 1089403863 - 1396998657 - 665986049 <nl> - 1266152190 - 860122726 - 372251416 - 1059062785 < / internalNodes > <nl> + 0 - 1 131 - 2061351919 - 209473217 - 1616953217 - 4759969 <nl> + - 531684929 - 33912181 1802111999 - 1576845312 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 3219449520111084e - 01 2 . 0486110448837280e - 01 < / leafValues > < / _ > <nl> + - 3 . 3507487177848816e - 01 2 . 8946039080619812e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 4 782905099 - 345065493 - 1364269618 - 353961782 <nl> - 1393776415 1458043255 - 174820621 - 142609545 < / internalNodes > <nl> + 0 - 1 11 1730637347 - 1911581365 - 26880450 - 127472190 <nl> + 1595365183 1462474007 1965503543 - 139462793 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 9447891116142273e - 01 2 . 7227249741554260e - 01 < / leafValues > < / _ > <nl> + - 3 . 8459211587905884e - 01 2 . 4876394867897034e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 16 - 606089254 925910490 - 1241603426 - 1076735762 <nl> - 1561271512 1304250681 497303692 1862229930 < / internalNodes > <nl> + 0 - 1 55 - 72371542 - 11491192 - 401592328 1031613257 <nl> + - 1653237365 999302136 962137755 - 545923721 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 5629221200942993e - 01 2 . 8698876500129700e - 01 < / leafValues > < / _ > <nl> + - 3 . 3601137995719910e - 01 3 . 0424886941909790e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 66 421704177 - 1683952655 2147336159 - 1082880013 <nl> - - 1073823745 - 6570049 - 17024338 - 84729486 < / internalNodes > <nl> + 0 - 1 3 1893180322 - 35702963 901136269 - 136459297 1950393327 <nl> + - 28168566 2038435822 93562882 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 2299223542213440e - 01 3 . 8597777485847473e - 01 < / leafValues > < / _ > <nl> + - 3 . 6003091931343079e - 01 2 . 8246212005615234e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 115 - 1749207555 998775349 - 1256514305 - 35727521 <nl> - 696089085 - 1432598289 2043218169 - 1610843912 < / internalNodes > <nl> + 0 - 1 110 - 1003830072 - 108072268 - 869513904 - 903228534 <nl> + 1312614381 180766082 2030499755 1124847626 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 7526792287826538e - 01 3 . 2450702786445618e - 01 < / leafValues > < / _ > <nl> + - 4 . 3898174166679382e - 01 2 . 4246594309806824e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 125 - 545263849 - 2146697218 - 273416304 - 50790418 <nl> - - 1073746041 518324222 - 33554784 - 658514289 < / internalNodes > <nl> + 0 - 1 73 1058808316 - 1210310920 530386005 - 6483618 160962456 <nl> + 190579119 1938308088 1073227976 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 2420372962951660e - 01 4 . 0965199470520020e - 01 < / leafValues > < / _ > <nl> + - 6 . 4721792936325073e - 01 1 . 3738234341144562e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> + < ! - - stage 14 - - > <nl> + < _ > <nl> + < maxWeakCount > 18 < / maxWeakCount > <nl> + < stageThreshold > - 1 . 1087274551391602e + 00 < / stageThreshold > <nl> + < weakClassifiers > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 100 - 487594453 2026893416 387177215 1354210610 <nl> - - 1031015122 - 17247836 1084028367 1074782986 < / internalNodes > <nl> + 0 - 1 149 - 8390896 268497692 - 272633584 805371189 - 336595326 <nl> + - 1934691923 - 1050216 1027604223 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 6092731356620789e - 01 3 . 6433976888656616e - 01 < / leafValues > < / _ > <nl> + - 4 . 8946416378021240e - 01 2 . 0136030018329620e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 35 2146353144 903648761 - 712436227 1031184125 <nl> - 1368192253 1252083485 836306618 981267180 < / internalNodes > <nl> + 0 - 1 44 1431584221 - 4850769 2147416447 - 722078 2113748924 <nl> + - 1564758 2079843311 - 275824118 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 4808396100997925e - 01 2 . 0727691054344177e - 01 < / leafValues > < / _ > <nl> + - 2 . 9929193854331970e - 01 3 . 6811101436614990e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 39 - 233848605 - 142739610 - 1384235451 2012741235 <nl> - - 169505029 - 361580766 1374625758 - 531115930 < / internalNodes > <nl> + 0 - 1 10 - 1355815121 1877982127 - 830593306 - 184549522 <nl> + 1970239099 1702363071 - 42240081 - 134219777 < / internalNodes > <nl> < leafValues > <nl> - - 2 . 8540691733360291e - 01 4 . 3118214607238770e - 01 < / leafValues > < / _ > <nl> + - 3 . 0243739485740662e - 01 3 . 4885558485984802e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 59 - 270344964 2008479958 - 822079716 727650460 - 45194244 <nl> - 356275355 1602885720 2112421631 < / internalNodes > <nl> + 0 - 1 132 - 492052222 - 541336318 - 1846282377 - 620510958 <nl> + - 877733441 - 893656706 - 490013969 1107746818 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 5606413483619690e - 01 2 . 6479825377464294e - 01 < / leafValues > < / _ > <nl> + - 4 . 3659803271293640e - 01 2 . 3309104144573212e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 62 - 1419078664 2077620909 - 845475078 - 206014116 <nl> - 999095034 1532497066 749717756 - 5257234 < / internalNodes > <nl> + 0 - 1 46 - 13959374 - 551758030 2133066240 1059699624 <nl> + 1594398648 1008751024 - 577498712 - 263441 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 8393145799636841e - 01 3 . 2824596762657166e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > <nl> - < ! - - stage 15 - - > <nl> - < _ > <nl> - < maxWeakCount > 12 < / maxWeakCount > <nl> - < stageThreshold > - 1 . 1136264801025391e + 00 < / stageThreshold > <nl> - < weakClassifiers > <nl> + - 3 . 2053592801094055e - 01 3 . 0849483609199524e - 01 < / leafValues > < / _ > <nl> + < _ > <nl> + < internalNodes > <nl> + 0 - 1 143 - 1414322373 195263284 - 1348273901 - 1415343359 <nl> + 20970813 - 1917862959 - 1342178308 - 1379926477 < / internalNodes > <nl> + < leafValues > <nl> + - 3 . 1874653697013855e - 01 3 . 1185933947563171e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 14 - 9 - 69633 - 68485377 - 68485446 - 172801 - 536912001 <nl> - - 9151014 - 8193 < / internalNodes > <nl> + 0 - 1 140 - 79954504 1026088735 - 643853000 529594724 273447932 <nl> + 106207386 - 274041440 792712927 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 9596679806709290e - 01 4 . 5984113216400146e - 01 < / leafValues > < / _ > <nl> + - 3 . 5853803157806396e - 01 2 . 8547570109367371e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 9 - 269524181 1315914701 - 858338706 - 361857298 <nl> - 2002220407 1699956499 - 674278799 - 143199305 < / internalNodes > <nl> + 0 - 1 157 184545039 176919511 - 588197223 - 1595429199 <nl> + 1810620734 - 934555461 - 2641016 - 1157693445 < / internalNodes > <nl> < leafValues > <nl> - - 5 . 1690953969955444e - 01 2 . 3336707055568695e - 01 < / leafValues > < / _ > <nl> + - 3 . 8131272792816162e - 01 2 . 3793785274028778e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 85 - 71849286 - 14009750 2131167292 458173998 653927322 <nl> - 786276819 1088952524 2131229663 < / internalNodes > <nl> + 0 - 1 88 - 750534381 - 721345120 - 1250436741 - 146541184 <nl> + - 270604294 - 15031914 - 305662005 - 672663741 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 5092019438743591e - 01 2 . 6860737800598145e - 01 < / leafValues > < / _ > <nl> + - 2 . 1938635408878326e - 01 4 . 3157151341438293e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 18 - 1566387536 958398750 - 581927144 - 1256505505 <nl> - - 1781490504 - 1456848172 - 109045320 - 304088401 < / internalNodes > <nl> + 0 - 1 25 - 498457864 - 76373294 1972051927 995099504 <nl> + - 1043128895 - 20223045 - 370443585 - 268475870 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 4108951687812805e - 01 3 . 7153768539428711e - 01 < / leafValues > < / _ > <nl> + - 3 . 3148765563964844e - 01 2 . 9289075732231140e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 103 - 16386 905453757 - 216293961 - 1073858611 2079972863 <nl> - 532715673 - 24035334 2079799231 < / internalNodes > <nl> + 0 - 1 20 1374010340 2107323391 1972615118 - 14314545 <nl> + - 138778645 1927443454 - 156894485 1166666382 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 9286559820175171e - 01 3 . 1003287434577942e - 01 < / leafValues > < / _ > <nl> + - 3 . 8651987910270691e - 01 2 . 3576225340366364e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 82 - 405325320 1939030768 - 1882900744 931836032 <nl> - 2052894872 1029559721 1202524362 2134900734 < / internalNodes > <nl> + 0 - 1 112 - 136399880 1594987202 1620384820 1060184728 <nl> + 792200424 463242216 177214172 2069459706 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 3752536177635193e - 01 3 . 0235156416893005e - 01 < / leafValues > < / _ > <nl> + - 4 . 8708668351173401e - 01 2 . 0791652798652649e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 65 136184849 - 42524502 1633233907 1608993695 182426623 <nl> - - 1095793527 - 1241308989 - 1439178069 < / internalNodes > <nl> + 0 - 1 118 - 319118150 1070249086 - 1989082956 420217836 <nl> + - 1678863122 163201469 310773978 264205048 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 3183043599128723e - 01 3 . 1226927042007446e - 01 < / leafValues > < / _ > <nl> + - 4 . 5070958137512207e - 01 2 . 1894362568855286e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 46 - 745823581 - 214436743 - 49470563 - 542269649 <nl> - - 295853061 - 859714261 - 876231724 - 1073233150 < / internalNodes > <nl> + 0 - 1 47 - 524158688 - 1617709249 1472021887 - 677929633 <nl> + - 1312038657 - 651202349 - 389326081 17004042 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 1300574541091919e - 01 3 . 9668017625808716e - 01 < / leafValues > < / _ > <nl> + - 3 . 8883066177368164e - 01 2 . 3807699978351593e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 109 - 1129675012 1066538866 - 1387787522 1062903642 <nl> - - 208723715 - 1680193895 - 1143404520 - 1597050436 < / internalNodes > <nl> + 0 - 1 8 - 270274989 - 355745314 - 1421958785 - 456905566 <nl> + 2003132287 1793840371 1736662909 1777694548 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 1765916347503662e - 01 3 . 0734732747077942e - 01 < / leafValues > < / _ > <nl> + - 3 . 7509381771087646e - 01 2 . 5475081801414490e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 40 - 890510834 1831795832 - 236676776 12903158 649249679 <nl> - 1074421867 - 1339824180 - 481820721 < / internalNodes > <nl> + 0 - 1 127 - 1292122302 1458071239 1352317634 849497112 <nl> + 1670841100 71803460 - 1812204654 1439162719 < / internalNodes > <nl> < leafValues > <nl> - - 4 . 0710410475730896e - 01 3 . 0864900350570679e - 01 < / leafValues > < / _ > <nl> + - 5 . 3708952665328979e - 01 1 . 9698898494243622e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 21 - 46191328 1971318713 - 1 - 100697553 - 295768067 <nl> - - 16777345 - 1107521650 - 391648248 < / internalNodes > <nl> + 0 - 1 48 86115840 - 1074190881 - 750579245 531866414 - 842216021 <nl> + - 2371041 - 1215566401 - 990884608 < / internalNodes > <nl> < leafValues > <nl> - - 3 . 1451034545898438e - 01 4 . 0722864866256714e - 01 < / leafValues > < / _ > <nl> + - 4 . 7016599774360657e - 01 2 . 1694010496139526e - 01 < / leafValues > < / _ > <nl> < _ > <nl> < internalNodes > <nl> - 0 - 1 38 - 128975033 - 785907845 - 1979322433 464517451 <nl> - - 1665863986 - 18882562 539409374 - 937178073 < / internalNodes > <nl> + 0 - 1 33 - 1540444676 1023806652 - 1689498116 1070651197 <nl> + 527979992 - 1639682675 - 906152532 - 1699849162 < / internalNodes > <nl> < leafValues > <nl> - - 2 . 8620451688766479e - 01 4 . 5744663476943970e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > < / stages > <nl> + - 4 . 1852179169654846e - 01 2 . 2278973460197449e - 01 < / leafValues > < / _ > < / weakClassifiers > < / _ > < / stages > <nl> < features > <nl> < _ > <nl> < rect > <nl> 0 0 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 0 1 1 1 < / rect > < / _ > <nl> + 0 0 2 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 0 0 9 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 0 0 12 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 0 1 1 2 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 0 1 12 3 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 0 2 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 0 2 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 0 2 1 3 < / rect > < / _ > <nl> + 0 2 2 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 0 3 1 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 0 3 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 0 4 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 0 5 1 1 < / rect > < / _ > <nl> + 0 4 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 0 5 1 2 < / rect > < / _ > <nl> + 0 5 2 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 0 6 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 0 6 2 2 < / rect > < / _ > <nl> + 0 7 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 0 7 1 1 < / rect > < / _ > <nl> + 0 9 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 0 8 1 2 < / rect > < / _ > <nl> + 0 9 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 0 10 1 2 < / rect > < / _ > <nl> + 0 9 2 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 0 12 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 0 13 1 1 < / rect > < / _ > <nl> + 0 14 12 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 0 15 1 1 < / rect > < / _ > <nl> <nl> 0 15 12 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 1 1 4 2 < / rect > < / _ > <nl> + 1 2 8 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 1 2 6 1 < / rect > < / _ > <nl> + 1 9 2 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 1 2 8 1 < / rect > < / _ > <nl> + 1 15 6 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 2 0 2 1 < / rect > < / _ > <nl> <nl> 2 0 8 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 2 12 9 1 < / rect > < / _ > <nl> + 2 1 7 2 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 2 2 7 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 2 15 2 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 2 15 6 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 3 0 2 1 < / rect > < / _ > <nl> + 2 15 8 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 3 4 8 1 < / rect > < / _ > <nl> + 3 2 10 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 3 13 7 1 < / rect > < / _ > <nl> + 3 7 7 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 4 0 3 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 4 9 9 2 < / rect > < / _ > <nl> + 4 0 8 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 4 1 2 2 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 4 1 9 2 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 5 0 1 3 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 5 1 1 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 5 4 5 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 5 4 7 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 5 2 8 1 < / rect > < / _ > <nl> + 5 8 8 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 5 14 7 1 < / rect > < / _ > <nl> + 5 9 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 6 0 1 1 < / rect > < / _ > <nl> <nl> < _ > <nl> < rect > <nl> 6 1 8 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 6 2 4 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 6 15 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 6 15 6 1 < / rect > < / _ > <nl> + 7 0 2 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 7 0 8 2 < / rect > < / _ > <nl> + 7 3 5 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 7 3 4 2 < / rect > < / _ > <nl> + 7 4 8 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 7 4 7 2 < / rect > < / _ > <nl> + 7 9 8 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 9 9 1 1 < / rect > < / _ > <nl> + 8 3 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 9 15 2 1 < / rect > < / _ > <nl> + 8 11 2 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 10 0 1 4 < / rect > < / _ > <nl> + 8 14 7 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 10 0 8 1 < / rect > < / _ > <nl> + 9 0 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 10 15 3 1 < / rect > < / _ > <nl> + 9 15 3 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 10 15 6 1 < / rect > < / _ > <nl> + 10 0 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 11 0 1 3 < / rect > < / _ > <nl> + 10 0 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 11 0 8 1 < / rect > < / _ > <nl> + 10 0 5 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 11 2 6 2 < / rect > < / _ > <nl> + 10 1 3 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 11 3 8 1 < / rect > < / _ > <nl> + 10 9 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 11 13 6 1 < / rect > < / _ > <nl> + 10 15 8 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 12 3 6 1 < / rect > < / _ > <nl> + 11 0 1 3 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 11 3 2 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 11 13 7 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 11 15 5 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 12 6 1 4 < / rect > < / _ > <nl> + 12 3 6 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 12 9 2 1 < / rect > < / _ > <nl> + 12 9 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 12 11 1 2 < / rect > < / _ > <nl> + 12 15 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 13 0 1 3 < / rect > < / _ > <nl> <nl> 13 0 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 13 0 4 1 < / rect > < / _ > <nl> + 13 0 6 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 13 3 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 13 8 2 3 < / rect > < / _ > <nl> + 13 8 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 13 9 1 2 < / rect > < / _ > <nl> + 13 15 3 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 14 0 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 14 0 4 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 14 4 5 1 < / rect > < / _ > <nl> + 14 1 7 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 14 8 2 3 < / rect > < / _ > <nl> + 14 3 2 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 14 15 4 1 < / rect > < / _ > <nl> + 14 3 3 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 15 2 5 2 < / rect > < / _ > <nl> + 14 4 5 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 15 3 1 1 < / rect > < / _ > <nl> + 14 9 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 15 3 4 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 15 4 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 15 10 2 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 16 3 4 1 < / rect > < / _ > <nl> + 16 3 3 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 16 3 6 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 17 3 1 1 < / rect > < / _ > <nl> + 17 11 2 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 18 3 4 1 < / rect > < / _ > <nl> + 17 12 2 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 18 15 3 1 < / rect > < / _ > <nl> + 18 0 1 4 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 18 0 4 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 18 3 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 19 0 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 19 5 1 3 < / rect > < / _ > <nl> + 19 2 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 19 6 1 4 < / rect > < / _ > <nl> + 19 8 2 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 19 9 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 19 11 2 2 < / rect > < / _ > <nl> + 19 9 1 3 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 19 15 2 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 20 0 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 20 1 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 20 2 1 3 < / rect > < / _ > <nl> + 20 7 1 3 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 20 13 3 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 21 0 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 20 9 1 2 < / rect > < / _ > <nl> + 21 2 3 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 21 1 1 4 < / rect > < / _ > <nl> + 21 3 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 21 6 1 4 < / rect > < / _ > <nl> + 21 5 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 21 7 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 21 13 3 1 < / rect > < / _ > <nl> + 21 8 1 3 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 21 11 1 2 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 22 3 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 22 1 1 4 < / rect > < / _ > <nl> + 22 6 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 22 7 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 23 0 1 4 < / rect > < / _ > <nl> + 22 10 1 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 22 10 1 2 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 22 11 2 2 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 23 0 4 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 23 3 1 2 < / rect > < / _ > <nl> + 23 1 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 23 7 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 23 9 1 1 < / rect > < / _ > <nl> + 23 9 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 24 0 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 24 0 4 1 < / rect > < / _ > <nl> + 24 1 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 24 6 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 24 9 1 1 < / rect > < / _ > <nl> + 24 7 2 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 24 9 1 3 < / rect > < / _ > <nl> + 25 3 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 25 6 1 1 < / rect > < / _ > <nl> + 25 7 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 25 6 1 4 < / rect > < / _ > <nl> + 25 9 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 25 8 1 3 < / rect > < / _ > <nl> + 26 0 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 27 0 2 1 < / rect > < / _ > <nl> + 26 3 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 27 1 1 3 < / rect > < / _ > <nl> + 26 8 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 27 2 1 3 < / rect > < / _ > <nl> + 26 10 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 27 5 3 2 < / rect > < / _ > <nl> + 26 11 2 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 27 9 1 3 < / rect > < / _ > <nl> + 27 0 1 4 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 27 1 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 27 15 1 1 < / rect > < / _ > <nl> + 27 1 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 27 15 2 1 < / rect > < / _ > <nl> + 27 9 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 27 15 3 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 28 0 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 28 0 2 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 28 7 1 1 < / rect > < / _ > <nl> + 28 1 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 28 9 1 1 < / rect > < / _ > <nl> + 28 8 1 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 28 15 1 1 < / rect > < / _ > <nl> + 29 6 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 30 0 2 3 < / rect > < / _ > <nl> + 30 0 2 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 30 1 2 3 < / rect > < / _ > <nl> + 30 9 2 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 30 1 2 4 < / rect > < / _ > <nl> + 30 9 2 3 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 30 12 2 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 31 15 1 1 < / rect > < / _ > <nl> + 30 15 2 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 32 15 1 1 < / rect > < / _ > <nl> + 31 0 1 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 31 0 1 4 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 33 0 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 33 1 1 2 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 33 1 1 3 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 33 2 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 33 2 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 33 5 1 1 < / rect > < / _ > <nl> + 33 4 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 33 6 1 1 < / rect > < / _ > <nl> <nl> 33 6 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 33 8 1 2 < / rect > < / _ > <nl> + 33 7 1 2 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 33 9 1 1 < / rect > < / _ > <nl> + 33 10 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 33 11 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> - 33 11 1 2 < / rect > < / _ > <nl> + 33 12 1 1 < / rect > < / _ > <nl> + < _ > <nl> + < rect > <nl> + 33 13 1 1 < / rect > < / _ > <nl> < _ > <nl> < rect > <nl> 33 15 1 1 < / rect > < / _ > < / features > < / cascade > <nl>
Improved detection accuracy for usa plates
openalpr/openalpr
bab637225834366d8ee795a2e0ee63fb904abf8c
2014-06-21T02:36:15Z
mmm a / configure . ac <nl> ppp b / configure . ac <nl> AS_IF ( [ test " x $ { ac_cv_env_CXXFLAGS_set } " = " x " ] , <nl> <nl> AC_CANONICAL_TARGET <nl> <nl> - AM_INIT_AUTOMAKE <nl> + AM_INIT_AUTOMAKE ( [ subdir - objects ] ) <nl> <nl> AC_ARG_WITH ( [ zlib ] , <nl> [ AS_HELP_STRING ( [ - - with - zlib ] , <nl> AC_PROG_CC <nl> AC_PROG_CXX <nl> AC_LANG ( [ C + + ] ) <nl> ACX_USE_SYSTEM_EXTENSIONS <nl> + AM_PROG_AR <nl> AM_CONDITIONAL ( GCC , test " $ GCC " = yes ) # let the Makefile know if we ' re gcc <nl> <nl> # test_util . cc takes forever to compile with GCC and optimization turned on . <nl> mmm a / src / google / protobuf / compiler / command_line_interface_unittest . cc <nl> ppp b / src / google / protobuf / compiler / command_line_interface_unittest . cc <nl> class CommandLineInterfaceTest : public testing : : Test { <nl> / / Runs the CommandLineInterface with the given command line . The <nl> / / command is automatically split on spaces , and the string " $ tmpdir " <nl> / / is replaced with TestTempDir ( ) . <nl> - void Run ( const string & command ) ; <nl> + void Run ( const string & command , bool capture_stdout = false ) ; <nl> <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> / / Methods to set up the test ( called before Run ( ) ) . <nl> void CommandLineInterfaceTest : : TearDown ( ) { <nl> mock_generators_to_delete_ . clear ( ) ; <nl> } <nl> <nl> - void CommandLineInterfaceTest : : Run ( const string & command ) { <nl> + void CommandLineInterfaceTest : : Run ( const string & command , bool capture_stdout ) { <nl> vector < string > args = Split ( command , " " , true ) ; <nl> <nl> if ( ! disallow_plugins_ ) { <nl> void CommandLineInterfaceTest : : Run ( const string & command ) { <nl> argv [ i ] = args [ i ] . c_str ( ) ; <nl> } <nl> <nl> - CaptureTestStdout ( ) ; <nl> + if ( capture_stdout ) { <nl> + CaptureTestStdout ( ) ; <nl> + } <nl> CaptureTestStderr ( ) ; <nl> <nl> return_code_ = cli_ . Run ( args . size ( ) , argv . get ( ) ) ; <nl> <nl> error_text_ = GetCapturedTestStderr ( ) ; <nl> - captured_stdout_ = GetCapturedTestStdout ( ) ; <nl> + if ( capture_stdout ) { <nl> + captured_stdout_ = GetCapturedTestStdout ( ) ; <nl> + } <nl> } <nl> <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> TEST_F ( CommandLineInterfaceTest , PrintFreeFieldNumbers ) { <nl> " } \ n " ) ; <nl> <nl> Run ( " protocol_compiler - - print_free_field_numbers - - proto_path = $ tmpdir " <nl> - " foo . proto bar . proto baz . proto quz . proto " ) ; <nl> + " foo . proto bar . proto baz . proto quz . proto " , true ) ; <nl> <nl> ExpectNoErrors ( ) ; <nl> ExpectCapturedStdout ( <nl>
make changes to pass Cygwin
protocolbuffers/protobuf
abe61de6e62aecbdf342204a89c56b03f3e45745
2014-08-05T20:18:53Z
mmm a / arangod / Aql / AstNode . cpp <nl> ppp b / arangod / Aql / AstNode . cpp <nl> static TRI_json_type_e GetNodeCompareType ( AstNode const * node ) { <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief compare two nodes <nl> + / / / @ return range from - 1 to + 1 depending : <nl> + / / / - - 1 LHS being less then RHS , <nl> + / / / - 0 LHS being equal RHS <nl> + / / / - 1 LHS being greater then RHS <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> int triagens : : aql : : CompareAstNodes ( AstNode const * lhs , <nl> mmm a / arangod / Aql / AstNode . h <nl> ppp b / arangod / Aql / AstNode . h <nl> namespace triagens { <nl> members . _buffer [ i ] = node ; <nl> } <nl> <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief remove a memmer from the node <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + inline void removeMemberUnchecked ( size_t i ) { <nl> + TRI_RemoveVectorPointer ( & members , i ) ; <nl> + } <nl> + <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief return a member of the node <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / arangod / Aql / Condition . cpp <nl> ppp b / arangod / Aql / Condition . cpp <nl> <nl> # include " Condition . h " <nl> # include " Aql / Ast . h " <nl> # include " Aql / AstNode . h " <nl> + # include " Aql / ExecutionPlan . h " <nl> # include " Aql / Variable . h " <nl> # include " Basics / Exceptions . h " <nl> # include " Basics / json . h " <nl> ConditionPart : : ConditionPart ( Variable const * variable , <nl> } <nl> <nl> ConditionPart : : ~ ConditionPart ( ) { <nl> - } <nl> - <nl> - CompareResult ConditionPart : : compare ( ConditionPart const & other ) const { <nl> - if ( ! valueNode - > isConstant ( ) | | ! other . valueNode - > isConstant ( ) ) { <nl> - return CompareResult : : UNKNOWN ; <nl> - } <nl> - <nl> - if ( operatorType = = NODE_TYPE_OPERATOR_BINARY_EQ ) { <nl> - if ( other . operatorType = = NODE_TYPE_OPERATOR_BINARY_EQ | | <nl> - other . operatorType = = NODE_TYPE_OPERATOR_BINARY_NE ) { <nl> - int cmp = CompareAstNodes ( valueNode , other . valueNode , false ) ; <nl> - if ( ( other . operatorType = = NODE_TYPE_OPERATOR_BINARY_EQ & & cmp ! = 0 ) | | <nl> - ( other . operatorType = = NODE_TYPE_OPERATOR_BINARY_NE & & cmp = = 0 ) ) { <nl> - / / a = = x & & a = = y <nl> - / / a = = x & & a ! = y <nl> - return CompareResult : : IMPOSSIBLE ; <nl> - } <nl> - if ( other . operatorType = = NODE_TYPE_OPERATOR_BINARY_EQ ) { <nl> - return CompareResult : : SELF_CONTAINED_IN_OTHER ; <nl> - } <nl> - return CompareResult : : DISJOINT ; <nl> - } <nl> - if ( other . operatorType = = NODE_TYPE_OPERATOR_BINARY_GT | | <nl> - other . operatorType = = NODE_TYPE_OPERATOR_BINARY_GE ) { <nl> - int cmp = CompareAstNodes ( valueNode , other . valueNode , true ) ; <nl> - if ( ( other . operatorType = = NODE_TYPE_OPERATOR_BINARY_GT & & cmp < = 0 ) | | <nl> - ( other . operatorType = = NODE_TYPE_OPERATOR_BINARY_GE & & cmp < 0 ) ) { <nl> - / / a = = x & & a > y <nl> - / / a = = x & & a > = y <nl> - return CompareResult : : IMPOSSIBLE ; <nl> - } <nl> - return CompareResult : : OTHER_CONTAINED_IN_SELF ; <nl> - } <nl> - if ( other . operatorType = = NODE_TYPE_OPERATOR_BINARY_LT | | <nl> - other . operatorType = = NODE_TYPE_OPERATOR_BINARY_LE ) { <nl> - int cmp = CompareAstNodes ( valueNode , other . valueNode , true ) ; <nl> - if ( ( other . operatorType = = NODE_TYPE_OPERATOR_BINARY_LT & & cmp > = 0 ) | | <nl> - ( other . operatorType = = NODE_TYPE_OPERATOR_BINARY_LE & & cmp > 0 ) ) { <nl> - / / a = = x & & a < y <nl> - / / a = = x & & a < = y <nl> - return CompareResult : : IMPOSSIBLE ; <nl> - } <nl> - return CompareResult : : OTHER_CONTAINED_IN_SELF ; <nl> - } <nl> - } <nl> - <nl> - return CompareResult : : UNKNOWN ; <nl> + <nl> } <nl> <nl> void ConditionPart : : dump ( ) const { <nl> void Condition : : andCombine ( AstNode const * node ) { <nl> TRI_ASSERT ( _root ! = nullptr ) ; <nl> } <nl> <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief locate indices for each condition <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + void Condition : : findIndices ( ) { <nl> + } <nl> + <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief normalize the condition <nl> / / / this will convert the condition into its disjunctive normal form <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - void Condition : : normalize ( ) { <nl> + void Condition : : normalize ( ExecutionPlan * plan ) { <nl> if ( _isNormalized ) { <nl> / / already normalized <nl> return ; <nl> void Condition : : normalize ( ) { <nl> _root = collapseNesting ( _root ) ; <nl> _root = fixRoot ( _root , 0 ) ; <nl> <nl> - optimize ( ) ; <nl> + optimize ( plan ) ; <nl> <nl> - std : : cout < < " \ n " ; <nl> - dump ( ) ; <nl> - std : : cout < < " \ n " ; <nl> + std : : cout < < " \ n " ; <nl> + dump ( ) ; <nl> + std : : cout < < " \ n " ; <nl> <nl> _isNormalized = true ; <nl> } <nl> std : : cout < < " \ n " ; <nl> / / / @ brief optimize the condition ' s expression tree <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - void Condition : : optimize ( ) { <nl> + / / | | a = = y | a ! = y | a < y | a < = y | a > = y | a > y <nl> + / / mmmmmm - | mmmmmmmmmmmmmmmmmm | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - <nl> + / / x < y | | IMP | OIS | OIS | OIS | IMP | IMP <nl> + / / x = = y | a = = x | OIS | IMP | IMP | OIS | OIS | IMP <nl> + / / x > y | | IMP | OIS | IMP | IMP | OIS | OIS <nl> + / / mmmmmm - | mmmmmmmmmmmmmmmmmm | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - <nl> + / / x < y | | SIO | DIJ | DIJ | DIJ | SIO | SIO <nl> + / / x = = y | a ! = x | IMP | OIS | SIO | DIJ | DIJ | SIO <nl> + / / x > y | | SIO | DIJ | SIO | SIO | DIJ | DIJ <nl> + / / mmmmmm - | mmmmmmmmmmmmmmmmmm | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - <nl> + / / x < y | | IMP | OIS | OIS | OIS | IMP | IMP <nl> + / / x = = y | a < x | IMP | OIS | OIS | OIS | IMP | IMP <nl> + / / x > y | | SIO | DIJ | SIO | SIO | DIJ | DIJ <nl> + / / mmmmmm - | mmmmmmmmmmmmmmmmmm | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - <nl> + / / x < y | | IMP | OIS | OIS | OIS | IMP | IMP <nl> + / / x = = y | a < = x | SIO | DIJ | SIO | OIS | CEQ | IMP <nl> + / / x > y | | SIO | DIJ | SIO | SIO | DIJ | DIJ <nl> + / / mmmmmm - | mmmmmmmmmmmmmmmmmm | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - <nl> + / / x < y | | SIO | DIJ | DIJ | DIJ | SIO | SIO <nl> + / / x = = y | a > = x | SIO | DIJ | IMP | CEQ | OIS | SIO <nl> + / / x > y | | IMP | OIS | IMP | IMP | OIS | OIS <nl> + / / mmmmmm - | mmmmmmmmmmmmmmmmmm | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - | mmmmmm - - <nl> + / / x < y | | SIO | DIJ | DIJ | DIJ | SIO | SIO <nl> + / / x = = y | a > x | IMP | OIS | IMP | IMP | OIS | OIS <nl> + / / x > y | | IMP | OIS | IMP | IMP | OIS | OIS <nl> + / / the 7th column is here as fallback if the operation is not in the table above . <nl> + / / IMP - > IMPOSSIBLE - > empty result - > the complete AND set of conditions can be dropped . <nl> + / / CEQ - > CONVERT_EQUAL - > both conditions can be combined to a equals x . <nl> + / / DIJ - > DISJOINT - > neither condition is a consequence of the other - > both have to stay in place . <nl> + / / SIO - > SELF_CONTAINED_IN_OTHER - > the left condition is a consequence of the right condition <nl> + / / OIS - > OTHER_CONTAINED_IN_SELF - > the right condition is a consequence of the left condition <nl> + / / If a condition ( A ) is a consequence of another ( B ) , the solution set of A is larger than that of B <nl> + / / - > A can be dropped . <nl> + <nl> + ConditionPart : : ConditionPartCompareResult ConditionPart : : ResultsTable [ 3 ] [ 7 ] [ 7 ] = { <nl> + { / / X < Y <nl> + { IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , IMPOSSIBLE , IMPOSSIBLE , DISJOINT } , <nl> + { SELF_CONTAINED_IN_OTHER , DISJOINT , DISJOINT , DISJOINT , SELF_CONTAINED_IN_OTHER , SELF_CONTAINED_IN_OTHER , DISJOINT } , <nl> + { IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , IMPOSSIBLE , IMPOSSIBLE , DISJOINT } , <nl> + { IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , IMPOSSIBLE , IMPOSSIBLE , DISJOINT } , <nl> + { SELF_CONTAINED_IN_OTHER , DISJOINT , DISJOINT , DISJOINT , SELF_CONTAINED_IN_OTHER , SELF_CONTAINED_IN_OTHER , DISJOINT } , <nl> + { SELF_CONTAINED_IN_OTHER , DISJOINT , DISJOINT , DISJOINT , SELF_CONTAINED_IN_OTHER , SELF_CONTAINED_IN_OTHER , DISJOINT } , <nl> + { DISJOINT , DISJOINT , DISJOINT , DISJOINT , DISJOINT , DISJOINT , DISJOINT } <nl> + } , <nl> + { / / X = = Y <nl> + { OTHER_CONTAINED_IN_SELF , IMPOSSIBLE , IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , IMPOSSIBLE , DISJOINT } , <nl> + { IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , SELF_CONTAINED_IN_OTHER , DISJOINT , DISJOINT , SELF_CONTAINED_IN_OTHER , DISJOINT } , <nl> + { IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , IMPOSSIBLE , IMPOSSIBLE , DISJOINT } , <nl> + { SELF_CONTAINED_IN_OTHER , DISJOINT , SELF_CONTAINED_IN_OTHER , OTHER_CONTAINED_IN_SELF , CONVERT_EQUAL , IMPOSSIBLE , DISJOINT } , <nl> + { SELF_CONTAINED_IN_OTHER , DISJOINT , IMPOSSIBLE , CONVERT_EQUAL , OTHER_CONTAINED_IN_SELF , SELF_CONTAINED_IN_OTHER , DISJOINT } , <nl> + { IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , IMPOSSIBLE , IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , DISJOINT } , <nl> + { DISJOINT , DISJOINT , DISJOINT , DISJOINT , DISJOINT , DISJOINT , DISJOINT } <nl> + } , <nl> + { / / X > Y <nl> + { IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , IMPOSSIBLE , IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , DISJOINT } , <nl> + { SELF_CONTAINED_IN_OTHER , DISJOINT , SELF_CONTAINED_IN_OTHER , SELF_CONTAINED_IN_OTHER , DISJOINT , DISJOINT , DISJOINT } , <nl> + { SELF_CONTAINED_IN_OTHER , DISJOINT , SELF_CONTAINED_IN_OTHER , SELF_CONTAINED_IN_OTHER , DISJOINT , DISJOINT , DISJOINT } , <nl> + { SELF_CONTAINED_IN_OTHER , DISJOINT , SELF_CONTAINED_IN_OTHER , SELF_CONTAINED_IN_OTHER , DISJOINT , DISJOINT , DISJOINT } , <nl> + { IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , IMPOSSIBLE , IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , DISJOINT } , <nl> + { IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , IMPOSSIBLE , IMPOSSIBLE , OTHER_CONTAINED_IN_SELF , OTHER_CONTAINED_IN_SELF , DISJOINT } , <nl> + { DISJOINT , DISJOINT , DISJOINT , DISJOINT , DISJOINT , DISJOINT , DISJOINT } <nl> + } <nl> + } ; <nl> + void Condition : : optimize ( ExecutionPlan * plan ) { <nl> <nl> / / normalize ( ) ; <nl> typedef std : : vector < std : : pair < size_t , AttributeSideType > > UsagePositionType ; <nl> void Condition : : optimize ( ) { <nl> / / handle sub nodes or top - level OR node <nl> size_t const n = _root - > numMembers ( ) ; <nl> <nl> - for ( size_t i = 0 ; i < n ; + + i ) { <nl> + for ( size_t i = 0 ; i < n ; + + i ) { / / foreach OR - Node <nl> auto andNode = _root - > getMemberUnchecked ( i ) ; <nl> - <nl> TRI_ASSERT ( andNode - > type = = NODE_TYPE_OPERATOR_NARY_AND ) ; <nl> <nl> + restartThisOrItem : <nl> size_t const andNumMembers = andNode - > numMembers ( ) ; <nl> <nl> if ( andNumMembers > 1 ) { <nl> / / optimization is only necessary if an AND node has members <nl> VariableUsageType variableUsage ; <nl> - <nl> + <nl> for ( size_t j = 0 ; j < andNumMembers ; + + j ) { <nl> auto operand = andNode - > getMemberUnchecked ( j ) ; <nl> <nl> void Condition : : optimize ( ) { <nl> } <nl> <nl> / / now find the variables and attributes for which there are multiple conditions <nl> - for ( auto const & it : variableUsage ) { <nl> + for ( auto const & it : variableUsage ) { / / foreach sub - and - node <nl> auto variable = it . first ; <nl> <nl> - for ( auto const & it2 : it . second ) { <nl> + for ( auto const & it2 : it . second ) { / / cross compare sub - and - nodes <nl> auto const & attributeName = it2 . first ; <nl> auto const & positions = it2 . second ; <nl> <nl> void Condition : : optimize ( ) { <nl> } <nl> <nl> / / multiple occurrences of the same attribute <nl> - / / std : : cout < < " ATTRIBUTE " < < attributeName < < " occurs in " < < positions . size ( ) < < " positions \ n " ; <nl> + std : : cout < < " ATTRIBUTE " < < attributeName < < " occurs in " < < positions . size ( ) < < " positions \ n " ; <nl> <nl> ConditionPart current ( variable , attributeName , 0 , andNode - > getMemberUnchecked ( positions [ 0 ] . first ) , positions [ 0 ] . second ) ; <nl> / / current . dump ( ) ; <nl> size_t j = 1 ; <nl> <nl> while ( j < positions . size ( ) ) { <nl> + <nl> ConditionPart other ( variable , attributeName , j , andNode - > getMemberUnchecked ( positions [ j ] . first ) , positions [ j ] . second ) ; <nl> <nl> - switch ( current . compare ( other ) ) { <nl> - case CompareResult : : IMPOSSIBLE : <nl> - / / std : : cout < < " IMPOSSIBLE WHERE \ n " ; <nl> - break ; <nl> - case CompareResult : : SELF_CONTAINED_IN_OTHER : <nl> - / / std : : cout < < " SELF IS CONTAINED IN OTHER \ n " ; <nl> - break ; <nl> - case CompareResult : : OTHER_CONTAINED_IN_SELF : <nl> - / / std : : cout < < " OTHER IS CONTAINED IN SELF \ n " ; <nl> - break ; <nl> - case CompareResult : : DISJOINT : <nl> - / / std : : cout < < " DISJOINT \ n " ; <nl> - break ; <nl> - case CompareResult : : UNKNOWN : <nl> - / / std : : cout < < " UNKNOWN \ n " ; <nl> - break ; <nl> + if ( ! current . valueNode - > isConstant ( ) | | ! other . valueNode - > isConstant ( ) ) { <nl> + continue ; <nl> + } <nl> + ConditionPart : : ConditionPartCompareResult res = ConditionPart : : ResultsTable <nl> + / / Results are - 1 , 0 , 1 , move to 0 , 1 , 2 for the lookup : <nl> + [ CompareAstNodes ( current . valueNode , other . valueNode , false ) + 1 ] <nl> + [ current . whichCompareOperation ( ) ] <nl> + [ other . whichCompareOperation ( ) ] ; <nl> + <nl> + switch ( res ) { <nl> + case CompareResult : : IMPOSSIBLE : / / / geht weg <nl> + std : : cout < < " IMPOSSIBLE WHERE \ n " ; <nl> + j = positions . size ( ) ; <nl> + / / we remove this one , so fast forward the loops to their end : <nl> + / / / TODO : does an empty _root imply false ? <nl> + / / / or do we need to replace this and node by a false node ? <nl> + / / while ( ! it . end ( ) ) it + + ; <nl> + / / while ( ! it2 . end ( ) ) it + + ; TODOx <nl> + _root - > removeMemberUnchecked ( i ) ; <nl> + / / / i - = 1 ; < - wenn wir das ohne goto machen . . . <nl> + goto fastForwardToNextOrItem ; <nl> + break ; <nl> + case CompareResult : : SELF_CONTAINED_IN_OTHER : / / / self kann weg <nl> + std : : cout < < " SELF IS CONTAINED IN OTHER \ n " ; <nl> + andNode - > removeMemberUnchecked ( positions [ 0 ] . first ) ; <nl> + goto restartThisOrItem ; <nl> + break ; <nl> + case CompareResult : : OTHER_CONTAINED_IN_SELF : / / / other kann weg <nl> + std : : cout < < " OTHER IS CONTAINED IN SELF \ n " ; <nl> + andNode - > removeMemberUnchecked ( positions [ j ] . first ) ; <nl> + goto restartThisOrItem ; <nl> + break ; <nl> + case CompareResult : : CONVERT_EQUAL : { / / / beide gehen , werden umgeformt zu a = = x ( = = y ) <nl> + andNode - > removeMemberUnchecked ( positions [ j ] . first ) ; <nl> + auto origNode = andNode - > getMemberUnchecked ( positions [ 0 ] . first ) ; <nl> + auto newNode = plan - > getAst ( ) - > createNode ( NODE_TYPE_OPERATOR_BINARY_EQ ) ; <nl> + for ( uint32_t iMemb = 0 ; iMemb < origNode - > numMembers ( ) ; iMemb + + ) { <nl> + newNode - > addMember ( origNode - > getMemberUnchecked ( iMemb ) ) ; <nl> + } <nl> + <nl> + andNode - > changeMember ( positions [ 0 ] . first , newNode ) ; <nl> + <nl> + std : : cout < < " RESULT equals X / Y \ n " ; <nl> + } <nl> + break ; <nl> + case CompareResult : : DISJOINT : / / / beide bleiben <nl> + std : : cout < < " DISJOINT \ n " ; <nl> + break ; <nl> + case CompareResult : : UNKNOWN : / / / / beide bleiben <nl> + std : : cout < < " UNKNOWN \ n " ; <nl> + break ; <nl> } <nl> <nl> + + j ; <nl> } <nl> - } <nl> - } <nl> - <nl> + } / / cross compare sub - and - nodes <nl> + } / / foreach sub - and - node <nl> + fastForwardToNextOrItem : <nl> + true ; <nl> } <nl> } <nl> <nl> mmm a / arangod / Aql / Condition . h <nl> ppp b / arangod / Aql / Condition . h <nl> namespace triagens { <nl> struct ConditionPart { <nl> <nl> enum ConditionPartCompareResult { <nl> - IMPOSSIBLE , <nl> - SELF_CONTAINED_IN_OTHER , <nl> - OTHER_CONTAINED_IN_SELF , <nl> - DISJOINT , <nl> - UNKNOWN <nl> + IMPOSSIBLE = 0 , <nl> + SELF_CONTAINED_IN_OTHER = 1 , <nl> + OTHER_CONTAINED_IN_SELF = 2 , <nl> + DISJOINT = 3 , <nl> + CONVERT_EQUAL = 4 , <nl> + UNKNOWN = 5 <nl> } ; <nl> + static ConditionPartCompareResult ResultsTable [ 3 ] [ 7 ] [ 7 ] ; <nl> <nl> ConditionPart ( ) = delete ; <nl> <nl> namespace triagens { <nl> <nl> ~ ConditionPart ( ) ; <nl> <nl> - ConditionPartCompareResult compare ( ConditionPart const & ) const ; <nl> + inline uint whichCompareOperation ( ) const { <nl> + switch ( operatorType ) { <nl> + case NODE_TYPE_OPERATOR_BINARY_EQ : <nl> + return 0 ; <nl> + case NODE_TYPE_OPERATOR_BINARY_NE : <nl> + return 1 ; <nl> + case NODE_TYPE_OPERATOR_BINARY_LT : <nl> + return 2 ; <nl> + case NODE_TYPE_OPERATOR_BINARY_LE : <nl> + return 3 ; <nl> + case NODE_TYPE_OPERATOR_BINARY_GE : <nl> + return 4 ; <nl> + case NODE_TYPE_OPERATOR_BINARY_GT : <nl> + return 5 ; <nl> + default : <nl> + return 6 ; / / not a compare operator . <nl> + } <nl> + } <nl> <nl> void dump ( ) const ; <nl> <nl> - Variable const * variable ; <nl> - std : : string const attributeName ; <nl> - size_t sourcePosition ; <nl> - AstNodeType operatorType ; <nl> - AstNode const * operatorNode ; <nl> - AstNode const * valueNode ; <nl> - <nl> + Variable const * variable ; <nl> + std : : string const attributeName ; <nl> + size_t sourcePosition ; <nl> + AstNodeType operatorType ; <nl> + AstNode const * operatorNode ; <nl> + AstNode const * valueNode ; <nl> } ; <nl> <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> namespace triagens { <nl> / / / this will convert the condition into its disjunctive normal form <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - void normalize ( ) ; <nl> + void normalize ( ExecutionPlan * plan ) ; <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief optimize the condition expression tree <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - void optimize ( ) ; <nl> + void optimize ( ExecutionPlan * plan ) ; <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief get the resulting structure for the node <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + AstNode * getConditions ( ) { return _root ; } ; <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / / @ brief locate indices which can be used for conditions <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + <nl> + void findIndices ( ) ; <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief dump the condition <nl> mmm a / arangod / Aql / OptimizerRules . cpp <nl> ppp b / arangod / Aql / OptimizerRules . cpp <nl> class ConditionFinder : public WalkerWorker < ExecutionNode > { <nl> case EN : : ENUMERATE_COLLECTION : { <nl> / / auto node = static_cast < EnumerateCollectionNode * > ( en ) ; <nl> / / auto var = node - > getVariablesSetHere ( ) [ 0 ] ; / / should only be 1 <nl> - _condition - > normalize ( ) ; <nl> + _condition - > normalize ( _plan ) ; <nl> break ; <nl> } <nl> } <nl>
Included the work of @ dothebart that was created on optimizing the condition tree .
arangodb/arangodb
1e5b246b6b906c27b1739249da00a389fa83d755
2015-09-17T16:27:47Z
mmm a / third_party / gpus / cuda_configure . bzl <nl> ppp b / third_party / gpus / cuda_configure . bzl <nl> def _check_cuda_libs ( repository_ctx , script_path , libs ) : <nl> cmd + = " f . write ( ' % s ' + linesep ) ; " % line <nl> cmd + = " f . close ( ) ; " <nl> cmd + = " from os import system ; " <nl> - args = " " . join ( [ path + " " + str ( check ) for path , check in libs ] ) <nl> + args = " " . join ( [ " \ " " + path + " \ " " + str ( check ) for path , check in libs ] ) <nl> cmd + = " system ( ' % s script . py % s ' ) ; " % ( python_bin , args ) <nl> <nl> all_paths = [ path for path , _ in libs ] <nl> checked_paths = execute ( repository_ctx , [ python_bin , " - c " , cmd ] ) . stdout . splitlines ( ) <nl> + <nl> + # Filter out empty lines from splitting on ' \ r \ n ' on Windows <nl> + checked_paths = [ path for path in checked_paths if len ( path ) > 0 ] <nl> if all_paths ! = checked_paths : <nl> auto_configure_fail ( " Error with installed CUDA libs . Expected ' % s ' . Actual ' % s ' . " % ( all_paths , checked_paths ) ) <nl> <nl>
cuda_configure : fix quoting issue if paths contain spaces
tensorflow/tensorflow
f3a0e01a4069126adf5d53e4c6c5442645c94aa6
2020-02-19T21:26:30Z
mmm a / src / Storages / MergeTree / MergeTreeIndexSet . cpp <nl> ppp b / src / Storages / MergeTree / MergeTreeIndexSet . cpp <nl> std : : unique_ptr < IMergeTreeIndex > setIndexCreator ( <nl> if ( ! node - > type - > arguments | | node - > type - > arguments - > children . size ( ) ! = 1 ) <nl> throw Exception ( " Set index must have exactly one argument . " , ErrorCodes : : INCORRECT_QUERY ) ; <nl> else if ( node - > type - > arguments - > children . size ( ) = = 1 ) <nl> - max_rows = node - > type - > arguments - > children [ 0 ] - > as < ASTLiteral & > ( ) . value . safeGet < size_t > ( ) ; <nl> + max_rows = node - > type - > arguments - > children [ 0 ] - > as < ASTLiteral & > ( ) . value . safeGet < UInt64 > ( ) ; <nl> <nl> <nl> ASTPtr expr_list = MergeTreeData : : extractKeyExpressionList ( node - > expr - > clone ( ) ) ; <nl>
build
ClickHouse/ClickHouse
f7bb6d57a4034d70925666003d82c9e0db193600
2020-06-03T08:50:27Z
mmm a / src / json . hpp <nl> ppp b / src / json . hpp <nl> class basic_json <nl> recursively . Note that <nl> <nl> - strings and object keys are escaped using escape_string ( ) <nl> - - numbers are converted to a string before output using std : : to_string ( ) <nl> + - integer numbers are converted to a string before output using std : : to_string ( ) <nl> + - floating - point numbers are converted to a string using " % g " format <nl> <nl> @ param prettyPrint whether the output shall be pretty - printed <nl> @ param indentStep the indent level <nl> class basic_json <nl> <nl> case ( value_t : : number_float ) : <nl> { <nl> - return std : : to_string ( m_value . number_float ) ; <nl> + / / 15 digits of precision allows round - trip IEEE 754 string - > double - > string <nl> + unsigned int sz = ( unsigned int ) std : : snprintf ( nullptr , 0 , " % . 15g " , m_value . number_float ) ; <nl> + std : : vector < char > buf ( sz + 1 ) ; <nl> + std : : snprintf ( & buf [ 0 ] , buf . size ( ) , " % . 15g " , m_value . number_float ) ; <nl> + string_t formatted = buf . data ( ) ; <nl> + return formatted ; <nl> } <nl> <nl> default : <nl>
Fixes serialization of small floats
nlohmann/json
7bfcbe2825f6755a6adcdb2cfb90f6e99ba3376e
2015-02-28T17:11:46Z
mmm a / fdbserver / Ratekeeper . actor . cpp <nl> ppp b / fdbserver / Ratekeeper . actor . cpp <nl> struct StorageQueueInfo { <nl> Smoother verySmoothDurableVersion , smoothLatestVersion ; <nl> Smoother smoothFreeSpace ; <nl> Smoother smoothTotalSpace ; <nl> - double localRateLimit ; <nl> limitReason_t limitReason ; <nl> StorageQueueInfo ( UID id , LocalityData locality ) : valid ( false ) , id ( id ) , locality ( locality ) , smoothDurableBytes ( SERVER_KNOBS - > SMOOTHING_AMOUNT ) , <nl> smoothInputBytes ( SERVER_KNOBS - > SMOOTHING_AMOUNT ) , verySmoothDurableBytes ( SERVER_KNOBS - > SLOW_SMOOTHING_AMOUNT ) , <nl> ACTOR Future < Void > trackStorageServerQueueInfo ( RatekeeperData * self , StorageSer <nl> myQueueInfo - > value . valid = true ; <nl> myQueueInfo - > value . prevReply = myQueueInfo - > value . lastReply ; <nl> myQueueInfo - > value . lastReply = reply . get ( ) ; <nl> - myQueueInfo - > value . localRateLimit = reply . get ( ) . localRateLimit ; <nl> if ( myQueueInfo - > value . prevReply . instanceID ! = reply . get ( ) . instanceID ) { <nl> myQueueInfo - > value . smoothDurableBytes . reset ( reply . get ( ) . bytesDurable ) ; <nl> myQueueInfo - > value . verySmoothDurableBytes . reset ( reply . get ( ) . bytesDurable ) ; <nl> void updateRate ( RatekeeperData * self , RatekeeperLimits * limits ) { <nl> int64_t worstStorageQueueStorageServer = 0 ; <nl> int64_t limitingStorageQueueStorageServer = 0 ; <nl> int64_t worstDurabilityLag = 0 ; <nl> - double worstStorageLocalLimit = 0 ; <nl> - double limitingStorageLocalLimit = 0 ; <nl> <nl> std : : multimap < double , StorageQueueInfo * > storageTpsLimitReverseIndex ; <nl> std : : multimap < int64_t , StorageQueueInfo * > storageDurabilityLagReverseIndex ; <nl> void updateRate ( RatekeeperData * self , RatekeeperLimits * limits ) { <nl> <nl> int64_t storageQueue = ss . lastReply . bytesInput - ss . smoothDurableBytes . smoothTotal ( ) ; <nl> worstStorageQueueStorageServer = std : : max ( worstStorageQueueStorageServer , storageQueue ) ; <nl> - worstStorageLocalLimit = std : : min ( worstStorageLocalLimit , ss . localRateLimit ) ; <nl> <nl> int64_t storageDurabilityLag = ss . smoothLatestVersion . smoothTotal ( ) - ss . verySmoothDurableVersion . smoothTotal ( ) ; <nl> worstDurabilityLag = std : : max ( worstDurabilityLag , storageDurabilityLag ) ; <nl> void updateRate ( RatekeeperData * self , RatekeeperLimits * limits ) { <nl> } <nl> <nl> limitingStorageQueueStorageServer = ss - > second - > lastReply . bytesInput - ss - > second - > smoothDurableBytes . smoothTotal ( ) ; <nl> - limitingStorageLocalLimit = ss - > second - > lastReply . localRateLimit ; <nl> limits - > tpsLimit = ss - > first ; <nl> reasonID = storageTpsLimitReverseIndex . begin ( ) - > second - > id ; / / Although we aren ' t controlling based on the worst SS , we still report it as the limiting process <nl> limitReason = ssReasons [ reasonID ] ; <nl> void updateRate ( RatekeeperData * self , RatekeeperLimits * limits ) { <nl> . detail ( " WorstFreeSpaceTLog " , worstFreeSpaceTLog ) <nl> . detail ( " WorstStorageServerQueue " , worstStorageQueueStorageServer ) <nl> . detail ( " LimitingStorageServerQueue " , limitingStorageQueueStorageServer ) <nl> - . detail ( " WorstStorageLocalLimit " , worstStorageLocalLimit ) <nl> - . detail ( " LimitingStorageLocalLimit " , limitingStorageLocalLimit ) <nl> . detail ( " WorstTLogQueue " , worstStorageQueueTLog ) <nl> . detail ( " TotalDiskUsageBytes " , totalDiskUsageBytes ) <nl> . detail ( " WorstStorageServerVersionLag " , worstVersionLag ) <nl>
Merge pull request from ajbeamon / remove - unused - variables
apple/foundationdb
f65eb0e9d4bf3928894b141e89ec84ceea544188
2019-08-19T21:17:05Z
mmm a / stdlib / public / core / Mirror . swift <nl> ppp b / stdlib / public / core / Mirror . swift <nl> public struct Mirror { <nl> / / / method . <nl> public typealias Child = ( label : String ? , value : Any ) <nl> <nl> - / / FIXME : swift - 3 - indexing - model : update code in comment to reflect reality <nl> / / / The type used to represent sub - structure . <nl> / / / <nl> / / / Depending on your needs , you may find it useful to " upgrade " <nl> public struct Mirror { <nl> / / / might write : <nl> / / / <nl> / / / if let b = AnyBidirectionalCollection ( someMirror . children ) { <nl> - / / / for i in b . endIndex . advanced ( by : - 20 , limitedBy : b . startIndex ) . . < b . endIndex { <nl> + / / / var i = xs . location ( b . endIndex , offsetBy : - 20 , <nl> + / / / limitedBy : b . startIndex ) ? ? b . startIndex <nl> + / / / while i ! = xs . endIndex { <nl> / / / print ( b [ i ] ) <nl> + / / / b . formLocation ( after : & i ) <nl> / / / } <nl> / / / } <nl> public typealias Children = AnyCollection < Child > <nl> extension Mirror { <nl> var customMirror : Mirror { return mirror } <nl> } <nl> <nl> - / / FIXME : swift - 3 - indexing - model : update code in comment to reflect reality <nl> / / / Return a specific descendant of the reflected subject , or ` nil ` <nl> / / / Returns a specific descendant of the reflected subject , or ` nil ` <nl> / / / if no such descendant exists . <nl> extension Mirror { <nl> / / / <nl> / / / var d = nil <nl> / / / let children = Mirror ( reflecting : x ) . children <nl> - / / / let p0 = children . startIndex . advanced ( by : 1 , limitedBy : children . endIndex ) <nl> - / / / if p0 ! = children . endIndex { <nl> + / / / if let p0 = children . location ( children . startIndex , <nl> + / / / offsetBy : 1 , limitedBy : children . endIndex ) { <nl> / / / let grandChildren = Mirror ( reflecting : children [ p0 ] . value ) . children <nl> / / / SeekTwo : for g in grandChildren { <nl> / / / if g . label = = " two " { <nl> / / / let greatGrandChildren = Mirror ( reflecting : g . value ) . children <nl> - / / / let p1 = greatGrandChildren . startIndex . advanced ( <nl> - / / / by : 3 , <nl> - / / / limitedBy : greatGrandChildren . endIndex ) <nl> - / / / if p1 ! = endIndex { d = greatGrandChildren [ p1 ] . value } <nl> + / / / if let p1 = greatGrandChildren . location ( <nl> + / / / greatGrandChildren . startIndex , <nl> + / / / offsetBy : 3 , limitedBy : greatGrandChildren . endIndex ) { <nl> + / / / d = greatGrandChildren [ p1 ] . value <nl> + / / / } <nl> / / / break SeekTwo <nl> / / / } <nl> / / / } <nl> + / / / } <nl> / / / <nl> / / / As you can see , complexity for each element of the argument list <nl> / / / depends on the argument type and capabilities of the collection <nl>
[ stdlib ] [ swift - 3 - indexing - model ] fixing sample code in Mirror to reflect new API
apple/swift
ba8483abbd8e5682d0e9c7e53b5d0939d26446ce
2016-04-22T22:19:03Z
new file mode 100644 <nl> index 00000000000 . . 8b63adf36f0 <nl> mmm / dev / null <nl> ppp b / dbms / tests / queries / bugs / all_join . sql <nl> <nl> + drop table if exists test . persons ; <nl> + drop table if exists test . children ; <nl> + <nl> + create table test . persons ( <nl> + id String , <nl> + name String <nl> + ) engine MergeTree order by id ; <nl> + <nl> + create table test . children ( <nl> + id String , <nl> + childName String <nl> + ) engine MergeTree order by id ; <nl> + <nl> + insert into test . persons ( id , name ) values ( ' 1 ' , ' John ' ) , ( ' 2 ' , ' Jack ' ) , ( ' 3 ' , ' Daniel ' ) , ( ' 4 ' , ' James ' ) , ( ' 5 ' , ' Amanda ' ) ; <nl> + insert into test . children ( id , childName ) values ( ' 1 ' , ' Robert ' ) , ( ' 1 ' , ' Susan ' ) , ( ' 3 ' , ' Sarah ' ) , ( ' 4 ' , ' David ' ) , ( ' 4 ' , ' Joseph ' ) , ( ' 5 ' , ' Robert ' ) ; <nl> + <nl> + <nl> + select * from test . persons all inner join test . children using id ; <nl> + <nl> + select * from test . persons all inner join ( select * from test . children ) as j using id ; <nl> + <nl> + select * from ( select * from test . persons ) as s all inner join ( select * from test . children ) as j using id ; <nl> + <nl> + <nl>
Added test with all joins to bugs .
ClickHouse/ClickHouse
3b0c67b6cd90f772942b2436458f47ca60bef0cd
2019-01-22T16:21:55Z
mmm a / imgui . cpp <nl> ppp b / imgui . cpp <nl> struct ImGuiStyleVarInfo <nl> { <nl> ImGuiDataType Type ; <nl> ImU32 Offset ; <nl> - void * GetVarPtr ( ) const { return ( void * ) ( ( unsigned char * ) & GImGui - > Style + Offset ) ; } <nl> + void * GetVarPtr ( ImGuiStyle * style ) const { return ( void * ) ( ( unsigned char * ) style + Offset ) ; } <nl> } ; <nl> <nl> static const ImGuiStyleVarInfo GStyleVarInfo [ ImGuiStyleVar_Count_ ] = <nl> void ImGui : : PushStyleVar ( ImGuiStyleVar idx , float val ) <nl> const ImGuiStyleVarInfo * var_info = GetStyleVarInfo ( idx ) ; <nl> if ( var_info - > Type = = ImGuiDataType_Float ) <nl> { <nl> - float * pvar = ( float * ) var_info - > GetVarPtr ( ) ; <nl> - GImGui - > StyleModifiers . push_back ( ImGuiStyleMod ( idx , * pvar ) ) ; <nl> + ImGuiContext & g = * GImGui ; <nl> + float * pvar = ( float * ) var_info - > GetVarPtr ( & g . Style ) ; <nl> + g . StyleModifiers . push_back ( ImGuiStyleMod ( idx , * pvar ) ) ; <nl> * pvar = val ; <nl> return ; <nl> } <nl> void ImGui : : PushStyleVar ( ImGuiStyleVar idx , const ImVec2 & val ) <nl> const ImGuiStyleVarInfo * var_info = GetStyleVarInfo ( idx ) ; <nl> if ( var_info - > Type = = ImGuiDataType_Float2 ) <nl> { <nl> - ImVec2 * pvar = ( ImVec2 * ) var_info - > GetVarPtr ( ) ; <nl> - GImGui - > StyleModifiers . push_back ( ImGuiStyleMod ( idx , * pvar ) ) ; <nl> + ImGuiContext & g = * GImGui ; <nl> + ImVec2 * pvar = ( ImVec2 * ) var_info - > GetVarPtr ( & g . Style ) ; <nl> + g . StyleModifiers . push_back ( ImGuiStyleMod ( idx , * pvar ) ) ; <nl> * pvar = val ; <nl> return ; <nl> } <nl> void ImGui : : PopStyleVar ( int count ) <nl> { <nl> ImGuiStyleMod & backup = g . StyleModifiers . back ( ) ; <nl> const ImGuiStyleVarInfo * info = GetStyleVarInfo ( backup . VarIdx ) ; <nl> - if ( info - > Type = = ImGuiDataType_Float ) ( * ( float * ) info - > GetVarPtr ( ) ) = backup . BackupFloat [ 0 ] ; <nl> - else if ( info - > Type = = ImGuiDataType_Float2 ) ( * ( ImVec2 * ) info - > GetVarPtr ( ) ) = ImVec2 ( backup . BackupFloat [ 0 ] , backup . BackupFloat [ 1 ] ) ; <nl> - else if ( info - > Type = = ImGuiDataType_Int ) ( * ( int * ) info - > GetVarPtr ( ) ) = backup . BackupInt [ 0 ] ; <nl> + if ( info - > Type = = ImGuiDataType_Float ) ( * ( float * ) info - > GetVarPtr ( & g . Style ) ) = backup . BackupFloat [ 0 ] ; <nl> + else if ( info - > Type = = ImGuiDataType_Float2 ) ( * ( ImVec2 * ) info - > GetVarPtr ( & g . Style ) ) = ImVec2 ( backup . BackupFloat [ 0 ] , backup . BackupFloat [ 1 ] ) ; <nl> + else if ( info - > Type = = ImGuiDataType_Int ) ( * ( int * ) info - > GetVarPtr ( & g . Style ) ) = backup . BackupInt [ 0 ] ; <nl> g . StyleModifiers . pop_back ( ) ; <nl> count - - ; <nl> } <nl>
PushStyleVar / PopStyleVar : internal tweaks
ocornut/imgui
1e162dfc74a958efc81d10ce446a0218c5816e91
2017-08-15T11:19:00Z
mmm a / dbms / src / Interpreters / AnalyzedJoin . cpp <nl> ppp b / dbms / src / Interpreters / AnalyzedJoin . cpp <nl> <nl> namespace DB <nl> { <nl> <nl> + void AnalyzedJoin : : addUsingKey ( const ASTPtr & ast ) <nl> + { <nl> + key_names_left . push_back ( ast - > getColumnName ( ) ) ; <nl> + key_names_right . push_back ( ast - > getAliasOrColumnName ( ) ) ; <nl> + <nl> + key_asts_left . push_back ( ast ) ; <nl> + key_asts_right . push_back ( ast ) ; <nl> + } <nl> + <nl> + void AnalyzedJoin : : addOnKeys ( ASTPtr & left_table_ast , ASTPtr & right_table_ast ) <nl> + { <nl> + key_names_left . push_back ( left_table_ast - > getColumnName ( ) ) ; <nl> + key_names_right . push_back ( right_table_ast - > getAliasOrColumnName ( ) ) ; <nl> + <nl> + key_asts_left . push_back ( left_table_ast ) ; <nl> + key_asts_right . push_back ( right_table_ast ) ; <nl> + } <nl> + <nl> ExpressionActionsPtr AnalyzedJoin : : createJoinedBlockActions ( <nl> const JoinedColumnsList & columns_added_by_join , <nl> const ASTSelectQuery * select_query_with_join , <nl> mmm a / dbms / src / Interpreters / AnalyzedJoin . h <nl> ppp b / dbms / src / Interpreters / AnalyzedJoin . h <nl> struct AnalyzedJoin <nl> / / / It ' s columns_from_joined_table without duplicate columns and possibly modified types . <nl> JoinedColumnsList available_joined_columns ; <nl> <nl> - void addSimpleKey ( const ASTPtr & ast ) <nl> - { <nl> - key_names_left . push_back ( ast - > getColumnName ( ) ) ; <nl> - key_names_right . push_back ( ast - > getAliasOrColumnName ( ) ) ; <nl> - <nl> - key_asts_left . push_back ( ast ) ; <nl> - key_asts_right . push_back ( ast ) ; <nl> - } <nl> + void addUsingKey ( const ASTPtr & ast ) ; <nl> + void addOnKeys ( ASTPtr & left_table_ast , ASTPtr & right_table_ast ) ; <nl> <nl> ExpressionActionsPtr createJoinedBlockActions ( <nl> const JoinedColumnsList & columns_added_by_join , / / / Subset of available_joined_columns . <nl> mmm a / dbms / src / Interpreters / IdentifierSemantic . cpp <nl> ppp b / dbms / src / Interpreters / IdentifierSemantic . cpp <nl> bool IdentifierSemantic : : canBeAlias ( const ASTIdentifier & identifier ) <nl> return identifier . semantic - > can_be_alias ; <nl> } <nl> <nl> + void IdentifierSemantic : : setMembership ( ASTIdentifier & identifier , size_t table_no ) <nl> + { <nl> + identifier . semantic - > membership = table_no ; <nl> + } <nl> + <nl> + size_t IdentifierSemantic : : getMembership ( const ASTIdentifier & identifier ) <nl> + { <nl> + return identifier . semantic - > membership ; <nl> + } <nl> <nl> std : : pair < String , String > IdentifierSemantic : : extractDatabaseAndTable ( const ASTIdentifier & identifier ) <nl> { <nl> mmm a / dbms / src / Interpreters / IdentifierSemantic . h <nl> ppp b / dbms / src / Interpreters / IdentifierSemantic . h <nl> namespace DB <nl> <nl> struct IdentifierSemanticImpl <nl> { <nl> - bool special = false ; <nl> - bool need_long_name = false ; <nl> - bool can_be_alias = true ; <nl> + bool special = false ; / / / for now it ' s ' not a column ' : tables , subselects and some special stuff like FORMAT <nl> + bool need_long_name = false ; / / / if column presents in multiple tables we need qualified names <nl> + bool can_be_alias = true ; / / / if it ' s a cropped name it could not be an alias <nl> + size_t membership = 0 ; / / / table position in join ( starting from 1 ) detected by qualifier or 0 if not detected . <nl> } ; <nl> <nl> / / / Static calss to manipulate IdentifierSemanticImpl via ASTIdentifier <nl> struct IdentifierSemantic <nl> static void setColumnNormalName ( ASTIdentifier & identifier , const DatabaseAndTableWithAlias & db_and_table ) ; <nl> static void setNeedLongName ( ASTIdentifier & identifier , bool ) ; / / / if set setColumnNormalName makes qualified name <nl> static bool canBeAlias ( const ASTIdentifier & identifier ) ; <nl> + static void setMembership ( ASTIdentifier & identifier , size_t table_no ) ; <nl> + static size_t getMembership ( const ASTIdentifier & identifier ) ; <nl> <nl> private : <nl> static bool doesIdentifierBelongTo ( const ASTIdentifier & identifier , const String & database , const String & table ) ; <nl> mmm a / dbms / src / Interpreters / SyntaxAnalyzer . cpp <nl> ppp b / dbms / src / Interpreters / SyntaxAnalyzer . cpp <nl> void getArrayJoinedColumns ( ASTPtr & query , SyntaxAnalyzerResult & result , const <nl> } <nl> <nl> / / / Parse JOIN ON expression and collect ASTs for joined columns . <nl> - void collectJoinedColumnsFromJoinOnExpr ( AnalyzedJoin & analyzed_join , const ASTSelectQuery * select_query , <nl> - const Context & context ) <nl> + void collectJoinedColumnsFromJoinOnExpr ( AnalyzedJoin & analyzed_join , const ASTTableJoin & table_join ) <nl> { <nl> - const auto & tables = static_cast < const ASTTablesInSelectQuery & > ( * select_query - > tables ) ; <nl> - const auto * left_tables_element = static_cast < const ASTTablesInSelectQueryElement * > ( tables . children . at ( 0 ) . get ( ) ) ; <nl> - const auto * right_tables_element = select_query - > join ( ) ; <nl> - <nl> - if ( ! left_tables_element | | ! right_tables_element ) <nl> - return ; <nl> - <nl> - const auto & table_join = static_cast < const ASTTableJoin & > ( * right_tables_element - > table_join ) ; <nl> if ( ! table_join . on_expression ) <nl> return ; <nl> <nl> - const auto & left_table_expression = static_cast < const ASTTableExpression & > ( * left_tables_element - > table_expression ) ; <nl> - const auto & right_table_expression = static_cast < const ASTTableExpression & > ( * right_tables_element - > table_expression ) ; <nl> - <nl> - DatabaseAndTableWithAlias left_source_names ( left_table_expression , context . getCurrentDatabase ( ) ) ; <nl> - DatabaseAndTableWithAlias right_source_names ( right_table_expression , context . getCurrentDatabase ( ) ) ; <nl> - <nl> / / / Stores examples of columns which are only from one table . <nl> struct TableBelonging <nl> { <nl> void collectJoinedColumnsFromJoinOnExpr ( AnalyzedJoin & analyzed_join , const ASTS <nl> { <nl> auto * identifier = typeid_cast < const ASTIdentifier * > ( ast . get ( ) ) ; <nl> <nl> - size_t left_match_degree = IdentifierSemantic : : canReferColumnToTable ( * identifier , left_source_names ) ; <nl> - size_t right_match_degree = IdentifierSemantic : : canReferColumnToTable ( * identifier , right_source_names ) ; <nl> - <nl> - if ( left_match_degree > right_match_degree ) <nl> - return { identifier , nullptr } ; <nl> - if ( left_match_degree < right_match_degree ) <nl> - return { nullptr , identifier } ; <nl> + / / / It ' s set in TranslateQualifiedNamesVisitor <nl> + size_t membership = IdentifierSemantic : : getMembership ( * identifier ) ; <nl> + switch ( membership ) <nl> + { <nl> + case 1 : return { identifier , nullptr } ; <nl> + case 2 : return { nullptr , identifier } ; <nl> + default : <nl> + break ; <nl> + } <nl> <nl> return { } ; <nl> } <nl> void collectJoinedColumnsFromJoinOnExpr ( AnalyzedJoin & analyzed_join , const ASTS <nl> bool can_be_right_part_from_left_table = right_table_belonging . example_only_from_right = = nullptr ; <nl> bool can_be_right_part_from_right_table = right_table_belonging . example_only_from_left = = nullptr ; <nl> <nl> - auto add_join_keys = [ & ] ( ASTPtr & ast_to_left_table , ASTPtr & ast_to_right_table ) <nl> - { <nl> - analyzed_join . key_asts_left . push_back ( ast_to_left_table ) ; <nl> - analyzed_join . key_names_left . push_back ( ast_to_left_table - > getColumnName ( ) ) ; <nl> - analyzed_join . key_asts_right . push_back ( ast_to_right_table ) ; <nl> - analyzed_join . key_names_right . push_back ( ast_to_right_table - > getAliasOrColumnName ( ) ) ; <nl> - } ; <nl> - <nl> / / / Default variant when all identifiers may be from any table . <nl> if ( can_be_left_part_from_left_table & & can_be_right_part_from_right_table ) <nl> - add_join_keys ( left_ast , right_ast ) ; <nl> + analyzed_join . addOnKeys ( left_ast , right_ast ) ; <nl> else if ( can_be_left_part_from_right_table & & can_be_right_part_from_left_table ) <nl> - add_join_keys ( right_ast , left_ast ) ; <nl> + analyzed_join . addOnKeys ( right_ast , left_ast ) ; <nl> else <nl> { <nl> auto * left_example = left_table_belonging . example_only_from_left ? <nl> void collectJoinedColumns ( AnalyzedJoin & analyzed_join , const ASTSelectQuery * s <nl> { <nl> auto & keys = typeid_cast < ASTExpressionList & > ( * table_join . using_expression_list ) ; <nl> for ( const auto & key : keys . children ) <nl> - analyzed_join . addSimpleKey ( key ) ; <nl> + analyzed_join . addUsingKey ( key ) ; <nl> <nl> - / / / @ warning wrong qualification if the right key is an alias <nl> for ( auto & name : analyzed_join . key_names_right ) <nl> if ( source_columns . count ( name ) ) <nl> name = joined_table_name . getQualifiedNamePrefix ( ) + name ; <nl> } <nl> else if ( table_join . on_expression ) <nl> - collectJoinedColumnsFromJoinOnExpr ( analyzed_join , select_query , context ) ; <nl> + collectJoinedColumnsFromJoinOnExpr ( analyzed_join , table_join ) ; <nl> <nl> auto & settings = context . getSettingsRef ( ) ; <nl> bool make_nullable = settings . join_use_nulls & & ( table_join . kind = = ASTTableJoin : : Kind : : Left | | <nl> mmm a / dbms / src / Interpreters / TranslateQualifiedNamesVisitor . cpp <nl> ppp b / dbms / src / Interpreters / TranslateQualifiedNamesVisitor . cpp <nl> std : : vector < ASTPtr * > TranslateQualifiedNamesMatcher : : visit ( ASTIdentifier & iden <nl> best_table_pos = i ; <nl> } <nl> <nl> + if ( best_match ) <nl> + IdentifierSemantic : : setMembership ( identifier , best_table_pos + 1 ) ; <nl> + <nl> / / / In case if column from the joined table are in source columns , change it ' s name to qualified . <nl> if ( best_table_pos & & data . source_columns . count ( identifier . shortName ( ) ) ) <nl> IdentifierSemantic : : setNeedLongName ( identifier , true ) ; <nl> mmm a / dbms / src / Parsers / ASTIdentifier . cpp <nl> ppp b / dbms / src / Parsers / ASTIdentifier . cpp <nl> <nl> namespace DB <nl> { <nl> <nl> + ASTPtr ASTIdentifier : : clone ( ) const <nl> + { <nl> + auto ret = std : : make_shared < ASTIdentifier > ( * this ) ; <nl> + ret - > semantic = std : : make_shared < IdentifierSemanticImpl > ( * ret - > semantic ) ; <nl> + return ret ; <nl> + } <nl> + <nl> std : : shared_ptr < ASTIdentifier > ASTIdentifier : : createSpecial ( const String & name , std : : vector < String > & & name_parts ) <nl> { <nl> auto ret = std : : make_shared < ASTIdentifier > ( name , std : : move ( name_parts ) ) ; <nl> void ASTIdentifier : : setShortName ( const String & new_name ) <nl> name = new_name ; <nl> name_parts . clear ( ) ; <nl> <nl> - semantic - > need_long_name = false ; <nl> - semantic - > can_be_alias = true ; <nl> + bool special = semantic - > special ; <nl> + * semantic = IdentifierSemanticImpl ( ) ; <nl> + semantic - > special = special ; <nl> } <nl> <nl> void ASTIdentifier : : formatImplWithoutAlias ( const FormatSettings & settings , FormatState & , FormatStateStacked ) const <nl> mmm a / dbms / src / Parsers / ASTIdentifier . h <nl> ppp b / dbms / src / Parsers / ASTIdentifier . h <nl> class ASTIdentifier : public ASTWithAlias <nl> / * * Get the text that identifies this element . * / <nl> String getID ( char delim ) const override { return " Identifier " + ( delim + name ) ; } <nl> <nl> - ASTPtr clone ( ) const override { return std : : make_shared < ASTIdentifier > ( * this ) ; } <nl> + ASTPtr clone ( ) const override ; <nl> <nl> void collectIdentifierNames ( IdentifierNameSet & set ) const override <nl> { <nl>
refactoring : do not match columns to tables twice
ClickHouse/ClickHouse
c6e541858eec7a0eb7899465402805b1a9886195
2019-02-15T15:47:39Z
mmm a / test / test_jit_py3 . py <nl> ppp b / test / test_jit_py3 . py <nl> <nl> import sys <nl> import torch <nl> from torch . testing import FileCheck <nl> - from common_utils import TestCase , run_tests <nl> + from common_utils import run_tests <nl> from contextlib import contextmanager <nl> + from jit_utils import JitTestCase <nl> from typing import NamedTuple , List <nl> <nl> WINDOWS = sys . platform = = ' win32 ' <nl> <nl> - class TestScriptPy3 ( TestCase ) : <nl> + class TestScriptPy3 ( JitTestCase ) : <nl> @ contextmanager <nl> def capture_stdout ( self ) : <nl> # No idea how to capture stdout from C + + on Windows <nl> def foo ( x ) : <nl> <nl> def test_named_tuple_slice_unpack ( self ) : <nl> class MyCoolNamedTuple ( NamedTuple ) : <nl> - a : int = 3 <nl> - b : float = 4 . 5 <nl> - c : List [ int ] = [ 3 , 4 , 5 ] <nl> + a : int <nl> + b : float <nl> + c : List [ int ] <nl> <nl> @ torch . jit . script <nl> def foo ( a : int , b : float , c : List [ int ] ) : <nl> def foo ( a : int , b : float , c : List [ int ] ) : <nl> <nl> def test_named_tuple_lower ( self ) : <nl> class MyCoolNamedTuple ( NamedTuple ) : <nl> - a : int = 3 <nl> - b : float = 4 . 5 <nl> - c : List [ int ] = [ 3 , 4 , 5 ] <nl> + a : int <nl> + b : float <nl> + c : List [ int ] <nl> <nl> @ torch . jit . script <nl> def foo ( a : int ) : <nl> def foo ( a : int ) : <nl> <nl> def test_named_tuple_type_annotation ( self ) : <nl> class MyCoolNamedTuple ( NamedTuple ) : <nl> - a : int = 3 <nl> - b : float = 4 . 5 <nl> - c : List [ int ] = [ 3 , 4 , 5 ] <nl> + a : int <nl> + b : float <nl> + c : List [ int ] <nl> <nl> @ torch . jit . script <nl> def foo ( x : MyCoolNamedTuple ) - > MyCoolNamedTuple : <nl> def foo ( x : MyCoolNamedTuple ) - > MyCoolNamedTuple : <nl> <nl> def test_named_tuple_wrong_types ( self ) : <nl> class MyCoolNamedTuple ( NamedTuple ) : <nl> - a : int = 3 <nl> - b : float = 4 . 5 <nl> - c : List [ int ] = [ 3 , 4 , 5 ] <nl> + a : int <nl> + b : float <nl> + c : List [ int ] <nl> <nl> - with self . assertRaisesRegex ( RuntimeError , " expected a value of type ' int ' for argument ' a ' " <nl> + with self . assertRaisesRegex ( RuntimeError , " Expected a value of type ' int ' for argument ' a ' " <nl> " but instead found type ' str ' " ) : <nl> @ torch . jit . script <nl> def foo ( ) : <nl> def foo ( ) : <nl> <nl> def test_named_tuple_kwarg_construct ( self ) : <nl> class MyCoolNamedTuple ( NamedTuple ) : <nl> - a : int = 3 <nl> - b : float = 4 . 5 <nl> - c : List [ int ] = [ 3 , 4 , 5 ] <nl> + a : int <nl> + b : float <nl> + c : List [ int ] <nl> <nl> @ torch . jit . script <nl> def foo ( ) : <nl> def foo ( ) : <nl> self . assertEqual ( tup . b , 3 . 5 ) <nl> self . assertEqual ( tup . c , [ 1 , 2 , 3 ] ) <nl> <nl> + def test_named_tuple_default_error ( self ) : <nl> + class MyCoolNamedTuple ( NamedTuple ) : <nl> + a : int <nl> + b : float <nl> + c : List [ int ] = [ 3 , 4 , 5 ] <nl> + <nl> + with self . assertRaisesRegex ( RuntimeError , ' Default values are currently not supported ' ) : <nl> + @ torch . jit . script <nl> + def foo ( ) : <nl> + tup = MyCoolNamedTuple ( c = [ 1 , 2 , 3 ] , b = 3 . 5 , a = 9 ) # noqa <nl> + return tup <nl> + <nl> if __name__ = = ' __main__ ' : <nl> run_tests ( ) <nl> mmm a / torch / csrc / jit / import_source . cpp <nl> ppp b / torch / csrc / jit / import_source . cpp <nl> struct SourceResolver : public Resolver { <nl> return nullptr ; <nl> } <nl> <nl> - TypePtr resolveType ( const std : : string & name ) const override { <nl> + TypePtr resolveType ( const std : : string & name , const SourceRange & loc ) const override { <nl> return lib_cu_ . get_class ( c10 : : QualifiedName ( name ) ) ; <nl> } <nl> <nl> mmm a / torch / csrc / jit / script / compiler . cpp <nl> ppp b / torch / csrc / jit / script / compiler . cpp <nl> struct Environment { <nl> } <nl> <nl> if ( ! retval ) { <nl> - if ( auto type = resolver - > resolveType ( ident ) ) { <nl> + if ( auto type = resolver - > resolveType ( ident , range ) ) { <nl> if ( auto class_type = type - > cast < ClassType > ( ) ) { <nl> retval = std : : make_shared < script : : ClassValue > ( class_type ) ; <nl> } else if ( auto tuple_type = type - > cast < TupleType > ( ) ) { <nl> - retval = std : : make_shared < script : : NamedTupleConstructor > ( tuple_type ) ; <nl> + retval = <nl> + std : : make_shared < script : : NamedTupleConstructor > ( tuple_type ) ; <nl> } <nl> } <nl> } <nl> struct FunctionResolver : public Resolver { <nl> return otherResolver_ - > resolveValue ( name , m , loc ) ; <nl> } <nl> <nl> - TypePtr resolveType ( const std : : string & name ) const override { <nl> - return otherResolver_ - > resolveType ( name ) ; <nl> + TypePtr resolveType ( const std : : string & name , const SourceRange & loc ) const override { <nl> + return otherResolver_ - > resolveType ( name , loc ) ; <nl> } <nl> <nl> private : <nl> mmm a / torch / csrc / jit / script / init . cpp <nl> ppp b / torch / csrc / jit / script / init . cpp <nl> struct PythonResolver : public Resolver { <nl> py : : hasattr ( obj , " _fields " ) ; <nl> } <nl> <nl> - TypePtr resolveType ( const std : : string & name ) const override { <nl> + TypePtr resolveType ( const std : : string & name , const SourceRange & loc ) const override { <nl> if ( classType_ & & name = = classname_ ) { <nl> return classType_ ; <nl> } <nl> struct PythonResolver : public Resolver { <nl> } <nl> <nl> if ( isNamedTupleClass ( obj ) ) { <nl> + / / Currently don ' t support default values <nl> + if ( py : : hasattr ( obj , " _field_defaults " ) ) { <nl> + auto default_dict = py : : cast < std : : map < std : : string , py : : object > > ( <nl> + py : : getattr ( obj , " _field_defaults " ) ) ; <nl> + if ( default_dict . size ( ) ) { <nl> + std : : string error_msg = <nl> + " Default values are currently not supported " <nl> + " on NamedTuple fields in TorchScript . Fields " <nl> + " with default values : [ " ; <nl> + bool first = true ; <nl> + for ( const auto & kv : default_dict ) { <nl> + if ( ! first ) { <nl> + error_msg + = " , " ; <nl> + } <nl> + error_msg + = kv . first ; <nl> + } <nl> + error_msg + = " ] " ; <nl> + throw ErrorReport ( loc ) < < error_msg ; <nl> + } <nl> + } <nl> + <nl> py : : object props = py : : module : : import ( " torch . jit " ) <nl> . attr ( " _get_named_tuple_properties " ) ( obj ) ; <nl> std : : string unqualName ; <nl> mmm a / torch / csrc / jit / script / resolver . h <nl> ppp b / torch / csrc / jit / script / resolver . h <nl> struct Resolver { <nl> const SourceRange & loc ) const = 0 ; <nl> <nl> / / Resolve ` name ` to a TypePtr . <nl> - virtual TypePtr resolveType ( const std : : string & name ) const = 0 ; <nl> + virtual TypePtr resolveType ( const std : : string & name , const SourceRange & loc ) const = 0 ; <nl> } ; <nl> <nl> / / A resolver that only understands " torch . foo ( ) " lookups . <nl> struct NativeResolver : public Resolver { <nl> return nullptr ; <nl> } <nl> <nl> - TypePtr resolveType ( const std : : string & name ) const override { <nl> + TypePtr resolveType ( const std : : string & name , const SourceRange & loc ) const override { <nl> return nullptr ; <nl> } <nl> } ; <nl> mmm a / torch / csrc / jit / script / script_type_parser . cpp <nl> ppp b / torch / csrc / jit / script / script_type_parser . cpp <nl> TypePtr ScriptTypeParser : : parseTypeFromExpr ( const Expr & expr ) const { <nl> return itr - > second ; <nl> } <nl> if ( resolver_ ) { <nl> - if ( auto typePtr = resolver_ - > resolveType ( * name ) ) { <nl> + if ( auto typePtr = resolver_ - > resolveType ( * name , expr . range ( ) ) ) { <nl> return typePtr ; <nl> } <nl> } <nl> mmm a / torch / csrc / jit / script / sugared_value . cpp <nl> ppp b / torch / csrc / jit / script / sugared_value . cpp <nl> std : : shared_ptr < SugaredValue > NamedTupleConstructor : : call ( <nl> at : : ArrayRef < NamedValue > inputs , <nl> at : : ArrayRef < NamedValue > attributes , <nl> size_t n_binders ) { <nl> - auto nargs = type_ - > containedTypes ( ) . size ( ) ; <nl> - if ( inputs . size ( ) ! = nargs ) { <nl> - throw ErrorReport ( loc ) < < " Constructor expected " < < nargs < < " arguments " <nl> - < < " but got " < < inputs . size ( ) ; <nl> - } <nl> - <nl> auto & g = * m . graph ( ) ; <nl> <nl> auto schema = type_ - > schema ( ) ; <nl>
Some small fixes for NamedTuple ( )
pytorch/pytorch
74104f383e6ea4ac0e2fd0f88a7f51736ace01ca
2019-06-19T17:43:43Z
mmm a / src / layer / innerproduct . cpp <nl> ppp b / src / layer / innerproduct . cpp <nl> <nl> / / specific language governing permissions and limitations under the License . <nl> <nl> # include " innerproduct . h " <nl> - <nl> + # include < algorithm > <nl> # include " layer_type . h " <nl> <nl> namespace ncnn { <nl>
fix build on msvc
Tencent/ncnn
be81ecf1f60e9ffc5ad239aea0af197e7f71a041
2019-04-26T15:11:28Z
mmm a / src / mongo / db / concurrency / lock_mgr_new_test . cpp <nl> ppp b / src / mongo / db / concurrency / lock_mgr_new_test . cpp <nl> namespace newlm { <nl> ASSERT ( request . recursiveCount = = 1 ) ; <nl> ASSERT ( notify . numNotifies = = 0 ) ; <nl> <nl> - / / Acquire again , in * non - compatible * , but stricter mode <nl> + / / Acquire again , in * non - compatible * , but less strict mode <nl> ASSERT ( LOCK_OK = = lockMgr . lock ( resId , & request , MODE_S ) ) ; <nl> ASSERT ( request . mode = = MODE_X ) ; <nl> ASSERT ( request . recursiveCount = = 2 ) ; <nl> mmm a / src / mongo / db / concurrency / lock_mgr_test . cpp <nl> ppp b / src / mongo / db / concurrency / lock_mgr_test . cpp <nl> <nl> * / <nl> <nl> / * * <nl> - * tests for util / concurrency / lock_mgr . * capabilities <nl> + * tests for db / concurrency / lock_mgr . * capabilities <nl> * <nl> * Testing concurrency requires multiple threads . In this test , these are packaged as <nl> * instances of a ClientTransaction class . The test ' s main thread creates instances <nl> TEST ( LockManagerTest , TxDeadlock ) { <nl> t1 . acquire ( kExclusive , 2 , BLOCKED ) ; <nl> / / a1 ' s request would form a dependency cycle , so it should abort <nl> a1 . acquire ( kExclusive , 1 , ABORTED ) ; <nl> - t1 . wakened ( ) ; / / with t2 ' s locks released , t1 should wake <nl> + t1 . wakened ( ) ; / / with a1 ' s locks released , t1 should wake <nl> t1 . release ( kExclusive , 2 ) ; <nl> t1 . release ( kShared , 1 ) ; <nl> <nl> mmm a / src / mongo / db / storage / heap1 / heap1_database_catalog_entry . cpp <nl> ppp b / src / mongo / db / storage / heap1 / heap1_database_catalog_entry . cpp <nl> namespace mongo { <nl> if ( ! e ) { <nl> _entryMap . erase ( fromNS . toString ( ) ) ; <nl> return Status ( ErrorCodes : : NamespaceNotFound , <nl> - " cannot renameCollection missng collection " ) ; <nl> + " cannot renameCollection missing collection " ) ; <nl> } <nl> <nl> if ( _entryMap [ toNS . toString ( ) ] ) { <nl>
SERVER - 15180 Fix typos in lock manager tests and a heap1 error message
mongodb/mongo
618d0abe400d0e377691e2df5f1da77c7abf642a
2014-09-09T17:36:52Z
mmm a / src / builtins / builtins - promise - gen . cc <nl> ppp b / src / builtins / builtins - promise - gen . cc <nl> void PromiseBuiltinsAssembler : : InternalResolvePromise ( Node * context , <nl> / / reusing the value from the promise . <nl> BIND ( & if_nativepromise ) ; <nl> { <nl> - Node * const thenable_status = PromiseStatus ( result ) ; <nl> - Node * const thenable_value = <nl> - LoadObjectField ( result , JSPromise : : kReactionsOrResultOffset ) ; <nl> - <nl> - Label if_isnotpending ( this ) ; <nl> - GotoIfNot ( IsPromiseStatus ( thenable_status , v8 : : Promise : : kPending ) , <nl> - & if_isnotpending ) ; <nl> - <nl> / / TODO ( gsathya ) : Use a marker here instead of the actual then <nl> / / callback , and check for the marker in PromiseResolveThenableJob <nl> / / and perform PromiseThen . <nl> void PromiseBuiltinsAssembler : : InternalResolvePromise ( Node * context , <nl> LoadContextElement ( native_context , Context : : PROMISE_THEN_INDEX ) ; <nl> var_then . Bind ( then ) ; <nl> Goto ( & do_enqueue ) ; <nl> - <nl> - BIND ( & if_isnotpending ) ; <nl> - { <nl> - Label if_fulfilled ( this ) , if_rejected ( this ) ; <nl> - Branch ( IsPromiseStatus ( thenable_status , v8 : : Promise : : kFulfilled ) , <nl> - & if_fulfilled , & if_rejected ) ; <nl> - <nl> - BIND ( & if_fulfilled ) ; <nl> - { <nl> - PromiseFulfill ( context , promise , thenable_value , <nl> - v8 : : Promise : : kFulfilled ) ; <nl> - PromiseSetHasHandler ( promise ) ; <nl> - Goto ( & out ) ; <nl> - } <nl> - <nl> - BIND ( & if_rejected ) ; <nl> - { <nl> - Label reject ( this ) ; <nl> - Node * const has_handler = PromiseHasHandler ( result ) ; <nl> - <nl> - / / Promise has already been rejected , but had no handler . <nl> - / / Revoke previously triggered reject event . <nl> - GotoIf ( has_handler , & reject ) ; <nl> - CallRuntime ( Runtime : : kPromiseRevokeReject , context , result ) ; <nl> - Goto ( & reject ) ; <nl> - <nl> - BIND ( & reject ) ; <nl> - / / Don ' t cause a debug event as this case is forwarding a rejection . <nl> - InternalPromiseReject ( context , promise , thenable_value , false ) ; <nl> - PromiseSetHasHandler ( result ) ; <nl> - Goto ( & out ) ; <nl> - } <nl> - } <nl> } <nl> <nl> BIND ( & if_notnativepromise ) ; <nl> new file mode 100644 <nl> index 00000000000 . . 6cda92ca793 <nl> mmm / dev / null <nl> ppp b / test / mjsunit / regress / regress - 5691 . js <nl> <nl> + / / Copyright 2018 the V8 project authors . All rights reserved . <nl> + / / Use of this source code is governed by a BSD - style license that can be <nl> + / / found in the LICENSE file . <nl> + / / <nl> + / / Flags : - - allow - natives - syntax <nl> + <nl> + var log = " " ; <nl> + var result ; <nl> + Promise . resolve ( ) <nl> + . then ( ( ) = > log + = " | turn1 " ) <nl> + . then ( ( ) = > log + = " | turn2 " ) <nl> + . then ( ( ) = > log + = " | turn3 " ) <nl> + . then ( ( ) = > log + = " | turn4 " ) <nl> + . then ( ( ) = > result = " | start | turn1 | fast - resolve | turn2 | turn3 | slow - resolve | turn4 \ n " + log ) <nl> + . catch ( e = > print ( " ERROR " , e ) ) ; <nl> + <nl> + Promise . resolve ( Promise . resolve ( ) ) . then ( ( ) = > log + = " | fast - resolve " ) ; <nl> + ( class extends Promise { } ) . resolve ( Promise . resolve ( ) ) . then ( ( ) = > log + = " | slow - resolve " ) ; <nl> + <nl> + log + = " | start " ; <nl> + % RunMicrotasks ( ) ; <nl> + assertEquals ( " | start | turn1 | fast - resolve | turn2 | turn3 | slow - resolve | turn4 \ n \ <nl> + | start | turn1 | fast - resolve | turn2 | turn3 | slow - resolve | turn4 " , result ) ; <nl> new file mode 100644 <nl> index 00000000000 . . 420cc7c294f <nl> mmm / dev / null <nl> ppp b / test / mjsunit / regress / regress - 800651 . js <nl> <nl> + / / Copyright 2018 the V8 project authors . All rights reserved . <nl> + / / Use of this source code is governed by a BSD - style license that can be <nl> + / / found in the LICENSE file . <nl> + / / <nl> + / / Flags : - - allow - natives - syntax <nl> + <nl> + var list = [ ] ; <nl> + function log ( item ) { list . push ( item ) ; } <nl> + async function f ( ) { <nl> + try { <nl> + let namespace = await import ( / a / ) ; <nl> + } catch ( e ) { <nl> + log ( 1 ) ; <nl> + } <nl> + } <nl> + f ( ) ; <nl> + <nl> + async function g ( ) { <nl> + try { <nl> + let namespace = await import ( { get toString ( ) { return undefined ; } } ) ; <nl> + } catch ( e ) { <nl> + log ( 2 ) ; <nl> + } <nl> + } <nl> + g ( ) ; <nl> + % RunMicrotasks ( ) ; <nl> + assertEquals ( list , [ 1 , 2 ] ) ; <nl>
[ promise ] Remove incorrect fast path
v8/v8
0f6eafe85585940fc118e1c133d939c539e88f29
2018-01-31T19:19:56Z
mmm a / lib / PrintAsObjC / PrintAsObjC . cpp <nl> ppp b / lib / PrintAsObjC / PrintAsObjC . cpp <nl> class ObjCPrinter : private DeclVisitor < ObjCPrinter > , <nl> break ; <nl> } <nl> } <nl> - return methodTy - > getResult ( ) ; <nl> + <nl> + auto result = methodTy - > getResult ( ) ; <nl> + if ( result - > isUninhabited ( ) ) <nl> + return M . getASTContext ( ) . TheEmptyTupleType ; <nl> + return result ; <nl> } <nl> <nl> void printAbstractFunctionAsMethod ( AbstractFunctionDecl * AFD , <nl> class ObjCPrinter : private DeclVisitor < ObjCPrinter > , <nl> os < < " SWIFT_METHOD_FAMILY ( none ) " ; <nl> } <nl> if ( ! methodTy - > getResult ( ) - > isVoid ( ) & & <nl> + ! methodTy - > getResult ( ) - > isUninhabited ( ) & & <nl> ! AFD - > getAttrs ( ) . hasAttribute < DiscardableResultAttr > ( ) ) { <nl> os < < " SWIFT_WARN_UNUSED_RESULT " ; <nl> } <nl> mmm a / lib / Sema / TypeCheckType . cpp <nl> ppp b / lib / Sema / TypeCheckType . cpp <nl> bool TypeChecker : : isRepresentableInObjC ( <nl> Type ResultType = FD - > mapTypeIntoContext ( FD - > getResultInterfaceType ( ) ) ; <nl> if ( ! ResultType - > hasError ( ) & & <nl> ! ResultType - > isVoid ( ) & & <nl> + ! ResultType - > isUninhabited ( ) & & <nl> ! ResultType - > isRepresentableIn ( ForeignLanguage : : ObjectiveC , <nl> const_cast < FuncDecl * > ( FD ) ) ) { <nl> if ( Diagnose ) { <nl> new file mode 100644 <nl> index 000000000000 . . 77ec10e89034 <nl> mmm / dev / null <nl> ppp b / test / PrintAsObjC / never . swift <nl> <nl> + / / RUN : rm - rf % t <nl> + / / RUN : mkdir - p % t <nl> + / / RUN : % target - swift - frontend ( mock - sdk : % clang - importer - sdk ) - emit - module - o % t % s - module - name never - disable - objc - attr - requires - foundation - module <nl> + / / RUN : % target - swift - frontend ( mock - sdk : % clang - importer - sdk ) - parse - as - library % t / never . swiftmodule - typecheck - emit - objc - header - path % t / never . h - disable - objc - attr - requires - foundation - module <nl> + / / RUN : % FileCheck % s < % t / never . h <nl> + / / RUN : % check - in - clang % t / never . h <nl> + <nl> + / / REQUIRES : objc_interop <nl> + <nl> + @ objc public class NeverClass { <nl> + func doesNotReturn ( ) - > Never { while true { } } <nl> + } <nl> + <nl> + / / CHECK - LABEL : @ interface NeverClass <nl> + / / CHECK : - ( void ) doesNotReturn ; <nl> + / / CHECK : @ end <nl> mmm a / test / attr / attr_objc . swift <nl> ppp b / test / attr / attr_objc . swift <nl> extension SubclassInfersFromProtocol2 { <nl> / / CHECK : { { ^ } } @ objc dynamic func method1 ( value : Int ) <nl> func method1 ( value : Int ) { } <nl> } <nl> + <nl> + @ objc class NeverReturningMethod { <nl> + @ objc func doesNotReturn ( ) - > Never { } <nl> + } <nl> similarity index 87 % <nl> rename from validation - test / compiler_crashers / 28507 - swift - typerepr - getsourcerange - const . swift <nl> rename to validation - test / compiler_crashers_fixed / 28507 - swift - typerepr - getsourcerange - const . swift <nl> mmm a / validation - test / compiler_crashers / 28507 - swift - typerepr - getsourcerange - const . swift <nl> ppp b / validation - test / compiler_crashers_fixed / 28507 - swift - typerepr - getsourcerange - const . swift <nl> <nl> / / See https : / / swift . org / LICENSE . txt for license information <nl> / / See https : / / swift . org / CONTRIBUTORS . txt for the list of Swift project authors <nl> <nl> - / / RUN : not - - crash % target - swift - frontend % s - emit - ir <nl> + / / RUN : not % target - swift - frontend % s - emit - ir <nl> @ objc protocol e { @ noreturn func e <nl>
Sema : ' Never ' - returning functions can be represented in Objective - C
apple/swift
2c7aae4128947dcc8ce0cd86621ddc223cdeb388
2017-01-04T04:13:42Z
mmm a / db / db_impl . cc <nl> ppp b / db / db_impl . cc <nl> void DBImpl : : MarkLogsSynced ( <nl> assert ( log . getting_synced ) ; <nl> if ( status . ok ( ) & & logs_ . size ( ) > 1 ) { <nl> logs_to_free_ . push_back ( log . ReleaseWriter ( ) ) ; <nl> - logs_ . erase ( it + + ) ; <nl> + it = logs_ . erase ( it ) ; <nl> } else { <nl> log . getting_synced = false ; <nl> + + it ; <nl> } <nl> } <nl> + assert ( logs_ . empty ( ) | | ( logs_ . size ( ) = = 1 & & ! logs_ [ 0 ] . getting_synced ) ) ; <nl> log_sync_cv_ . SignalAll ( ) ; <nl> } <nl> <nl> mmm a / db / db_test . cc <nl> ppp b / db / db_test . cc <nl> TEST_F ( DBTest , PurgeInfoLogs ) { <nl> } <nl> } <nl> <nl> + TEST_F ( DBTest , SyncMultipleLogs ) { <nl> + const uint64_t kNumBatches = 2 ; <nl> + const int kBatchSize = 1000 ; <nl> + <nl> + Options options = CurrentOptions ( ) ; <nl> + options . create_if_missing = true ; <nl> + options . write_buffer_size = 4096 ; <nl> + Reopen ( options ) ; <nl> + <nl> + WriteBatch batch ; <nl> + WriteOptions wo ; <nl> + wo . sync = true ; <nl> + <nl> + for ( uint64_t b = 0 ; b < kNumBatches ; b + + ) { <nl> + batch . Clear ( ) ; <nl> + for ( int i = 0 ; i < kBatchSize ; i + + ) { <nl> + batch . Put ( Key ( i ) , DummyString ( 128 ) ) ; <nl> + } <nl> + <nl> + dbfull ( ) - > Write ( wo , & batch ) ; <nl> + } <nl> + <nl> + ASSERT_OK ( dbfull ( ) - > SyncWAL ( ) ) ; <nl> + } <nl> <nl> / / <nl> / / Test WAL recovery for the various modes available <nl>
Fix deadlock in WAL sync
facebook/rocksdb
effd9dd1e1eaadb6109dde0eb6dabc07c8ac2fec
2015-08-29T01:06:32Z
mmm a / drivers / javascript / package . json <nl> ppp b / drivers / javascript / package . json <nl> <nl> { " name " : " rethinkdb " <nl> - , " version " : " 1 . 13 . 0 - 1 " <nl> + , " version " : " 1 . 13 . 0 - 2 " <nl> , " main " : " rethinkdb " <nl> , " description " : " This package provides the JavaScript driver library for the RethinkDB database server for use either from node or your web - browser . " <nl> , " keywords " : [ " database " , " NoSQL " , " reql " , " query language " ] <nl> mmm a / drivers / python / setup . py <nl> ppp b / drivers / python / setup . py <nl> <nl> from setuptools import setup <nl> <nl> setup ( name = " rethinkdb " , zip_safe = True <nl> - , version = " 1 . 13 . 0 - 0 " <nl> + , version = " 1 . 13 . 0 - 1 " <nl> , description = " This package provides the Python driver library for the RethinkDB database server . " <nl> , url = " http : / / rethinkdb . com " <nl> , maintainer = " RethinkDB Inc . " <nl> mmm a / drivers / ruby / rethinkdb . gemspec <nl> ppp b / drivers / ruby / rethinkdb . gemspec <nl> <nl> <nl> Gem : : Specification . new do | s | <nl> s . name = ' rethinkdb ' <nl> - s . version = ' 1 . 13 . 0 . 0 ' <nl> + s . version = ' 1 . 13 . 0 . 1 ' <nl> s . summary = ' This package provides the Ruby driver library for the RethinkDB database server . ' <nl> s . author = ' RethinkDB Inc . ' <nl> s . email = ' bugs @ rethinkdb . com ' <nl>
Bump driver versions
rethinkdb/rethinkdb
b22b967f64bacba75232103346cc6096fcf63928
2014-06-28T00:00:52Z
mmm a / stdlib / public / core / FloatingPointTypes . swift . gyb <nl> ppp b / stdlib / public / core / FloatingPointTypes . swift . gyb <nl> extension $ { Self } { <nl> % for self_ty in all_integer_types ( word_bits ) : <nl> % That = self_ty . stdlib_name <nl> % ThatBuiltinName = self_ty . builtin_name <nl> - % srcBits = self_ty . bits <nl> % sign = ' s ' if self_ty . is_signed else ' u ' <nl> + % srcBits = self_ty . bits <nl> + % maxExponent = ( 1 < < ( ExponentBitCount - 1 ) ) - 1 <nl> + % maxBitLength = SignificandBitCount + 1 # implicit leading one <nl> + % if self_ty . is_signed : <nl> + % # The magnitude of the minimum value of a signed integer type is always <nl> + % # representable in floating point ( assuming a large enough exponent ) <nl> + % # because only one bit is set . All other possible magnitudes can be <nl> + % # represented using one bit less than the original source type . <nl> + % maxBitLength + = 1 <nl> + % end <nl> + <nl> / / / Creates the closest representable value to the given integer . <nl> / / / <nl> / / / - Parameter value : The integer to represent as a floating - point value . <nl> extension $ { Self } { <nl> / / / can ' t be represented exactly , the result is ` nil ` . <nl> / / / <nl> / / / - Parameter value : The integer to represent as a floating - point value . <nl> - % if srcBits < SignificandBitCount : <nl> + % if srcBits < = maxBitLength and srcBits - 1 < = maxExponent : <nl> @ available ( * , message : " Converting $ { That } to $ { Self } will always succeed . " ) <nl> % end <nl> @ inlinable / / FIXME ( sil - serialize - all ) <nl> @ inline ( __always ) <nl> public init ? ( exactly value : $ { That } ) { <nl> - _value = Builtin . $ { sign } itofp_ $ { ThatBuiltinName } _FPIEEE $ { bits } ( value . _value ) <nl> - <nl> - % if srcBits > = SignificandBitCount : <nl> - guard let roundTrip = $ { That } ( exactly : self ) , <nl> - roundTrip = = value else { <nl> + % if srcBits - 1 > maxExponent : <nl> + / / Check that the exponent will be in range . <nl> + guard value . magnitude > > $ { maxExponent } < = 1 else { <nl> return nil <nl> } <nl> % end <nl> + % if srcBits > maxBitLength : <nl> + / / The magnitude of the integer must be representable by the significand . <nl> + / / Omit trailing zeros that can be encoded by the exponent . <nl> + let mask : $ { That } . Magnitude = ~ ( ( 1 < < ( $ { SignificandBitCount } + 1 ) ) - 1 ) <nl> + let absolute = value . magnitude <nl> + guard ( absolute > > absolute . trailingZeroBitCount ) & mask = = 0 else { <nl> + return nil <nl> + } <nl> + % end <nl> + _value = Builtin . $ { sign } itofp_ $ { ThatBuiltinName } _FPIEEE $ { bits } ( value . _value ) <nl> } <nl> % end # all_integer_types <nl> } <nl> mmm a / stdlib / public / core / Integers . swift . gyb <nl> ppp b / stdlib / public / core / Integers . swift . gyb <nl> public struct $ { Self } <nl> / / / - Parameter source : A floating - point value to convert to an integer . <nl> @ _transparent <nl> public init ? ( exactly source : $ { FloatType } ) { <nl> - self . _value = Builtin . fpto $ { u } i_FPIEEE $ { FloatBits } _ $ { BuiltinName } ( source . _value ) <nl> - if $ { FloatType } ( self ) ! = source { <nl> + guard source > $ { str ( lower ) } . 0 & & source < $ { str ( upper ) } . 0 else { <nl> + / / The source is out of bounds ( including infinities ) . <nl> + return nil <nl> + } <nl> + guard source = = source . rounded ( . towardZero ) else { <nl> + / / The source is a fraction or NaN . <nl> return nil <nl> } <nl> + self . _value = Builtin . fpto $ { u } i_FPIEEE $ { FloatBits } _ $ { BuiltinName } ( source . _value ) <nl> } <nl> <nl> % if FloatType = = ' Float80 ' : <nl>
Merge remote - tracking branch ' origin / master ' into master - next
apple/swift
b4ebb5f9167d9b71ac003756194de5fc0b4bbe31
2018-07-16T19:49:11Z
mmm a / src / ic / ppc / ic - ppc . cc <nl> ppp b / src / ic / ppc / ic - ppc . cc <nl> void KeyedLoadIC : : GenerateMegamorphic ( MacroAssembler * masm , <nl> Register vector = LoadWithVectorDescriptor : : VectorRegister ( ) ; <nl> Register slot = LoadWithVectorDescriptor : : SlotRegister ( ) ; <nl> DCHECK ( ! AreAliased ( vector , slot , r7 , r8 , r9 , r10 ) ) ; <nl> - Handle < TypeFeedbackVector > dummy_vector = Handle < TypeFeedbackVector > : : cast ( <nl> - masm - > isolate ( ) - > factory ( ) - > keyed_load_dummy_vector ( ) ) ; <nl> - int slot_index = dummy_vector - > GetIndex ( FeedbackVectorICSlot ( 0 ) ) ; <nl> - __ LoadRoot ( vector , Heap : : kKeyedLoadDummyVectorRootIndex ) ; <nl> + Handle < TypeFeedbackVector > dummy_vector = <nl> + TypeFeedbackVector : : DummyVector ( masm - > isolate ( ) ) ; <nl> + int slot_index = dummy_vector - > GetIndex ( <nl> + FeedbackVectorICSlot ( TypeFeedbackVector : : kDummyKeyedLoadICSlot ) ) ; <nl> + __ LoadRoot ( vector , Heap : : kDummyVectorRootIndex ) ; <nl> __ LoadSmiLiteral ( slot , Smi : : FromInt ( slot_index ) ) ; <nl> <nl> Code : : Flags flags = Code : : RemoveTypeAndHolderFromFlags ( <nl> void KeyedStoreIC : : GenerateMegamorphic ( MacroAssembler * masm , <nl> Register vector = VectorStoreICDescriptor : : VectorRegister ( ) ; <nl> Register slot = VectorStoreICDescriptor : : SlotRegister ( ) ; <nl> DCHECK ( ! AreAliased ( vector , slot , r6 , r7 , r8 , r9 ) ) ; <nl> - Handle < TypeFeedbackVector > dummy_vector = Handle < TypeFeedbackVector > : : cast ( <nl> - masm - > isolate ( ) - > factory ( ) - > keyed_store_dummy_vector ( ) ) ; <nl> - int slot_index = dummy_vector - > GetIndex ( FeedbackVectorICSlot ( 0 ) ) ; <nl> - __ LoadRoot ( vector , Heap : : kKeyedStoreDummyVectorRootIndex ) ; <nl> + Handle < TypeFeedbackVector > dummy_vector = <nl> + TypeFeedbackVector : : DummyVector ( masm - > isolate ( ) ) ; <nl> + int slot_index = dummy_vector - > GetIndex ( <nl> + FeedbackVectorICSlot ( TypeFeedbackVector : : kDummyKeyedStoreICSlot ) ) ; <nl> + __ LoadRoot ( vector , Heap : : kDummyVectorRootIndex ) ; <nl> __ LoadSmiLiteral ( slot , Smi : : FromInt ( slot_index ) ) ; <nl> } <nl> <nl> mmm a / src / ppc / builtins - ppc . cc <nl> ppp b / src / ppc / builtins - ppc . cc <nl> static void Generate_PushAppliedArguments ( MacroAssembler * masm , <nl> __ LoadP ( receiver , MemOperand ( fp , argumentsOffset ) ) ; <nl> <nl> / / Use inline caching to speed up access to arguments . <nl> - FeedbackVectorSpec spec ( 0 , Code : : KEYED_LOAD_IC ) ; <nl> + Code : : Kind kinds [ ] = { Code : : KEYED_LOAD_IC } ; <nl> + FeedbackVectorSpec spec ( 0 , 1 , kinds ) ; <nl> Handle < TypeFeedbackVector > feedback_vector = <nl> masm - > isolate ( ) - > factory ( ) - > NewTypeFeedbackVector ( & spec ) ; <nl> int index = feedback_vector - > GetIndex ( FeedbackVectorICSlot ( 0 ) ) ; <nl>
PPC : VectorICs : refactoring to eliminate " for queries only " vector ic mode .
v8/v8
de7e8a8c6df64b4db4f4f9d472d5db3aee497b70
2015-07-31T19:27:00Z
mmm a / libraries / fc <nl> ppp b / libraries / fc <nl> @ @ - 1 + 1 @ @ <nl> - Subproject commit 30eb81c1d995f9cd9834701e03b83ec7e6468a0f <nl> + Subproject commit a8613d3786cddfcc336808d2b9b7df655e6cc6d1 <nl>
Merge pull request from EOSIO / fc_syslog_prio_log
EOSIO/eos
0410e8c39dc3db42a21d6aa57a95041059a8d15e
2018-11-20T03:43:25Z
new file mode 100644 <nl> index 00000000000 . . df510d47965 <nl> mmm / dev / null <nl> ppp b / Documentation / Books / Manual / ReleaseNotes / KnownIssues33 . md <nl> <nl> + Known Issues <nl> + = = = = = = = = = = = = <nl> + <nl> + This page lists some known issues of the ArangoDB suite of products . <nl> + <nl> + ArangoDB Customers can access the [ _Technical & Security Alerts_ ] ( https : / / arangodb . atlassian . net / wiki / spaces / DEVSUP / pages / 223903745 ) page after logging in the Support Portal . <nl> + <nl> + | # | Issue | <nl> + | mmm | mmmmmmmmmmmm | <nl> + | 4 | * * Date Added : * * 2018 - 11 - 30 < br > * * Component : * * arangod < br > * * Deployment Mode : * * All < br > * * Description : * * Wrong suggestion printed in the log on how to optimize an OS setting , if followed , could cause ArangoDB to run into problems as the number of memory mappings will keep growing < br > * * Affect Versions : * * 3 . 3 . 0 to 3 . 3 . 19 < br > * * Fixed in Versions : * * 3 . 3 . 20 < br > * * Reference : * * [ Link for ArangoDB Customers ] ( https : / / arangodb . atlassian . net / plugins / servlet / servicedesk / customer / confluence / shim / spaces / DEVSUP / pages / 228622337 / Technical + Alert + % 232 % 3A + Set + Linux + variable + overcommit_memory + to + 0 + or + 1 ) | <nl> + | 3 | * * Date Added : * * 2018 - 11 - 16 < br > * * Component : * * Security < br > * * Deployment Mode : * * All < br > * * Description : * * Unauthorized access to ArangoDB when using LDAP authentication < br > * * Affect Versions : * * 3 . 3 . 0 to 3 . 3 . 18 < br > * * Fixed in Versions : * * 3 . 3 . 19 < br > * * Reference : * * [ Link for ArangoDB Customers ] ( https : / / arangodb . atlassian . net / servicedesk / customer / kb / view / 223903752 ) | <nl> + | 2 | * * Date Added : * * 2018 - 11 - 03 < br > * * Component : * * Backup / Restore < br > * * Deployment Mode : * * All < br > * * Description : * * Users not included in the backup if _ - - server . authentication = true_ < br > * * Affect Versions : * * 3 . 3 . 0 to 3 . 3 . 13 < br > * * Fixed in Versions : * * 3 . 3 . 14 < br > * * Reference : * * [ Link for ArangoDB Customers ] ( https : / / arangodb . atlassian . net / servicedesk / customer / kb / view / 226557953 ) | <nl> + | 1 | * * Date Added : * * 2018 - 04 - 09 < br > * * Component : * * Storage < br > * * Deployment Mode : * * Single Instance < br > * * Description : * * Data corruption could happen under Linux < br > * * Affect Versions : * * 3 . 3 . 0 < br > * * Fixed in Versions : * * 3 . 3 . 1 < br > * * Reference : * * [ Link for ArangoDB Customers ] ( https : / / arangodb . atlassian . net / plugins / servlet / servicedesk / customer / confluence / shim / spaces / DEVSUP / pages / 164069377 / Important + Note + for + Users + running + ArangoDB + v . + 3 . 2 . 4 % 2C + 3 . 2 . 5 % 2C + 3 . 2 . 6 % 2C + 3 . 2 . 7 % 2C + 3 . 2 . 8 % 2C + 3 . 2 . 9 + or + 3 . 3 . 0 + on + Linux ) | <nl> mmm a / Documentation / Books / Manual / ReleaseNotes / README . md <nl> ppp b / Documentation / Books / Manual / ReleaseNotes / README . md <nl> Known Issues <nl> For a list of known issues , please refer to one of the following sections : <nl> <nl> - [ Known Issues in 3 . 4 ] ( KnownIssues34 . md ) <nl> + - [ Known Issues in 3 . 3 ] ( KnownIssues33 . md ) <nl> - [ Known Issues in 3 . 2 ] ( KnownIssues32 . md ) <nl> mmm a / Documentation / Books / Manual / SUMMARY . md <nl> ppp b / Documentation / Books / Manual / SUMMARY . md <nl> <nl> * [ Incompatible changes in 3 . 4 ] ( ReleaseNotes / UpgradingChanges34 . md ) <nl> * [ Version 3 . 3 ] ( ReleaseNotes / 33 . md ) <nl> * [ What ' s New in 3 . 3 ] ( ReleaseNotes / NewFeatures33 . md ) <nl> + * [ Known Issues in 3 . 3 ] ( ReleaseNotes / KnownIssues33 . md ) <nl> * [ Incompatible changes in 3 . 3 ] ( ReleaseNotes / UpgradingChanges33 . md ) <nl> * [ Version 3 . 2 ] ( ReleaseNotes / 32 . md ) <nl> * [ What ' s New in 3 . 2 ] ( ReleaseNotes / NewFeatures32 . md ) <nl>
Doc - 3 . 3 known issues ( )
arangodb/arangodb
4eb37c348eb6adf87bd57a1ff18fac38c223f2ff
2018-12-02T15:30:50Z
new file mode 100644 <nl> index 0000000000 . . 32b5ef9ed2 <nl> mmm / dev / null <nl> ppp b / code / mathematical - algorithms / integer_conversion / decimal_to_any_base . py <nl> <nl> + # property of cosmos <nl> + decimal_number = input ( " Input the decimal number " ) <nl> + hexadecimal = hex ( decimal_number ) <nl> + binary = bin ( decimal_number ) <nl> + octodecimal = oct ( decimal_number ) <nl> + print " Your input : " , decimal_number <nl> + print " \ n Your number in hexadecimal is : " , hexadecimal <nl> + print " \ n Your number in Binary is : " , binary <nl> + print " \ n Your number in octodecimal is : " , octodecimal <nl>
Merge pull request from RithvikKasarla / master
OpenGenus/cosmos
c4fef6724a3a5141af4ea9e6230b2c09fde9dbdc
2017-10-18T13:02:49Z
mmm a / language / English / strings . xml <nl> ppp b / language / English / strings . xml <nl> <nl> < string id = " 34108 " > 5 . 1 < / string > <nl> < string id = " 34109 " > 7 . 0 < / string > <nl> < string id = " 34110 " > 7 . 1 < / string > <nl> - < ! - - 34112 - 34200 reserved for future use - - > <nl> + <nl> + < string id = " 34120 " > Enable GUI sounds during playback < / string > <nl> + < ! - - 34121 - 34200 reserved for future use - - > <nl> <nl> < string id = " 34201 " > Can ' t find a next item to play < / string > <nl> < string id = " 34202 " > Can ' t find a previous item to play < / string > <nl> mmm a / xbmc / settings / GUISettings . cpp <nl> ppp b / xbmc / settings / GUISettings . cpp <nl> void CGUISettings : : Initialize ( ) <nl> AddString ( ao , " audiooutput . audiodevice " , 545 , " Default " , SPIN_CONTROL_TEXT ) ; <nl> # endif <nl> <nl> + map < int , int > guimode ; <nl> + guimode . insert ( make_pair ( 34121 , AE_SOUND_IDLE ) ) ; <nl> + guimode . insert ( make_pair ( 34122 , AE_SOUND_ALWAYS ) ) ; <nl> + guimode . insert ( make_pair ( 34123 , AE_SOUND_OFF ) ) ; <nl> + AddInt ( ao , " audiooutput . guisoundmode " , 34120 , AE_SOUND_IDLE , guimode , SPIN_CONTROL_TEXT ) ; <nl> + <nl> CSettingsCategory * in = AddCategory ( 4 , " input " , 14094 ) ; <nl> AddString ( in , " input . peripherals " , 35000 , " " , BUTTON_CONTROL_STANDARD ) ; <nl> # if defined ( __APPLE__ ) <nl>
[ AE ] settings : Add setting to disable GUI sounds during playback
xbmc/xbmc
af922127eb333c8a87eddac7d2a0bdaf3e9f6a0e
2012-05-09T21:40:35Z
mmm a / addons / skin . confluence / addon . xml <nl> ppp b / addons / skin . confluence / addon . xml <nl> <nl> < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> < addon <nl> id = " skin . confluence " <nl> - version = " 2 . 4 . 0 " <nl> + version = " 2 . 5 . 0 " <nl> name = " Confluence " <nl> provider - name = " Jezz_X , Team Kodi " > <nl> < requires > <nl> mmm a / addons / skin . confluence / changelog . txt <nl> ppp b / addons / skin . confluence / changelog . txt <nl> <nl> + [ B ] 2 . 5 . 0 [ / B ] <nl> + - Kodi name change <nl> + <nl> [ B ] 2 . 4 . 0 [ / B ] <nl> - Set minimum GUI version to 5 . 2 . 0 <nl> - Rewrite of the PVR section <nl> <nl> <nl> [ B ] 1 . 0 . 0 [ / B ] <nl> <nl> - - Initial Commit to the SVN <nl> \ No newline at end of file <nl> + - Initial Commit to the SVN <nl>
[ confluence ] bump version
xbmc/xbmc
70ef72d30212b01f6e54328277f8ac20b83b03c9
2014-08-07T20:49:57Z
mmm a / guilib / GUIBaseContainer . cpp <nl> ppp b / guilib / GUIBaseContainer . cpp <nl> CGUIListItemLayout * CGUIBaseContainer : : GetFocusedLayout ( ) const <nl> return NULL ; <nl> } <nl> <nl> - bool CGUIBaseContainer : : SelectItemFromPoint ( const CPoint & point ) <nl> - { <nl> - if ( ! m_focusedLayout | | ! m_layout ) <nl> - return false ; <nl> - <nl> - int row = 0 ; <nl> - float pos = ( m_orientation = = VERTICAL ) ? point . y : point . x ; <nl> - while ( row < m_itemsPerPage + 1 ) / / 1 more to ensure we get the ( possible ) half item at the end . <nl> - { <nl> - const CGUIListItemLayout * layout = ( row = = m_cursor ) ? m_focusedLayout : m_layout ; <nl> - if ( pos < layout - > Size ( m_orientation ) & & row + m_offset < ( int ) m_items . size ( ) ) <nl> - { / / found correct " row " - > check horizontal <nl> - if ( ! InsideLayout ( layout , point ) ) <nl> - return false ; <nl> - <nl> - MoveToItem ( row ) ; <nl> - CGUIListItemLayout * focusedLayout = GetFocusedLayout ( ) ; <nl> - if ( focusedLayout ) <nl> - { <nl> - CPoint pt ( point ) ; <nl> - if ( m_orientation = = VERTICAL ) <nl> - pt . y = pos ; <nl> - else <nl> - pt . x = pos ; <nl> - focusedLayout - > SelectItemFromPoint ( pt ) ; <nl> - } <nl> - return true ; <nl> - } <nl> - row + + ; <nl> - pos - = layout - > Size ( m_orientation ) ; <nl> - } <nl> - return false ; <nl> - } <nl> - <nl> bool CGUIBaseContainer : : OnMouseOver ( const CPoint & point ) <nl> { <nl> / / select the item under the pointer <nl> void CGUIBaseContainer : : SetType ( VIEW_TYPE type , const CStdString & label ) <nl> m_label = label ; <nl> } <nl> <nl> - void CGUIBaseContainer : : MoveToItem ( int item ) <nl> - { <nl> - m_cursor = item ; <nl> - } <nl> - <nl> void CGUIBaseContainer : : FreeMemory ( int keepStart , int keepEnd ) <nl> { <nl> if ( keepStart < keepEnd ) <nl> mmm a / guilib / GUIBaseContainer . h <nl> ppp b / guilib / GUIBaseContainer . h <nl> class CGUIBaseContainer : public CGUIControl <nl> # endif <nl> protected : <nl> bool OnClick ( int actionID ) ; <nl> - virtual bool SelectItemFromPoint ( const CPoint & point ) ; <nl> virtual void Render ( ) ; <nl> virtual void RenderItem ( float posX , float posY , CGUIListItem * item , bool focused ) ; <nl> virtual void Scroll ( int amount ) ; <nl> virtual bool MoveDown ( bool wrapAround ) ; <nl> virtual bool MoveUp ( bool wrapAround ) ; <nl> - virtual void MoveToItem ( int item ) ; <nl> virtual void ValidateOffset ( ) ; <nl> virtual int CorrectOffset ( int offset , int cursor ) const ; <nl> virtual void UpdateLayout ( bool refreshAllItems = false ) ; <nl> class CGUIBaseContainer : public CGUIControl <nl> virtual void UpdatePageControl ( int offset ) ; <nl> virtual void CalculateLayout ( ) ; <nl> virtual void SelectItem ( int item ) { } ; <nl> + virtual bool SelectItemFromPoint ( const CPoint & point ) { return false ; } ; <nl> virtual void Reset ( ) ; <nl> virtual unsigned int GetNumItems ( ) const { return m_items . size ( ) ; } ; <nl> virtual int GetCurrentPage ( ) const ; <nl> mmm a / guilib / GUIListContainer . cpp <nl> ppp b / guilib / GUIListContainer . cpp <nl> void CGUIListContainer : : SelectItem ( int item ) <nl> } <nl> } <nl> } <nl> + <nl> + bool CGUIListContainer : : SelectItemFromPoint ( const CPoint & point ) <nl> + { <nl> + if ( ! m_focusedLayout | | ! m_layout ) <nl> + return false ; <nl> + <nl> + int row = 0 ; <nl> + float pos = ( m_orientation = = VERTICAL ) ? point . y : point . x ; <nl> + while ( row < m_itemsPerPage + 1 ) / / 1 more to ensure we get the ( possible ) half item at the end . <nl> + { <nl> + const CGUIListItemLayout * layout = ( row = = m_cursor ) ? m_focusedLayout : m_layout ; <nl> + if ( pos < layout - > Size ( m_orientation ) & & row + m_offset < ( int ) m_items . size ( ) ) <nl> + { / / found correct " row " - > check horizontal <nl> + if ( ! InsideLayout ( layout , point ) ) <nl> + return false ; <nl> + <nl> + m_cursor = row ; <nl> + CGUIListItemLayout * focusedLayout = GetFocusedLayout ( ) ; <nl> + if ( focusedLayout ) <nl> + { <nl> + CPoint pt ( point ) ; <nl> + if ( m_orientation = = VERTICAL ) <nl> + pt . y = pos ; <nl> + else <nl> + pt . x = pos ; <nl> + focusedLayout - > SelectItemFromPoint ( pt ) ; <nl> + } <nl> + return true ; <nl> + } <nl> + row + + ; <nl> + pos - = layout - > Size ( m_orientation ) ; <nl> + } <nl> + return false ; <nl> + } <nl> + <nl> / / # ifdef PRE_SKIN_VERSION_9_10_COMPATIBILITY <nl> CGUIListContainer : : CGUIListContainer ( int parentID , int controlID , float posX , float posY , float width , float height , <nl> const CLabelInfo & labelInfo , const CLabelInfo & labelInfo2 , <nl> mmm a / guilib / GUIListContainer . h <nl> ppp b / guilib / GUIListContainer . h <nl> class CGUIListContainer : public CGUIBaseContainer <nl> virtual bool MoveUp ( bool wrapAround ) ; <nl> virtual void ValidateOffset ( ) ; <nl> virtual void SelectItem ( int item ) ; <nl> + virtual bool SelectItemFromPoint ( const CPoint & point ) ; <nl> } ; <nl> <nl>
cleanup : removed unused function , and moved the list implementation of SelectItemFromPoint out of CGUIBaseContainer
xbmc/xbmc
5da130fb49b997deea4845b4d665f3ddd9ac15a0
2010-01-06T04:46:12Z
mmm a / modules / imgproc / src / canny . cpp <nl> ppp b / modules / imgproc / src / canny . cpp <nl> <nl> <nl> # include " precomp . hpp " <nl> <nl> + / * <nl> # if defined ( HAVE_IPP ) & & ( IPP_VERSION_MAJOR > = 7 ) <nl> # define USE_IPP_CANNY 1 <nl> # else <nl> # undef USE_IPP_CANNY <nl> # endif <nl> - <nl> + * / <nl> # ifdef USE_IPP_CANNY <nl> namespace cv <nl> { <nl> mmm a / modules / imgproc / src / color . cpp <nl> ppp b / modules / imgproc / src / color . cpp <nl> void cv : : cvtColor ( InputArray _src , OutputArray _dst , int code , int dcn ) <nl> CV_Assert ( scn = = 3 | | scn = = 4 ) ; <nl> _dst . create ( sz , CV_MAKETYPE ( depth , 1 ) ) ; <nl> dst = _dst . getMat ( ) ; <nl> - <nl> + / * <nl> # if defined ( HAVE_IPP ) & & ( IPP_VERSION_MAJOR > = 7 ) <nl> if ( code = = CV_BGR2GRAY ) <nl> { <nl> void cv : : cvtColor ( InputArray _src , OutputArray _dst , int code , int dcn ) <nl> return ; <nl> } <nl> # endif <nl> - <nl> + * / <nl> bidx = code = = CV_BGR2GRAY | | code = = CV_BGRA2GRAY ? 0 : 2 ; <nl> <nl> if ( depth = = CV_8U ) <nl> mmm a / modules / imgproc / src / imgwarp . cpp <nl> ppp b / modules / imgproc / src / imgwarp . cpp <nl> void cv : : resize ( InputArray _src , OutputArray _dst , Size dsize , <nl> int depth = src . depth ( ) , cn = src . channels ( ) ; <nl> double scale_x = 1 . / inv_scale_x , scale_y = 1 . / inv_scale_y ; <nl> int k , sx , sy , dx , dy ; <nl> - <nl> + / * <nl> # if defined ( HAVE_IPP ) & & ( IPP_VERSION_MAJOR > = 7 ) <nl> int mode = interpolation = = INTER_LINEAR ? IPPI_INTER_LINEAR : 0 ; <nl> int type = src . type ( ) ; <nl> void cv : : resize ( InputArray _src , OutputArray _dst , Size dsize , <nl> return ; <nl> } <nl> # endif <nl> - <nl> + * / <nl> if ( interpolation = = INTER_NEAREST ) <nl> { <nl> resizeNN ( src , dst , inv_scale_x , inv_scale_y ) ; <nl> void cv : : warpAffine ( InputArray _src , OutputArray _dst , <nl> int * adelta = & _abdelta [ 0 ] , * bdelta = adelta + dst . cols ; <nl> const int AB_BITS = MAX ( 10 , ( int ) INTER_BITS ) ; <nl> const int AB_SCALE = 1 < < AB_BITS ; <nl> - <nl> + / * <nl> # if defined ( HAVE_IPP ) & & ( IPP_VERSION_MAJOR > = 7 ) <nl> int depth = src . depth ( ) ; <nl> int channels = src . channels ( ) ; <nl> void cv : : warpAffine ( InputArray _src , OutputArray _dst , <nl> } <nl> } <nl> # endif <nl> - <nl> + * / <nl> for ( x = 0 ; x < dst . cols ; x + + ) <nl> { <nl> adelta [ x ] = saturate_cast < int > ( M [ 0 ] * x * AB_SCALE ) ; <nl> void cv : : warpPerspective ( InputArray _src , OutputArray _dst , InputArray _M0 , <nl> <nl> if ( ! ( flags & WARP_INVERSE_MAP ) ) <nl> invert ( matM , matM ) ; <nl> - <nl> + / * <nl> # if defined ( HAVE_IPP ) & & ( IPP_VERSION_MAJOR > = 7 ) <nl> int depth = src . depth ( ) ; <nl> int channels = src . channels ( ) ; <nl> void cv : : warpPerspective ( InputArray _src , OutputArray _dst , InputArray _M0 , <nl> } <nl> } <nl> # endif <nl> - <nl> + * / <nl> Range range ( 0 , dst . rows ) ; <nl> warpPerspectiveInvoker invoker ( src , dst , M , interpolation , borderType , borderValue ) ; <nl> parallel_for_ ( range , invoker , dst . total ( ) / ( double ) ( 1 < < 16 ) ) ; <nl> mmm a / modules / objdetect / src / haar . cpp <nl> ppp b / modules / objdetect / src / haar . cpp <nl> icvCreateHidHaarClassifierCascade ( CvHaarClassifierCascade * cascade ) <nl> out - > isStumpBased & = node_count = = 1 ; <nl> } <nl> } <nl> - <nl> + / * <nl> # ifdef HAVE_IPP <nl> int can_use_ipp = ! out - > has_tilted_features & & ! out - > is_tree & & out - > isStumpBased ; <nl> <nl> icvCreateHidHaarClassifierCascade ( CvHaarClassifierCascade * cascade ) <nl> } <nl> } <nl> # endif <nl> - <nl> + * / <nl> cascade - > hid_cascade = out ; <nl> assert ( ( char * ) haar_node_ptr - ( char * ) out < = datasize ) ; <nl> <nl>
Merge pull request from akarsakov : disable_ipp
opencv/opencv
4b885e20677191ac6c285cf0220c8a5a9c544326
2013-12-26T18:41:52Z
mmm a / README <nl> ppp b / README <nl> UTILITIES <nl> mongofiles - Put , get and delete files from GridFS . <nl> mongostat - Show the status of a running mongod / mongos . <nl> bsondump - Convert BSON files into human - readable formats . <nl> - mongooplog - Poll the oplog and apply to a local server . <nl> mongoreplay - Traffic capture and replay tool . <nl> mongotop - Track time spent reading and writing data . <nl> <nl> mmm a / debian / mongodb - enterprise - unstable . rules <nl> ppp b / debian / mongodb - enterprise - unstable . rules <nl> <nl> # ! / usr / bin / make - f <nl> # - * - makefile - * - <nl> - TOOLS = bsondump mongodecrypt mongodump mongoexport mongofiles mongoimport mongoldap mongooplog mongoperf mongorestore mongostat mongotop <nl> + TOOLS = bsondump mongodecrypt mongodump mongoexport mongofiles mongoimport mongoldap mongoperf mongorestore mongostat mongotop <nl> <nl> # Uncomment this to turn on verbose mode . <nl> export DH_VERBOSE = 1 <nl> mmm a / debian / mongodb - enterprise . rules <nl> ppp b / debian / mongodb - enterprise . rules <nl> <nl> # ! / usr / bin / make - f <nl> # - * - makefile - * - <nl> - TOOLS = bsondump mongodecrypt mongodump mongoexport mongofiles mongoimport mongoldap mongooplog mongoperf mongorestore mongostat mongotop <nl> + TOOLS = bsondump mongodecrypt mongodump mongoexport mongofiles mongoimport mongoldap mongoperf mongorestore mongostat mongotop <nl> <nl> # Uncomment this to turn on verbose mode . <nl> export DH_VERBOSE = 1 <nl> mmm a / debian / mongodb - org - unstable . rules <nl> ppp b / debian / mongodb - org - unstable . rules <nl> <nl> # ! / usr / bin / make - f <nl> # - * - makefile - * - <nl> - TOOLS = bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop <nl> + TOOLS = bsondump mongodump mongoexport mongofiles mongoimport mongoperf mongorestore mongostat mongotop <nl> <nl> # Uncomment this to turn on verbose mode . <nl> export DH_VERBOSE = 1 <nl> mmm a / debian / mongodb - org . rules <nl> ppp b / debian / mongodb - org . rules <nl> <nl> # ! / usr / bin / make - f <nl> # - * - makefile - * - <nl> - TOOLS = bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongoperf mongorestore mongostat mongotop <nl> + TOOLS = bsondump mongodump mongoexport mongofiles mongoimport mongoperf mongorestore mongostat mongotop <nl> <nl> # Uncomment this to turn on verbose mode . <nl> export DH_VERBOSE = 1 <nl> deleted file mode 100644 <nl> index 92077a20cb13 . . 000000000000 <nl> mmm a / debian / mongooplog . 1 <nl> ppp / dev / null <nl> <nl> - . \ " Man page generated from reStructuredText . <nl> - . <nl> - . TH " MONGOOPLOG " " 1 " " January 30 , 2015 " " 3 . 0 " " mongodb - manual " <nl> - . SH NAME <nl> - mongooplog \ - MongoDB Oplog Utility <nl> - . <nl> - . nr rst2man - indent - level 0 <nl> - . <nl> - . de1 rstReportMargin <nl> - \ \ $ 1 \ \ n [ an - margin ] <nl> - level \ \ n [ rst2man - indent - level ] <nl> - level margin : \ \ n [ rst2man - indent \ \ n [ rst2man - indent - level ] ] <nl> - - <nl> - \ \ n [ rst2man - indent0 ] <nl> - \ \ n [ rst2man - indent1 ] <nl> - \ \ n [ rst2man - indent2 ] <nl> - . . <nl> - . de1 INDENT <nl> - . \ " . rstReportMargin pre : <nl> - . RS \ \ $ 1 <nl> - . nr rst2man - indent \ \ n [ rst2man - indent - level ] \ \ n [ an - margin ] <nl> - . nr rst2man - indent - level + 1 <nl> - . \ " . rstReportMargin post : <nl> - . . <nl> - . de UNINDENT <nl> - . RE <nl> - . \ " indent \ \ n [ an - margin ] <nl> - . \ " old : \ \ n [ rst2man - indent \ \ n [ rst2man - indent - level ] ] <nl> - . nr rst2man - indent - level - 1 <nl> - . \ " new : \ \ n [ rst2man - indent \ \ n [ rst2man - indent - level ] ] <nl> - . in \ \ n [ rst2man - indent \ \ n [ rst2man - indent - level ] ] u <nl> - . . <nl> - . sp <nl> - New in version 2 . 2 . <nl> - <nl> - . SH SYNOPSIS <nl> - . sp <nl> - \ fBmongooplog \ fP is a simple tool that polls operations from <nl> - the \ fIreplication \ fP \ fIoplog \ fP of a remote server , and applies <nl> - them to the local server . This capability supports certain classes of <nl> - real \ - time migrations that require that the source server remain online <nl> - and in operation throughout the migration process . <nl> - . sp <nl> - Typically this command will take the following form : <nl> - . INDENT 0 . 0 <nl> - . INDENT 3 . 5 <nl> - . sp <nl> - . nf <nl> - . ft C <nl> - mongooplog \ - \ - from mongodb0 . example . net \ - \ - host mongodb1 . example . net <nl> - . ft P <nl> - . fi <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . sp <nl> - This command copies oplog entries from the \ fBmongod \ fP instance <nl> - running on the host \ fBmongodb0 . example . net \ fP and duplicates <nl> - operations to the host \ fBmongodb1 . example . net \ fP \ & . If you do not need <nl> - to keep the \ fI \ - \ - from \ fP host running during <nl> - the migration , consider using \ fBmongodump \ fP and <nl> - \ fBmongorestore \ fP or another \ fBbackup \ fP operation , which may be better suited to <nl> - your operation . <nl> - . sp <nl> - \ fBNOTE : \ fP <nl> - . INDENT 0 . 0 <nl> - . INDENT 3 . 5 <nl> - If the \ fBmongod \ fP instance specified by the \ fI \ - \ - from \ fP <nl> - argument is running with \ fBauthentication \ fP , then <nl> - \ fBmongooplog \ fP will not be able to copy oplog entries . <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . sp <nl> - \ fBSEE ALSO : \ fP <nl> - . INDENT 0 . 0 <nl> - . INDENT 3 . 5 <nl> - \ fBmongodump \ fP , \ fBmongorestore \ fP , <nl> - http : / / docs . mongodb . org / manual / core / backups , http : / / docs . mongodb . org / manual / core / replica \ - set \ - oplog \ & . <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . SH OPTIONS <nl> - . sp <nl> - Changed in version 3 . 0 . 0 : \ fBmongooplog \ fP removed the \ fB \ - \ - dbpath \ fP as well as related <nl> - \ fB \ - \ - directoryperdb \ fP and \ fB \ - \ - journal \ fP options . You must use <nl> - \ fBmongooplog \ fP while connected to a \ fBmongod \ fP instance . <nl> - <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B mongooplog <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B mongooplog <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - help <nl> - Returns information on the options and use of \ fBmongooplog \ fP \ & . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - verbose , \ - v <nl> - Increases the amount of internal reporting returned on standard output <nl> - or in log files . Increase the verbosity with the \ fB \ - v \ fP form by <nl> - including the option multiple times , ( e . g . \ fB \ - vvvvv \ fP \ & . ) <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - quiet <nl> - Runs the \ fBmongooplog \ fP in a quiet mode that attempts to limit the amount <nl> - of output . <nl> - . sp <nl> - This option suppresses : <nl> - . INDENT 7 . 0 <nl> - . IP \ ( bu 2 <nl> - connection accepted events <nl> - . IP \ ( bu 2 <nl> - connection closed events <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - version <nl> - Returns the \ fBmongooplog \ fP release number . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - host < hostname > < : port > , \ - h < hostname > < : port > <nl> - Specifies a resolvable hostname for the \ fBmongod \ fP instance to <nl> - which \ fBmongooplog \ fP will apply \ fIoplog \ fP operations <nl> - retrieved from the server specified by the \ fI \ - \ - from \ fP option . <nl> - . sp <nl> - By default \ fBmongooplog \ fP attempts to connect to a MongoDB instance running <nl> - on the localhost on port number \ fB27017 \ fP \ & . <nl> - . sp <nl> - To connect to a replica set , specify the \ fBreplica set name \ fP and a seed list of set members . Use the <nl> - following form : <nl> - . INDENT 7 . 0 <nl> - . INDENT 3 . 5 <nl> - . sp <nl> - . nf <nl> - . ft C <nl> - < replSetName > / < hostname1 > < : port > , < hostname2 > < : port > , < . . . > <nl> - . ft P <nl> - . fi <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . sp <nl> - You can always connect directly to a single MongoDB instance by <nl> - specifying the host and port number directly . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - port <nl> - Specifies the port number of the \ fBmongod \ fP instance where <nl> - \ fBmongooplog \ fP will apply \ fIoplog \ fP entries . Specify <nl> - this option only if the MongoDB instance to connect to is not <nl> - running on the standard port of \ fB27017 \ fP \ & . You may also specify a <nl> - port number using the \ fI \ - \ - host \ fP command . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - ipv6 <nl> - Enables IPv6 support and allows the \ fBmongooplog \ fP to connect to the <nl> - MongoDB instance using an IPv6 network . All MongoDB programs and <nl> - processes disable IPv6 support by default . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - ssl <nl> - New in version 2 . 6 . <nl> - <nl> - . sp <nl> - Enables connection to a \ fBmongod \ fP or \ fBmongos \ fP that has <nl> - SSL support enabled . <nl> - . sp <nl> - The default distribution of MongoDB does not contain support for SSL . <nl> - For more information on MongoDB and SSL , see http : / / docs . mongodb . org / manual / tutorial / configure \ - ssl \ & . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - sslCAFile < filename > <nl> - New in version 2 . 6 . <nl> - <nl> - . sp <nl> - Specifies the \ fB \ & . pem \ fP file that contains the root certificate chain <nl> - from the Certificate Authority . Specify the file name of the <nl> - \ fB \ & . pem \ fP file using relative or absolute paths . <nl> - . sp <nl> - The default distribution of MongoDB does not contain support for SSL . <nl> - For more information on MongoDB and SSL , see http : / / docs . mongodb . org / manual / tutorial / configure \ - ssl \ & . <nl> - . sp <nl> - \ fBWARNING : \ fP <nl> - . INDENT 7 . 0 <nl> - . INDENT 3 . 5 <nl> - If the \ fBmongo \ fP shell or any other tool that connects to <nl> - \ fBmongos \ fP or \ fBmongod \ fP is run without <nl> - \ fI \ - \ - sslCAFile \ fP , it will not attempt to validate <nl> - server certificates . This results in vulnerability to expired <nl> - \ fBmongod \ fP and \ fBmongos \ fP certificates as well as to foreign <nl> - processes posing as valid \ fBmongod \ fP or \ fBmongos \ fP <nl> - instances . Ensure that you \ fIalways \ fP specify the CA file against which <nl> - server certificates should be validated in cases where intrusion is a <nl> - possibility . <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - sslPEMKeyFile < filename > <nl> - New in version 2 . 6 . <nl> - <nl> - . sp <nl> - Specifies the \ fB \ & . pem \ fP file that contains both the SSL certificate <nl> - and key . Specify the file name of the \ fB \ & . pem \ fP file using relative <nl> - or absolute paths . <nl> - . sp <nl> - This option is required when using the \ fI \ - \ - ssl \ fP option to connect <nl> - to a \ fBmongod \ fP or \ fBmongos \ fP that has <nl> - \ fBCAFile \ fP enabled \ fIwithout \ fP <nl> - \ fBallowConnectionsWithoutCertificates \ fP \ & . <nl> - . sp <nl> - The default distribution of MongoDB does not contain support for SSL . <nl> - For more information on MongoDB and SSL , see http : / / docs . mongodb . org / manual / tutorial / configure \ - ssl \ & . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - sslPEMKeyPassword < value > <nl> - New in version 2 . 6 . <nl> - <nl> - . sp <nl> - Specifies the password to de \ - crypt the certificate \ - key file ( i . e . <nl> - \ fI \ - \ - sslPEMKeyFile \ fP ) . Use the \ fI \ - \ - sslPEMKeyPassword \ fP option only if the <nl> - certificate \ - key file is encrypted . In all cases , the \ fBmongooplog \ fP will <nl> - redact the password from all logging and reporting output . <nl> - . sp <nl> - If the private key in the PEM file is encrypted and you do not specify <nl> - the \ fI \ - \ - sslPEMKeyPassword \ fP option , the \ fBmongooplog \ fP will prompt for a passphrase . See <nl> - \ fIssl \ - certificate \ - password \ fP \ & . <nl> - . sp <nl> - The default distribution of MongoDB does not contain support for SSL . <nl> - For more information on MongoDB and SSL , see http : / / docs . mongodb . org / manual / tutorial / configure \ - ssl \ & . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - sslCRLFile < filename > <nl> - New in version 2 . 6 . <nl> - <nl> - . sp <nl> - Specifies the \ fB \ & . pem \ fP file that contains the Certificate Revocation <nl> - List . Specify the file name of the \ fB \ & . pem \ fP file using relative or <nl> - absolute paths . <nl> - . sp <nl> - The default distribution of MongoDB does not contain support for SSL . <nl> - For more information on MongoDB and SSL , see http : / / docs . mongodb . org / manual / tutorial / configure \ - ssl \ & . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - sslAllowInvalidCertificates <nl> - New in version 2 . 6 . <nl> - <nl> - . sp <nl> - Bypasses the validation checks for server certificates and allows <nl> - the use of invalid certificates . When using the <nl> - \ fBallowInvalidCertificates \ fP setting , MongoDB logs as a <nl> - warning the use of the invalid certificate . <nl> - . sp <nl> - The default distribution of MongoDB does not contain support for SSL . <nl> - For more information on MongoDB and SSL , see http : / / docs . mongodb . org / manual / tutorial / configure \ - ssl \ & . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - sslAllowInvalidHostnames <nl> - New in version 3 . 0 . <nl> - <nl> - . sp <nl> - Disables the validation of the hostnames in SSL certificates . Allows <nl> - \ fBmongooplog \ fP to connect to MongoDB instances if the hostname their <nl> - certificates do not match the specified hostname . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - sslFIPSMode <nl> - New in version 2 . 6 . <nl> - <nl> - . sp <nl> - Directs the \ fBmongooplog \ fP to use the FIPS mode of the installed OpenSSL <nl> - library . Your system must have a FIPS compliant OpenSSL library to use <nl> - the \ fI \ - \ - sslFIPSMode \ fP option . <nl> - . sp <nl> - \ fBNOTE : \ fP <nl> - . INDENT 7 . 0 <nl> - . INDENT 3 . 5 <nl> - FIPS Compatible SSL is <nl> - available only in \ fI \ % MongoDB Enterprise \ fP \ & . See <nl> - http : / / docs . mongodb . org / manual / tutorial / configure \ - fips for more information . <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - username < username > , \ - u < username > <nl> - Specifies a username with which to authenticate to a MongoDB database <nl> - that uses authentication . Use in conjunction with the \ fB \ - \ - password \ fP and <nl> - \ fB \ - \ - authenticationDatabase \ fP options . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - password < password > , \ - p < password > <nl> - Specifies a password with which to authenticate to a MongoDB database <nl> - that uses authentication . Use in conjunction with the \ fB \ - \ - username \ fP and <nl> - \ fB \ - \ - authenticationDatabase \ fP options . <nl> - . sp <nl> - If you do not specify an argument for \ fI \ - \ - password \ fP , \ fBmongooplog \ fP will <nl> - prompt interactively for a password on the console . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - authenticationDatabase < dbname > <nl> - New in version 2 . 4 . <nl> - <nl> - . sp <nl> - Specifies the database that holds the user \ ( aqs credentials . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - authenticationMechanism < name > <nl> - \ fIDefault \ fP : MONGODB \ - CR <nl> - . sp <nl> - New in version 2 . 4 . <nl> - <nl> - . sp <nl> - Changed in version 2 . 6 : Added support for the \ fBPLAIN \ fP and \ fBMONGODB \ - X509 \ fP authentication <nl> - mechanisms . <nl> - <nl> - . sp <nl> - Specifies the authentication mechanism the \ fBmongooplog \ fP instance uses to <nl> - authenticate to the \ fBmongod \ fP or \ fBmongos \ fP \ & . <nl> - . TS <nl> - center ; <nl> - | l | l | . <nl> - _ <nl> - T { <nl> - Value <nl> - T } T { <nl> - Description <nl> - T } <nl> - _ <nl> - T { <nl> - MONGODB \ - CR <nl> - T } T { <nl> - MongoDB challenge / response authentication . <nl> - T } <nl> - _ <nl> - T { <nl> - MONGODB \ - X509 <nl> - T } T { <nl> - MongoDB SSL certificate authentication . <nl> - T } <nl> - _ <nl> - T { <nl> - PLAIN <nl> - T } T { <nl> - External authentication using LDAP . You can also use \ fBPLAIN \ fP <nl> - for authenticating in \ - database users . \ fBPLAIN \ fP transmits <nl> - passwords in plain text . This mechanism is available only in <nl> - \ fI \ % MongoDB Enterprise \ fP \ & . <nl> - T } <nl> - _ <nl> - T { <nl> - GSSAPI <nl> - T } T { <nl> - External authentication using Kerberos . This mechanism is <nl> - available only in \ fI \ % MongoDB Enterprise \ fP \ & . <nl> - T } <nl> - _ <nl> - . TE <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - gssapiServiceName <nl> - New in version 2 . 6 . <nl> - <nl> - . sp <nl> - Specify the name of the service using \ fBGSSAPI / Kerberos \ fP \ & . Only required if the service does not use the <nl> - default name of \ fBmongodb \ fP \ & . <nl> - . sp <nl> - This option is available only in MongoDB Enterprise . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - gssapiHostName <nl> - New in version 2 . 6 . <nl> - <nl> - . sp <nl> - Specify the hostname of a service using \ fBGSSAPI / Kerberos \ fP \ & . \ fIOnly \ fP required if the hostname of a machine does <nl> - not match the hostname resolved by DNS . <nl> - . sp <nl> - This option is available only in MongoDB Enterprise . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - db < database > , \ - d < database > <nl> - Specifies the name of the database on which to run the \ fBmongooplog \ fP \ & . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - collection < collection > , \ - c < collection > <nl> - Specifies the collection to export . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - seconds < number > , \ - s < number > <nl> - Specify a number of seconds of operations for \ fBmongooplog \ fP to <nl> - pull from the \ fIremote host \ fP \ & . Unless <nl> - specified the default value is \ fB86400 \ fP seconds , or 24 hours . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - from < host [ : port ] > <nl> - Specify the host for \ fBmongooplog \ fP to retrieve \ fIoplog \ fP <nl> - operations from . \ fBmongooplog \ fP \ fIrequires \ fP this option . <nl> - . sp <nl> - Unless you specify the \ fI \ - \ - host \ fP option , <nl> - \ fBmongooplog \ fP will apply the operations collected with this <nl> - option to the oplog of the \ fBmongod \ fP instance running on the <nl> - localhost interface connected to port \ fB27017 \ fP \ & . <nl> - . UNINDENT <nl> - . INDENT 0 . 0 <nl> - . TP <nl> - . B \ - \ - oplogns < namespace > <nl> - Specify a namespace in the \ fI \ - \ - from \ fP host <nl> - where the oplog resides . The default value is \ fBlocal . oplog . rs \ fP , which <nl> - is the where \ fIreplica set \ fP members store their operation log . <nl> - However , if you \ ( aqve copied \ fIoplog \ fP entries into another <nl> - database or collection or are pulling oplog entries from a <nl> - \ fBmaster \ - slave \ fP deployment , use \ fI \ % \ - \ - oplogns \ fP to <nl> - apply oplog entries stored in another location . Namespaces take the <nl> - form of \ fB [ database ] . [ collection ] \ fP \ & . <nl> - . UNINDENT <nl> - . SH USE <nl> - . sp <nl> - Consider the following prototype \ fBmongooplog \ fP command : <nl> - . INDENT 0 . 0 <nl> - . INDENT 3 . 5 <nl> - . sp <nl> - . nf <nl> - . ft C <nl> - mongooplog \ - \ - from mongodb0 . example . net \ - \ - host mongodb1 . example . net <nl> - . ft P <nl> - . fi <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . sp <nl> - Here , entries from the \ fIoplog \ fP of the \ fBmongod \ fP running <nl> - on port \ fB27017 \ fP \ & . This only pull entries from the last 24 hours . <nl> - . sp <nl> - Use the \ fI \ - \ - seconds \ fP argument to capture <nl> - a greater or smaller amount of time . Consider the following example : <nl> - . INDENT 0 . 0 <nl> - . INDENT 3 . 5 <nl> - . sp <nl> - . nf <nl> - . ft C <nl> - mongooplog \ - \ - from mongodb0 . example . net \ - \ - seconds 172800 <nl> - . ft P <nl> - . fi <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . sp <nl> - In this operation , \ fBmongooplog \ fP captures 2 full days of <nl> - operations . To migrate 12 hours of \ fIoplog \ fP entries , use the <nl> - following form : <nl> - . INDENT 0 . 0 <nl> - . INDENT 3 . 5 <nl> - . sp <nl> - . nf <nl> - . ft C <nl> - mongooplog \ - \ - from mongodb0 . example . net \ - \ - seconds 43200 <nl> - . ft P <nl> - . fi <nl> - . UNINDENT <nl> - . UNINDENT <nl> - . SH AUTHOR <nl> - MongoDB Documentation Project <nl> - . SH COPYRIGHT <nl> - 2011 - 2015 <nl> - . \ " Generated by docutils manpage writer . <nl> - . <nl> mmm a / distsrc / README <nl> ppp b / distsrc / README <nl> UTILITIES <nl> mongofiles - Put , get and delete files from GridFS . <nl> mongostat - Show the status of a running mongod / mongos . <nl> bsondump - Convert BSON files into human - readable formats . <nl> - mongooplog - Poll the oplog and apply to a local server . <nl> mongoreplay - Traffic capture and replay tool . <nl> mongotop - Track time spent reading and writing data . <nl> <nl> mmm a / etc / evergreen . yml <nl> ppp b / etc / evergreen . yml <nl> functions : <nl> <nl> . . / $ { set_tools_gopath | set_gopath . sh } <nl> <nl> - build_tools = " bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog " <nl> + build_tools = " bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop " <nl> <nl> if [ " $ { build_mongoreplay } " = " true " ] ; then <nl> build_tools = " $ build_tools mongoreplay " <nl> timeout : <nl> $ { set_sudo } <nl> fi <nl> <nl> - hang_analyzer_option = " - o file - o stdout - p $ { hang_analyzer_processes | dbtest , java , mongo , mongod , mongos , python , _test } - g bsondump , mongodump , mongoexport , mongofiles , mongoimport , mongooplog , mongoreplay , mongorestore , mongostat , mongotop " <nl> + hang_analyzer_option = " - o file - o stdout - p $ { hang_analyzer_processes | dbtest , java , mongo , mongod , mongos , python , _test } - g bsondump , mongodump , mongoexport , mongofiles , mongoimport , mongoreplay , mongorestore , mongostat , mongotop " <nl> <nl> if [ $ { hang_analyzer_dump_core | true } = true ] ; then <nl> hang_analyzer_option = " - c $ hang_analyzer_option " <nl> mmm a / etc / perf . yml <nl> ppp b / etc / perf . yml <nl> pre : <nl> params : <nl> silent : true <nl> script : | <nl> - $ { killall_mci | pkill - 9 mongod ; pkill - 9 mongos ; pkill - 9 mongo ; pkill - 9 bsondump ; pkill - 9 mongoimport ; pkill - 9 mongoexport ; pkill - 9 mongodump ; pkill - 9 mongorestore ; pkill - 9 mongostat ; pkill - 9 mongofiles ; pkill - 9 mongooplog ; pkill - 9 mongotop ; pkill - 9 mongobridge ; pkill - 9 mongod - 2 . 6 ; pkill - 9 mongos - 2 . 6 ; pkill - 9 mongo - 2 . 6 ; pkill - 9 bsondump - 2 . 6 ; pkill - 9 mongoimport - 2 . 6 ; pkill - 9 mongoexport - 2 . 6 ; pkill - 9 mongodump - 2 . 6 ; pkill - 9 mongorestore - 2 . 6 ; pkill - 9 mongostat - 2 . 6 ; pkill - 9 mongofiles - 2 . 6 ; pkill - 9 mongooplog - 2 . 6 ; pkill - 9 mongotop - 2 . 6 ; pkill - 9 mongobridge - 2 . 6 ; pkill - 9 mongod - 2 . 4 ; pkill - 9 mongos - 2 . 4 ; pkill - 9 mongo - 2 . 4 ; pkill - 9 bsondump - 2 . 4 ; pkill - 9 mongoimport - 2 . 4 ; pkill - 9 mongoexport - 2 . 4 ; pkill - 9 mongodump - 2 . 4 ; pkill - 9 mongorestore - 2 . 4 ; pkill - 9 mongostat - 2 . 4 ; pkill - 9 mongofiles - 2 . 4 ; pkill - 9 mongooplog - 2 . 4 ; pkill - 9 mongotop - 2 . 4 ; pkill - 9 resmoke . py ; pkill - 9 python ; pkill - 9 python2 ; pkill - 9 lldb ; pkill - 9 _test } > / dev / null 2 > & 1 <nl> + $ { killall_mci | pkill - 9 mongod ; pkill - 9 mongos ; pkill - 9 mongo ; pkill - 9 bsondump ; pkill - 9 mongoimport ; pkill - 9 mongoexport ; pkill - 9 mongodump ; pkill - 9 mongorestore ; pkill - 9 mongostat ; pkill - 9 mongofiles ; pkill - 9 mongotop ; pkill - 9 mongobridge ; pkill - 9 mongod - 2 . 6 ; pkill - 9 mongos - 2 . 6 ; pkill - 9 mongo - 2 . 6 ; pkill - 9 bsondump - 2 . 6 ; pkill - 9 mongoimport - 2 . 6 ; pkill - 9 mongoexport - 2 . 6 ; pkill - 9 mongodump - 2 . 6 ; pkill - 9 mongorestore - 2 . 6 ; pkill - 9 mongostat - 2 . 6 ; pkill - 9 mongofiles - 2 . 6 ; pkill - 9 mongotop - 2 . 6 ; pkill - 9 mongobridge - 2 . 6 ; pkill - 9 mongod - 2 . 4 ; pkill - 9 mongos - 2 . 4 ; pkill - 9 mongo - 2 . 4 ; pkill - 9 bsondump - 2 . 4 ; pkill - 9 mongoimport - 2 . 4 ; pkill - 9 mongoexport - 2 . 4 ; pkill - 9 mongodump - 2 . 4 ; pkill - 9 mongorestore - 2 . 4 ; pkill - 9 mongostat - 2 . 4 ; pkill - 9 mongofiles - 2 . 4 ; pkill - 9 mongotop - 2 . 4 ; pkill - 9 resmoke . py ; pkill - 9 python ; pkill - 9 python2 ; pkill - 9 lldb ; pkill - 9 _test } > / dev / null 2 > & 1 <nl> exit 0 <nl> <nl> post : <nl> post : <nl> params : <nl> silent : true <nl> script : | <nl> - $ { killall_mci | pkill - 9 mongod ; pkill - 9 mongos ; pkill - 9 mongo ; pkill - 9 bsondump ; pkill - 9 mongoimport ; pkill - 9 mongoexport ; pkill - 9 mongodump ; pkill - 9 mongorestore ; pkill - 9 mongostat ; pkill - 9 mongofiles ; pkill - 9 mongooplog ; pkill - 9 mongotop ; pkill - 9 mongobridge ; pkill - 9 mongod - 2 . 6 ; pkill - 9 mongos - 2 . 6 ; pkill - 9 mongo - 2 . 6 ; pkill - 9 bsondump - 2 . 6 ; pkill - 9 mongoimport - 2 . 6 ; pkill - 9 mongoexport - 2 . 6 ; pkill - 9 mongodump - 2 . 6 ; pkill - 9 mongorestore - 2 . 6 ; pkill - 9 mongostat - 2 . 6 ; pkill - 9 mongofiles - 2 . 6 ; pkill - 9 mongooplog - 2 . 6 ; pkill - 9 mongotop - 2 . 6 ; pkill - 9 mongobridge - 2 . 6 ; pkill - 9 mongod - 2 . 4 ; pkill - 9 mongos - 2 . 4 ; pkill - 9 mongo - 2 . 4 ; pkill - 9 bsondump - 2 . 4 ; pkill - 9 mongoimport - 2 . 4 ; pkill - 9 mongoexport - 2 . 4 ; pkill - 9 mongodump - 2 . 4 ; pkill - 9 mongorestore - 2 . 4 ; pkill - 9 mongostat - 2 . 4 ; pkill - 9 mongofiles - 2 . 4 ; pkill - 9 mongooplog - 2 . 4 ; pkill - 9 mongotop - 2 . 4 ; pkill - 9 resmoke . py ; pkill - 9 python ; pkill - 9 python2 ; pkill - 9 lldb ; pkill - 9 _test } > / dev / null 2 > & 1 <nl> + $ { killall_mci | pkill - 9 mongod ; pkill - 9 mongos ; pkill - 9 mongo ; pkill - 9 bsondump ; pkill - 9 mongoimport ; pkill - 9 mongoexport ; pkill - 9 mongodump ; pkill - 9 mongorestore ; pkill - 9 mongostat ; pkill - 9 mongofiles ; pkill - 9 mongotop ; pkill - 9 mongobridge ; pkill - 9 mongod - 2 . 6 ; pkill - 9 mongos - 2 . 6 ; pkill - 9 mongo - 2 . 6 ; pkill - 9 bsondump - 2 . 6 ; pkill - 9 mongoimport - 2 . 6 ; pkill - 9 mongoexport - 2 . 6 ; pkill - 9 mongodump - 2 . 6 ; pkill - 9 mongorestore - 2 . 6 ; pkill - 9 mongostat - 2 . 6 ; pkill - 9 mongofiles - 2 . 6 ; pkill - 9 mongotop - 2 . 6 ; pkill - 9 mongobridge - 2 . 6 ; pkill - 9 mongod - 2 . 4 ; pkill - 9 mongos - 2 . 4 ; pkill - 9 mongo - 2 . 4 ; pkill - 9 bsondump - 2 . 4 ; pkill - 9 mongoimport - 2 . 4 ; pkill - 9 mongoexport - 2 . 4 ; pkill - 9 mongodump - 2 . 4 ; pkill - 9 mongorestore - 2 . 4 ; pkill - 9 mongostat - 2 . 4 ; pkill - 9 mongofiles - 2 . 4 ; pkill - 9 mongotop - 2 . 4 ; pkill - 9 resmoke . py ; pkill - 9 python ; pkill - 9 python2 ; pkill - 9 lldb ; pkill - 9 _test } > / dev / null 2 > & 1 <nl> exit 0 <nl> - command : shell . exec <nl> params : <nl> mmm a / etc / system_perf . yml <nl> ppp b / etc / system_perf . yml <nl> tasks : <nl> sed - i . bak " s / built - without - version - string / $ ( git describe ) / " common / options / options . go <nl> sed - i . bak " s / built - without - git - spec / $ ( git rev - parse HEAD ) / " common / options / options . go <nl> . . / $ { set_tools_gopath | set_gopath . sh } <nl> - build_tools = " bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog " <nl> + build_tools = " bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop " <nl> if [ " $ { build_mongoreplay } " = " true " ] ; then <nl> build_tools = " $ build_tools mongoreplay " <nl> fi <nl> deleted file mode 100644 <nl> index ad8146c080e0 . . 000000000000 <nl> mmm a / jstests / tool / oplog1 . js <nl> ppp / dev / null <nl> <nl> - / / oplog1 . js <nl> - <nl> - / / very basic test for mongooplog <nl> - / / need a lot more , but test that it functions at all <nl> - <nl> - t = new ToolTest ( " oplog1 " ) ; <nl> - <nl> - db = t . startDB ( ) ; <nl> - <nl> - output = db . output ; <nl> - <nl> - doc = { <nl> - _id : 5 , <nl> - x : 17 <nl> - } ; <nl> - <nl> - assert . commandWorked ( db . createCollection ( output . getName ( ) ) ) ; <nl> - <nl> - db . oplog . insert ( { ts : new Timestamp ( ) , " op " : " i " , " ns " : output . getFullName ( ) , " o " : doc } ) ; <nl> - <nl> - assert . eq ( 0 , output . count ( ) , " before " ) ; <nl> - <nl> - t . runTool ( " oplog " , " - - oplogns " , db . getName ( ) + " . oplog " , " - - from " , " 127 . 0 . 0 . 1 : " + t . port , " - vv " ) ; <nl> - <nl> - assert . eq ( 1 , output . count ( ) , " after " ) ; <nl> - <nl> - assert . docEq ( doc , output . findOne ( ) , " after check " ) ; <nl> - <nl> - t . stop ( ) ; <nl> deleted file mode 100644 <nl> index 9221a7a7f9ba . . 000000000000 <nl> mmm a / jstests / tool / oplog_all_ops . js <nl> ppp / dev / null <nl> <nl> - / * * <nl> - * Performs a simple test on mongooplog by doing different types of operations <nl> - * that will show up in the oplog then replaying it on another replica set . <nl> - * Correctness is verified using the dbhash command . <nl> - * / <nl> - <nl> - var repl1 = <nl> - new ReplSetTest ( { name : ' rs1 ' , nodes : [ { nopreallocj : ' ' } , { arbiter : true } , { arbiter : true } ] } ) ; <nl> - <nl> - repl1 . startSet ( { oplogSize : 10 } ) ; <nl> - repl1 . initiate ( ) ; <nl> - repl1 . awaitSecondaryNodes ( ) ; <nl> - <nl> - var repl1Conn = new Mongo ( repl1 . getURL ( ) ) ; <nl> - var testDB = repl1Conn . getDB ( ' test ' ) ; <nl> - var testColl = testDB . user ; <nl> - <nl> - / / op i <nl> - testColl . insert ( { x : 1 } ) ; <nl> - testColl . insert ( { x : 2 } ) ; <nl> - <nl> - / / op c <nl> - testColl . drop ( ) ; <nl> - <nl> - testColl . insert ( { y : 1 } ) ; <nl> - testColl . insert ( { y : 2 } ) ; <nl> - testColl . insert ( { y : 3 } ) ; <nl> - <nl> - / / op u <nl> - testColl . update ( { } , { $ inc : { z : 1 } } , true , true ) ; <nl> - <nl> - / / op d <nl> - testColl . remove ( { y : 2 } ) ; <nl> - <nl> - / / op n <nl> - var oplogColl = repl1Conn . getCollection ( ' local . oplog . rs ' ) ; <nl> - oplogColl . insert ( { ts : new Timestamp ( ) , op : ' n ' , ns : testColl . getFullName ( ) , ' o ' : { x : ' noop ' } } ) ; <nl> - <nl> - var repl2 = <nl> - new ReplSetTest ( { name : ' rs2 ' , nodes : [ { nopreallocj : ' ' } , { arbiter : true } , { arbiter : true } ] } ) ; <nl> - <nl> - repl2 . startSet ( { oplogSize : 10 } ) ; <nl> - repl2 . initiate ( ) ; <nl> - repl2 . awaitSecondaryNodes ( ) ; <nl> - <nl> - var srcConn = repl1 . getPrimary ( ) ; <nl> - var exitCode = MongoRunner . runMongoTool ( ' mongooplog ' , { <nl> - from : repl1 . getPrimary ( ) . host , <nl> - host : repl2 . getPrimary ( ) . host , <nl> - } ) ; <nl> - assert . eq ( 0 , exitCode , ' mongooplog failed to poll operations from rs1 and apply them to rs2 ' ) ; <nl> - <nl> - var repl1Hash = testDB . runCommand ( { dbhash : 1 } ) ; <nl> - <nl> - var repl2Conn = new Mongo ( repl2 . getURL ( ) ) ; <nl> - var testDB2 = repl2Conn . getDB ( testDB . getName ( ) ) ; <nl> - var repl2Hash = testDB2 . runCommand ( { dbhash : 1 } ) ; <nl> - <nl> - assert ( repl1Hash . md5 ) ; <nl> - assert . eq ( repl1Hash . md5 , repl2Hash . md5 ) ; <nl> - <nl> - repl1 . stopSet ( ) ; <nl> - repl2 . stopSet ( ) ; <nl> mmm a / jstests / tool / tool_replset . js <nl> ppp b / jstests / tool / tool_replset . js <nl> <nl> * 6 . Export a collection . <nl> * 7 . Drop the collection . <nl> * 8 . Import the collection . <nl> - * 9 . Add data to the oplog . rs collection . <nl> - * 10 . Ensure that the document doesn ' t exist yet . <nl> - * 11 . Now play the mongooplog tool . <nl> - * 12 . Make sure that the oplog was played <nl> * / <nl> <nl> ( function ( ) { <nl> <nl> var x = master . getDB ( " foo " ) . getCollection ( " bar " ) . count ( ) ; <nl> assert . eq ( x , 100 , " mongoimport should have successfully imported the collection " ) ; <nl> <nl> - var doc = { _id : 5 , x : 17 } ; <nl> - var oplogEntry = { ts : new Timestamp ( ) , " op " : " i " , " ns " : " foo . bar " , " o " : doc , " v " : NumberInt ( 2 ) } ; <nl> - assert . writeOK ( master . getDB ( " local " ) . oplog . rs . insert ( oplogEntry ) ) ; <nl> - <nl> - assert . eq ( 100 , <nl> - master . getDB ( " foo " ) . getCollection ( " bar " ) . count ( ) , <nl> - " count before running mongooplog was not 100 as expected " ) ; <nl> - <nl> - exitCode = MongoRunner . runMongoTool ( " mongooplog " , { <nl> - from : " 127 . 0 . 0 . 1 : " + replTest . ports [ 0 ] , <nl> - host : replSetConnString , <nl> - } ) ; <nl> - assert . eq ( 0 , exitCode , " mongooplog failed to replay the oplog " ) ; <nl> - <nl> - print ( " finished running mongooplog to replay the oplog " ) ; <nl> - <nl> - var foundDocs = master . getDB ( " foo " ) . getCollection ( " bar " ) . find ( { _id : 5 } ) . toArray ( ) ; <nl> - assert . eq ( foundDocs . length , 1 , " mongooplog expected to have inserted one document " ) ; <nl> - assert . docEq ( foundDocs [ 0 ] , doc , " document inserted by mongooplog expected to match " ) ; <nl> - / / assert . soon ( function ( ) { <nl> - / / var numDocs = master . getDB ( " foo " ) . getCollection ( " bar " ) . count ( ) ; <nl> - / / if ( numDocs = = 101 ) { <nl> - / / return true ; <nl> - / / } <nl> - / / return false ; <nl> - / / } , " count after running " + " mongooplog was not 101 as expected " ) ; <nl> - <nl> print ( " all tests successful , stopping replica set " ) ; <nl> <nl> replTest . stopSet ( ) ; <nl> mmm a / rpm / mongodb - enterprise - init . spec <nl> ppp b / rpm / mongodb - enterprise - init . spec <nl> fi <nl> % { _bindir } / mongoexport <nl> % { _bindir } / mongofiles <nl> % { _bindir } / mongoimport <nl> - % { _bindir } / mongooplog <nl> % { _bindir } / mongoperf <nl> % { _bindir } / mongorestore <nl> % { _bindir } / mongotop <nl> fi <nl> % { _mandir } / man1 / mongoexport . 1 * <nl> % { _mandir } / man1 / mongofiles . 1 * <nl> % { _mandir } / man1 / mongoimport . 1 * <nl> - % { _mandir } / man1 / mongooplog . 1 * <nl> % { _mandir } / man1 / mongoperf . 1 * <nl> % { _mandir } / man1 / mongorestore . 1 * <nl> % { _mandir } / man1 / mongotop . 1 * <nl> mmm a / rpm / mongodb - enterprise - unstable - init . spec <nl> ppp b / rpm / mongodb - enterprise - unstable - init . spec <nl> fi <nl> % { _bindir } / mongoexport <nl> % { _bindir } / mongofiles <nl> % { _bindir } / mongoimport <nl> - % { _bindir } / mongooplog <nl> % { _bindir } / mongoperf <nl> % { _bindir } / mongorestore <nl> % { _bindir } / mongotop <nl> fi <nl> % { _mandir } / man1 / mongoexport . 1 * <nl> % { _mandir } / man1 / mongofiles . 1 * <nl> % { _mandir } / man1 / mongoimport . 1 * <nl> - % { _mandir } / man1 / mongooplog . 1 * <nl> % { _mandir } / man1 / mongoperf . 1 * <nl> % { _mandir } / man1 / mongorestore . 1 * <nl> % { _mandir } / man1 / mongotop . 1 * <nl> mmm a / rpm / mongodb - enterprise - unstable . spec <nl> ppp b / rpm / mongodb - enterprise - unstable . spec <nl> fi <nl> % { _bindir } / mongoexport <nl> % { _bindir } / mongofiles <nl> % { _bindir } / mongoimport <nl> - % { _bindir } / mongooplog <nl> % { _bindir } / mongoperf <nl> % { _bindir } / mongorestore <nl> % { _bindir } / mongotop <nl> fi <nl> % { _mandir } / man1 / mongoexport . 1 * <nl> % { _mandir } / man1 / mongofiles . 1 * <nl> % { _mandir } / man1 / mongoimport . 1 * <nl> - % { _mandir } / man1 / mongooplog . 1 * <nl> % { _mandir } / man1 / mongoperf . 1 * <nl> % { _mandir } / man1 / mongorestore . 1 * <nl> % { _mandir } / man1 / mongotop . 1 * <nl> mmm a / rpm / mongodb - enterprise . spec <nl> ppp b / rpm / mongodb - enterprise . spec <nl> fi <nl> % { _bindir } / mongoexport <nl> % { _bindir } / mongofiles <nl> % { _bindir } / mongoimport <nl> - % { _bindir } / mongooplog <nl> % { _bindir } / mongoperf <nl> % { _bindir } / mongorestore <nl> % { _bindir } / mongotop <nl> fi <nl> % { _mandir } / man1 / mongoexport . 1 * <nl> % { _mandir } / man1 / mongofiles . 1 * <nl> % { _mandir } / man1 / mongoimport . 1 * <nl> - % { _mandir } / man1 / mongooplog . 1 * <nl> % { _mandir } / man1 / mongoperf . 1 * <nl> % { _mandir } / man1 / mongorestore . 1 * <nl> % { _mandir } / man1 / mongotop . 1 * <nl> mmm a / rpm / mongodb - org - init . spec <nl> ppp b / rpm / mongodb - org - init . spec <nl> fi <nl> % { _bindir } / mongoexport <nl> % { _bindir } / mongofiles <nl> % { _bindir } / mongoimport <nl> - % { _bindir } / mongooplog <nl> % { _bindir } / mongoperf <nl> % { _bindir } / mongorestore <nl> % { _bindir } / mongotop <nl> fi <nl> % { _mandir } / man1 / mongoexport . 1 * <nl> % { _mandir } / man1 / mongofiles . 1 * <nl> % { _mandir } / man1 / mongoimport . 1 * <nl> - % { _mandir } / man1 / mongooplog . 1 * <nl> % { _mandir } / man1 / mongoperf . 1 * <nl> % { _mandir } / man1 / mongorestore . 1 * <nl> % { _mandir } / man1 / mongotop . 1 * <nl> mmm a / rpm / mongodb - org - unstable - init . spec <nl> ppp b / rpm / mongodb - org - unstable - init . spec <nl> fi <nl> % { _bindir } / mongoexport <nl> % { _bindir } / mongofiles <nl> % { _bindir } / mongoimport <nl> - % { _bindir } / mongooplog <nl> % { _bindir } / mongoperf <nl> % { _bindir } / mongorestore <nl> % { _bindir } / mongotop <nl> fi <nl> % { _mandir } / man1 / mongoexport . 1 * <nl> % { _mandir } / man1 / mongofiles . 1 * <nl> % { _mandir } / man1 / mongoimport . 1 * <nl> - % { _mandir } / man1 / mongooplog . 1 * <nl> % { _mandir } / man1 / mongoperf . 1 * <nl> % { _mandir } / man1 / mongorestore . 1 * <nl> % { _mandir } / man1 / mongotop . 1 * <nl> mmm a / rpm / mongodb - org - unstable . spec <nl> ppp b / rpm / mongodb - org - unstable . spec <nl> fi <nl> % { _bindir } / mongoexport <nl> % { _bindir } / mongofiles <nl> % { _bindir } / mongoimport <nl> - % { _bindir } / mongooplog <nl> % { _bindir } / mongoperf <nl> % { _bindir } / mongorestore <nl> % { _bindir } / mongotop <nl> fi <nl> % { _mandir } / man1 / mongoexport . 1 * <nl> % { _mandir } / man1 / mongofiles . 1 * <nl> % { _mandir } / man1 / mongoimport . 1 * <nl> - % { _mandir } / man1 / mongooplog . 1 * <nl> % { _mandir } / man1 / mongoperf . 1 * <nl> % { _mandir } / man1 / mongorestore . 1 * <nl> % { _mandir } / man1 / mongotop . 1 * <nl> mmm a / rpm / mongodb - org . spec <nl> ppp b / rpm / mongodb - org . spec <nl> fi <nl> % { _bindir } / mongoexport <nl> % { _bindir } / mongofiles <nl> % { _bindir } / mongoimport <nl> - % { _bindir } / mongooplog <nl> % { _bindir } / mongoperf <nl> % { _bindir } / mongorestore <nl> % { _bindir } / mongotop <nl> fi <nl> % { _mandir } / man1 / mongoexport . 1 * <nl> % { _mandir } / man1 / mongofiles . 1 * <nl> % { _mandir } / man1 / mongoimport . 1 * <nl> - % { _mandir } / man1 / mongooplog . 1 * <nl> % { _mandir } / man1 / mongoperf . 1 * <nl> % { _mandir } / man1 / mongorestore . 1 * <nl> % { _mandir } / man1 / mongotop . 1 * <nl> mmm a / src / mongo / SConscript <nl> ppp b / src / mongo / SConscript <nl> mongod = env . Program ( <nl> env . Default ( env . Install ( ' # / ' , mongod ) ) <nl> <nl> # tools <nl> - rewrittenTools = [ " mongodump " , " mongorestore " , " mongoexport " , " mongoimport " , " mongostat " , " mongotop " , " bsondump " , " mongofiles " , " mongooplog " ] <nl> + rewrittenTools = [ " mongodump " , " mongorestore " , " mongoexport " , " mongoimport " , " mongostat " , " mongotop " , " bsondump " , " mongofiles " ] <nl> <nl> # mongoperf <nl> env . Install ( <nl> mmm a / src / mongo / installer / msi / wxs / BinaryFragment . wxs <nl> ppp b / src / mongo / installer / msi / wxs / BinaryFragment . wxs <nl> <nl> < File Id = " f_mongoimport " Name = " mongoimport . exe " Source = " $ ( var . ToolBinarySource ) \ mongoimport . exe " <nl> DiskId = " 1 " KeyPath = " yes " / > <nl> < / Component > <nl> - < Component Id = " c_mongooplog " Guid = " FAD84CBB - 4666 - 4C22 - A0DF - E1D2AEEC1601 " > <nl> - < File Id = " f_mongooplog " Name = " mongooplog . exe " Source = " $ ( var . ToolBinarySource ) \ mongooplog . exe " <nl> - DiskId = " 1 " KeyPath = " yes " / > <nl> - < / Component > <nl> < Component Id = " c_mongoperf " Guid = " B046CCD2 - 39DC - 4CB4 - 8A58 - A7790148C41E " > <nl> < File Id = " f_mongoperf " Name = " mongoperf . exe " Source = " $ ( var . BinarySource ) \ mongoperf . exe " <nl> DiskId = " 1 " KeyPath = " yes " / > <nl> mmm a / src / mongo / installer / msi / wxs / FeatureFragment . wxs <nl> ppp b / src / mongo / installer / msi / wxs / FeatureFragment . wxs <nl> <nl> < Wix xmlns = " http : / / schemas . microsoft . com / wix / 2006 / wi " > <nl> < Fragment > <nl> < ? if $ ( var . Edition ) = Enterprise ? > <nl> - < WixVariable Id = " MiscToolsDesc " Value = " Miscellaneous MongoDB tools ( bsondump , mongodecrypt , mongofiles , mongoldap , mongooplog , mongoperf ) " / > <nl> + < WixVariable Id = " MiscToolsDesc " Value = " Miscellaneous MongoDB tools ( bsondump , mongodecrypt , mongofiles , mongoldap , mongoperf ) " / > <nl> < ? else ? > <nl> - < WixVariable Id = " MiscToolsDesc " Value = " Miscellaneous MongoDB tools ( bsondump , mongofiles , mongooplog , mongoperf ) " / > <nl> + < WixVariable Id = " MiscToolsDesc " Value = " Miscellaneous MongoDB tools ( bsondump , mongofiles , mongoperf ) " / > <nl> < ? endif ? > <nl> < FeatureGroup Id = " fg_MongoDBAll " > <nl> < Feature Id = " ProductFeature " <nl> <nl> Level = " 1 " > <nl> < ComponentRef Id = " c_bsondump " / > <nl> < ComponentRef Id = " c_mongofiles " / > <nl> - < ComponentRef Id = " c_mongooplog " / > <nl> < ComponentRef Id = " c_mongoperf " / > <nl> < ? if $ ( var . Edition ) = Enterprise ? > <nl> < ComponentGroupRef Id = " cg_EnterpriseBase " / > <nl>
SERVER - 31545 Remove deprecated mongooplog tool
mongodb/mongo
59cedee3230235f444e5f3675260e36095527158
2017-10-23T17:04:30Z
mmm a / src / mongo / util / processinfo_linux . cpp <nl> ppp b / src / mongo / util / processinfo_linux . cpp <nl> void ProcessInfo : : getExtraInfo ( BSONObjBuilder & info ) { <nl> struct mallinfo malloc_info = <nl> mallinfo ( ) ; / / structure has same name as function that returns it . ( see malloc . h ) <nl> info . append ( " heap_usage_bytes " , <nl> - malloc_info . uordblks / * main arena * / + malloc_info . hblkhd / * mmap blocks * / ) ; <nl> + static_cast < long long > ( malloc_info . uordblks ) / * main arena * / + <nl> + static_cast < long long > ( malloc_info . hblkhd ) / * mmap blocks * / ) ; <nl> / / docs claim hblkhd is included in uordblks but it isn ' t <nl> <nl> LinuxProc p ( _pid ) ; <nl>
SERVER - 24363 cast mallinfo members to long long before adding
mongodb/mongo
5018df28b12f0697cf2ba3d6d35b0e16808a42ab
2016-06-06T15:13:09Z
mmm a / lstm / lstmrecognizer . cpp <nl> ppp b / lstm / lstmrecognizer . cpp <nl> void LSTMRecognizer : : RecognizeLine ( const ImageData & image_data , bool invert , <nl> NetworkIO outputs ; <nl> float scale_factor ; <nl> NetworkIO inputs ; <nl> - if ( ! RecognizeLine ( image_data , invert , debug , false , & scale_factor , & inputs , <nl> - & outputs ) ) <nl> + if ( ! RecognizeLine ( image_data , invert , debug , false , false , & scale_factor , <nl> + & inputs , & outputs ) ) <nl> return ; <nl> if ( search_ = = NULL ) { <nl> search_ = <nl> void LSTMRecognizer : : OutputStats ( const NetworkIO & outputs , float * min_output , <nl> / / Recognizes the image_data , returning the labels , <nl> / / scores , and corresponding pairs of start , end x - coords in coords . <nl> bool LSTMRecognizer : : RecognizeLine ( const ImageData & image_data , bool invert , <nl> - bool debug , bool re_invert , <nl> + bool debug , bool re_invert , bool upside_down , <nl> float * scale_factor , NetworkIO * inputs , <nl> NetworkIO * outputs ) { <nl> / / Maximum width of image to train on . <nl> bool LSTMRecognizer : : RecognizeLine ( const ImageData & image_data , bool invert , <nl> pixDestroy ( & pix ) ; <nl> return false ; <nl> } <nl> + if ( upside_down ) pixRotate180 ( pix , pix ) ; <nl> / / Reduction factor from image to coords . <nl> * scale_factor = min_width / * scale_factor ; <nl> inputs - > set_int_mode ( IsIntMode ( ) ) ; <nl> mmm a / lstm / lstmrecognizer . h <nl> ppp b / lstm / lstmrecognizer . h <nl> class LSTMRecognizer { <nl> / / forward outputs for the best photometric interpretation . <nl> / / inputs is filled with the used inputs to the network . <nl> bool RecognizeLine ( const ImageData & image_data , bool invert , bool debug , <nl> - bool re_invert , float * scale_factor , NetworkIO * inputs , <nl> - NetworkIO * outputs ) ; <nl> + bool re_invert , bool upside_down , float * scale_factor , <nl> + NetworkIO * inputs , NetworkIO * outputs ) ; <nl> <nl> / / Converts an array of labels to utf - 8 , whether or not the labels are <nl> / / augmented with character boundaries . <nl> mmm a / lstm / lstmtrainer . cpp <nl> ppp b / lstm / lstmtrainer . cpp <nl> const int kTargetXScale = 5 ; <nl> const int kTargetYScale = 100 ; <nl> <nl> LSTMTrainer : : LSTMTrainer ( ) <nl> - : training_data_ ( 0 ) , <nl> + : randomly_rotate_ ( false ) , <nl> + training_data_ ( 0 ) , <nl> file_reader_ ( LoadDataFromFile ) , <nl> file_writer_ ( SaveDataToFile ) , <nl> checkpoint_reader_ ( <nl> LSTMTrainer : : LSTMTrainer ( FileReader file_reader , FileWriter file_writer , <nl> CheckPointWriter checkpoint_writer , <nl> const char * model_base , const char * checkpoint_name , <nl> int debug_interval , inT64 max_memory ) <nl> - : training_data_ ( max_memory ) , <nl> + : randomly_rotate_ ( false ) , <nl> + training_data_ ( max_memory ) , <nl> file_reader_ ( file_reader ) , <nl> file_writer_ ( file_writer ) , <nl> checkpoint_reader_ ( checkpoint_reader ) , <nl> void LSTMTrainer : : DebugNetwork ( ) { <nl> / / tesseract into memory ready for training . Returns false if nothing was <nl> / / loaded . <nl> bool LSTMTrainer : : LoadAllTrainingData ( const GenericVector < STRING > & filenames , <nl> - CachingStrategy cache_strategy ) { <nl> + CachingStrategy cache_strategy , <nl> + bool randomly_rotate ) { <nl> + randomly_rotate_ = randomly_rotate ; <nl> training_data_ . Clear ( ) ; <nl> return training_data_ . LoadDocuments ( filenames , cache_strategy , file_reader_ ) ; <nl> } <nl> Trainability LSTMTrainer : : PrepareForBackward ( const ImageData * trainingdata , <nl> trainingdata - > language ( ) . string ( ) ) ; <nl> return UNENCODABLE ; <nl> } <nl> + bool upside_down = false ; <nl> + if ( randomly_rotate_ ) { <nl> + / / This ensures consistent training results . <nl> + SetRandomSeed ( ) ; <nl> + upside_down = randomizer_ . SignedRand ( 1 . 0 ) > 0 . 0 ; <nl> + if ( upside_down ) { <nl> + / / Modify the truth labels to match the rotation : <nl> + / / Apart from space and null , increment the label . This is changes the <nl> + / / script - id to the same script - id but upside - down . <nl> + / / The labels need to be reversed in order , as the first is now the last . <nl> + for ( int c = 0 ; c < truth_labels . size ( ) ; + + c ) { <nl> + if ( truth_labels [ c ] ! = UNICHAR_SPACE & & truth_labels [ c ] ! = null_char_ ) <nl> + + + truth_labels [ c ] ; <nl> + } <nl> + truth_labels . reverse ( ) ; <nl> + } <nl> + } <nl> int w = 0 ; <nl> while ( w < truth_labels . size ( ) & & <nl> ( truth_labels [ w ] = = UNICHAR_SPACE | | truth_labels [ w ] = = null_char_ ) ) <nl> Trainability LSTMTrainer : : PrepareForBackward ( const ImageData * trainingdata , <nl> float image_scale ; <nl> NetworkIO inputs ; <nl> bool invert = trainingdata - > boxes ( ) . empty ( ) ; <nl> - if ( ! RecognizeLine ( * trainingdata , invert , debug , invert , & image_scale , <nl> - & inputs , fwd_outputs ) ) { <nl> + if ( ! RecognizeLine ( * trainingdata , invert , debug , invert , upside_down , <nl> + & image_scale , & inputs , fwd_outputs ) ) { <nl> tprintf ( " Image not trainable \ n " ) ; <nl> return UNENCODABLE ; <nl> } <nl> mmm a / lstm / lstmtrainer . h <nl> ppp b / lstm / lstmtrainer . h <nl> class LSTMTrainer : public LSTMRecognizer { <nl> / / tesseract into memory ready for training . Returns false if nothing was <nl> / / loaded . <nl> bool LoadAllTrainingData ( const GenericVector < STRING > & filenames , <nl> - CachingStrategy cache_strategy ) ; <nl> + CachingStrategy cache_strategy , <nl> + bool randomly_rotate ) ; <nl> <nl> / / Keeps track of best and locally worst error rate , using internally computed <nl> / / values . See MaintainCheckpointsSpecific for more detail . <nl> class LSTMTrainer : public LSTMRecognizer { <nl> / / Checkpoint filename . <nl> STRING checkpoint_name_ ; <nl> / / Training data . <nl> + bool randomly_rotate_ ; <nl> DocumentCache training_data_ ; <nl> / / Name to use when saving best_trainer_ . <nl> STRING best_model_name_ ; <nl> mmm a / training / lstmtraining . cpp <nl> ppp b / training / lstmtraining . cpp <nl> STRING_PARAM_FLAG ( traineddata , " " , <nl> STRING_PARAM_FLAG ( old_traineddata , " " , <nl> " When changing the character set , this specifies the old " <nl> " character set that is to be replaced " ) ; <nl> + BOOL_PARAM_FLAG ( randomly_rotate , false , <nl> + " Train OSD and randomly turn training samples upside - down " ) ; <nl> <nl> / / Number of training images to train between calls to MaintainCheckpoints . <nl> const int kNumPagesPerBatch = 100 ; <nl> int main ( int argc , char * * argv ) { <nl> trainer . set_perfect_delay ( FLAGS_perfect_sample_delay ) ; <nl> } <nl> } <nl> - if ( ! trainer . LoadAllTrainingData ( <nl> - filenames , FLAGS_sequential_training ? tesseract : : CS_SEQUENTIAL <nl> - : tesseract : : CS_ROUND_ROBIN ) ) { <nl> + if ( ! trainer . LoadAllTrainingData ( filenames , <nl> + FLAGS_sequential_training <nl> + ? tesseract : : CS_SEQUENTIAL <nl> + : tesseract : : CS_ROUND_ROBIN , <nl> + FLAGS_randomly_rotate ) ) { <nl> tprintf ( " Load of images failed ! ! \ n " ) ; <nl> return 1 ; <nl> } <nl>
Added ability to randomly rotate images upside - down during training for training OSD
tesseract-ocr/tesseract
4cf123e099c08bfc43a21c16126cc639058d5666
2017-09-08T11:42:57Z
mmm a / Telegram / SourceFiles / platform / mac / touchbar / mac_touchbar_audio . mm <nl> ppp b / Telegram / SourceFiles / platform / mac / touchbar / mac_touchbar_audio . mm <nl> <nl> * / <nl> # include " platform / mac / touchbar / mac_touchbar_audio . h " <nl> <nl> - # include " core / sandbox . h " <nl> # include " media / audio / media_audio . h " <nl> # include " media / player / media_player_instance . h " <nl> # include " platform / mac / touchbar / mac_touchbar_common . h " <nl> - ( id ) init { <nl> kPlayItemIdentifier , <nl> kPreviousItemIdentifier , <nl> kNextItemIdentifier , <nl> - / / kCurrentPositionItemIdentifier , / / TODO . <nl> + kCurrentPositionItemIdentifier , <nl> kSeekBarItemIdentifier , <nl> kClosePlayerItemIdentifier ] ; <nl> <nl> - ( NSTouchBarItem * ) touchBar : ( NSTouchBar * ) touchBar <nl> item . view = button ; <nl> item . customizationLabel = @ " Close Player " ; <nl> return [ item autorelease ] ; <nl> + } else if ( isEqual ( kCurrentPositionItemIdentifier ) ) { <nl> + auto * item = TouchBar : : CreateTouchBarTrackPosition ( <nl> + itemId , <nl> + rpl : : duplicate ( _trackState ) ) ; <nl> + return [ item autorelease ] ; <nl> } <nl> return nil ; <nl> } <nl> mmm a / Telegram / SourceFiles / platform / mac / touchbar / mac_touchbar_controls . h <nl> ppp b / Telegram / SourceFiles / platform / mac / touchbar / mac_touchbar_controls . h <nl> struct TrackState ; <nl> } / / namespace Media <nl> <nl> @ class NSButton ; <nl> + @ class NSCustomTouchBarItem ; <nl> @ class NSImage ; <nl> @ class NSSliderTouchBarItem ; <nl> <nl> NSSliderTouchBarItem * CreateTouchBarSlider ( <nl> Fn < void ( bool , double , double ) > callback , <nl> rpl : : producer < Media : : Player : : TrackState > stateChanged ) ; <nl> <nl> + [ [ nodiscard ] ] API_AVAILABLE ( macos ( 10 . 12 . 2 ) ) <nl> + NSCustomTouchBarItem * CreateTouchBarTrackPosition ( <nl> + NSString * itemId , <nl> + rpl : : producer < Media : : Player : : TrackState > stateChanged ) ; <nl> + <nl> } / / namespace TouchBar <nl> mmm a / Telegram / SourceFiles / platform / mac / touchbar / mac_touchbar_controls . mm <nl> ppp b / Telegram / SourceFiles / platform / mac / touchbar / mac_touchbar_controls . mm <nl> <nl> * / <nl> # include " platform / mac / touchbar / mac_touchbar_controls . h " <nl> <nl> + # include " base / platform / mac / base_utilities_mac . h " / / Q2NSString ( ) <nl> # include " core / sandbox . h " / / Sandbox : : customEnterFromEventLoop ( ) <nl> + # include " layout . h " / / formatDurationText ( ) <nl> # include " media / audio / media_audio . h " <nl> # include " platform / mac / touchbar / mac_touchbar_common . h " <nl> <nl> # import < AppKit / NSButton . h > <nl> + # import < AppKit / NSCustomTouchBarItem . h > <nl> # import < AppKit / NSImage . h > <nl> + # import < AppKit / NSImageView . h > <nl> # import < AppKit / NSSlider . h > <nl> # import < AppKit / NSSliderTouchBarItem . h > <nl> <nl> + using namespace TouchBar ; <nl> + <nl> namespace { <nl> <nl> + constexpr auto kPadding = 7 ; <nl> + <nl> inline NSImage * Icon ( const style : : icon & icon ) { <nl> - using namespace TouchBar ; <nl> return CreateNSImageFromStyleIcon ( icon , kCircleDiameter / 2 ) ; <nl> } <nl> <nl> + inline NSDictionary * Attributes ( ) { <nl> + return @ { <nl> + NSFontAttributeName : [ NSFont systemFontOfSize : 14 ] , <nl> + NSParagraphStyleAttributeName : <nl> + [ NSMutableParagraphStyle defaultParagraphStyle ] , <nl> + NSForegroundColorAttributeName : [ NSColor whiteColor ] <nl> + } ; <nl> + } <nl> + <nl> + inline NSString * FormatTime ( TimeId time ) { <nl> + return Platform : : Q2NSString ( formatDurationText ( time ) ) ; <nl> + } <nl> + <nl> } / / namespace <nl> <nl> + # pragma mark - TrackPosition <nl> + <nl> + @ interface TrackPosition : NSImageView <nl> + @ end / / @ interface TrackPosition <nl> + <nl> + @ implementation TrackPosition { <nl> + NSMutableString * _text ; <nl> + <nl> + double _width ; <nl> + double _height ; <nl> + <nl> + rpl : : lifetime _lifetime ; <nl> + } <nl> + <nl> + - ( id ) init : ( rpl : : producer < Media : : Player : : TrackState > ) trackState { <nl> + self = [ super init ] ; <nl> + const auto textLength = _lifetime . make_state < rpl : : variable < int > > ( 0 ) ; <nl> + _width = _height = 0 ; <nl> + _text = [ [ NSMutableString alloc ] initWithCapacity : 13 ] ; <nl> + <nl> + rpl : : combine ( <nl> + rpl : : duplicate ( <nl> + trackState <nl> + ) | rpl : : map ( [ ] ( const auto & state ) { <nl> + return state . position / 1000 ; <nl> + } ) | rpl : : distinct_until_changed ( ) , <nl> + std : : move ( <nl> + trackState <nl> + ) | rpl : : map ( [ ] ( const auto & state ) { <nl> + return state . length / 1000 ; <nl> + } ) | rpl : : distinct_until_changed ( ) <nl> + ) | rpl : : start_with_next ( [ = ] ( int position , int length ) { <nl> + [ _text setString : [ NSString stringWithFormat : @ " % @ / % @ " , <nl> + FormatTime ( position ) , <nl> + FormatTime ( length ) ] ] ; <nl> + * textLength = _text . length ; <nl> + <nl> + [ self display ] ; <nl> + } , _lifetime ) ; <nl> + <nl> + textLength - > changes ( <nl> + ) | rpl : : start_with_next ( [ = ] { <nl> + const auto size = [ _text sizeWithAttributes : Attributes ( ) ] ; <nl> + _width = size . width + kPadding * 2 ; <nl> + _height = size . height ; <nl> + <nl> + if ( self . image ) { <nl> + [ self . image release ] ; <nl> + } <nl> + self . image = [ [ NSImage alloc ] initWithSize : NSMakeSize ( <nl> + _width , <nl> + kCircleDiameter ) ] ; <nl> + } , _lifetime ) ; <nl> + <nl> + return self ; <nl> + } <nl> + <nl> + - ( void ) drawRect : ( NSRect ) dirtyRect { <nl> + if ( ! ( _text & & _text . length & & _width & & _height ) ) { <nl> + return ; <nl> + } <nl> + const auto size = [ _text sizeWithAttributes : Attributes ( ) ] ; <nl> + const auto rect = CGRectMake ( <nl> + ( _width - size . width ) / 2 , <nl> + - ( kCircleDiameter - _height ) / 2 , <nl> + _width , <nl> + kCircleDiameter ) ; <nl> + [ _text drawInRect : rect withAttributes : Attributes ( ) ] ; <nl> + } <nl> + <nl> + - ( void ) dealloc { <nl> + if ( self . image ) { <nl> + [ self . image release ] ; <nl> + } <nl> + if ( _text ) { <nl> + [ _text release ] ; <nl> + } <nl> + [ super dealloc ] ; <nl> + } <nl> + <nl> + @ end / / @ implementation TrackPosition <nl> + <nl> namespace TouchBar { <nl> <nl> NSButton * CreateTouchBarButton ( <nl> <nl> return seekBar ; <nl> } <nl> <nl> + NSCustomTouchBarItem * CreateTouchBarTrackPosition ( <nl> + NSString * itemId , <nl> + rpl : : producer < Media : : Player : : TrackState > stateChanged ) { <nl> + auto * item = [ [ NSCustomTouchBarItem alloc ] initWithIdentifier : itemId ] ; <nl> + auto * trackPosition = [ [ [ TrackPosition alloc ] <nl> + init : std : : move ( stateChanged ) ] autorelease ] ; <nl> + <nl> + item . view = trackPosition ; <nl> + item . customizationLabel = @ " Track Position " ; <nl> + return item ; <nl> + } <nl> + <nl> } / / namespace TouchBar <nl>
Reimplemented track position item for audio touchbar .
telegramdesktop/tdesktop
87aa8a249f03bbae821b07a6f52803a7dee2fa45
2020-07-15T18:10:06Z
mmm a / python - package / lightgbm / engine . py <nl> ppp b / python - package / lightgbm / engine . py <nl> def train ( params , train_data , num_boost_round = 100 , <nl> booster . best_iteration = int ( booster . attr ( ' best_iteration ' ) ) <nl> else : <nl> booster . best_iteration = num_boost_round - 1 <nl> - return num_boost_round <nl> + return booster <nl> <nl> <nl> class CVBooster ( object ) : <nl> mmm a / python - package / lightgbm / sklearn . py <nl> ppp b / python - package / lightgbm / sklearn . py <nl> def fit ( self , X , y , eval_set = None , eval_metric = None , <nl> evals_result = { } <nl> params = self . get_params ( ) <nl> <nl> + if other_params is not None : <nl> + params . update ( other_params ) <nl> + <nl> if callable ( self . objective ) : <nl> fobj = _objective_decorator ( self . objective ) <nl> params [ " objective " ] = " None " <nl> def fit ( self , X , y , eval_set = None , eval_metric = None , <nl> fobj = None <nl> if callable ( eval_metric ) : <nl> feval = eval_metric <nl> - else : <nl> + elif is_str ( eval_metric ) or isinstance ( eval_metric , list ) : <nl> feval = None <nl> params . update ( { ' metric ' : eval_metric } ) <nl> + else : <nl> + feval = None <nl> feval = eval_metric if callable ( eval_metric ) else None <nl> <nl> - if other_params is not None : <nl> - params . update ( other_params ) <nl> - <nl> self . _Booster = train ( params , ( X , y ) , <nl> self . n_estimators , valid_datas = eval_set , <nl> early_stopping_rounds = early_stopping_rounds , <nl> def fit ( self , X , y , eval_set = None , eval_metric = None , <nl> other_params = { } <nl> if self . n_classes_ > 2 : <nl> # Switch to using a multiclass objective in the underlying LGBM instance <nl> - other_params [ " objective " ] = " multiclass " <nl> + if not callable ( self . objective ) : <nl> + self . objective = " multiclass " <nl> other_params [ ' num_class ' ] = self . n_classes_ <nl> else : <nl> - other_params [ " objective " ] = " binary " <nl> + if not callable ( self . objective ) : <nl> + self . objective = " binary " <nl> <nl> self . _le = LGBMLabelEncoder ( ) . fit ( y ) <nl> training_labels = self . _le . transform ( y ) <nl> new file mode 100644 <nl> index 0000000000 . . 3c57deec23 <nl> mmm / dev / null <nl> ppp b / tests / python_package_test / test_sklearn . py <nl> <nl> + import numpy as np <nl> + import random <nl> + import lightgbm as lgb <nl> + <nl> + <nl> + rng = np . random . RandomState ( 2016 ) <nl> + <nl> + def test_binary_classification ( ) : <nl> + <nl> + from sklearn import datasets , metrics , model_selection <nl> + <nl> + X , y = datasets . make_classification ( n_samples = 10000 , n_features = 100 ) <nl> + x_train , x_test , y_train , y_test = model_selection . train_test_split ( X , y , test_size = 0 . 1 ) <nl> + lgb_model = lgb . LGBMClassifier ( ) . fit ( x_train , y_train , eval_set = [ [ x_train , y_train ] , ( x_test , y_test ) ] , eval_metric = ' binary_logloss ' ) <nl> + from sklearn . datasets import load_digits <nl> + digits = load_digits ( 2 ) <nl> + y = digits [ ' target ' ] <nl> + X = digits [ ' data ' ] <nl> + x_train , x_test , y_train , y_test = model_selection . train_test_split ( X , y , test_size = 0 . 2 ) <nl> + lgb_model = lgb . LGBMClassifier ( ) . fit ( x_train , y_train , eval_set = [ [ x_train , y_train ] , ( x_test , y_test ) ] , eval_metric = ' binary_logloss ' ) <nl> + preds = lgb_model . predict ( x_test ) <nl> + err = sum ( 1 for i in range ( len ( preds ) ) <nl> + if int ( preds [ i ] > 0 . 5 ) ! = y_test [ i ] ) / float ( len ( preds ) ) <nl> + assert err < 0 . 1 <nl> + <nl> + def test_multiclass_classification ( ) : <nl> + from sklearn . datasets import load_iris <nl> + from sklearn import datasets , metrics , model_selection <nl> + <nl> + def check_pred ( preds , labels ) : <nl> + err = sum ( 1 for i in range ( len ( preds ) ) <nl> + if int ( preds [ i ] > 0 . 5 ) ! = labels [ i ] ) / float ( len ( preds ) ) <nl> + assert err < 0 . 7 <nl> + <nl> + <nl> + X , y = datasets . make_classification ( n_samples = 10000 , n_features = 100 , n_classes = 4 , n_informative = 3 ) <nl> + <nl> + x_train , x_test , y_train , y_test = model_selection . train_test_split ( X , y , test_size = 0 . 1 ) <nl> + <nl> + lgb_model = lgb . LGBMClassifier ( ) . fit ( x_train , y_train , eval_set = [ [ x_train , y_train ] , ( x_test , y_test ) ] , eval_metric = ' multi_logloss ' ) <nl> + preds = lgb_model . predict ( x_test ) <nl> + <nl> + check_pred ( preds , y_test ) <nl> + <nl> + def test_regression ( ) : <nl> + from sklearn . metrics import mean_squared_error <nl> + from sklearn . datasets import load_boston <nl> + from sklearn . cross_validation import KFold <nl> + from sklearn import datasets , metrics , model_selection <nl> + <nl> + boston = load_boston ( ) <nl> + y = boston [ ' target ' ] <nl> + X = boston [ ' data ' ] <nl> + x_train , x_test , y_train , y_test = model_selection . train_test_split ( X , y , test_size = 0 . 1 ) <nl> + lgb_model = lgb . LGBMRegressor ( ) . fit ( x_train , y_train , eval_set = [ [ x_train , y_train ] , ( x_test , y_test ) ] , eval_metric = ' l2 ' ) <nl> + preds = lgb_model . predict ( x_test ) <nl> + assert mean_squared_error ( preds , y_test ) < 30 <nl> + <nl> + def test_regression_with_custom_objective ( ) : <nl> + from sklearn . metrics import mean_squared_error <nl> + from sklearn . datasets import load_boston <nl> + from sklearn . cross_validation import KFold <nl> + from sklearn import datasets , metrics , model_selection <nl> + def objective_ls ( y_true , y_pred ) : <nl> + grad = ( y_pred - y_true ) <nl> + hess = np . ones ( len ( y_true ) ) <nl> + return grad , hess <nl> + boston = load_boston ( ) <nl> + y = boston [ ' target ' ] <nl> + X = boston [ ' data ' ] <nl> + x_train , x_test , y_train , y_test = model_selection . train_test_split ( X , y , test_size = 0 . 1 ) <nl> + lgb_model = lgb . LGBMRegressor ( objective = objective_ls ) . fit ( x_train , y_train , eval_set = [ [ x_train , y_train ] , ( x_test , y_test ) ] , eval_metric = ' l2 ' ) <nl> + preds = lgb_model . predict ( x_test ) <nl> + assert mean_squared_error ( preds , y_test ) < 30 <nl> + <nl> + <nl> + def test_binary_classification_with_custom_objective ( ) : <nl> + <nl> + from sklearn import datasets , metrics , model_selection <nl> + def logregobj ( y_true , y_pred ) : <nl> + y_pred = 1 . 0 / ( 1 . 0 + np . exp ( - y_pred ) ) <nl> + grad = y_pred - y_true <nl> + hess = y_pred * ( 1 . 0 - y_pred ) <nl> + return grad , hess <nl> + X , y = datasets . make_classification ( n_samples = 10000 , n_features = 100 ) <nl> + x_train , x_test , y_train , y_test = model_selection . train_test_split ( X , y , test_size = 0 . 1 ) <nl> + lgb_model = lgb . LGBMClassifier ( objective = logregobj ) . fit ( x_train , y_train , eval_set = [ [ x_train , y_train ] , ( x_test , y_test ) ] , eval_metric = ' binary_logloss ' ) <nl> + from sklearn . datasets import load_digits <nl> + digits = load_digits ( 2 ) <nl> + y = digits [ ' target ' ] <nl> + X = digits [ ' data ' ] <nl> + x_train , x_test , y_train , y_test = model_selection . train_test_split ( X , y , test_size = 0 . 2 ) <nl> + lgb_model = lgb . LGBMClassifier ( objective = logregobj ) . fit ( x_train , y_train , eval_set = [ [ x_train , y_train ] , ( x_test , y_test ) ] , eval_metric = ' binary_logloss ' ) <nl> + preds = lgb_model . predict ( x_test ) <nl> + err = sum ( 1 for i in range ( len ( preds ) ) <nl> + if int ( preds [ i ] > 0 . 5 ) ! = y_test [ i ] ) / float ( len ( preds ) ) <nl> + assert err < 0 . 1 <nl> + <nl> + test_binary_classification ( ) <nl> + test_multiclass_classification ( ) <nl> + test_regression ( ) <nl> + test_regression_with_custom_objective ( ) <nl> + test_binary_classification_with_custom_objective ( ) <nl> \ No newline at end of file <nl>
add more tests
microsoft/LightGBM
452b41f015bc299e0b06152f11cba1cfce248bae
2016-11-30T03:40:31Z
mmm a / Telegram / SourceFiles / export / data / export_data_types . cpp <nl> ppp b / Telegram / SourceFiles / export / data / export_data_types . cpp <nl> void ParseAttributes ( <nl> } , [ & ] ( const MTPDdocumentAttributeAnimated & data ) { <nl> result . isAnimated = true ; <nl> } , [ & ] ( const MTPDdocumentAttributeSticker & data ) { <nl> + result . isSticker = true ; <nl> result . stickerEmoji = ParseString ( data . valt ) ; <nl> } , [ & ] ( const MTPDdocumentAttributeVideo & data ) { <nl> if ( data . is_round_message ( ) ) { <nl> mmm a / Telegram / SourceFiles / export / data / export_data_types . h <nl> ppp b / Telegram / SourceFiles / export / data / export_data_types . h <nl> struct FileLocation { <nl> } ; <nl> <nl> struct File { <nl> + enum class SkipReason { <nl> + None , <nl> + Unavailable , <nl> + FileType , <nl> + FileSize , <nl> + } ; <nl> FileLocation location ; <nl> int size = 0 ; <nl> QByteArray content ; <nl> struct File { <nl> QString suggestedPath ; <nl> <nl> QString relativePath ; <nl> + SkipReason skipReason = SkipReason : : None ; <nl> } ; <nl> <nl> struct Image { <nl> struct Document { <nl> Utf8String songTitle ; <nl> int duration = 0 ; <nl> <nl> + bool isSticker = false ; <nl> bool isAnimated = false ; <nl> bool isVideoMessage = false ; <nl> bool isVoiceMessage = false ; <nl> mmm a / Telegram / SourceFiles / export / export_api_wrap . cpp <nl> ppp b / Telegram / SourceFiles / export / export_api_wrap . cpp <nl> constexpr auto kChatsSliceLimit = 100 ; <nl> constexpr auto kMessagesSliceLimit = 100 ; <nl> constexpr auto kFileMaxSize = 1500 * 1024 * 1024 ; <nl> <nl> - bool WillLoadFile ( const Data : : File & file ) { <nl> - return file . relativePath . isEmpty ( ) <nl> - & & ( ! file . content . isEmpty ( ) | | file . location . dcId ! = 0 ) ; <nl> + bool FileIsAvailable ( const Data : : File & file ) { <nl> + return file . relativePath . isEmpty ( ) & & ( file . location . dcId ! = 0 ) ; <nl> } <nl> <nl> } / / namespace <nl> void ApiWrap : : loadNextUserpic ( ) { <nl> Expects ( _userpicsProcess ! = nullptr ) ; <nl> Expects ( _userpicsProcess - > slice . has_value ( ) ) ; <nl> <nl> - const auto & list = _userpicsProcess - > slice - > list ; <nl> + auto & list = _userpicsProcess - > slice - > list ; <nl> while ( true ) { <nl> const auto index = + + _userpicsProcess - > fileIndex ; <nl> if ( index > = list . size ( ) ) { <nl> break ; <nl> } <nl> - const auto & file = list [ index ] . image . file ; <nl> - if ( WillLoadFile ( file ) ) { <nl> - loadFile ( <nl> - file , <nl> - [ = ] ( const QString & path ) { loadUserpicDone ( path ) ; } ) ; <nl> + const auto ready = processFileLoad ( <nl> + list [ index ] . image . file , <nl> + [ = ] ( const QString & path ) { loadUserpicDone ( path ) ; } ) ; <nl> + if ( ! ready ) { <nl> return ; <nl> } <nl> } <nl> void ApiWrap : : loadNextMessageFile ( ) { <nl> Expects ( _dialogsProcess - > single - > slice . has_value ( ) ) ; <nl> <nl> const auto process = _dialogsProcess - > single . get ( ) ; <nl> - const auto & list = process - > slice - > list ; <nl> + auto & list = process - > slice - > list ; <nl> while ( true ) { <nl> const auto index = + + process - > fileIndex ; <nl> if ( index > = list . size ( ) ) { <nl> break ; <nl> } <nl> - const auto & file = list [ index ] . file ( ) ; <nl> - if ( WillLoadFile ( file ) ) { <nl> - loadFile ( <nl> - file , <nl> - [ = ] ( const QString & path ) { loadMessageFileDone ( path ) ; } ) ; <nl> + const auto ready = processFileLoad ( <nl> + list [ index ] . file ( ) , <nl> + [ = ] ( const QString & path ) { loadMessageFileDone ( path ) ; } ) ; <nl> + if ( ! ready ) { <nl> return ; <nl> } <nl> } <nl> void ApiWrap : : finishDialogs ( ) { <nl> base : : take ( _dialogsProcess ) - > finish ( ) ; <nl> } <nl> <nl> - void ApiWrap : : loadFile ( const Data : : File & file , FnMut < void ( QString ) > done ) { <nl> - Expects ( _fileProcess = = nullptr ) ; <nl> + bool ApiWrap : : processFileLoad ( <nl> + Data : : File & file , <nl> + FnMut < void ( QString ) > done , <nl> + Data : : Message * message ) { <nl> + using SkipReason = Data : : File : : SkipReason ; <nl> + <nl> + if ( ! file . relativePath . isEmpty ( ) ) { <nl> + return true ; <nl> + } else if ( writePreloadedFile ( file ) ) { <nl> + return true ; <nl> + } else if ( ! FileIsAvailable ( file ) ) { <nl> + file . skipReason = SkipReason : : Unavailable ; <nl> + return true ; <nl> + } <nl> + <nl> + using Type = MediaSettings : : Type ; <nl> + const auto type = message ? message - > media . content . match ( <nl> + [ & ] ( const Data : : Document & data ) { <nl> + if ( data . isSticker ) { <nl> + return Type : : Sticker ; <nl> + } else if ( data . isVideoMessage ) { <nl> + return Type : : VideoMessage ; <nl> + } else if ( data . isVoiceMessage ) { <nl> + return Type : : VoiceMessage ; <nl> + } else if ( data . isAnimated ) { <nl> + return Type : : GIF ; <nl> + } else if ( data . isVideoFile ) { <nl> + return Type : : Video ; <nl> + } else { <nl> + return Type : : File ; <nl> + } <nl> + } , [ ] ( const auto & data ) { <nl> + return Type : : Photo ; <nl> + } ) : Type : : Photo ; <nl> + <nl> + if ( ( _settings - > media . types & type ) ! = type ) { <nl> + file . skipReason = SkipReason : : FileType ; <nl> + return true ; <nl> + } else if ( file . size > = _settings - > media . sizeLimit ) { <nl> + file . skipReason = SkipReason : : FileSize ; <nl> + return true ; <nl> + } <nl> + loadFile ( file , std : : move ( done ) ) ; <nl> + return false ; <nl> + } <nl> + <nl> + bool ApiWrap : : writePreloadedFile ( Data : : File & file ) { <nl> Expects ( _settings ! = nullptr ) ; <nl> - Expects ( WillLoadFile ( file ) ) ; <nl> <nl> using namespace Output ; <nl> - const auto relativePath = File : : PrepareRelativePath ( <nl> - _settings - > path , <nl> - file . suggestedPath ) ; <nl> - _fileProcess = std : : make_unique < FileProcess > ( <nl> - _settings - > path + relativePath ) ; <nl> - _fileProcess - > relativePath = relativePath ; <nl> - _fileProcess - > location = file . location ; <nl> - _fileProcess - > size = file . size ; <nl> - _fileProcess - > done = std : : move ( done ) ; <nl> <nl> if ( ! file . content . isEmpty ( ) ) { <nl> + const auto process = prepareFileProcess ( file ) ; <nl> auto & output = _fileProcess - > file ; <nl> if ( output . writeBlock ( file . content ) = = File : : Result : : Success ) { <nl> - _fileProcess - > done ( relativePath ) ; <nl> - } else { <nl> - error ( QString ( " Could not open ' % 1 ' . " ) . arg ( relativePath ) ) ; <nl> + file . relativePath = process - > relativePath ; <nl> + return true ; <nl> } <nl> - } else { <nl> - loadFilePart ( ) ; <nl> + error ( QString ( " Could not write ' % 1 ' . " ) . arg ( process - > relativePath ) ) ; <nl> } <nl> + return false ; <nl> + } <nl> + <nl> + void ApiWrap : : loadFile ( const Data : : File & file , FnMut < void ( QString ) > done ) { <nl> + Expects ( _fileProcess = = nullptr ) ; <nl> + Expects ( FileIsAvailable ( file ) ) ; <nl> + <nl> + _fileProcess = prepareFileProcess ( file ) ; <nl> + _fileProcess - > done = std : : move ( done ) ; <nl> + <nl> + loadFilePart ( ) ; <nl> + } <nl> + <nl> + auto ApiWrap : : prepareFileProcess ( const Data : : File & file ) const <nl> + - > std : : unique_ptr < FileProcess > { <nl> + Expects ( _settings ! = nullptr ) ; <nl> + <nl> + const auto relativePath = Output : : File : : PrepareRelativePath ( <nl> + _settings - > path , <nl> + file . suggestedPath ) ; <nl> + auto result = std : : make_unique < FileProcess > ( <nl> + _settings - > path + relativePath ) ; <nl> + result - > relativePath = relativePath ; <nl> + result - > location = file . location ; <nl> + result - > size = file . size ; <nl> + return result ; <nl> } <nl> <nl> void ApiWrap : : loadFilePart ( ) { <nl> mmm a / Telegram / SourceFiles / export / export_api_wrap . h <nl> ppp b / Telegram / SourceFiles / export / export_api_wrap . h <nl> struct SessionsList ; <nl> struct DialogsInfo ; <nl> struct DialogInfo ; <nl> struct MessagesSlice ; <nl> + struct Message ; <nl> } / / namespace Data <nl> <nl> struct Settings ; <nl> class ApiWrap { <nl> ~ ApiWrap ( ) ; <nl> <nl> private : <nl> + struct UserpicsProcess ; <nl> + struct FileProcess ; <nl> + struct DialogsProcess ; <nl> + <nl> void startMainSession ( FnMut < void ( ) > done ) ; <nl> <nl> void handleUserpicsSlice ( const MTPphotos_Photos & result ) ; <nl> class ApiWrap { <nl> void loadUserpicDone ( const QString & relativePath ) ; <nl> void finishUserpics ( ) ; <nl> <nl> - void requestSavedContacts ( ) ; <nl> - <nl> void requestDialogsSlice ( ) ; <nl> void appendDialogsSlice ( Data : : DialogsInfo & & info ) ; <nl> void finishDialogsList ( ) ; <nl> class ApiWrap { <nl> void requestMessagesSlice ( ) ; <nl> void loadMessagesFiles ( Data : : MessagesSlice & & slice ) ; <nl> void loadNextMessageFile ( ) ; <nl> + <nl> void loadMessageFileDone ( const QString & relativePath ) ; <nl> void finishMessages ( ) ; <nl> void finishDialogs ( ) ; <nl> <nl> + bool processFileLoad ( <nl> + Data : : File & file , <nl> + FnMut < void ( QString ) > done , <nl> + Data : : Message * message = nullptr ) ; <nl> + std : : unique_ptr < FileProcess > prepareFileProcess ( <nl> + const Data : : File & file ) const ; <nl> + bool writePreloadedFile ( Data : : File & file ) ; <nl> void loadFile ( const Data : : File & file , FnMut < void ( QString ) > done ) ; <nl> void loadFilePart ( ) ; <nl> void filePartDone ( int offset , const MTPupload_File & result ) ; <nl> class ApiWrap { <nl> std : : unique_ptr < Settings > _settings ; <nl> MTPInputUser _user = MTP_inputUserSelf ( ) ; <nl> <nl> - struct UserpicsProcess ; <nl> std : : unique_ptr < UserpicsProcess > _userpicsProcess ; <nl> - <nl> - struct FileProcess ; <nl> std : : unique_ptr < FileProcess > _fileProcess ; <nl> - <nl> - struct DialogsProcess ; <nl> std : : unique_ptr < DialogsProcess > _dialogsProcess ; <nl> <nl> rpl : : event_stream < RPCError > _errors ; <nl> mmm a / Telegram / SourceFiles / export / output / export_output_text . cpp <nl> ppp b / Telegram / SourceFiles / export / output / export_output_text . cpp <nl> QByteArray SerializeMessage ( <nl> const auto pushAction = [ & ] ( const QByteArray & action ) { <nl> push ( " Action " , action ) ; <nl> } ; <nl> + const auto pushTTL = [ & ] ( <nl> + const QByteArray & label = " Self destruct period " ) { <nl> + if ( const auto ttl = message . media . ttl ) { <nl> + push ( label , NumberToString ( ttl ) + " sec . " ) ; <nl> + } <nl> + } ; <nl> + <nl> message . action . content . match ( [ & ] ( const ActionChatCreate & data ) { <nl> pushActor ( ) ; <nl> pushAction ( " Create group " ) ; <nl> QByteArray SerializeMessage ( <nl> } <nl> <nl> message . media . content . match ( [ & ] ( const Photo & photo ) { <nl> + pushTTL ( ) ; <nl> } , [ & ] ( const Document & data ) { <nl> const auto pushPath = [ & ] ( const QByteArray & label ) { <nl> push ( label , FormatFilePath ( data . file ) ) ; <nl> } ; <nl> - if ( ! data . stickerEmoji . isEmpty ( ) ) { <nl> + if ( data . isSticker ) { <nl> pushPath ( " Sticker " ) ; <nl> push ( " Emoji " , data . stickerEmoji ) ; <nl> } else if ( data . isVideoMessage ) { <nl> QByteArray SerializeMessage ( <nl> } else { <nl> pushPath ( " File " ) ; <nl> } <nl> - if ( data . stickerEmoji . isEmpty ( ) ) { <nl> + if ( ! data . isSticker ) { <nl> push ( " Mime type " , data . mime ) ; <nl> } <nl> if ( data . duration ) { <nl> QByteArray SerializeMessage ( <nl> push ( " Width " , NumberToString ( data . width ) ) ; <nl> push ( " Height " , NumberToString ( data . height ) ) ; <nl> } <nl> + pushTTL ( ) ; <nl> } , [ & ] ( const ContactInfo & data ) { <nl> push ( " Contact information " , SerializeKeyValue ( { <nl> { " First name " , data . firstName } , <nl> QByteArray SerializeMessage ( <nl> { " Latitude " , NumberToString ( data . latitude ) } , <nl> { " Longitude " , NumberToString ( data . longitude ) } , <nl> } ) : QByteArray ( " ( empty value ) " ) ) ; <nl> + pushTTL ( " Live location period " ) ; <nl> } , [ & ] ( const Venue & data ) { <nl> push ( " Place name " , data . title ) ; <nl> push ( " Address " , data . address ) ; <nl>
Apply file type / size restrictions in export .
telegramdesktop/tdesktop
8d52ca6be620a1cbc1374410746afc31e677dc3c
2018-06-17T08:54:38Z
mmm a / hphp / hack / src / parser / expression_parser . rs <nl> ppp b / hphp / hack / src / parser / expression_parser . rs <nl> where <nl> / / Skip any async or coroutine declarations that may be present . When we <nl> / / feed the original parser into the syntax parsers . they will take care of <nl> / / them as appropriate . <nl> + let parser1 = self . clone ( ) ; <nl> let attribute_spec = self . with_decl_parser ( & | p | p . parse_attribute_specification_opt ( ) ) ; <nl> - let mut parser1 = self . clone ( ) ; <nl> - <nl> - let _ = parser1 . optional_token ( TokenKind : : Static ) ; <nl> - let _ = parser1 . optional_token ( TokenKind : : Async ) ; <nl> - let _ = parser1 . optional_token ( TokenKind : : Coroutine ) ; <nl> - match parser1 . peek_token_kind ( ) { <nl> + let mut parser2 = self . clone ( ) ; <nl> + let _ = parser2 . optional_token ( TokenKind : : Static ) ; <nl> + let _ = parser2 . optional_token ( TokenKind : : Async ) ; <nl> + let _ = parser2 . optional_token ( TokenKind : : Coroutine ) ; <nl> + match parser2 . peek_token_kind ( ) { <nl> TokenKind : : Function = > self . parse_anon ( attribute_spec ) , <nl> TokenKind : : LeftBrace = > self . parse_async_block ( attribute_spec ) , <nl> TokenKind : : Variable | TokenKind : : LeftParen = > { <nl> self . parse_lambda_expression ( attribute_spec ) <nl> } <nl> _ = > { <nl> + self . continue_from ( parser1 ) ; <nl> let static_or_async_or_coroutine_as_name = self . next_token_as_name ( ) ; <nl> S ! ( make_token , self , static_or_async_or_coroutine_as_name ) <nl> } <nl> mmm a / hphp / hack / src / parser / full_fidelity_expression_parser . ml <nl> ppp b / hphp / hack / src / parser / full_fidelity_expression_parser . ml <nl> module WithStatementAndDeclAndTypeParser <nl> ( * Skip any async or coroutine declarations that may be present . When we <nl> feed the original parser into the syntax parsers . they will take care of <nl> them as appropriate . * ) <nl> - let ( parser , attribute_spec ) = <nl> + let ( parser1 , attribute_spec ) = <nl> with_decl_parser parser DeclParser . parse_attribute_specification_opt in <nl> - let ( parser1 , _ ) = optional_token parser Static in <nl> - let ( parser1 , _ ) = optional_token parser1 Async in <nl> - let ( parser1 , _ ) = optional_token parser1 Coroutine in <nl> - match peek_token_kind parser1 with <nl> - | Function - > parse_anon parser attribute_spec <nl> - | LeftBrace - > parse_async_block parser attribute_spec <nl> + let ( parser2 , _ ) = optional_token parser1 Static in <nl> + let ( parser2 , _ ) = optional_token parser2 Async in <nl> + let ( parser2 , _ ) = optional_token parser2 Coroutine in <nl> + match peek_token_kind parser2 with <nl> + | Function - > parse_anon parser1 attribute_spec <nl> + | LeftBrace - > parse_async_block parser1 attribute_spec <nl> | Variable <nl> - | LeftParen - > parse_lambda_expression parser attribute_spec <nl> + | LeftParen - > parse_lambda_expression parser1 attribute_spec <nl> | _ - > <nl> let ( parser , static_or_async_or_coroutine_as_name ) = next_token_as_name <nl> parser in <nl>
Fix keywords . php FFP test
facebook/hhvm
22f72635a6e7125e4632af40867efba2c8bc50cc
2019-07-23T16:27:41Z
mmm a / lib / IRGen / GenCall . cpp <nl> ppp b / lib / IRGen / GenCall . cpp <nl> AsyncContextLayout irgen : : getAsyncContextLayout ( <nl> } <nl> <nl> / / ArgTypes formalArguments . . . ; <nl> - auto bindings = NecessaryBindings : : forAsyncFunctionInvocations ( <nl> + auto bindings = NecessaryBindings : : forAsyncFunctionInvocation ( <nl> IGF . IGM , originalType , substitutionMap ) ; <nl> if ( ! bindings . empty ( ) ) { <nl> auto bindingsSize = bindings . getBufferSize ( IGF . IGM ) ; <nl> mmm a / lib / IRGen / GenProto . cpp <nl> ppp b / lib / IRGen / GenProto . cpp <nl> void EmitPolymorphicArguments : : emit ( SubstitutionMap subs , <nl> } <nl> } <nl> <nl> - NecessaryBindings NecessaryBindings : : forAsyncFunctionInvocations ( <nl> + NecessaryBindings NecessaryBindings : : forAsyncFunctionInvocation ( <nl> IRGenModule & IGM , CanSILFunctionType origType , SubstitutionMap subs ) { <nl> return computeBindings ( IGM , origType , subs , <nl> false / * forPartialApplyForwarder * / ) ; <nl> mmm a / lib / IRGen / NecessaryBindings . h <nl> ppp b / lib / IRGen / NecessaryBindings . h <nl> class NecessaryBindings { <nl> / / / Collect the necessary bindings to invoke a function with the given <nl> / / / signature . <nl> static NecessaryBindings <nl> - forAsyncFunctionInvocations ( IRGenModule & IGM , CanSILFunctionType origType , <nl> - SubstitutionMap subs ) ; <nl> + forAsyncFunctionInvocation ( IRGenModule & IGM , CanSILFunctionType origType , <nl> + SubstitutionMap subs ) ; <nl> static NecessaryBindings forPartialApplyForwarder ( IRGenModule & IGM , <nl> CanSILFunctionType origType , <nl> SubstitutionMap subs , <nl>
[ NFC ] Tweaked name of NecessaryBindings factory method .
apple/swift
1a106d329fc4718a8ff5746ab174309a642d315f
2020-10-06T18:55:25Z
mmm a / include / internal / catch_timer . cpp <nl> ppp b / include / internal / catch_timer . cpp <nl> <nl> <nl> namespace Catch { <nl> <nl> - namespace { <nl> - uint64_t getCurrentMicrosecondsSinceEpoch ( ) { <nl> - return std : : chrono : : duration_cast < std : : chrono : : microseconds > ( std : : chrono : : high_resolution_clock : : now ( ) . time_since_epoch ( ) ) . count ( ) ; <nl> - } <nl> - } <nl> - <nl> - void Timer : : start ( ) { <nl> - m_microSeconds = getCurrentMicrosecondsSinceEpoch ( ) ; <nl> - } <nl> - unsigned int Timer : : getElapsedMicroseconds ( ) const { <nl> - return static_cast < unsigned int > ( getCurrentMicrosecondsSinceEpoch ( ) - m_microSeconds ) ; <nl> - } <nl> - unsigned int Timer : : getElapsedMilliseconds ( ) const { <nl> - return static_cast < unsigned int > ( getElapsedMicroseconds ( ) / 1000 ) ; <nl> - } <nl> - double Timer : : getElapsedSeconds ( ) const { <nl> - return getElapsedMicroseconds ( ) / 1000000 . 0 ; <nl> + auto getCurrentMicrosecondsSinceEpoch ( ) - > uint64_t { <nl> + return std : : chrono : : duration_cast < std : : chrono : : microseconds > ( std : : chrono : : high_resolution_clock : : now ( ) . time_since_epoch ( ) ) . count ( ) ; <nl> } <nl> <nl> } / / namespace Catch <nl> mmm a / include / internal / catch_timer . h <nl> ppp b / include / internal / catch_timer . h <nl> <nl> # include < stdint . h > <nl> <nl> namespace Catch { <nl> - class Timer { <nl> - public : <nl> - void start ( ) ; <nl> - unsigned int getElapsedMicroseconds ( ) const ; <nl> - unsigned int getElapsedMilliseconds ( ) const ; <nl> - double getElapsedSeconds ( ) const ; <nl> <nl> - private : <nl> + auto getCurrentMicrosecondsSinceEpoch ( ) - > uint64_t ; <nl> + <nl> + class Timer { <nl> uint64_t m_microSeconds = 0 ; <nl> + public : <nl> + void start ( ) { <nl> + m_microSeconds = getCurrentMicrosecondsSinceEpoch ( ) ; <nl> + } <nl> + auto getElapsedMicroseconds ( ) const - > unsigned int { <nl> + return static_cast < unsigned int > ( getCurrentMicrosecondsSinceEpoch ( ) - m_microSeconds ) ; <nl> + } <nl> + auto getElapsedMilliseconds ( ) const - > unsigned int { <nl> + return static_cast < unsigned int > ( getElapsedMicroseconds ( ) / 1000 ) ; <nl> + } <nl> + auto getElapsedSeconds ( ) const - > double { <nl> + return getElapsedMicroseconds ( ) / 1000000 . 0 ; <nl> + } <nl> } ; <nl> <nl> } / / namespace Catch <nl>
Made most of Timer class inline - and export getCurrentMicrosecondsSinceEpoch ( )
catchorg/Catch2
c7028f7bc76e011f23fcc2baf308f5c27ef1f019
2017-08-04T11:16:05Z
mmm a / include / swift / AST / DiagnosticsDriver . def <nl> ppp b / include / swift / AST / DiagnosticsDriver . def <nl> <nl> DIAG ( NOTE , ID , Options , Text , Signature ) <nl> # endif <nl> <nl> + # ifndef REMARK <nl> + # define REMARK ( ID , Options , Text , Signature ) \ <nl> + DIAG ( REMARK , ID , Options , Text , Signature ) <nl> + # endif <nl> <nl> WARNING ( warning_parallel_execution_not_supported , none , <nl> " parallel execution not supported ; falling back to serial execution " , <nl> WARNING ( warn_use_filelists_deprecated , none , <nl> " the option ' - driver - use - filelists ' is deprecated ; use " <nl> " ' - driver - filelist - threshold = 0 ' instead " , ( ) ) <nl> <nl> + REMARK ( remark_using_batch_mode , none , " using batch mode " , ( ) ) <nl> + <nl> # ifndef DIAG_NO_UNDEF <nl> # if defined ( DIAG ) <nl> # undef DIAG <nl> mmm a / lib / Driver / Driver . cpp <nl> ppp b / lib / Driver / Driver . cpp <nl> Driver : : buildCompilation ( const ToolChain & TC , <nl> const bool ContinueBuildingAfterErrors = <nl> BatchMode | | ArgList - > hasArg ( options : : OPT_continue_building_after_errors ) ; <nl> <nl> + / / Issue a remark to facilitate recognizing the use of batch mode in the build <nl> + / / log . <nl> + if ( BatchMode ) <nl> + Diags . diagnose ( SourceLoc ( ) , diag : : remark_using_batch_mode ) ; <nl> + <nl> if ( Diags . hadAnyError ( ) ) <nl> return nullptr ; <nl> <nl> new file mode 100644 <nl> index 000000000000 . . 2eb4123c191e <nl> mmm / dev / null <nl> ppp b / test / Driver / batch_mode_remark . swift <nl> <nl> + / / Ensure that driver issues a remark iff          in batch mode . <nl> + / / <nl> + / / RUN : % swiftc_driver - whole - module - optimization - enable - batch - mode % S / . . / Inputs / empty . swift 2 > & 1 | % FileCheck % s <nl> + / / RUN : % swiftc_driver - whole - module - optimization - enable - batch - mode % S / . . / Inputs / empty . swift 2 > & 1 | % FileCheck % s <nl> + / / RUN : ( % swiftc_driver - enable - batch - mode - disable - batch - mode % S / . . / Inputs / empty . swift 2 > & 1 ; echo stop - empty - complaint ) | % FileCheck % s <nl> + / / <nl> + / / CHECK - NOT : remark : using batch mode <nl> + / / <nl> + / / <nl> + / / RUN : % swiftc_driver - enable - batch - mode % S / . . / Inputs / empty . swift 2 > & 1 | % FileCheck % s - check - prefix USING - BATCH - MODE <nl> + / / <nl> + / / USING - BATCH - MODE : remark : using batch mode <nl>
Batch mode driver remark
apple/swift
83c0d77c1f21f5b915f0de38b9f866e62c27d13b
2018-05-13T19:58:31Z
mmm a / src / core / hle / kernel / hle_ipc . cpp <nl> ppp b / src / core / hle / kernel / hle_ipc . cpp <nl> size_t HLERequestContext : : WriteBuffer ( const void * buffer , size_t size , int buffe <nl> return size ; <nl> } <nl> <nl> - size_t HLERequestContext : : WriteBuffer ( const std : : vector < u8 > & buffer , int buffer_index ) const { <nl> - return WriteBuffer ( buffer . data ( ) , buffer . size ( ) , buffer_index ) ; <nl> - } <nl> - <nl> size_t HLERequestContext : : GetReadBufferSize ( int buffer_index ) const { <nl> const bool is_buffer_a { BufferDescriptorA ( ) . size ( ) & & BufferDescriptorA ( ) [ buffer_index ] . Size ( ) } ; <nl> return is_buffer_a ? BufferDescriptorA ( ) [ buffer_index ] . Size ( ) <nl> mmm a / src / core / hle / kernel / hle_ipc . h <nl> ppp b / src / core / hle / kernel / hle_ipc . h <nl> <nl> # pragma once <nl> <nl> # include < array > <nl> + # include < iterator > <nl> # include < memory > <nl> # include < string > <nl> + # include < type_traits > <nl> # include < vector > <nl> # include < boost / container / small_vector . hpp > <nl> # include " common / common_types . h " <nl> class HLERequestContext { <nl> / / / Helper function to write a buffer using the appropriate buffer descriptor <nl> size_t WriteBuffer ( const void * buffer , size_t size , int buffer_index = 0 ) const ; <nl> <nl> - / / / Helper function to write a buffer using the appropriate buffer descriptor <nl> - size_t WriteBuffer ( const std : : vector < u8 > & buffer , int buffer_index = 0 ) const ; <nl> + / * Helper function to write a buffer using the appropriate buffer descriptor <nl> + * <nl> + * @ tparam ContiguousContainer an arbitrary container that satisfies the <nl> + * ContiguousContainer concept in the C + + standard library . <nl> + * <nl> + * @ param container The container to write the data of into a buffer . <nl> + * @ param buffer_index The buffer in particular to write to . <nl> + * / <nl> + template < typename ContiguousContainer , <nl> + typename = std : : enable_if_t < ! std : : is_pointer_v < ContiguousContainer > > > <nl> + size_t WriteBuffer ( const ContiguousContainer & container , int buffer_index = 0 ) const { <nl> + using ContiguousType = typename ContiguousContainer : : value_type ; <nl> + <nl> + static_assert ( std : : is_trivially_copyable_v < ContiguousType > , <nl> + " Container to WriteBuffer must contain trivially copyable objects " ) ; <nl> + <nl> + return WriteBuffer ( std : : data ( container ) , std : : size ( container ) * sizeof ( ContiguousType ) , <nl> + buffer_index ) ; <nl> + } <nl> <nl> / / / Helper function to get the size of the input buffer <nl> size_t GetReadBufferSize ( int buffer_index = 0 ) const ; <nl> mmm a / src / core / hle / service / audio / audout_u . cpp <nl> ppp b / src / core / hle / service / audio / audout_u . cpp <nl> void AudOutU : : ListAudioOutsImpl ( Kernel : : HLERequestContext & ctx ) { <nl> IPC : : RequestParser rp { ctx } ; <nl> <nl> const std : : string audio_interface = " AudioInterface " ; <nl> - ctx . WriteBuffer ( audio_interface . c_str ( ) , audio_interface . size ( ) ) ; <nl> + ctx . WriteBuffer ( audio_interface ) ; <nl> <nl> IPC : : ResponseBuilder rb = rp . MakeBuilder ( 3 , 0 , 0 ) ; <nl> <nl> mmm a / src / core / hle / service / audio / audren_u . cpp <nl> ppp b / src / core / hle / service / audio / audren_u . cpp <nl> class IAudioDevice final : public ServiceFramework < IAudioDevice > { <nl> IPC : : RequestParser rp { ctx } ; <nl> <nl> const std : : string audio_interface = " AudioInterface " ; <nl> - ctx . WriteBuffer ( audio_interface . c_str ( ) , audio_interface . size ( ) ) ; <nl> + ctx . WriteBuffer ( audio_interface ) ; <nl> <nl> IPC : : ResponseBuilder rb = rp . MakeBuilder ( 3 , 0 , 0 ) ; <nl> rb . Push ( RESULT_SUCCESS ) ; <nl> class IAudioDevice final : public ServiceFramework < IAudioDevice > { <nl> IPC : : RequestParser rp { ctx } ; <nl> <nl> const std : : string audio_interface = " AudioDevice " ; <nl> - ctx . WriteBuffer ( audio_interface . c_str ( ) , audio_interface . size ( ) ) ; <nl> + ctx . WriteBuffer ( audio_interface ) ; <nl> <nl> IPC : : ResponseBuilder rb = rp . MakeBuilder ( 3 , 0 , 0 ) ; <nl> rb . Push ( RESULT_SUCCESS ) ; <nl> mmm a / src / core / hle / service / set / set . cpp <nl> ppp b / src / core / hle / service / set / set . cpp <nl> void SET : : GetAvailableLanguageCodes ( Kernel : : HLERequestContext & ctx ) { <nl> LanguageCode : : ZH_HANS , <nl> LanguageCode : : ZH_HANT , <nl> } } ; <nl> - ctx . WriteBuffer ( available_language_codes . data ( ) , available_language_codes . size ( ) ) ; <nl> + ctx . WriteBuffer ( available_language_codes ) ; <nl> <nl> IPC : : ResponseBuilder rb { ctx , 4 } ; <nl> rb . Push ( RESULT_SUCCESS ) ; <nl>
hle_ipc : Introduce generic WriteBuffer overload for multiple container types
yuzu-emu/yuzu
ff500a7b6838f2eaca25b79ce602c499a71b9c10
2018-07-19T21:05:12Z
mmm a / include / mxnet / engine . h <nl> ppp b / include / mxnet / engine . h <nl> class Engine { <nl> VarHandle var ) = 0 ; <nl> / * ! <nl> * \ brief Wait for a variable . <nl> - * \ param var The variable we should wait for . This function returns when all <nl> - * the variable is ready . <nl> + * \ param var The variable we should wait for . This function returns when the <nl> + * variable is ready . <nl> * / <nl> virtual void WaitForVar ( VarHandle var ) = 0 ; <nl> / * ! <nl>
[ engine - refactor ] doc
apache/incubator-mxnet
0a0d814401abf71d54db1bfb26c96c3d0d2c365a
2015-09-07T23:39:41Z
mmm a / cocos2dx / CCDirector . cpp <nl> ppp b / cocos2dx / CCDirector . cpp <nl> NS_CC_BEGIN <nl> / / XXX it shoul be a Director ivar . Move it there once support for multiple directors is added <nl> <nl> / / singleton stuff <nl> - static CCDisplayLinkDirector s_sharedDirector ; <nl> - static bool s_bFirstRun = true ; <nl> + static CCDisplayLinkDirector * s_pSharedDirector = NULL ; <nl> <nl> # define kDefaultFPS 60 / / 60 frames per second <nl> extern const char * cocos2dVersion ( void ) ; <nl> <nl> CCDirector * CCDirector : : sharedDirector ( void ) <nl> { <nl> - if ( s_bFirstRun ) <nl> - { <nl> - s_sharedDirector . init ( ) ; <nl> - s_bFirstRun = false ; <nl> - } <nl> - <nl> - return & s_sharedDirector ; <nl> + if ( s_pSharedDirector = = NULL ) <nl> + { <nl> + s_pSharedDirector = new CCDisplayLinkDirector ( ) ; <nl> + s_pSharedDirector - > init ( ) ; <nl> + } <nl> + <nl> + return s_pSharedDirector ; <nl> } <nl> <nl> CCDirector : : CCDirector ( void ) <nl> bool CCDirector : : init ( void ) <nl> m_pProjectionDelegate = NULL ; <nl> <nl> / / FPS <nl> + m_fAccumDt = 0 . 0f ; <nl> + m_fFrameRate = 0 . 0f ; <nl> + m_pFPSLabel = NULL ; <nl> m_bDisplayFPS = false ; <nl> m_uTotalFrames = m_uFrames = 0 ; <nl> m_pszFPS = new char [ 10 ] ; <nl> bool CCDirector : : init ( void ) <nl> <nl> CCDirector : : ~ CCDirector ( void ) <nl> { <nl> - CCLOGINFO ( " cocos2d : deallocing % p " , this ) ; <nl> + CCLOG ( " cocos2d : deallocing % p " , this ) ; <nl> <nl> # if CC_DIRECTOR_FAST_FPS <nl> CC_SAFE_RELEASE ( m_pFPSLabel ) ; <nl> CCDirector : : ~ CCDirector ( void ) <nl> CC_SAFE_RELEASE ( m_pTouchDispatcher ) ; <nl> CC_SAFE_RELEASE ( m_pKeypadDispatcher ) ; <nl> CC_SAFE_DELETE ( m_pAccelerometer ) ; <nl> + <nl> / / pop the autorelease pool <nl> CCPoolManager : : getInstance ( ) - > pop ( ) ; <nl> <nl> void CCDirector : : drawScene ( void ) <nl> m_pNotificationNode - > visit ( ) ; <nl> } <nl> <nl> + # if CC_DIRECTOR_FAST_FPS = = 1 <nl> if ( m_bDisplayFPS ) <nl> { <nl> showFPS ( ) ; <nl> } <nl> + # endif <nl> <nl> # if CC_ENABLE_PROFILERS <nl> showProfilers ( ) ; <nl> void CCDirector : : purgeDirector ( ) <nl> / / OpenGL view <nl> m_pobOpenGLView - > release ( ) ; <nl> m_pobOpenGLView = NULL ; <nl> + CC_SAFE_DELETE ( s_pSharedDirector ) ; <nl> } <nl> <nl> void CCDirector : : setNextScene ( void ) <nl> mmm a / cocos2dx / platform / win32 / CCAccelerometer_win32 . cpp <nl> ppp b / cocos2dx / platform / win32 / CCAccelerometer_win32 . cpp <nl> namespace cocos2d <nl> CCAccelerometer : : CCAccelerometer ( ) : <nl> m_pAccelDelegate ( NULL ) <nl> { <nl> + memset ( & m_obAccelerationValue , 0 , sizeof ( m_obAccelerationValue ) ) ; <nl> } <nl> <nl> CCAccelerometer : : ~ CCAccelerometer ( ) <nl> mmm a / cocos2dx / platform / win32 / CCAccelerometer_win32 . h <nl> ppp b / cocos2dx / platform / win32 / CCAccelerometer_win32 . h <nl> class CC_DLL CCAccelerometer <nl> void setDelegate ( CCAccelerometerDelegate * pDelegate ) ; <nl> void update ( double x , double y , double z , double timestamp ) ; <nl> private : <nl> + CCAcceleration m_obAccelerationValue ; <nl> CCAccelerometerDelegate * m_pAccelDelegate ; <nl> - CCAcceleration m_obAccelerationValue ; <nl> } ; <nl> <nl> } / / namespace cocos2d <nl> mmm a / cocos2dx / sprite_nodes / CCSprite . cpp <nl> ppp b / cocos2dx / sprite_nodes / CCSprite . cpp <nl> bool CCSprite : : init ( void ) <nl> / / designated initializer <nl> bool CCSprite : : initWithTexture ( CCTexture2D * pTexture , const CCRect & rect , bool rotated ) <nl> { <nl> + m_pobBatchNode = NULL ; <nl> / / shader program <nl> setShaderProgram ( CCShaderCache : : sharedShaderCache ( ) - > programForKey ( kCCShader_PositionTextureColor ) ) ; <nl> <nl> bool CCSprite : : initWithTexture ( CCTexture2D * pTexture , const CCRect & rect , bool r <nl> m_sBlendFunc . src = CC_BLEND_SRC ; <nl> m_sBlendFunc . dst = CC_BLEND_DST ; <nl> <nl> - <nl> m_bFlipX = m_bFlipY = false ; <nl> <nl> / / default transform anchor : center <nl> bool CCSprite : : initWithTexture ( CCTexture2D * pTexture , const CCRect & rect , bool r <nl> m_obOffsetPosition = CCPointZero ; <nl> <nl> m_bHasChildren = false ; <nl> - m_pobBatchNode = NULL ; <nl> - <nl> + <nl> / / clean the Quad <nl> memset ( & m_sQuad , 0 , sizeof ( m_sQuad ) ) ; <nl> <nl> mmm a / cocos2dx / support / data_support / ccCArray . h <nl> ppp b / cocos2dx / support / data_support / ccCArray . h <nl> static inline void ccArrayRemoveAllObjects ( ccArray * arr ) <nl> Behaviour undefined if index outside [ 0 , num - 1 ] . * / <nl> static inline void ccArrayRemoveObjectAtIndex ( ccArray * arr , unsigned int index , bool bReleaseObj ) <nl> { <nl> - if ( bReleaseObj ) <nl> - { <nl> - arr - > arr [ index ] - > release ( ) ; <nl> - } <nl> - <nl> - arr - > num - - ; <nl> + CCAssert ( arr & & arr - > num > 0 & & index < arr - > num , " Invalid index . Out of bounds " ) ; <nl> + if ( bReleaseObj ) <nl> + { <nl> + arr - > arr [ index ] - > release ( ) ; <nl> + } <nl> <nl> - unsigned int remaining = arr - > num - index ; <nl> - if ( remaining > 0 ) <nl> - { <nl> - memmove ( & arr - > arr [ index ] , & arr - > arr [ index + 1 ] , remaining * sizeof ( void * ) ) ; <nl> - } <nl> + arr - > num - - ; <nl> + <nl> + unsigned int remaining = arr - > num - index ; <nl> + if ( remaining > 0 ) <nl> + { <nl> + memmove ( & arr - > arr [ index ] , & arr - > arr [ index + 1 ] , remaining * sizeof ( void * ) ) ; <nl> + } <nl> } <nl> <nl> / * * Removes object at specified index and fills the gap with the last object , <nl>
Update :
cocos2d/cocos2d-x
df58a0925510e2d388852bb912e6a46c723fe59b
2012-04-05T10:53:53Z
mmm a / PowerEditor / installer / nsisInclude / mainSectionFuncs . nsh <nl> ppp b / PowerEditor / installer / nsisInclude / mainSectionFuncs . nsh <nl> FunctionEnd <nl> Function shortcutLinkManagement <nl> ; remove all the npp shortcuts from current user <nl> Delete " $ DESKTOP \ Notepad + + . lnk " <nl> + Delete " $ SMPROGRAMS \ Notepad + + . lnk " <nl> Delete " $ SMPROGRAMS \ $ { APPNAME } \ Notepad + + . lnk " <nl> Delete " $ SMPROGRAMS \ $ { APPNAME } \ readme . lnk " <nl> Delete " $ SMPROGRAMS \ $ { APPNAME } \ Uninstall . lnk " <nl> Function shortcutLinkManagement <nl> SetOutPath " $ INSTDIR \ " <nl> <nl> ; add all the npp shortcuts for all user or current user <nl> - CreateDirectory " $ SMPROGRAMS \ $ { APPNAME } " <nl> - CreateShortCut " $ SMPROGRAMS \ $ { APPNAME } \ Notepad + + . lnk " " $ INSTDIR \ notepad + + . exe " <nl> + CreateShortCut " $ SMPROGRAMS \ Notepad + + . lnk " " $ INSTDIR \ notepad + + . exe " <nl> $ { If } $ createShortcutChecked = = $ { BST_CHECKED } <nl> CreateShortCut " $ DESKTOP \ Notepad + + . lnk " " $ INSTDIR \ notepad + + . exe " <nl> $ { EndIf } <nl> mmm a / PowerEditor / installer / nsisInclude / uninstall . nsh <nl> ppp b / PowerEditor / installer / nsisInclude / uninstall . nsh <nl> FunctionEnd <nl> SetShellVarContext all <nl> <nl> Delete " $ DESKTOP \ Notepad + + . lnk " <nl> + Delete " $ SMPROGRAMS \ Notepad + + . lnk " <nl> Delete " $ SMPROGRAMS \ Notepad + + \ Notepad + + . lnk " <nl> Delete " $ SMPROGRAMS \ Notepad + + \ readme . lnk " <nl> <nl> Section Uninstall <nl> SetShellVarContext all ; make context for all user <nl> <nl> Delete " $ DESKTOP \ Notepad + + . lnk " <nl> + Delete " $ SMPROGRAMS \ Notepad + + . lnk " <nl> Delete " $ SMPROGRAMS \ $ { APPNAME } \ Notepad + + . lnk " <nl> Delete " $ SMPROGRAMS \ $ { APPNAME } \ readme . lnk " <nl> <nl>
Installer enhancement : Place program shortcut in top - level Start folder
notepad-plus-plus/notepad-plus-plus
a99fa9ae50014a281d9eb1fe6622c02b1f7cdf29
2018-05-26T00:02:09Z
mmm a / Makefile <nl> ppp b / Makefile <nl> shared_cxx : dep_cxx libs / $ ( CONFIG ) / libgrpc + + . $ ( SHARED_EXT ) <nl> <nl> privatelibs : privatelibs_c privatelibs_cxx <nl> <nl> - privatelibs_c : dep_c libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a <nl> + privatelibs_c : dep_c libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a <nl> <nl> - privatelibs_cxx : dep_cxx libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a <nl> + privatelibs_cxx : dep_cxx libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a <nl> <nl> buildtests : buildtests_c buildtests_cxx <nl> <nl> objs / $ ( CONFIG ) / % . o : % . cc <nl> <nl> dep : dep_c dep_cxx <nl> <nl> - dep_c : deps_libgpr deps_libgrpc deps_libgrpc_unsecure deps_libgrpc_test_util deps_libend2end_fixture_chttp2_fake_security deps_libend2end_fixture_chttp2_fullstack deps_libend2end_fixture_chttp2_simple_ssl_fullstack deps_libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack deps_libend2end_fixture_chttp2_socket_pair deps_libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time deps_libend2end_test_cancel_after_accept deps_libend2end_test_cancel_after_accept_and_writes_closed deps_libend2end_test_cancel_after_invoke deps_libend2end_test_cancel_before_invoke deps_libend2end_test_cancel_in_a_vacuum deps_libend2end_test_census_simple_request deps_libend2end_test_disappearing_server deps_libend2end_test_early_server_shutdown_finishes_inflight_calls deps_libend2end_test_early_server_shutdown_finishes_tags deps_libend2end_test_invoke_large_request deps_libend2end_test_max_concurrent_streams deps_libend2end_test_no_op deps_libend2end_test_ping_pong_streaming deps_libend2end_test_request_response_with_binary_metadata_and_payload deps_libend2end_test_request_response_with_metadata_and_payload deps_libend2end_test_request_response_with_payload deps_libend2end_test_request_response_with_trailing_metadata_and_payload deps_libend2end_test_simple_delayed_request deps_libend2end_test_simple_request deps_libend2end_test_thread_stress deps_libend2end_test_writes_done_hangs_with_pending_read deps_libend2end_certs <nl> + dep_c : deps_libgpr deps_libgrpc deps_libgrpc_unsecure deps_libgpr_test_util deps_libgrpc_test_util deps_libend2end_fixture_chttp2_fake_security deps_libend2end_fixture_chttp2_fullstack deps_libend2end_fixture_chttp2_simple_ssl_fullstack deps_libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack deps_libend2end_fixture_chttp2_socket_pair deps_libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time deps_libend2end_test_cancel_after_accept deps_libend2end_test_cancel_after_accept_and_writes_closed deps_libend2end_test_cancel_after_invoke deps_libend2end_test_cancel_before_invoke deps_libend2end_test_cancel_in_a_vacuum deps_libend2end_test_census_simple_request deps_libend2end_test_disappearing_server deps_libend2end_test_early_server_shutdown_finishes_inflight_calls deps_libend2end_test_early_server_shutdown_finishes_tags deps_libend2end_test_invoke_large_request deps_libend2end_test_max_concurrent_streams deps_libend2end_test_no_op deps_libend2end_test_ping_pong_streaming deps_libend2end_test_request_response_with_binary_metadata_and_payload deps_libend2end_test_request_response_with_metadata_and_payload deps_libend2end_test_request_response_with_payload deps_libend2end_test_request_response_with_trailing_metadata_and_payload deps_libend2end_test_simple_delayed_request deps_libend2end_test_simple_request deps_libend2end_test_thread_stress deps_libend2end_test_writes_done_hangs_with_pending_read deps_libend2end_certs <nl> <nl> bins_dep_c : deps_gen_hpack_tables deps_grpc_byte_buffer_reader_test deps_gpr_cancellable_test deps_gpr_log_test deps_gpr_useful_test deps_gpr_cmdline_test deps_gpr_histogram_test deps_gpr_host_port_test deps_gpr_slice_buffer_test deps_gpr_slice_test deps_gpr_string_test deps_gpr_sync_test deps_gpr_thd_test deps_gpr_time_test deps_murmur_hash_test deps_grpc_stream_op_test deps_alpn_test deps_time_averaged_stats_test deps_chttp2_stream_encoder_test deps_hpack_table_test deps_chttp2_stream_map_test deps_hpack_parser_test deps_transport_metadata_test deps_chttp2_status_conversion_test deps_chttp2_transport_end2end_test deps_tcp_posix_test deps_dualstack_socket_test deps_no_server_test deps_resolve_address_test deps_sockaddr_utils_test deps_tcp_server_posix_test deps_tcp_client_posix_test deps_grpc_channel_stack_test deps_metadata_buffer_test deps_grpc_completion_queue_test deps_grpc_completion_queue_benchmark deps_census_trace_store_test deps_census_stats_store_test deps_census_window_stats_test deps_census_statistics_quick_test deps_census_statistics_small_log_test deps_census_statistics_performance_test deps_census_statistics_multiple_writers_test deps_census_statistics_multiple_writers_circular_buffer_test deps_census_stub_test deps_census_hash_table_test deps_fling_server deps_fling_client deps_fling_test deps_echo_server deps_echo_client deps_echo_test deps_low_level_ping_pong_benchmark deps_message_compress_test deps_bin_encoder_test deps_secure_endpoint_test deps_httpcli_format_request_test deps_httpcli_parser_test deps_httpcli_test deps_grpc_credentials_test deps_grpc_fetch_oauth2 deps_grpc_base64_test deps_grpc_json_token_test deps_timeout_encoding_test deps_fd_posix_test deps_fling_stream_test deps_lame_client_test deps_alarm_test deps_alarm_list_test deps_alarm_heap_test deps_time_test deps_chttp2_fake_security_cancel_after_accept_test deps_chttp2_fake_security_cancel_after_accept_and_writes_closed_test deps_chttp2_fake_security_cancel_after_invoke_test deps_chttp2_fake_security_cancel_before_invoke_test deps_chttp2_fake_security_cancel_in_a_vacuum_test deps_chttp2_fake_security_census_simple_request_test deps_chttp2_fake_security_disappearing_server_test deps_chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_fake_security_early_server_shutdown_finishes_tags_test deps_chttp2_fake_security_invoke_large_request_test deps_chttp2_fake_security_max_concurrent_streams_test deps_chttp2_fake_security_no_op_test deps_chttp2_fake_security_ping_pong_streaming_test deps_chttp2_fake_security_request_response_with_binary_metadata_and_payload_test deps_chttp2_fake_security_request_response_with_metadata_and_payload_test deps_chttp2_fake_security_request_response_with_payload_test deps_chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test deps_chttp2_fake_security_simple_delayed_request_test deps_chttp2_fake_security_simple_request_test deps_chttp2_fake_security_thread_stress_test deps_chttp2_fake_security_writes_done_hangs_with_pending_read_test deps_chttp2_fullstack_cancel_after_accept_test deps_chttp2_fullstack_cancel_after_accept_and_writes_closed_test deps_chttp2_fullstack_cancel_after_invoke_test deps_chttp2_fullstack_cancel_before_invoke_test deps_chttp2_fullstack_cancel_in_a_vacuum_test deps_chttp2_fullstack_census_simple_request_test deps_chttp2_fullstack_disappearing_server_test deps_chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_fullstack_early_server_shutdown_finishes_tags_test deps_chttp2_fullstack_invoke_large_request_test deps_chttp2_fullstack_max_concurrent_streams_test deps_chttp2_fullstack_no_op_test deps_chttp2_fullstack_ping_pong_streaming_test deps_chttp2_fullstack_request_response_with_binary_metadata_and_payload_test deps_chttp2_fullstack_request_response_with_metadata_and_payload_test deps_chttp2_fullstack_request_response_with_payload_test deps_chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test deps_chttp2_fullstack_simple_delayed_request_test deps_chttp2_fullstack_simple_request_test deps_chttp2_fullstack_thread_stress_test deps_chttp2_fullstack_writes_done_hangs_with_pending_read_test deps_chttp2_simple_ssl_fullstack_cancel_after_accept_test deps_chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test deps_chttp2_simple_ssl_fullstack_cancel_after_invoke_test deps_chttp2_simple_ssl_fullstack_cancel_before_invoke_test deps_chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test deps_chttp2_simple_ssl_fullstack_census_simple_request_test deps_chttp2_simple_ssl_fullstack_disappearing_server_test deps_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test deps_chttp2_simple_ssl_fullstack_invoke_large_request_test deps_chttp2_simple_ssl_fullstack_max_concurrent_streams_test deps_chttp2_simple_ssl_fullstack_no_op_test deps_chttp2_simple_ssl_fullstack_ping_pong_streaming_test deps_chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test deps_chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test deps_chttp2_simple_ssl_fullstack_request_response_with_payload_test deps_chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test deps_chttp2_simple_ssl_fullstack_simple_delayed_request_test deps_chttp2_simple_ssl_fullstack_simple_request_test deps_chttp2_simple_ssl_fullstack_thread_stress_test deps_chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test deps_chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test deps_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test deps_chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test deps_chttp2_simple_ssl_with_oauth2_fullstack_no_op_test deps_chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test deps_chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test deps_chttp2_socket_pair_cancel_after_accept_test deps_chttp2_socket_pair_cancel_after_accept_and_writes_closed_test deps_chttp2_socket_pair_cancel_after_invoke_test deps_chttp2_socket_pair_cancel_before_invoke_test deps_chttp2_socket_pair_cancel_in_a_vacuum_test deps_chttp2_socket_pair_census_simple_request_test deps_chttp2_socket_pair_disappearing_server_test deps_chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_socket_pair_early_server_shutdown_finishes_tags_test deps_chttp2_socket_pair_invoke_large_request_test deps_chttp2_socket_pair_max_concurrent_streams_test deps_chttp2_socket_pair_no_op_test deps_chttp2_socket_pair_ping_pong_streaming_test deps_chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test deps_chttp2_socket_pair_request_response_with_metadata_and_payload_test deps_chttp2_socket_pair_request_response_with_payload_test deps_chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test deps_chttp2_socket_pair_simple_delayed_request_test deps_chttp2_socket_pair_simple_request_test deps_chttp2_socket_pair_thread_stress_test deps_chttp2_socket_pair_writes_done_hangs_with_pending_read_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test deps_chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test deps_chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test deps_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test deps_chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test deps_chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test deps_chttp2_socket_pair_one_byte_at_a_time_no_op_test deps_chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test deps_chttp2_socket_pair_one_byte_at_a_time_simple_request_test deps_chttp2_socket_pair_one_byte_at_a_time_thread_stress_test deps_chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test <nl> <nl> ifneq ( $ ( SYSTEM ) , Darwin ) <nl> endif <nl> endif <nl> <nl> - clean : clean_libgpr clean_libgrpc clean_libgrpc_unsecure clean_libgrpc_test_util clean_libgrpc + + clean_libgrpc + + _test_util clean_libend2end_fixture_chttp2_fake_security clean_libend2end_fixture_chttp2_fullstack clean_libend2end_fixture_chttp2_simple_ssl_fullstack clean_libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack clean_libend2end_fixture_chttp2_socket_pair clean_libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time clean_libend2end_test_cancel_after_accept clean_libend2end_test_cancel_after_accept_and_writes_closed clean_libend2end_test_cancel_after_invoke clean_libend2end_test_cancel_before_invoke clean_libend2end_test_cancel_in_a_vacuum clean_libend2end_test_census_simple_request clean_libend2end_test_disappearing_server clean_libend2end_test_early_server_shutdown_finishes_inflight_calls clean_libend2end_test_early_server_shutdown_finishes_tags clean_libend2end_test_invoke_large_request clean_libend2end_test_max_concurrent_streams clean_libend2end_test_no_op clean_libend2end_test_ping_pong_streaming clean_libend2end_test_request_response_with_binary_metadata_and_payload clean_libend2end_test_request_response_with_metadata_and_payload clean_libend2end_test_request_response_with_payload clean_libend2end_test_request_response_with_trailing_metadata_and_payload clean_libend2end_test_simple_delayed_request clean_libend2end_test_simple_request clean_libend2end_test_thread_stress clean_libend2end_test_writes_done_hangs_with_pending_read clean_libend2end_certs clean_gen_hpack_tables clean_cpp_plugin clean_ruby_plugin clean_go_plugin clean_grpc_byte_buffer_reader_test clean_gpr_cancellable_test clean_gpr_log_test clean_gpr_useful_test clean_gpr_cmdline_test clean_gpr_histogram_test clean_gpr_host_port_test clean_gpr_slice_buffer_test clean_gpr_slice_test clean_gpr_string_test clean_gpr_sync_test clean_gpr_thd_test clean_gpr_time_test clean_murmur_hash_test clean_grpc_stream_op_test clean_alpn_test clean_time_averaged_stats_test clean_chttp2_stream_encoder_test clean_hpack_table_test clean_chttp2_stream_map_test clean_hpack_parser_test clean_transport_metadata_test clean_chttp2_status_conversion_test clean_chttp2_transport_end2end_test clean_tcp_posix_test clean_dualstack_socket_test clean_no_server_test clean_resolve_address_test clean_sockaddr_utils_test clean_tcp_server_posix_test clean_tcp_client_posix_test clean_grpc_channel_stack_test clean_metadata_buffer_test clean_grpc_completion_queue_test clean_grpc_completion_queue_benchmark clean_census_trace_store_test clean_census_stats_store_test clean_census_window_stats_test clean_census_statistics_quick_test clean_census_statistics_small_log_test clean_census_statistics_performance_test clean_census_statistics_multiple_writers_test clean_census_statistics_multiple_writers_circular_buffer_test clean_census_stub_test clean_census_hash_table_test clean_fling_server clean_fling_client clean_fling_test clean_echo_server clean_echo_client clean_echo_test clean_low_level_ping_pong_benchmark clean_message_compress_test clean_bin_encoder_test clean_secure_endpoint_test clean_httpcli_format_request_test clean_httpcli_parser_test clean_httpcli_test clean_grpc_credentials_test clean_grpc_fetch_oauth2 clean_grpc_base64_test clean_grpc_json_token_test clean_timeout_encoding_test clean_fd_posix_test clean_fling_stream_test clean_lame_client_test clean_thread_pool_test clean_status_test clean_sync_client_async_server_test clean_qps_client clean_qps_server clean_interop_server clean_interop_client clean_end2end_test clean_channel_arguments_test clean_credentials_test clean_alarm_test clean_alarm_list_test clean_alarm_heap_test clean_time_test clean_chttp2_fake_security_cancel_after_accept_test clean_chttp2_fake_security_cancel_after_accept_and_writes_closed_test clean_chttp2_fake_security_cancel_after_invoke_test clean_chttp2_fake_security_cancel_before_invoke_test clean_chttp2_fake_security_cancel_in_a_vacuum_test clean_chttp2_fake_security_census_simple_request_test clean_chttp2_fake_security_disappearing_server_test clean_chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_fake_security_early_server_shutdown_finishes_tags_test clean_chttp2_fake_security_invoke_large_request_test clean_chttp2_fake_security_max_concurrent_streams_test clean_chttp2_fake_security_no_op_test clean_chttp2_fake_security_ping_pong_streaming_test clean_chttp2_fake_security_request_response_with_binary_metadata_and_payload_test clean_chttp2_fake_security_request_response_with_metadata_and_payload_test clean_chttp2_fake_security_request_response_with_payload_test clean_chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test clean_chttp2_fake_security_simple_delayed_request_test clean_chttp2_fake_security_simple_request_test clean_chttp2_fake_security_thread_stress_test clean_chttp2_fake_security_writes_done_hangs_with_pending_read_test clean_chttp2_fullstack_cancel_after_accept_test clean_chttp2_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_fullstack_cancel_after_invoke_test clean_chttp2_fullstack_cancel_before_invoke_test clean_chttp2_fullstack_cancel_in_a_vacuum_test clean_chttp2_fullstack_census_simple_request_test clean_chttp2_fullstack_disappearing_server_test clean_chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_fullstack_invoke_large_request_test clean_chttp2_fullstack_max_concurrent_streams_test clean_chttp2_fullstack_no_op_test clean_chttp2_fullstack_ping_pong_streaming_test clean_chttp2_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_fullstack_request_response_with_payload_test clean_chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_fullstack_simple_delayed_request_test clean_chttp2_fullstack_simple_request_test clean_chttp2_fullstack_thread_stress_test clean_chttp2_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_simple_ssl_fullstack_cancel_after_accept_test clean_chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_simple_ssl_fullstack_cancel_after_invoke_test clean_chttp2_simple_ssl_fullstack_cancel_before_invoke_test clean_chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test clean_chttp2_simple_ssl_fullstack_census_simple_request_test clean_chttp2_simple_ssl_fullstack_disappearing_server_test clean_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_simple_ssl_fullstack_invoke_large_request_test clean_chttp2_simple_ssl_fullstack_max_concurrent_streams_test clean_chttp2_simple_ssl_fullstack_no_op_test clean_chttp2_simple_ssl_fullstack_ping_pong_streaming_test clean_chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_simple_delayed_request_test clean_chttp2_simple_ssl_fullstack_simple_request_test clean_chttp2_simple_ssl_fullstack_thread_stress_test clean_chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test clean_chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test clean_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test clean_chttp2_simple_ssl_with_oauth2_fullstack_no_op_test clean_chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test clean_chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_socket_pair_cancel_after_accept_test clean_chttp2_socket_pair_cancel_after_accept_and_writes_closed_test clean_chttp2_socket_pair_cancel_after_invoke_test clean_chttp2_socket_pair_cancel_before_invoke_test clean_chttp2_socket_pair_cancel_in_a_vacuum_test clean_chttp2_socket_pair_census_simple_request_test clean_chttp2_socket_pair_disappearing_server_test clean_chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_socket_pair_early_server_shutdown_finishes_tags_test clean_chttp2_socket_pair_invoke_large_request_test clean_chttp2_socket_pair_max_concurrent_streams_test clean_chttp2_socket_pair_no_op_test clean_chttp2_socket_pair_ping_pong_streaming_test clean_chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test clean_chttp2_socket_pair_request_response_with_metadata_and_payload_test clean_chttp2_socket_pair_request_response_with_payload_test clean_chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test clean_chttp2_socket_pair_simple_delayed_request_test clean_chttp2_socket_pair_simple_request_test clean_chttp2_socket_pair_thread_stress_test clean_chttp2_socket_pair_writes_done_hangs_with_pending_read_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test clean_chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test clean_chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test clean_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test clean_chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test clean_chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test clean_chttp2_socket_pair_one_byte_at_a_time_no_op_test clean_chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test clean_chttp2_socket_pair_one_byte_at_a_time_simple_request_test clean_chttp2_socket_pair_one_byte_at_a_time_thread_stress_test clean_chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test <nl> + clean : clean_libgpr clean_libgrpc clean_libgrpc_unsecure clean_libgpr_test_util clean_libgrpc_test_util clean_libgrpc + + clean_libgrpc + + _test_util clean_libend2end_fixture_chttp2_fake_security clean_libend2end_fixture_chttp2_fullstack clean_libend2end_fixture_chttp2_simple_ssl_fullstack clean_libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack clean_libend2end_fixture_chttp2_socket_pair clean_libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time clean_libend2end_test_cancel_after_accept clean_libend2end_test_cancel_after_accept_and_writes_closed clean_libend2end_test_cancel_after_invoke clean_libend2end_test_cancel_before_invoke clean_libend2end_test_cancel_in_a_vacuum clean_libend2end_test_census_simple_request clean_libend2end_test_disappearing_server clean_libend2end_test_early_server_shutdown_finishes_inflight_calls clean_libend2end_test_early_server_shutdown_finishes_tags clean_libend2end_test_invoke_large_request clean_libend2end_test_max_concurrent_streams clean_libend2end_test_no_op clean_libend2end_test_ping_pong_streaming clean_libend2end_test_request_response_with_binary_metadata_and_payload clean_libend2end_test_request_response_with_metadata_and_payload clean_libend2end_test_request_response_with_payload clean_libend2end_test_request_response_with_trailing_metadata_and_payload clean_libend2end_test_simple_delayed_request clean_libend2end_test_simple_request clean_libend2end_test_thread_stress clean_libend2end_test_writes_done_hangs_with_pending_read clean_libend2end_certs clean_gen_hpack_tables clean_cpp_plugin clean_ruby_plugin clean_go_plugin clean_grpc_byte_buffer_reader_test clean_gpr_cancellable_test clean_gpr_log_test clean_gpr_useful_test clean_gpr_cmdline_test clean_gpr_histogram_test clean_gpr_host_port_test clean_gpr_slice_buffer_test clean_gpr_slice_test clean_gpr_string_test clean_gpr_sync_test clean_gpr_thd_test clean_gpr_time_test clean_murmur_hash_test clean_grpc_stream_op_test clean_alpn_test clean_time_averaged_stats_test clean_chttp2_stream_encoder_test clean_hpack_table_test clean_chttp2_stream_map_test clean_hpack_parser_test clean_transport_metadata_test clean_chttp2_status_conversion_test clean_chttp2_transport_end2end_test clean_tcp_posix_test clean_dualstack_socket_test clean_no_server_test clean_resolve_address_test clean_sockaddr_utils_test clean_tcp_server_posix_test clean_tcp_client_posix_test clean_grpc_channel_stack_test clean_metadata_buffer_test clean_grpc_completion_queue_test clean_grpc_completion_queue_benchmark clean_census_trace_store_test clean_census_stats_store_test clean_census_window_stats_test clean_census_statistics_quick_test clean_census_statistics_small_log_test clean_census_statistics_performance_test clean_census_statistics_multiple_writers_test clean_census_statistics_multiple_writers_circular_buffer_test clean_census_stub_test clean_census_hash_table_test clean_fling_server clean_fling_client clean_fling_test clean_echo_server clean_echo_client clean_echo_test clean_low_level_ping_pong_benchmark clean_message_compress_test clean_bin_encoder_test clean_secure_endpoint_test clean_httpcli_format_request_test clean_httpcli_parser_test clean_httpcli_test clean_grpc_credentials_test clean_grpc_fetch_oauth2 clean_grpc_base64_test clean_grpc_json_token_test clean_timeout_encoding_test clean_fd_posix_test clean_fling_stream_test clean_lame_client_test clean_thread_pool_test clean_status_test clean_sync_client_async_server_test clean_qps_client clean_qps_server clean_interop_server clean_interop_client clean_end2end_test clean_channel_arguments_test clean_credentials_test clean_alarm_test clean_alarm_list_test clean_alarm_heap_test clean_time_test clean_chttp2_fake_security_cancel_after_accept_test clean_chttp2_fake_security_cancel_after_accept_and_writes_closed_test clean_chttp2_fake_security_cancel_after_invoke_test clean_chttp2_fake_security_cancel_before_invoke_test clean_chttp2_fake_security_cancel_in_a_vacuum_test clean_chttp2_fake_security_census_simple_request_test clean_chttp2_fake_security_disappearing_server_test clean_chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_fake_security_early_server_shutdown_finishes_tags_test clean_chttp2_fake_security_invoke_large_request_test clean_chttp2_fake_security_max_concurrent_streams_test clean_chttp2_fake_security_no_op_test clean_chttp2_fake_security_ping_pong_streaming_test clean_chttp2_fake_security_request_response_with_binary_metadata_and_payload_test clean_chttp2_fake_security_request_response_with_metadata_and_payload_test clean_chttp2_fake_security_request_response_with_payload_test clean_chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test clean_chttp2_fake_security_simple_delayed_request_test clean_chttp2_fake_security_simple_request_test clean_chttp2_fake_security_thread_stress_test clean_chttp2_fake_security_writes_done_hangs_with_pending_read_test clean_chttp2_fullstack_cancel_after_accept_test clean_chttp2_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_fullstack_cancel_after_invoke_test clean_chttp2_fullstack_cancel_before_invoke_test clean_chttp2_fullstack_cancel_in_a_vacuum_test clean_chttp2_fullstack_census_simple_request_test clean_chttp2_fullstack_disappearing_server_test clean_chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_fullstack_invoke_large_request_test clean_chttp2_fullstack_max_concurrent_streams_test clean_chttp2_fullstack_no_op_test clean_chttp2_fullstack_ping_pong_streaming_test clean_chttp2_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_fullstack_request_response_with_payload_test clean_chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_fullstack_simple_delayed_request_test clean_chttp2_fullstack_simple_request_test clean_chttp2_fullstack_thread_stress_test clean_chttp2_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_simple_ssl_fullstack_cancel_after_accept_test clean_chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_simple_ssl_fullstack_cancel_after_invoke_test clean_chttp2_simple_ssl_fullstack_cancel_before_invoke_test clean_chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test clean_chttp2_simple_ssl_fullstack_census_simple_request_test clean_chttp2_simple_ssl_fullstack_disappearing_server_test clean_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_simple_ssl_fullstack_invoke_large_request_test clean_chttp2_simple_ssl_fullstack_max_concurrent_streams_test clean_chttp2_simple_ssl_fullstack_no_op_test clean_chttp2_simple_ssl_fullstack_ping_pong_streaming_test clean_chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_simple_delayed_request_test clean_chttp2_simple_ssl_fullstack_simple_request_test clean_chttp2_simple_ssl_fullstack_thread_stress_test clean_chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test clean_chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test clean_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test clean_chttp2_simple_ssl_with_oauth2_fullstack_no_op_test clean_chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test clean_chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_socket_pair_cancel_after_accept_test clean_chttp2_socket_pair_cancel_after_accept_and_writes_closed_test clean_chttp2_socket_pair_cancel_after_invoke_test clean_chttp2_socket_pair_cancel_before_invoke_test clean_chttp2_socket_pair_cancel_in_a_vacuum_test clean_chttp2_socket_pair_census_simple_request_test clean_chttp2_socket_pair_disappearing_server_test clean_chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_socket_pair_early_server_shutdown_finishes_tags_test clean_chttp2_socket_pair_invoke_large_request_test clean_chttp2_socket_pair_max_concurrent_streams_test clean_chttp2_socket_pair_no_op_test clean_chttp2_socket_pair_ping_pong_streaming_test clean_chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test clean_chttp2_socket_pair_request_response_with_metadata_and_payload_test clean_chttp2_socket_pair_request_response_with_payload_test clean_chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test clean_chttp2_socket_pair_simple_delayed_request_test clean_chttp2_socket_pair_simple_request_test clean_chttp2_socket_pair_thread_stress_test clean_chttp2_socket_pair_writes_done_hangs_with_pending_read_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test clean_chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test clean_chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test clean_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test clean_chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test clean_chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test clean_chttp2_socket_pair_one_byte_at_a_time_no_op_test clean_chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test clean_chttp2_socket_pair_one_byte_at_a_time_simple_request_test clean_chttp2_socket_pair_one_byte_at_a_time_thread_stress_test clean_chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test <nl> $ ( Q ) $ ( RM ) - r deps objs libs bins gens <nl> <nl> <nl> LIBGRPC_SRC = \ <nl> src / core / security / auth . c \ <nl> src / core / security / base64 . c \ <nl> src / core / security / credentials . c \ <nl> + src / core / security / factories . c \ <nl> src / core / security / google_root_certs . c \ <nl> src / core / security / json_token . c \ <nl> src / core / security / secure_endpoint . c \ <nl> clean_libgrpc_unsecure : <nl> $ ( Q ) $ ( RM ) libs / $ ( CONFIG ) / libgrpc_unsecure . $ ( SHARED_EXT ) <nl> <nl> <nl> + LIBGPR_TEST_UTIL_SRC = \ <nl> + test / core / util / test_config . c \ <nl> + <nl> + <nl> + LIBGPR_TEST_UTIL_OBJS = $ ( addprefix objs / $ ( CONFIG ) / , $ ( addsuffix . o , $ ( basename $ ( LIBGPR_TEST_UTIL_SRC ) ) ) ) <nl> + LIBGPR_TEST_UTIL_DEPS = $ ( addprefix deps / $ ( CONFIG ) / , $ ( addsuffix . dep , $ ( basename $ ( LIBGPR_TEST_UTIL_SRC ) ) ) ) <nl> + <nl> + ifeq ( $ ( NO_SECURE ) , true ) <nl> + <nl> + libs / $ ( CONFIG ) / libgpr_test_util . a : openssl_dep_error <nl> + <nl> + <nl> + else <nl> + <nl> + libs / $ ( CONFIG ) / libgpr_test_util . a : $ ( OPENSSL_DEP ) $ ( LIBGPR_TEST_UTIL_OBJS ) <nl> + $ ( E ) " [ AR ] Creating $ @ " <nl> + $ ( Q ) mkdir - p ` dirname $ @ ` <nl> + $ ( Q ) $ ( AR ) rcs libs / $ ( CONFIG ) / libgpr_test_util . a $ ( LIBGPR_TEST_UTIL_OBJS ) <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + endif <nl> + <nl> + deps_libgpr_test_util : $ ( LIBGPR_TEST_UTIL_DEPS ) <nl> + <nl> + ifneq ( $ ( NO_SECURE ) , true ) <nl> + ifneq ( $ ( NO_DEPS ) , true ) <nl> + - include $ ( LIBGPR_TEST_UTIL_DEPS ) <nl> + endif <nl> + endif <nl> + <nl> + clean_libgpr_test_util : <nl> + $ ( E ) " [ CLEAN ] Cleaning libgpr_test_util files " <nl> + $ ( Q ) $ ( RM ) $ ( LIBGPR_TEST_UTIL_OBJS ) <nl> + $ ( Q ) $ ( RM ) $ ( LIBGPR_TEST_UTIL_DEPS ) <nl> + $ ( Q ) $ ( RM ) libs / $ ( CONFIG ) / libgpr_test_util . a <nl> + $ ( Q ) $ ( RM ) libs / $ ( CONFIG ) / libgpr_test_util . $ ( SHARED_EXT ) <nl> + <nl> + <nl> LIBGRPC_TEST_UTIL_SRC = \ <nl> test / core / end2end / cq_verifier . c \ <nl> test / core / end2end / data / test_root_cert . c \ <nl> LIBGRPC_TEST_UTIL_SRC = \ <nl> test / core / statistics / census_log_tests . c \ <nl> test / core / transport / transport_end2end_tests . c \ <nl> test / core / util / grpc_profiler . c \ <nl> - test / core / util / parse_hexstring . c \ <nl> test / core / util / port_posix . c \ <nl> + test / core / util / parse_hexstring . c \ <nl> test / core / util / slice_splitter . c \ <nl> - test / core / util / test_config . c \ <nl> <nl> <nl> LIBGRPC_TEST_UTIL_OBJS = $ ( addprefix objs / $ ( CONFIG ) / , $ ( addsuffix . o , $ ( basename $ ( LIBGRPC_TEST_UTIL_SRC ) ) ) ) <nl> bins / $ ( CONFIG ) / grpc_byte_buffer_reader_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / grpc_byte_buffer_reader_test : $ ( GRPC_BYTE_BUFFER_READER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / grpc_byte_buffer_reader_test : $ ( GRPC_BYTE_BUFFER_READER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_BYTE_BUFFER_READER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_byte_buffer_reader_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_BYTE_BUFFER_READER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_byte_buffer_reader_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_cancellable_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_cancellable_test : $ ( GPR_CANCELLABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_cancellable_test : $ ( GPR_CANCELLABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_CANCELLABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_cancellable_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_CANCELLABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_cancellable_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_log_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_log_test : $ ( GPR_LOG_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_log_test : $ ( GPR_LOG_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_LOG_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_log_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_LOG_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_log_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_useful_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_useful_test : $ ( GPR_USEFUL_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_useful_test : $ ( GPR_USEFUL_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_USEFUL_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_useful_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_USEFUL_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_useful_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_cmdline_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_cmdline_test : $ ( GPR_CMDLINE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_cmdline_test : $ ( GPR_CMDLINE_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_CMDLINE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_cmdline_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_CMDLINE_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_cmdline_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_histogram_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_histogram_test : $ ( GPR_HISTOGRAM_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_histogram_test : $ ( GPR_HISTOGRAM_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_HISTOGRAM_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_histogram_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_HISTOGRAM_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_histogram_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_host_port_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_host_port_test : $ ( GPR_HOST_PORT_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_host_port_test : $ ( GPR_HOST_PORT_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_HOST_PORT_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_host_port_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_HOST_PORT_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_host_port_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_slice_buffer_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_slice_buffer_test : $ ( GPR_SLICE_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_slice_buffer_test : $ ( GPR_SLICE_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_SLICE_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_slice_buffer_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_SLICE_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_slice_buffer_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_slice_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_slice_test : $ ( GPR_SLICE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_slice_test : $ ( GPR_SLICE_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_SLICE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_slice_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_SLICE_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_slice_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_string_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_string_test : $ ( GPR_STRING_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_string_test : $ ( GPR_STRING_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_STRING_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_string_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_STRING_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_string_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_sync_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_sync_test : $ ( GPR_SYNC_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_sync_test : $ ( GPR_SYNC_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_SYNC_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_sync_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_SYNC_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_sync_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_thd_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_thd_test : $ ( GPR_THD_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_thd_test : $ ( GPR_THD_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_THD_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_thd_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_THD_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_thd_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / gpr_time_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / gpr_time_test : $ ( GPR_TIME_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / gpr_time_test : $ ( GPR_TIME_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_TIME_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_time_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GPR_TIME_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / gpr_time_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / murmur_hash_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / murmur_hash_test : $ ( MURMUR_HASH_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / murmur_hash_test : $ ( MURMUR_HASH_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( MURMUR_HASH_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / murmur_hash_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( MURMUR_HASH_TEST_OBJS ) libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / murmur_hash_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / grpc_stream_op_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / grpc_stream_op_test : $ ( GRPC_STREAM_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / grpc_stream_op_test : $ ( GRPC_STREAM_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_STREAM_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_stream_op_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_STREAM_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_stream_op_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / alpn_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / alpn_test : $ ( ALPN_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / alpn_test : $ ( ALPN_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ALPN_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / alpn_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ALPN_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / alpn_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / time_averaged_stats_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / time_averaged_stats_test : $ ( TIME_AVERAGED_STATS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / time_averaged_stats_test : $ ( TIME_AVERAGED_STATS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TIME_AVERAGED_STATS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / time_averaged_stats_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TIME_AVERAGED_STATS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / time_averaged_stats_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_stream_encoder_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_stream_encoder_test : $ ( CHTTP2_STREAM_ENCODER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_stream_encoder_test : $ ( CHTTP2_STREAM_ENCODER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_STREAM_ENCODER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_stream_encoder_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_STREAM_ENCODER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_stream_encoder_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / hpack_table_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / hpack_table_test : $ ( HPACK_TABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / hpack_table_test : $ ( HPACK_TABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( HPACK_TABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / hpack_table_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( HPACK_TABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / hpack_table_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_stream_map_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_stream_map_test : $ ( CHTTP2_STREAM_MAP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_stream_map_test : $ ( CHTTP2_STREAM_MAP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_STREAM_MAP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_stream_map_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_STREAM_MAP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_stream_map_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / hpack_parser_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / hpack_parser_test : $ ( HPACK_PARSER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / hpack_parser_test : $ ( HPACK_PARSER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( HPACK_PARSER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / hpack_parser_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( HPACK_PARSER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / hpack_parser_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / transport_metadata_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / transport_metadata_test : $ ( TRANSPORT_METADATA_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / transport_metadata_test : $ ( TRANSPORT_METADATA_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TRANSPORT_METADATA_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / transport_metadata_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TRANSPORT_METADATA_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / transport_metadata_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_status_conversion_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_status_conversion_test : $ ( CHTTP2_STATUS_CONVERSION_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_status_conversion_test : $ ( CHTTP2_STATUS_CONVERSION_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_STATUS_CONVERSION_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_status_conversion_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_STATUS_CONVERSION_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_status_conversion_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_transport_end2end_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_transport_end2end_test : $ ( CHTTP2_TRANSPORT_END2END_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_transport_end2end_test : $ ( CHTTP2_TRANSPORT_END2END_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_TRANSPORT_END2END_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_transport_end2end_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_TRANSPORT_END2END_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_transport_end2end_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / tcp_posix_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / tcp_posix_test : $ ( TCP_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / tcp_posix_test : $ ( TCP_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TCP_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / tcp_posix_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TCP_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / tcp_posix_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / dualstack_socket_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / dualstack_socket_test : $ ( DUALSTACK_SOCKET_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / dualstack_socket_test : $ ( DUALSTACK_SOCKET_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( DUALSTACK_SOCKET_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / dualstack_socket_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( DUALSTACK_SOCKET_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / dualstack_socket_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / no_server_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / no_server_test : $ ( NO_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / no_server_test : $ ( NO_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( NO_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / no_server_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( NO_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / no_server_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / resolve_address_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / resolve_address_test : $ ( RESOLVE_ADDRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / resolve_address_test : $ ( RESOLVE_ADDRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( RESOLVE_ADDRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / resolve_address_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( RESOLVE_ADDRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / resolve_address_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / sockaddr_utils_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / sockaddr_utils_test : $ ( SOCKADDR_UTILS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / sockaddr_utils_test : $ ( SOCKADDR_UTILS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( SOCKADDR_UTILS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / sockaddr_utils_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( SOCKADDR_UTILS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / sockaddr_utils_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / tcp_server_posix_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / tcp_server_posix_test : $ ( TCP_SERVER_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / tcp_server_posix_test : $ ( TCP_SERVER_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TCP_SERVER_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / tcp_server_posix_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TCP_SERVER_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / tcp_server_posix_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / tcp_client_posix_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / tcp_client_posix_test : $ ( TCP_CLIENT_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / tcp_client_posix_test : $ ( TCP_CLIENT_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TCP_CLIENT_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / tcp_client_posix_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TCP_CLIENT_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / tcp_client_posix_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / grpc_channel_stack_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / grpc_channel_stack_test : $ ( GRPC_CHANNEL_STACK_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / grpc_channel_stack_test : $ ( GRPC_CHANNEL_STACK_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_CHANNEL_STACK_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_channel_stack_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_CHANNEL_STACK_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_channel_stack_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / metadata_buffer_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / metadata_buffer_test : $ ( METADATA_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / metadata_buffer_test : $ ( METADATA_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( METADATA_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / metadata_buffer_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( METADATA_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / metadata_buffer_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / grpc_completion_queue_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / grpc_completion_queue_test : $ ( GRPC_COMPLETION_QUEUE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / grpc_completion_queue_test : $ ( GRPC_COMPLETION_QUEUE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_COMPLETION_QUEUE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_completion_queue_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_COMPLETION_QUEUE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_completion_queue_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / grpc_completion_queue_benchmark : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / grpc_completion_queue_benchmark : $ ( GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / grpc_completion_queue_benchmark : $ ( GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_completion_queue_benchmark <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_COMPLETION_QUEUE_BENCHMARK_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_completion_queue_benchmark <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / census_trace_store_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / census_trace_store_test : $ ( CENSUS_TRACE_STORE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / census_trace_store_test : $ ( CENSUS_TRACE_STORE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_TRACE_STORE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_trace_store_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_TRACE_STORE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_trace_store_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / census_stats_store_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / census_stats_store_test : $ ( CENSUS_STATS_STORE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / census_stats_store_test : $ ( CENSUS_STATS_STORE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATS_STORE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_stats_store_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATS_STORE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_stats_store_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / census_window_stats_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / census_window_stats_test : $ ( CENSUS_WINDOW_STATS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / census_window_stats_test : $ ( CENSUS_WINDOW_STATS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_WINDOW_STATS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_window_stats_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_WINDOW_STATS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_window_stats_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / census_statistics_quick_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / census_statistics_quick_test : $ ( CENSUS_STATISTICS_QUICK_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / census_statistics_quick_test : $ ( CENSUS_STATISTICS_QUICK_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATISTICS_QUICK_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_statistics_quick_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATISTICS_QUICK_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_statistics_quick_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / census_statistics_small_log_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / census_statistics_small_log_test : $ ( CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / census_statistics_small_log_test : $ ( CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_statistics_small_log_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATISTICS_SMALL_LOG_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_statistics_small_log_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / census_statistics_performance_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / census_statistics_performance_test : $ ( CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / census_statistics_performance_test : $ ( CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_statistics_performance_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATISTICS_PERFORMANCE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_statistics_performance_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / census_statistics_multiple_writers_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / census_statistics_multiple_writers_test : $ ( CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / census_statistics_multiple_writers_test : $ ( CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_statistics_multiple_writers_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATISTICS_MULTIPLE_WRITERS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_statistics_multiple_writers_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / census_statistics_multiple_writers_circular_buffer_test : openssl_ <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / census_statistics_multiple_writers_circular_buffer_test : $ ( CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / census_statistics_multiple_writers_circular_buffer_test : $ ( CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_statistics_multiple_writers_circular_buffer_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STATISTICS_MULTIPLE_WRITERS_CIRCULAR_BUFFER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_statistics_multiple_writers_circular_buffer_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / census_stub_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / census_stub_test : $ ( CENSUS_STUB_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / census_stub_test : $ ( CENSUS_STUB_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STUB_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_stub_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_STUB_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_stub_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / census_hash_table_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / census_hash_table_test : $ ( CENSUS_HASH_TABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / census_hash_table_test : $ ( CENSUS_HASH_TABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_HASH_TABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_hash_table_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CENSUS_HASH_TABLE_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / census_hash_table_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / fling_server : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / fling_server : $ ( FLING_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / fling_server : $ ( FLING_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( FLING_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / fling_server <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( FLING_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / fling_server <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / fling_client : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / fling_client : $ ( FLING_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / fling_client : $ ( FLING_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( FLING_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / fling_client <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( FLING_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / fling_client <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / fling_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / fling_test : $ ( FLING_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / fling_test : $ ( FLING_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( FLING_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / fling_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( FLING_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / fling_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / echo_server : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / echo_server : $ ( ECHO_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / echo_server : $ ( ECHO_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ECHO_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / echo_server <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ECHO_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / echo_server <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / echo_client : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / echo_client : $ ( ECHO_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / echo_client : $ ( ECHO_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ECHO_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / echo_client <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ECHO_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / echo_client <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / echo_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / echo_test : $ ( ECHO_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / echo_test : $ ( ECHO_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ECHO_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / echo_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ECHO_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / echo_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / low_level_ping_pong_benchmark : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / low_level_ping_pong_benchmark : $ ( LOW_LEVEL_PING_PONG_BENCHMARK_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / low_level_ping_pong_benchmark : $ ( LOW_LEVEL_PING_PONG_BENCHMARK_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( LOW_LEVEL_PING_PONG_BENCHMARK_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / low_level_ping_pong_benchmark <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( LOW_LEVEL_PING_PONG_BENCHMARK_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / low_level_ping_pong_benchmark <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / message_compress_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / message_compress_test : $ ( MESSAGE_COMPRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / message_compress_test : $ ( MESSAGE_COMPRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( MESSAGE_COMPRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / message_compress_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( MESSAGE_COMPRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / message_compress_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / bin_encoder_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / bin_encoder_test : $ ( BIN_ENCODER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / bin_encoder_test : $ ( BIN_ENCODER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( BIN_ENCODER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / bin_encoder_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( BIN_ENCODER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / bin_encoder_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / secure_endpoint_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / secure_endpoint_test : $ ( SECURE_ENDPOINT_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / secure_endpoint_test : $ ( SECURE_ENDPOINT_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( SECURE_ENDPOINT_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / secure_endpoint_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( SECURE_ENDPOINT_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / secure_endpoint_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / httpcli_format_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / httpcli_format_request_test : $ ( HTTPCLI_FORMAT_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / httpcli_format_request_test : $ ( HTTPCLI_FORMAT_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( HTTPCLI_FORMAT_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / httpcli_format_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( HTTPCLI_FORMAT_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / httpcli_format_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / httpcli_parser_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / httpcli_parser_test : $ ( HTTPCLI_PARSER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / httpcli_parser_test : $ ( HTTPCLI_PARSER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( HTTPCLI_PARSER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / httpcli_parser_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( HTTPCLI_PARSER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / httpcli_parser_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / httpcli_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / httpcli_test : $ ( HTTPCLI_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / httpcli_test : $ ( HTTPCLI_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( HTTPCLI_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / httpcli_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( HTTPCLI_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / httpcli_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / grpc_credentials_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / grpc_credentials_test : $ ( GRPC_CREDENTIALS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / grpc_credentials_test : $ ( GRPC_CREDENTIALS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_CREDENTIALS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_credentials_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_CREDENTIALS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_credentials_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / grpc_fetch_oauth2 : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / grpc_fetch_oauth2 : $ ( GRPC_FETCH_OAUTH2_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / grpc_fetch_oauth2 : $ ( GRPC_FETCH_OAUTH2_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_FETCH_OAUTH2_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_fetch_oauth2 <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_FETCH_OAUTH2_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_fetch_oauth2 <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / grpc_base64_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / grpc_base64_test : $ ( GRPC_BASE64_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / grpc_base64_test : $ ( GRPC_BASE64_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_BASE64_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_base64_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_BASE64_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_base64_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / grpc_json_token_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / grpc_json_token_test : $ ( GRPC_JSON_TOKEN_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / grpc_json_token_test : $ ( GRPC_JSON_TOKEN_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_JSON_TOKEN_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_json_token_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( GRPC_JSON_TOKEN_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / grpc_json_token_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / timeout_encoding_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / timeout_encoding_test : $ ( TIMEOUT_ENCODING_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / timeout_encoding_test : $ ( TIMEOUT_ENCODING_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TIMEOUT_ENCODING_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / timeout_encoding_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TIMEOUT_ENCODING_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / timeout_encoding_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / fd_posix_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / fd_posix_test : $ ( FD_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / fd_posix_test : $ ( FD_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( FD_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / fd_posix_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( FD_POSIX_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / fd_posix_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / fling_stream_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / fling_stream_test : $ ( FLING_STREAM_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / fling_stream_test : $ ( FLING_STREAM_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( FLING_STREAM_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / fling_stream_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( FLING_STREAM_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / fling_stream_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / lame_client_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / lame_client_test : $ ( LAME_CLIENT_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / lame_client_test : $ ( LAME_CLIENT_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( LAME_CLIENT_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / lame_client_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( LAME_CLIENT_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / lame_client_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / thread_pool_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / thread_pool_test : $ ( THREAD_POOL_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / thread_pool_test : $ ( THREAD_POOL_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( THREAD_POOL_TEST_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / thread_pool_test <nl> + $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( THREAD_POOL_TEST_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / thread_pool_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / status_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / status_test : $ ( STATUS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / status_test : $ ( STATUS_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( STATUS_TEST_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / status_test <nl> + $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( STATUS_TEST_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / status_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / sync_client_async_server_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / sync_client_async_server_test : $ ( SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / sync_client_async_server_test : $ ( SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / sync_client_async_server_test <nl> + $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( SYNC_CLIENT_ASYNC_SERVER_TEST_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / sync_client_async_server_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / qps_client : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / qps_client : $ ( QPS_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / qps_client : $ ( QPS_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( QPS_CLIENT_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / qps_client <nl> + $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( QPS_CLIENT_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / qps_client <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / qps_server : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / qps_server : $ ( QPS_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / qps_server : $ ( QPS_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( QPS_SERVER_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / qps_server <nl> + $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( QPS_SERVER_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / qps_server <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / interop_server : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / interop_server : $ ( INTEROP_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / interop_server : $ ( INTEROP_SERVER_OBJS ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( INTEROP_SERVER_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / interop_server <nl> + $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( INTEROP_SERVER_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / interop_server <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / interop_client : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / interop_client : $ ( INTEROP_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / interop_client : $ ( INTEROP_CLIENT_OBJS ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( INTEROP_CLIENT_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / interop_client <nl> + $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( INTEROP_CLIENT_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / interop_client <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / end2end_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / end2end_test : $ ( END2END_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / end2end_test : $ ( END2END_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( END2END_TEST_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / end2end_test <nl> + $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( END2END_TEST_OBJS ) $ ( GTEST_LIB ) libs / $ ( CONFIG ) / libgrpc + + _test_util . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc + + . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBSXX ) $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / end2end_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / alarm_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / alarm_test : $ ( ALARM_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / alarm_test : $ ( ALARM_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ALARM_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / alarm_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ALARM_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / alarm_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / alarm_list_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / alarm_list_test : $ ( ALARM_LIST_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / alarm_list_test : $ ( ALARM_LIST_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ALARM_LIST_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / alarm_list_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ALARM_LIST_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / alarm_list_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / alarm_heap_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / alarm_heap_test : $ ( ALARM_HEAP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / alarm_heap_test : $ ( ALARM_HEAP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ALARM_HEAP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / alarm_heap_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( ALARM_HEAP_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / alarm_heap_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / time_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / time_test : $ ( TIME_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / time_test : $ ( TIME_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TIME_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / time_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( TIME_TEST_OBJS ) libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / time_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_accept_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_accept_test : $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_accept_test : $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_accept_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_accept_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_accept_and_writes_closed_test : <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_accept_and_writes_closed_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_accept_and_writes_closed_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_invoke_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_invoke_test : $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_invoke_test : $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_cancel_after_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_cancel_before_invoke_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_cancel_before_invoke_test : $ ( CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_cancel_before_invoke_test : $ ( CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_cancel_before_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_cancel_before_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_cancel_in_a_vacuum_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_cancel_in_a_vacuum_test : $ ( CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_cancel_in_a_vacuum_test : $ ( CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_cancel_in_a_vacuum_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_cancel_in_a_vacuum_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_census_simple_request_test : openssl_dep_erro <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_census_simple_request_test : $ ( CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_census_simple_request_test : $ ( CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_census_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_census_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_disappearing_server_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_disappearing_server_test : $ ( CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_disappearing_server_test : $ ( CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_disappearing_server_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_disappearing_server_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_early_server_shutdown_finishes_inflight_call <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_early_server_shutdown_finishes_tags_test : op <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_early_server_shutdown_finishes_tags_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_early_server_shutdown_finishes_tags_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_invoke_large_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_invoke_large_request_test : $ ( CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_invoke_large_request_test : $ ( CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_invoke_large_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_invoke_large_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_max_concurrent_streams_test : openssl_dep_err <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_max_concurrent_streams_test : $ ( CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_max_concurrent_streams_test : $ ( CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_max_concurrent_streams_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_max_concurrent_streams_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_no_op_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_no_op_test : $ ( CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_no_op_test : $ ( CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_no_op_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_no_op_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_ping_pong_streaming_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_ping_pong_streaming_test : $ ( CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_ping_pong_streaming_test : $ ( CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_ping_pong_streaming_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_ping_pong_streaming_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_binary_metadata_and_pa <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_binary_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_binary_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_metadata_and_payload_t <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_metadata_and_payload_test : $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_metadata_and_payload_test : $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_payload_test : openssl_ <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_payload_test : $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_payload_test : $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_trailing_metadata_and_ <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_simple_delayed_request_test : openssl_dep_err <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_simple_delayed_request_test : $ ( CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_simple_delayed_request_test : $ ( CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_simple_delayed_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_simple_delayed_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_simple_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_simple_request_test : $ ( CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_simple_request_test : $ ( CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_thread_stress_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_thread_stress_test : $ ( CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_thread_stress_test : $ ( CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_thread_stress_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_thread_stress_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fake_security_writes_done_hangs_with_pending_read_test : op <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fake_security_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fake_security_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_writes_done_hangs_with_pending_read_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FAKE_SECURITY_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fake_security . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fake_security_writes_done_hangs_with_pending_read_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_accept_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_accept_test : $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_accept_test : $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_accept_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_accept_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_accept_and_writes_closed_test : open <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_accept_and_writes_closed_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_accept_and_writes_closed_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_invoke_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_invoke_test : $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_invoke_test : $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_cancel_after_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_cancel_before_invoke_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_cancel_before_invoke_test : $ ( CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_cancel_before_invoke_test : $ ( CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_cancel_before_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_cancel_before_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_cancel_in_a_vacuum_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_cancel_in_a_vacuum_test : $ ( CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_cancel_in_a_vacuum_test : $ ( CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_cancel_in_a_vacuum_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_cancel_in_a_vacuum_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_census_simple_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_census_simple_request_test : $ ( CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_census_simple_request_test : $ ( CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_census_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_census_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_disappearing_server_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_disappearing_server_test : $ ( CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_disappearing_server_test : $ ( CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_disappearing_server_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_disappearing_server_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_te <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_early_server_shutdown_finishes_tags_test : openss <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_early_server_shutdown_finishes_tags_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_early_server_shutdown_finishes_tags_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_invoke_large_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_invoke_large_request_test : $ ( CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_invoke_large_request_test : $ ( CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_invoke_large_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_invoke_large_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_max_concurrent_streams_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_max_concurrent_streams_test : $ ( CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_max_concurrent_streams_test : $ ( CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_max_concurrent_streams_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_max_concurrent_streams_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_no_op_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_no_op_test : $ ( CHTTP2_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_no_op_test : $ ( CHTTP2_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_no_op_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_no_op_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_ping_pong_streaming_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_ping_pong_streaming_test : $ ( CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_ping_pong_streaming_test : $ ( CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_ping_pong_streaming_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_ping_pong_streaming_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_binary_metadata_and_payloa <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_binary_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_binary_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_metadata_and_payload_test : <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_metadata_and_payload_test : $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_metadata_and_payload_test : $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_payload_test : openssl_dep_ <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_payload_test : $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_payload_test : $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_trailing_metadata_and_payl <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_simple_delayed_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_simple_delayed_request_test : $ ( CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_simple_delayed_request_test : $ ( CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_simple_delayed_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_simple_delayed_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_simple_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_simple_request_test : $ ( CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_simple_request_test : $ ( CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_thread_stress_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_thread_stress_test : $ ( CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_thread_stress_test : $ ( CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_thread_stress_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_thread_stress_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_fullstack_writes_done_hangs_with_pending_read_test : openss <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_fullstack_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_fullstack_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_writes_done_hangs_with_pending_read_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_fullstack_writes_done_hangs_with_pending_read_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_accept_test : openssl_dep <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_accept_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_accept_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_accept_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_accept_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_invoke_test : openssl_dep <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_invoke_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_invoke_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_after_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_before_invoke_test : openssl_de <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_before_invoke_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_before_invoke_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_before_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_before_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test : openssl_dep_ <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_census_simple_request_test : openssl_d <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_census_simple_request_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_census_simple_request_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_census_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_census_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_disappearing_server_test : openssl_dep <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_disappearing_server_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_disappearing_server_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_disappearing_server_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_disappearing_server_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflig <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_t <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_invoke_large_request_test : openssl_de <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_invoke_large_request_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_invoke_large_request_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_invoke_large_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_invoke_large_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_max_concurrent_streams_test : openssl_ <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_max_concurrent_streams_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_max_concurrent_streams_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_max_concurrent_streams_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_max_concurrent_streams_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_no_op_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_no_op_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_no_op_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_no_op_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_no_op_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_ping_pong_streaming_test : openssl_dep <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_ping_pong_streaming_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_ping_pong_streaming_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_ping_pong_streaming_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_ping_pong_streaming_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_binary_metadata <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_metadata_and_pa <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_payload_test : o <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_payload_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_payload_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_trailing_metada <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_simple_delayed_request_test : openssl_ <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_simple_delayed_request_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_simple_delayed_request_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_simple_delayed_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_simple_delayed_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_simple_request_test : openssl_dep_erro <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_simple_request_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_simple_request_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_thread_stress_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_thread_stress_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_thread_stress_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_thread_stress_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_thread_stress_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_t <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test : <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_w <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test : <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test : <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_tes <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test : <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_fin <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_fin <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_te <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_no_op_test : openssl_dep_e <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_no_op_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_no_op_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_no_op_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_no_op_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test : <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_bin <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_met <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_pay <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_tra <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_te <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test : open <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test : opens <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pe <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SIMPLE_SSL_WITH_OAUTH2_FULLSTACK_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_accept_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_accept_test : $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_accept_test : $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_accept_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_accept_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_accept_and_writes_closed_test : op <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_accept_and_writes_closed_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_accept_and_writes_closed_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_invoke_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_invoke_test : $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_invoke_test : $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_after_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_before_invoke_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_before_invoke_test : $ ( CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_before_invoke_test : $ ( CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_before_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_before_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_in_a_vacuum_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_in_a_vacuum_test : $ ( CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_in_a_vacuum_test : $ ( CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_in_a_vacuum_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_cancel_in_a_vacuum_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_census_simple_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_census_simple_request_test : $ ( CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_census_simple_request_test : $ ( CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_census_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_census_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_disappearing_server_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_disappearing_server_test : $ ( CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_disappearing_server_test : $ ( CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_disappearing_server_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_disappearing_server_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_ <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_early_server_shutdown_finishes_tags_test : open <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_early_server_shutdown_finishes_tags_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_early_server_shutdown_finishes_tags_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_invoke_large_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_invoke_large_request_test : $ ( CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_invoke_large_request_test : $ ( CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_invoke_large_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_invoke_large_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_max_concurrent_streams_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_max_concurrent_streams_test : $ ( CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_max_concurrent_streams_test : $ ( CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_max_concurrent_streams_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_max_concurrent_streams_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_no_op_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_no_op_test : $ ( CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_no_op_test : $ ( CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_no_op_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_no_op_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_ping_pong_streaming_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_ping_pong_streaming_test : $ ( CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_ping_pong_streaming_test : $ ( CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_ping_pong_streaming_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_ping_pong_streaming_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_binary_metadata_and_payl <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_metadata_and_payload_tes <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_payload_test : openssl_de <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_payload_test : $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_payload_test : $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_trailing_metadata_and_pa <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_simple_delayed_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_simple_delayed_request_test : $ ( CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_simple_delayed_request_test : $ ( CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_simple_delayed_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_simple_delayed_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_simple_request_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_simple_request_test : $ ( CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_simple_request_test : $ ( CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_thread_stress_test : openssl_dep_error <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_thread_stress_test : $ ( CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_thread_stress_test : $ ( CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_thread_stress_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_thread_stress_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_writes_done_hangs_with_pending_read_test : open <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_writes_done_hangs_with_pending_read_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_writes_done_hangs_with_pending_read_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test : o <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_wri <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_ACCEPT_AND_WRITES_CLOSED_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_accept_and_writes_closed . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test : o <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_AFTER_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_after_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test : <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_BEFORE_INVOKE_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_before_invoke . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test : op <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CANCEL_IN_A_VACUUM_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_cancel_in_a_vacuum . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test : <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_CENSUS_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_census_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test : o <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_DISAPPEARING_SERVER_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_disappearing_server . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finis <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_INFLIGHT_CALLS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_inflight_calls . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finis <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_EARLY_SERVER_SHUTDOWN_FINISHES_TAGS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_early_server_shutdown_finishes_tags . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test : <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_INVOKE_LARGE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_invoke_large_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_MAX_CONCURRENT_STREAMS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_max_concurrent_streams . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_no_op_test : openssl_dep_err <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_no_op_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_no_op_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_no_op_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_NO_OP_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_no_op . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_no_op_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test : o <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_PING_PONG_STREAMING_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_ping_pong_streaming . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_binar <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_BINARY_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_binary_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_metad <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_paylo <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_trail <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_REQUEST_RESPONSE_WITH_TRAILING_METADATA_AND_PAYLOAD_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_request_response_with_trailing_metadata_and_payload . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_DELAYED_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_simple_delayed_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_simple_request_test : openss <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_simple_request_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_simple_request_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_simple_request_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_SIMPLE_REQUEST_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_simple_request . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_simple_request_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_thread_stress_test : openssl <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_thread_stress_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_thread_stress_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_thread_stress_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_THREAD_STRESS_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_thread_stress . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_thread_stress_test <nl> <nl> endif <nl> <nl> bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pend <nl> <nl> else <nl> <nl> - bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a <nl> + bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test : $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a <nl> $ ( E ) " [ LD ] Linking $ @ " <nl> $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test <nl> + $ ( Q ) $ ( LD ) $ ( LDFLAGS ) $ ( CHTTP2_SOCKET_PAIR_ONE_BYTE_AT_A_TIME_WRITES_DONE_HANGS_WITH_PENDING_READ_TEST_OBJS ) libs / $ ( CONFIG ) / libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time . a libs / $ ( CONFIG ) / libend2end_test_writes_done_hangs_with_pending_read . a libs / $ ( CONFIG ) / libend2end_certs . a libs / $ ( CONFIG ) / libgrpc_test_util . a libs / $ ( CONFIG ) / libgrpc . a libs / $ ( CONFIG ) / libgpr_test_util . a libs / $ ( CONFIG ) / libgpr . a $ ( LDLIBS ) $ ( LDLIBS_SECURE ) - o bins / $ ( CONFIG ) / chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test <nl> <nl> endif <nl> <nl> clean_chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_ <nl> <nl> <nl> <nl> - . PHONY : all strip tools dep_error openssl_dep_error openssl_dep_message git_update stop buildtests buildtests_c buildtests_cxx test test_c test_cxx install install_c install_cxx install - headers install - headers_c install - headers_cxx install - shared install - shared_c install - shared_cxx install - static install - static_c install - static_cxx strip strip - shared strip - static strip_c strip - shared_c strip - static_c strip_cxx strip - shared_cxx strip - static_cxx clean dep_c dep_cxx bins_dep_c bins_dep_cxx deps_libgpr clean_libgpr deps_libgrpc clean_libgrpc deps_libgrpc_unsecure clean_libgrpc_unsecure deps_libgrpc_test_util clean_libgrpc_test_util deps_libgrpc + + clean_libgrpc + + deps_libgrpc + + _test_util clean_libgrpc + + _test_util deps_libend2end_fixture_chttp2_fake_security clean_libend2end_fixture_chttp2_fake_security deps_libend2end_fixture_chttp2_fullstack clean_libend2end_fixture_chttp2_fullstack deps_libend2end_fixture_chttp2_simple_ssl_fullstack clean_libend2end_fixture_chttp2_simple_ssl_fullstack deps_libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack clean_libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack deps_libend2end_fixture_chttp2_socket_pair clean_libend2end_fixture_chttp2_socket_pair deps_libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time clean_libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time deps_libend2end_test_cancel_after_accept clean_libend2end_test_cancel_after_accept deps_libend2end_test_cancel_after_accept_and_writes_closed clean_libend2end_test_cancel_after_accept_and_writes_closed deps_libend2end_test_cancel_after_invoke clean_libend2end_test_cancel_after_invoke deps_libend2end_test_cancel_before_invoke clean_libend2end_test_cancel_before_invoke deps_libend2end_test_cancel_in_a_vacuum clean_libend2end_test_cancel_in_a_vacuum deps_libend2end_test_census_simple_request clean_libend2end_test_census_simple_request deps_libend2end_test_disappearing_server clean_libend2end_test_disappearing_server deps_libend2end_test_early_server_shutdown_finishes_inflight_calls clean_libend2end_test_early_server_shutdown_finishes_inflight_calls deps_libend2end_test_early_server_shutdown_finishes_tags clean_libend2end_test_early_server_shutdown_finishes_tags deps_libend2end_test_invoke_large_request clean_libend2end_test_invoke_large_request deps_libend2end_test_max_concurrent_streams clean_libend2end_test_max_concurrent_streams deps_libend2end_test_no_op clean_libend2end_test_no_op deps_libend2end_test_ping_pong_streaming clean_libend2end_test_ping_pong_streaming deps_libend2end_test_request_response_with_binary_metadata_and_payload clean_libend2end_test_request_response_with_binary_metadata_and_payload deps_libend2end_test_request_response_with_metadata_and_payload clean_libend2end_test_request_response_with_metadata_and_payload deps_libend2end_test_request_response_with_payload clean_libend2end_test_request_response_with_payload deps_libend2end_test_request_response_with_trailing_metadata_and_payload clean_libend2end_test_request_response_with_trailing_metadata_and_payload deps_libend2end_test_simple_delayed_request clean_libend2end_test_simple_delayed_request deps_libend2end_test_simple_request clean_libend2end_test_simple_request deps_libend2end_test_thread_stress clean_libend2end_test_thread_stress deps_libend2end_test_writes_done_hangs_with_pending_read clean_libend2end_test_writes_done_hangs_with_pending_read deps_libend2end_certs clean_libend2end_certs deps_gen_hpack_tables clean_gen_hpack_tables deps_cpp_plugin clean_cpp_plugin deps_ruby_plugin clean_ruby_plugin deps_go_plugin clean_go_plugin deps_grpc_byte_buffer_reader_test clean_grpc_byte_buffer_reader_test deps_gpr_cancellable_test clean_gpr_cancellable_test deps_gpr_log_test clean_gpr_log_test deps_gpr_useful_test clean_gpr_useful_test deps_gpr_cmdline_test clean_gpr_cmdline_test deps_gpr_histogram_test clean_gpr_histogram_test deps_gpr_host_port_test clean_gpr_host_port_test deps_gpr_slice_buffer_test clean_gpr_slice_buffer_test deps_gpr_slice_test clean_gpr_slice_test deps_gpr_string_test clean_gpr_string_test deps_gpr_sync_test clean_gpr_sync_test deps_gpr_thd_test clean_gpr_thd_test deps_gpr_time_test clean_gpr_time_test deps_murmur_hash_test clean_murmur_hash_test deps_grpc_stream_op_test clean_grpc_stream_op_test deps_alpn_test clean_alpn_test deps_time_averaged_stats_test clean_time_averaged_stats_test deps_chttp2_stream_encoder_test clean_chttp2_stream_encoder_test deps_hpack_table_test clean_hpack_table_test deps_chttp2_stream_map_test clean_chttp2_stream_map_test deps_hpack_parser_test clean_hpack_parser_test deps_transport_metadata_test clean_transport_metadata_test deps_chttp2_status_conversion_test clean_chttp2_status_conversion_test deps_chttp2_transport_end2end_test clean_chttp2_transport_end2end_test deps_tcp_posix_test clean_tcp_posix_test deps_dualstack_socket_test clean_dualstack_socket_test deps_no_server_test clean_no_server_test deps_resolve_address_test clean_resolve_address_test deps_sockaddr_utils_test clean_sockaddr_utils_test deps_tcp_server_posix_test clean_tcp_server_posix_test deps_tcp_client_posix_test clean_tcp_client_posix_test deps_grpc_channel_stack_test clean_grpc_channel_stack_test deps_metadata_buffer_test clean_metadata_buffer_test deps_grpc_completion_queue_test clean_grpc_completion_queue_test deps_grpc_completion_queue_benchmark clean_grpc_completion_queue_benchmark deps_census_trace_store_test clean_census_trace_store_test deps_census_stats_store_test clean_census_stats_store_test deps_census_window_stats_test clean_census_window_stats_test deps_census_statistics_quick_test clean_census_statistics_quick_test deps_census_statistics_small_log_test clean_census_statistics_small_log_test deps_census_statistics_performance_test clean_census_statistics_performance_test deps_census_statistics_multiple_writers_test clean_census_statistics_multiple_writers_test deps_census_statistics_multiple_writers_circular_buffer_test clean_census_statistics_multiple_writers_circular_buffer_test deps_census_stub_test clean_census_stub_test deps_census_hash_table_test clean_census_hash_table_test deps_fling_server clean_fling_server deps_fling_client clean_fling_client deps_fling_test clean_fling_test deps_echo_server clean_echo_server deps_echo_client clean_echo_client deps_echo_test clean_echo_test deps_low_level_ping_pong_benchmark clean_low_level_ping_pong_benchmark deps_message_compress_test clean_message_compress_test deps_bin_encoder_test clean_bin_encoder_test deps_secure_endpoint_test clean_secure_endpoint_test deps_httpcli_format_request_test clean_httpcli_format_request_test deps_httpcli_parser_test clean_httpcli_parser_test deps_httpcli_test clean_httpcli_test deps_grpc_credentials_test clean_grpc_credentials_test deps_grpc_fetch_oauth2 clean_grpc_fetch_oauth2 deps_grpc_base64_test clean_grpc_base64_test deps_grpc_json_token_test clean_grpc_json_token_test deps_timeout_encoding_test clean_timeout_encoding_test deps_fd_posix_test clean_fd_posix_test deps_fling_stream_test clean_fling_stream_test deps_lame_client_test clean_lame_client_test deps_thread_pool_test clean_thread_pool_test deps_status_test clean_status_test deps_sync_client_async_server_test clean_sync_client_async_server_test deps_qps_client clean_qps_client deps_qps_server clean_qps_server deps_interop_server clean_interop_server deps_interop_client clean_interop_client deps_end2end_test clean_end2end_test deps_channel_arguments_test clean_channel_arguments_test deps_credentials_test clean_credentials_test deps_alarm_test clean_alarm_test deps_alarm_list_test clean_alarm_list_test deps_alarm_heap_test clean_alarm_heap_test deps_time_test clean_time_test deps_chttp2_fake_security_cancel_after_accept_test clean_chttp2_fake_security_cancel_after_accept_test deps_chttp2_fake_security_cancel_after_accept_and_writes_closed_test clean_chttp2_fake_security_cancel_after_accept_and_writes_closed_test deps_chttp2_fake_security_cancel_after_invoke_test clean_chttp2_fake_security_cancel_after_invoke_test deps_chttp2_fake_security_cancel_before_invoke_test clean_chttp2_fake_security_cancel_before_invoke_test deps_chttp2_fake_security_cancel_in_a_vacuum_test clean_chttp2_fake_security_cancel_in_a_vacuum_test deps_chttp2_fake_security_census_simple_request_test clean_chttp2_fake_security_census_simple_request_test deps_chttp2_fake_security_disappearing_server_test clean_chttp2_fake_security_disappearing_server_test deps_chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_fake_security_early_server_shutdown_finishes_tags_test clean_chttp2_fake_security_early_server_shutdown_finishes_tags_test deps_chttp2_fake_security_invoke_large_request_test clean_chttp2_fake_security_invoke_large_request_test deps_chttp2_fake_security_max_concurrent_streams_test clean_chttp2_fake_security_max_concurrent_streams_test deps_chttp2_fake_security_no_op_test clean_chttp2_fake_security_no_op_test deps_chttp2_fake_security_ping_pong_streaming_test clean_chttp2_fake_security_ping_pong_streaming_test deps_chttp2_fake_security_request_response_with_binary_metadata_and_payload_test clean_chttp2_fake_security_request_response_with_binary_metadata_and_payload_test deps_chttp2_fake_security_request_response_with_metadata_and_payload_test clean_chttp2_fake_security_request_response_with_metadata_and_payload_test deps_chttp2_fake_security_request_response_with_payload_test clean_chttp2_fake_security_request_response_with_payload_test deps_chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test clean_chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test deps_chttp2_fake_security_simple_delayed_request_test clean_chttp2_fake_security_simple_delayed_request_test deps_chttp2_fake_security_simple_request_test clean_chttp2_fake_security_simple_request_test deps_chttp2_fake_security_thread_stress_test clean_chttp2_fake_security_thread_stress_test deps_chttp2_fake_security_writes_done_hangs_with_pending_read_test clean_chttp2_fake_security_writes_done_hangs_with_pending_read_test deps_chttp2_fullstack_cancel_after_accept_test clean_chttp2_fullstack_cancel_after_accept_test deps_chttp2_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_fullstack_cancel_after_accept_and_writes_closed_test deps_chttp2_fullstack_cancel_after_invoke_test clean_chttp2_fullstack_cancel_after_invoke_test deps_chttp2_fullstack_cancel_before_invoke_test clean_chttp2_fullstack_cancel_before_invoke_test deps_chttp2_fullstack_cancel_in_a_vacuum_test clean_chttp2_fullstack_cancel_in_a_vacuum_test deps_chttp2_fullstack_census_simple_request_test clean_chttp2_fullstack_census_simple_request_test deps_chttp2_fullstack_disappearing_server_test clean_chttp2_fullstack_disappearing_server_test deps_chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_fullstack_early_server_shutdown_finishes_tags_test deps_chttp2_fullstack_invoke_large_request_test clean_chttp2_fullstack_invoke_large_request_test deps_chttp2_fullstack_max_concurrent_streams_test clean_chttp2_fullstack_max_concurrent_streams_test deps_chttp2_fullstack_no_op_test clean_chttp2_fullstack_no_op_test deps_chttp2_fullstack_ping_pong_streaming_test clean_chttp2_fullstack_ping_pong_streaming_test deps_chttp2_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_fullstack_request_response_with_binary_metadata_and_payload_test deps_chttp2_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_fullstack_request_response_with_metadata_and_payload_test deps_chttp2_fullstack_request_response_with_payload_test clean_chttp2_fullstack_request_response_with_payload_test deps_chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test deps_chttp2_fullstack_simple_delayed_request_test clean_chttp2_fullstack_simple_delayed_request_test deps_chttp2_fullstack_simple_request_test clean_chttp2_fullstack_simple_request_test deps_chttp2_fullstack_thread_stress_test clean_chttp2_fullstack_thread_stress_test deps_chttp2_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_fullstack_writes_done_hangs_with_pending_read_test deps_chttp2_simple_ssl_fullstack_cancel_after_accept_test clean_chttp2_simple_ssl_fullstack_cancel_after_accept_test deps_chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test deps_chttp2_simple_ssl_fullstack_cancel_after_invoke_test clean_chttp2_simple_ssl_fullstack_cancel_after_invoke_test deps_chttp2_simple_ssl_fullstack_cancel_before_invoke_test clean_chttp2_simple_ssl_fullstack_cancel_before_invoke_test deps_chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test clean_chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test deps_chttp2_simple_ssl_fullstack_census_simple_request_test clean_chttp2_simple_ssl_fullstack_census_simple_request_test deps_chttp2_simple_ssl_fullstack_disappearing_server_test clean_chttp2_simple_ssl_fullstack_disappearing_server_test deps_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test deps_chttp2_simple_ssl_fullstack_invoke_large_request_test clean_chttp2_simple_ssl_fullstack_invoke_large_request_test deps_chttp2_simple_ssl_fullstack_max_concurrent_streams_test clean_chttp2_simple_ssl_fullstack_max_concurrent_streams_test deps_chttp2_simple_ssl_fullstack_no_op_test clean_chttp2_simple_ssl_fullstack_no_op_test deps_chttp2_simple_ssl_fullstack_ping_pong_streaming_test clean_chttp2_simple_ssl_fullstack_ping_pong_streaming_test deps_chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test deps_chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test deps_chttp2_simple_ssl_fullstack_request_response_with_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_payload_test deps_chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test deps_chttp2_simple_ssl_fullstack_simple_delayed_request_test clean_chttp2_simple_ssl_fullstack_simple_delayed_request_test deps_chttp2_simple_ssl_fullstack_simple_request_test clean_chttp2_simple_ssl_fullstack_simple_request_test deps_chttp2_simple_ssl_fullstack_thread_stress_test clean_chttp2_simple_ssl_fullstack_thread_stress_test deps_chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test deps_chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test clean_chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test deps_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test deps_chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test clean_chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test deps_chttp2_simple_ssl_with_oauth2_fullstack_no_op_test clean_chttp2_simple_ssl_with_oauth2_fullstack_no_op_test deps_chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test clean_chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test clean_chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test deps_chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test deps_chttp2_socket_pair_cancel_after_accept_test clean_chttp2_socket_pair_cancel_after_accept_test deps_chttp2_socket_pair_cancel_after_accept_and_writes_closed_test clean_chttp2_socket_pair_cancel_after_accept_and_writes_closed_test deps_chttp2_socket_pair_cancel_after_invoke_test clean_chttp2_socket_pair_cancel_after_invoke_test deps_chttp2_socket_pair_cancel_before_invoke_test clean_chttp2_socket_pair_cancel_before_invoke_test deps_chttp2_socket_pair_cancel_in_a_vacuum_test clean_chttp2_socket_pair_cancel_in_a_vacuum_test deps_chttp2_socket_pair_census_simple_request_test clean_chttp2_socket_pair_census_simple_request_test deps_chttp2_socket_pair_disappearing_server_test clean_chttp2_socket_pair_disappearing_server_test deps_chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_socket_pair_early_server_shutdown_finishes_tags_test clean_chttp2_socket_pair_early_server_shutdown_finishes_tags_test deps_chttp2_socket_pair_invoke_large_request_test clean_chttp2_socket_pair_invoke_large_request_test deps_chttp2_socket_pair_max_concurrent_streams_test clean_chttp2_socket_pair_max_concurrent_streams_test deps_chttp2_socket_pair_no_op_test clean_chttp2_socket_pair_no_op_test deps_chttp2_socket_pair_ping_pong_streaming_test clean_chttp2_socket_pair_ping_pong_streaming_test deps_chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test clean_chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test deps_chttp2_socket_pair_request_response_with_metadata_and_payload_test clean_chttp2_socket_pair_request_response_with_metadata_and_payload_test deps_chttp2_socket_pair_request_response_with_payload_test clean_chttp2_socket_pair_request_response_with_payload_test deps_chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test clean_chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test deps_chttp2_socket_pair_simple_delayed_request_test clean_chttp2_socket_pair_simple_delayed_request_test deps_chttp2_socket_pair_simple_request_test clean_chttp2_socket_pair_simple_request_test deps_chttp2_socket_pair_thread_stress_test clean_chttp2_socket_pair_thread_stress_test deps_chttp2_socket_pair_writes_done_hangs_with_pending_read_test clean_chttp2_socket_pair_writes_done_hangs_with_pending_read_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test deps_chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test clean_chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test deps_chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test clean_chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test deps_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test clean_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test deps_chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test clean_chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test deps_chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test clean_chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test deps_chttp2_socket_pair_one_byte_at_a_time_no_op_test clean_chttp2_socket_pair_one_byte_at_a_time_no_op_test deps_chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test clean_chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test clean_chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test deps_chttp2_socket_pair_one_byte_at_a_time_simple_request_test clean_chttp2_socket_pair_one_byte_at_a_time_simple_request_test deps_chttp2_socket_pair_one_byte_at_a_time_thread_stress_test clean_chttp2_socket_pair_one_byte_at_a_time_thread_stress_test deps_chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test clean_chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test <nl> + . PHONY : all strip tools dep_error openssl_dep_error openssl_dep_message git_update stop buildtests buildtests_c buildtests_cxx test test_c test_cxx install install_c install_cxx install - headers install - headers_c install - headers_cxx install - shared install - shared_c install - shared_cxx install - static install - static_c install - static_cxx strip strip - shared strip - static strip_c strip - shared_c strip - static_c strip_cxx strip - shared_cxx strip - static_cxx clean dep_c dep_cxx bins_dep_c bins_dep_cxx deps_libgpr clean_libgpr deps_libgrpc clean_libgrpc deps_libgrpc_unsecure clean_libgrpc_unsecure deps_libgpr_test_util clean_libgpr_test_util deps_libgrpc_test_util clean_libgrpc_test_util deps_libgrpc + + clean_libgrpc + + deps_libgrpc + + _test_util clean_libgrpc + + _test_util deps_libend2end_fixture_chttp2_fake_security clean_libend2end_fixture_chttp2_fake_security deps_libend2end_fixture_chttp2_fullstack clean_libend2end_fixture_chttp2_fullstack deps_libend2end_fixture_chttp2_simple_ssl_fullstack clean_libend2end_fixture_chttp2_simple_ssl_fullstack deps_libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack clean_libend2end_fixture_chttp2_simple_ssl_with_oauth2_fullstack deps_libend2end_fixture_chttp2_socket_pair clean_libend2end_fixture_chttp2_socket_pair deps_libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time clean_libend2end_fixture_chttp2_socket_pair_one_byte_at_a_time deps_libend2end_test_cancel_after_accept clean_libend2end_test_cancel_after_accept deps_libend2end_test_cancel_after_accept_and_writes_closed clean_libend2end_test_cancel_after_accept_and_writes_closed deps_libend2end_test_cancel_after_invoke clean_libend2end_test_cancel_after_invoke deps_libend2end_test_cancel_before_invoke clean_libend2end_test_cancel_before_invoke deps_libend2end_test_cancel_in_a_vacuum clean_libend2end_test_cancel_in_a_vacuum deps_libend2end_test_census_simple_request clean_libend2end_test_census_simple_request deps_libend2end_test_disappearing_server clean_libend2end_test_disappearing_server deps_libend2end_test_early_server_shutdown_finishes_inflight_calls clean_libend2end_test_early_server_shutdown_finishes_inflight_calls deps_libend2end_test_early_server_shutdown_finishes_tags clean_libend2end_test_early_server_shutdown_finishes_tags deps_libend2end_test_invoke_large_request clean_libend2end_test_invoke_large_request deps_libend2end_test_max_concurrent_streams clean_libend2end_test_max_concurrent_streams deps_libend2end_test_no_op clean_libend2end_test_no_op deps_libend2end_test_ping_pong_streaming clean_libend2end_test_ping_pong_streaming deps_libend2end_test_request_response_with_binary_metadata_and_payload clean_libend2end_test_request_response_with_binary_metadata_and_payload deps_libend2end_test_request_response_with_metadata_and_payload clean_libend2end_test_request_response_with_metadata_and_payload deps_libend2end_test_request_response_with_payload clean_libend2end_test_request_response_with_payload deps_libend2end_test_request_response_with_trailing_metadata_and_payload clean_libend2end_test_request_response_with_trailing_metadata_and_payload deps_libend2end_test_simple_delayed_request clean_libend2end_test_simple_delayed_request deps_libend2end_test_simple_request clean_libend2end_test_simple_request deps_libend2end_test_thread_stress clean_libend2end_test_thread_stress deps_libend2end_test_writes_done_hangs_with_pending_read clean_libend2end_test_writes_done_hangs_with_pending_read deps_libend2end_certs clean_libend2end_certs deps_gen_hpack_tables clean_gen_hpack_tables deps_cpp_plugin clean_cpp_plugin deps_ruby_plugin clean_ruby_plugin deps_go_plugin clean_go_plugin deps_grpc_byte_buffer_reader_test clean_grpc_byte_buffer_reader_test deps_gpr_cancellable_test clean_gpr_cancellable_test deps_gpr_log_test clean_gpr_log_test deps_gpr_useful_test clean_gpr_useful_test deps_gpr_cmdline_test clean_gpr_cmdline_test deps_gpr_histogram_test clean_gpr_histogram_test deps_gpr_host_port_test clean_gpr_host_port_test deps_gpr_slice_buffer_test clean_gpr_slice_buffer_test deps_gpr_slice_test clean_gpr_slice_test deps_gpr_string_test clean_gpr_string_test deps_gpr_sync_test clean_gpr_sync_test deps_gpr_thd_test clean_gpr_thd_test deps_gpr_time_test clean_gpr_time_test deps_murmur_hash_test clean_murmur_hash_test deps_grpc_stream_op_test clean_grpc_stream_op_test deps_alpn_test clean_alpn_test deps_time_averaged_stats_test clean_time_averaged_stats_test deps_chttp2_stream_encoder_test clean_chttp2_stream_encoder_test deps_hpack_table_test clean_hpack_table_test deps_chttp2_stream_map_test clean_chttp2_stream_map_test deps_hpack_parser_test clean_hpack_parser_test deps_transport_metadata_test clean_transport_metadata_test deps_chttp2_status_conversion_test clean_chttp2_status_conversion_test deps_chttp2_transport_end2end_test clean_chttp2_transport_end2end_test deps_tcp_posix_test clean_tcp_posix_test deps_dualstack_socket_test clean_dualstack_socket_test deps_no_server_test clean_no_server_test deps_resolve_address_test clean_resolve_address_test deps_sockaddr_utils_test clean_sockaddr_utils_test deps_tcp_server_posix_test clean_tcp_server_posix_test deps_tcp_client_posix_test clean_tcp_client_posix_test deps_grpc_channel_stack_test clean_grpc_channel_stack_test deps_metadata_buffer_test clean_metadata_buffer_test deps_grpc_completion_queue_test clean_grpc_completion_queue_test deps_grpc_completion_queue_benchmark clean_grpc_completion_queue_benchmark deps_census_trace_store_test clean_census_trace_store_test deps_census_stats_store_test clean_census_stats_store_test deps_census_window_stats_test clean_census_window_stats_test deps_census_statistics_quick_test clean_census_statistics_quick_test deps_census_statistics_small_log_test clean_census_statistics_small_log_test deps_census_statistics_performance_test clean_census_statistics_performance_test deps_census_statistics_multiple_writers_test clean_census_statistics_multiple_writers_test deps_census_statistics_multiple_writers_circular_buffer_test clean_census_statistics_multiple_writers_circular_buffer_test deps_census_stub_test clean_census_stub_test deps_census_hash_table_test clean_census_hash_table_test deps_fling_server clean_fling_server deps_fling_client clean_fling_client deps_fling_test clean_fling_test deps_echo_server clean_echo_server deps_echo_client clean_echo_client deps_echo_test clean_echo_test deps_low_level_ping_pong_benchmark clean_low_level_ping_pong_benchmark deps_message_compress_test clean_message_compress_test deps_bin_encoder_test clean_bin_encoder_test deps_secure_endpoint_test clean_secure_endpoint_test deps_httpcli_format_request_test clean_httpcli_format_request_test deps_httpcli_parser_test clean_httpcli_parser_test deps_httpcli_test clean_httpcli_test deps_grpc_credentials_test clean_grpc_credentials_test deps_grpc_fetch_oauth2 clean_grpc_fetch_oauth2 deps_grpc_base64_test clean_grpc_base64_test deps_grpc_json_token_test clean_grpc_json_token_test deps_timeout_encoding_test clean_timeout_encoding_test deps_fd_posix_test clean_fd_posix_test deps_fling_stream_test clean_fling_stream_test deps_lame_client_test clean_lame_client_test deps_thread_pool_test clean_thread_pool_test deps_status_test clean_status_test deps_sync_client_async_server_test clean_sync_client_async_server_test deps_qps_client clean_qps_client deps_qps_server clean_qps_server deps_interop_server clean_interop_server deps_interop_client clean_interop_client deps_end2end_test clean_end2end_test deps_channel_arguments_test clean_channel_arguments_test deps_credentials_test clean_credentials_test deps_alarm_test clean_alarm_test deps_alarm_list_test clean_alarm_list_test deps_alarm_heap_test clean_alarm_heap_test deps_time_test clean_time_test deps_chttp2_fake_security_cancel_after_accept_test clean_chttp2_fake_security_cancel_after_accept_test deps_chttp2_fake_security_cancel_after_accept_and_writes_closed_test clean_chttp2_fake_security_cancel_after_accept_and_writes_closed_test deps_chttp2_fake_security_cancel_after_invoke_test clean_chttp2_fake_security_cancel_after_invoke_test deps_chttp2_fake_security_cancel_before_invoke_test clean_chttp2_fake_security_cancel_before_invoke_test deps_chttp2_fake_security_cancel_in_a_vacuum_test clean_chttp2_fake_security_cancel_in_a_vacuum_test deps_chttp2_fake_security_census_simple_request_test clean_chttp2_fake_security_census_simple_request_test deps_chttp2_fake_security_disappearing_server_test clean_chttp2_fake_security_disappearing_server_test deps_chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_fake_security_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_fake_security_early_server_shutdown_finishes_tags_test clean_chttp2_fake_security_early_server_shutdown_finishes_tags_test deps_chttp2_fake_security_invoke_large_request_test clean_chttp2_fake_security_invoke_large_request_test deps_chttp2_fake_security_max_concurrent_streams_test clean_chttp2_fake_security_max_concurrent_streams_test deps_chttp2_fake_security_no_op_test clean_chttp2_fake_security_no_op_test deps_chttp2_fake_security_ping_pong_streaming_test clean_chttp2_fake_security_ping_pong_streaming_test deps_chttp2_fake_security_request_response_with_binary_metadata_and_payload_test clean_chttp2_fake_security_request_response_with_binary_metadata_and_payload_test deps_chttp2_fake_security_request_response_with_metadata_and_payload_test clean_chttp2_fake_security_request_response_with_metadata_and_payload_test deps_chttp2_fake_security_request_response_with_payload_test clean_chttp2_fake_security_request_response_with_payload_test deps_chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test clean_chttp2_fake_security_request_response_with_trailing_metadata_and_payload_test deps_chttp2_fake_security_simple_delayed_request_test clean_chttp2_fake_security_simple_delayed_request_test deps_chttp2_fake_security_simple_request_test clean_chttp2_fake_security_simple_request_test deps_chttp2_fake_security_thread_stress_test clean_chttp2_fake_security_thread_stress_test deps_chttp2_fake_security_writes_done_hangs_with_pending_read_test clean_chttp2_fake_security_writes_done_hangs_with_pending_read_test deps_chttp2_fullstack_cancel_after_accept_test clean_chttp2_fullstack_cancel_after_accept_test deps_chttp2_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_fullstack_cancel_after_accept_and_writes_closed_test deps_chttp2_fullstack_cancel_after_invoke_test clean_chttp2_fullstack_cancel_after_invoke_test deps_chttp2_fullstack_cancel_before_invoke_test clean_chttp2_fullstack_cancel_before_invoke_test deps_chttp2_fullstack_cancel_in_a_vacuum_test clean_chttp2_fullstack_cancel_in_a_vacuum_test deps_chttp2_fullstack_census_simple_request_test clean_chttp2_fullstack_census_simple_request_test deps_chttp2_fullstack_disappearing_server_test clean_chttp2_fullstack_disappearing_server_test deps_chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_fullstack_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_fullstack_early_server_shutdown_finishes_tags_test deps_chttp2_fullstack_invoke_large_request_test clean_chttp2_fullstack_invoke_large_request_test deps_chttp2_fullstack_max_concurrent_streams_test clean_chttp2_fullstack_max_concurrent_streams_test deps_chttp2_fullstack_no_op_test clean_chttp2_fullstack_no_op_test deps_chttp2_fullstack_ping_pong_streaming_test clean_chttp2_fullstack_ping_pong_streaming_test deps_chttp2_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_fullstack_request_response_with_binary_metadata_and_payload_test deps_chttp2_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_fullstack_request_response_with_metadata_and_payload_test deps_chttp2_fullstack_request_response_with_payload_test clean_chttp2_fullstack_request_response_with_payload_test deps_chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_fullstack_request_response_with_trailing_metadata_and_payload_test deps_chttp2_fullstack_simple_delayed_request_test clean_chttp2_fullstack_simple_delayed_request_test deps_chttp2_fullstack_simple_request_test clean_chttp2_fullstack_simple_request_test deps_chttp2_fullstack_thread_stress_test clean_chttp2_fullstack_thread_stress_test deps_chttp2_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_fullstack_writes_done_hangs_with_pending_read_test deps_chttp2_simple_ssl_fullstack_cancel_after_accept_test clean_chttp2_simple_ssl_fullstack_cancel_after_accept_test deps_chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_simple_ssl_fullstack_cancel_after_accept_and_writes_closed_test deps_chttp2_simple_ssl_fullstack_cancel_after_invoke_test clean_chttp2_simple_ssl_fullstack_cancel_after_invoke_test deps_chttp2_simple_ssl_fullstack_cancel_before_invoke_test clean_chttp2_simple_ssl_fullstack_cancel_before_invoke_test deps_chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test clean_chttp2_simple_ssl_fullstack_cancel_in_a_vacuum_test deps_chttp2_simple_ssl_fullstack_census_simple_request_test clean_chttp2_simple_ssl_fullstack_census_simple_request_test deps_chttp2_simple_ssl_fullstack_disappearing_server_test clean_chttp2_simple_ssl_fullstack_disappearing_server_test deps_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_simple_ssl_fullstack_early_server_shutdown_finishes_tags_test deps_chttp2_simple_ssl_fullstack_invoke_large_request_test clean_chttp2_simple_ssl_fullstack_invoke_large_request_test deps_chttp2_simple_ssl_fullstack_max_concurrent_streams_test clean_chttp2_simple_ssl_fullstack_max_concurrent_streams_test deps_chttp2_simple_ssl_fullstack_no_op_test clean_chttp2_simple_ssl_fullstack_no_op_test deps_chttp2_simple_ssl_fullstack_ping_pong_streaming_test clean_chttp2_simple_ssl_fullstack_ping_pong_streaming_test deps_chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_binary_metadata_and_payload_test deps_chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_metadata_and_payload_test deps_chttp2_simple_ssl_fullstack_request_response_with_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_payload_test deps_chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_simple_ssl_fullstack_request_response_with_trailing_metadata_and_payload_test deps_chttp2_simple_ssl_fullstack_simple_delayed_request_test clean_chttp2_simple_ssl_fullstack_simple_delayed_request_test deps_chttp2_simple_ssl_fullstack_simple_request_test clean_chttp2_simple_ssl_fullstack_simple_request_test deps_chttp2_simple_ssl_fullstack_thread_stress_test clean_chttp2_simple_ssl_fullstack_thread_stress_test deps_chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_simple_ssl_fullstack_writes_done_hangs_with_pending_read_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_accept_and_writes_closed_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_after_invoke_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_before_invoke_test deps_chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test clean_chttp2_simple_ssl_with_oauth2_fullstack_cancel_in_a_vacuum_test deps_chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_census_simple_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test clean_chttp2_simple_ssl_with_oauth2_fullstack_disappearing_server_test deps_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test clean_chttp2_simple_ssl_with_oauth2_fullstack_early_server_shutdown_finishes_tags_test deps_chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_invoke_large_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test clean_chttp2_simple_ssl_with_oauth2_fullstack_max_concurrent_streams_test deps_chttp2_simple_ssl_with_oauth2_fullstack_no_op_test clean_chttp2_simple_ssl_with_oauth2_fullstack_no_op_test deps_chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test clean_chttp2_simple_ssl_with_oauth2_fullstack_ping_pong_streaming_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_binary_metadata_and_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_metadata_and_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test clean_chttp2_simple_ssl_with_oauth2_fullstack_request_response_with_trailing_metadata_and_payload_test deps_chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_simple_delayed_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test clean_chttp2_simple_ssl_with_oauth2_fullstack_simple_request_test deps_chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test clean_chttp2_simple_ssl_with_oauth2_fullstack_thread_stress_test deps_chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test clean_chttp2_simple_ssl_with_oauth2_fullstack_writes_done_hangs_with_pending_read_test deps_chttp2_socket_pair_cancel_after_accept_test clean_chttp2_socket_pair_cancel_after_accept_test deps_chttp2_socket_pair_cancel_after_accept_and_writes_closed_test clean_chttp2_socket_pair_cancel_after_accept_and_writes_closed_test deps_chttp2_socket_pair_cancel_after_invoke_test clean_chttp2_socket_pair_cancel_after_invoke_test deps_chttp2_socket_pair_cancel_before_invoke_test clean_chttp2_socket_pair_cancel_before_invoke_test deps_chttp2_socket_pair_cancel_in_a_vacuum_test clean_chttp2_socket_pair_cancel_in_a_vacuum_test deps_chttp2_socket_pair_census_simple_request_test clean_chttp2_socket_pair_census_simple_request_test deps_chttp2_socket_pair_disappearing_server_test clean_chttp2_socket_pair_disappearing_server_test deps_chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_socket_pair_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_socket_pair_early_server_shutdown_finishes_tags_test clean_chttp2_socket_pair_early_server_shutdown_finishes_tags_test deps_chttp2_socket_pair_invoke_large_request_test clean_chttp2_socket_pair_invoke_large_request_test deps_chttp2_socket_pair_max_concurrent_streams_test clean_chttp2_socket_pair_max_concurrent_streams_test deps_chttp2_socket_pair_no_op_test clean_chttp2_socket_pair_no_op_test deps_chttp2_socket_pair_ping_pong_streaming_test clean_chttp2_socket_pair_ping_pong_streaming_test deps_chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test clean_chttp2_socket_pair_request_response_with_binary_metadata_and_payload_test deps_chttp2_socket_pair_request_response_with_metadata_and_payload_test clean_chttp2_socket_pair_request_response_with_metadata_and_payload_test deps_chttp2_socket_pair_request_response_with_payload_test clean_chttp2_socket_pair_request_response_with_payload_test deps_chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test clean_chttp2_socket_pair_request_response_with_trailing_metadata_and_payload_test deps_chttp2_socket_pair_simple_delayed_request_test clean_chttp2_socket_pair_simple_delayed_request_test deps_chttp2_socket_pair_simple_request_test clean_chttp2_socket_pair_simple_request_test deps_chttp2_socket_pair_thread_stress_test clean_chttp2_socket_pair_thread_stress_test deps_chttp2_socket_pair_writes_done_hangs_with_pending_read_test clean_chttp2_socket_pair_writes_done_hangs_with_pending_read_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_accept_and_writes_closed_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_after_invoke_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_before_invoke_test deps_chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test clean_chttp2_socket_pair_one_byte_at_a_time_cancel_in_a_vacuum_test deps_chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test clean_chttp2_socket_pair_one_byte_at_a_time_census_simple_request_test deps_chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test clean_chttp2_socket_pair_one_byte_at_a_time_disappearing_server_test deps_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test clean_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_inflight_calls_test deps_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test clean_chttp2_socket_pair_one_byte_at_a_time_early_server_shutdown_finishes_tags_test deps_chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test clean_chttp2_socket_pair_one_byte_at_a_time_invoke_large_request_test deps_chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test clean_chttp2_socket_pair_one_byte_at_a_time_max_concurrent_streams_test deps_chttp2_socket_pair_one_byte_at_a_time_no_op_test clean_chttp2_socket_pair_one_byte_at_a_time_no_op_test deps_chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test clean_chttp2_socket_pair_one_byte_at_a_time_ping_pong_streaming_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_binary_metadata_and_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_metadata_and_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test clean_chttp2_socket_pair_one_byte_at_a_time_request_response_with_trailing_metadata_and_payload_test deps_chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test clean_chttp2_socket_pair_one_byte_at_a_time_simple_delayed_request_test deps_chttp2_socket_pair_one_byte_at_a_time_simple_request_test clean_chttp2_socket_pair_one_byte_at_a_time_simple_request_test deps_chttp2_socket_pair_one_byte_at_a_time_thread_stress_test clean_chttp2_socket_pair_one_byte_at_a_time_thread_stress_test deps_chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test clean_chttp2_socket_pair_one_byte_at_a_time_writes_done_hangs_with_pending_read_test <nl> mmm a / build . json <nl> ppp b / build . json <nl> <nl> " src / core / security / auth . c " , <nl> " src / core / security / base64 . c " , <nl> " src / core / security / credentials . c " , <nl> + " src / core / security / factories . c " , <nl> " src / core / security / google_root_certs . c " , <nl> " src / core / security / json_token . c " , <nl> " src / core / security / secure_endpoint . c " , <nl> <nl> " gpr " <nl> ] <nl> } , <nl> + { <nl> + " name " : " gpr_test_util " , <nl> + " build " : " private " , <nl> + " vs_project_guid " : " { EAB0A629 - 17A9 - 44DB - B5FF - E91A721FE037 } " , <nl> + " src " : [ <nl> + " test / core / util / test_config . c " <nl> + ] <nl> + } , <nl> { <nl> " name " : " grpc_test_util " , <nl> " build " : " private " , <nl> <nl> " test / core / statistics / census_log_tests . c " , <nl> " test / core / transport / transport_end2end_tests . c " , <nl> " test / core / util / grpc_profiler . c " , <nl> - " test / core / util / parse_hexstring . c " , <nl> " test / core / util / port_posix . c " , <nl> - " test / core / util / slice_splitter . c " , <nl> - " test / core / util / test_config . c " <nl> + " test / core / util / parse_hexstring . c " , <nl> + " test / core / util / slice_splitter . c " <nl> ] <nl> } , <nl> { <nl> <nl> } , <nl> { <nl> " name " : " grpc + + _test_util " , <nl> - " build " : " test " , <nl> + " build " : " private " , <nl> " src " : [ <nl> " test / cpp / util / messages . proto " , <nl> " test / cpp / util / echo . proto " , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / cancellable_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / log_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / useful_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / cmdline_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / histogram_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / host_port_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / slice_buffer_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / slice_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / string_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / sync_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / thd_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / time_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " test / core / support / murmur_hash_test . c " <nl> ] , <nl> " deps " : [ <nl> - " grpc_test_util " , <nl> - " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " grpc_test_util " , <nl> " grpc + + " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " grpc_test_util " , <nl> " grpc + + " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " grpc_test_util " , <nl> " grpc + + " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " grpc_test_util " , <nl> " grpc + + " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " grpc_test_util " , <nl> " grpc + + " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " grpc_test_util " , <nl> " grpc + + " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " grpc_test_util " , <nl> " grpc + + " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " grpc_test_util " , <nl> " grpc + + " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } , <nl> <nl> " deps " : [ <nl> " grpc_test_util " , <nl> " grpc " , <nl> + " gpr_test_util " , <nl> " gpr " <nl> ] <nl> } <nl> mmm a / include / grpc / grpc . h <nl> ppp b / include / grpc / grpc . h <nl> grpc_call_error grpc_server_request_call ( grpc_server * server , void * tag_new ) ; <nl> grpc_server * grpc_server_create ( grpc_completion_queue * cq , <nl> const grpc_channel_args * args ) ; <nl> <nl> - / * Add a http2 over tcp listener ; returns 1 on success , 0 on failure <nl> + / * Add a http2 over tcp listener . <nl> + Returns bound port number on success , 0 on failure . <nl> REQUIRES : server not started * / <nl> int grpc_server_add_http2_port ( grpc_server * server , const char * addr ) ; <nl> <nl> mmm a / include / grpc / grpc_security . h <nl> ppp b / include / grpc / grpc_security . h <nl> grpc_credentials * grpc_fake_transport_security_credentials_create ( void ) ; <nl> grpc_credentials * grpc_iam_credentials_create ( const char * authorization_token , <nl> const char * authority_selector ) ; <nl> <nl> - <nl> / * mmm Secure channel creation . mmm * / <nl> <nl> / * The caller of the secure_channel_create functions may override the target <nl> grpc_server_credentials * grpc_ssl_server_credentials_create ( <nl> grpc_server_credentials * grpc_fake_transport_security_server_credentials_create ( <nl> void ) ; <nl> <nl> - <nl> / * mmm Secure server creation . mmm * / <nl> <nl> / * Creates a secure server using the passed - in server credentials . * / <nl> mmm a / src / core / iomgr / sockaddr_utils . c <nl> ppp b / src / core / iomgr / sockaddr_utils . c <nl> int grpc_sockaddr_to_string ( char * * out , const struct sockaddr * addr , <nl> errno = save_errno ; <nl> return ret ; <nl> } <nl> + <nl> + int grpc_sockaddr_get_port ( const struct sockaddr * addr ) { <nl> + switch ( addr - > sa_family ) { <nl> + case AF_INET : <nl> + return ntohs ( ( ( struct sockaddr_in * ) addr ) - > sin_port ) ; <nl> + case AF_INET6 : <nl> + return ntohs ( ( ( struct sockaddr_in6 * ) addr ) - > sin6_port ) ; <nl> + default : <nl> + gpr_log ( GPR_ERROR , " Unknown socket family % d in % s " , addr - > sa_family , <nl> + __FUNCTION__ ) ; <nl> + return 0 ; <nl> + } <nl> + } <nl> + <nl> + int grpc_sockaddr_set_port ( const struct sockaddr * addr , int port ) { <nl> + switch ( addr - > sa_family ) { <nl> + case AF_INET : <nl> + ( ( struct sockaddr_in * ) addr ) - > sin_port = htons ( port ) ; <nl> + return 1 ; <nl> + case AF_INET6 : <nl> + ( ( struct sockaddr_in6 * ) addr ) - > sin6_port = htons ( port ) ; <nl> + return 1 ; <nl> + default : <nl> + gpr_log ( GPR_ERROR , " Unknown socket family % d in % s " , addr - > sa_family , <nl> + __FUNCTION__ ) ; <nl> + return 0 ; <nl> + } <nl> + } <nl> mmm a / src / core / iomgr / sockaddr_utils . h <nl> ppp b / src / core / iomgr / sockaddr_utils . h <nl> int grpc_sockaddr_is_wildcard ( const struct sockaddr * addr , int * port_out ) ; <nl> void grpc_sockaddr_make_wildcards ( int port , struct sockaddr_in * wild4_out , <nl> struct sockaddr_in6 * wild6_out ) ; <nl> <nl> + / * Return the IP port number of a sockaddr * / <nl> + int grpc_sockaddr_get_port ( const struct sockaddr * addr ) ; <nl> + <nl> + / * Set IP port number of a sockaddr * / <nl> + int grpc_sockaddr_set_port ( const struct sockaddr * addr , int port ) ; <nl> + <nl> / * Converts a sockaddr into a newly - allocated human - readable string . <nl> <nl> Currently , only the AF_INET and AF_INET6 families are recognized . <nl> mmm a / src / core / iomgr / tcp_server . h <nl> ppp b / src / core / iomgr / tcp_server . h <nl> grpc_tcp_server * grpc_tcp_server_create ( ) ; <nl> void grpc_tcp_server_start ( grpc_tcp_server * server , grpc_pollset * pollset , <nl> grpc_tcp_server_cb cb , void * cb_arg ) ; <nl> <nl> - / * Add a port to the server , returning true on success , or false otherwise . <nl> + / * Add a port to the server , returning port number on success , or negative <nl> + on failure . <nl> <nl> The : : and 0 . 0 . 0 . 0 wildcard addresses are treated identically , accepting <nl> both IPv4 and IPv6 connections , but : : is the preferred style . This usually <nl> void grpc_tcp_server_start ( grpc_tcp_server * server , grpc_pollset * pollset , <nl> but not dualstack sockets . <nl> <nl> For raw access to the underlying sockets , see grpc_tcp_server_get_fd ( ) . * / <nl> + / * TODO ( ctiller ) : deprecate this , and make grpc_tcp_server_add_ports to handle <nl> + all of the multiple socket port matching logic in one place * / <nl> int grpc_tcp_server_add_port ( grpc_tcp_server * s , const struct sockaddr * addr , <nl> int addr_len ) ; <nl> <nl> mmm a / src / core / iomgr / tcp_server_posix . c <nl> ppp b / src / core / iomgr / tcp_server_posix . c <nl> static int get_max_accept_queue_size ( ) { <nl> <nl> / * Prepare a recently - created socket for listening . * / <nl> static int prepare_socket ( int fd , const struct sockaddr * addr , int addr_len ) { <nl> + struct sockaddr_storage sockname_temp ; <nl> + socklen_t sockname_len ; <nl> + <nl> if ( fd < 0 ) { <nl> goto error ; <nl> } <nl> static int prepare_socket ( int fd , const struct sockaddr * addr , int addr_len ) { <nl> goto error ; <nl> } <nl> <nl> - return 1 ; <nl> + sockname_len = sizeof ( sockname_temp ) ; <nl> + if ( getsockname ( fd , ( struct sockaddr * ) & sockname_temp , & sockname_len ) < 0 ) { <nl> + goto error ; <nl> + } <nl> + <nl> + return grpc_sockaddr_get_port ( ( struct sockaddr * ) & sockname_temp ) ; <nl> <nl> error : <nl> if ( fd > = 0 ) { <nl> close ( fd ) ; <nl> } <nl> - return 0 ; <nl> + return - 1 ; <nl> } <nl> <nl> / * event manager callback when reads are ready * / <nl> static void on_read ( void * arg , int success ) { <nl> static int add_socket_to_server ( grpc_tcp_server * s , int fd , <nl> const struct sockaddr * addr , int addr_len ) { <nl> server_port * sp ; <nl> + int port ; <nl> <nl> - if ( ! prepare_socket ( fd , addr , addr_len ) ) { <nl> - return 0 ; <nl> - } <nl> - <nl> - gpr_mu_lock ( & s - > mu ) ; <nl> - GPR_ASSERT ( ! s - > cb & & " must add ports before starting server " ) ; <nl> - / * append it to the list under a lock * / <nl> - if ( s - > nports = = s - > port_capacity ) { <nl> - s - > port_capacity * = 2 ; <nl> - s - > ports = gpr_realloc ( s - > ports , sizeof ( server_port * ) * s - > port_capacity ) ; <nl> + port = prepare_socket ( fd , addr , addr_len ) ; <nl> + if ( port > = 0 ) { <nl> + gpr_mu_lock ( & s - > mu ) ; <nl> + GPR_ASSERT ( ! s - > cb & & " must add ports before starting server " ) ; <nl> + / * append it to the list under a lock * / <nl> + if ( s - > nports = = s - > port_capacity ) { <nl> + s - > port_capacity * = 2 ; <nl> + s - > ports = <nl> + gpr_realloc ( s - > ports , sizeof ( server_port * ) * s - > port_capacity ) ; <nl> + } <nl> + sp = & s - > ports [ s - > nports + + ] ; <nl> + sp - > server = s ; <nl> + sp - > fd = fd ; <nl> + sp - > emfd = grpc_fd_create ( fd ) ; <nl> + GPR_ASSERT ( sp - > emfd ) ; <nl> + gpr_mu_unlock ( & s - > mu ) ; <nl> } <nl> - sp = & s - > ports [ s - > nports + + ] ; <nl> - sp - > server = s ; <nl> - sp - > fd = fd ; <nl> - sp - > emfd = grpc_fd_create ( fd ) ; <nl> - GPR_ASSERT ( sp - > emfd ) ; <nl> - gpr_mu_unlock ( & s - > mu ) ; <nl> <nl> - return 1 ; <nl> + return port ; <nl> } <nl> <nl> int grpc_tcp_server_add_port ( grpc_tcp_server * s , const struct sockaddr * addr , <nl> int addr_len ) { <nl> - int ok = 0 ; <nl> + int allocated_port1 = - 1 ; <nl> + int allocated_port2 = - 1 ; <nl> + int i ; <nl> int fd ; <nl> grpc_dualstack_mode dsmode ; <nl> struct sockaddr_in6 addr6_v4mapped ; <nl> struct sockaddr_in wild4 ; <nl> struct sockaddr_in6 wild6 ; <nl> struct sockaddr_in addr4_copy ; <nl> + struct sockaddr * allocated_addr = NULL ; <nl> + struct sockaddr_storage sockname_temp ; <nl> + socklen_t sockname_len ; <nl> int port ; <nl> <nl> + / * Check if this is a wildcard port , and if so , try to keep the port the same <nl> + as some previously created listener . * / <nl> + if ( grpc_sockaddr_get_port ( addr ) = = 0 ) { <nl> + for ( i = 0 ; i < s - > nports ; i + + ) { <nl> + sockname_len = sizeof ( sockname_temp ) ; <nl> + if ( 0 = = getsockname ( s - > ports [ i ] . fd , ( struct sockaddr * ) & sockname_temp , <nl> + & sockname_len ) ) { <nl> + port = grpc_sockaddr_get_port ( ( struct sockaddr * ) & sockname_temp ) ; <nl> + if ( port > 0 ) { <nl> + allocated_addr = malloc ( addr_len ) ; <nl> + memcpy ( allocated_addr , addr , addr_len ) ; <nl> + grpc_sockaddr_set_port ( allocated_addr , port ) ; <nl> + addr = allocated_addr ; <nl> + break ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + <nl> if ( grpc_sockaddr_to_v4mapped ( addr , & addr6_v4mapped ) ) { <nl> addr = ( const struct sockaddr * ) & addr6_v4mapped ; <nl> addr_len = sizeof ( addr6_v4mapped ) ; <nl> int grpc_tcp_server_add_port ( grpc_tcp_server * s , const struct sockaddr * addr , <nl> addr = ( struct sockaddr * ) & wild6 ; <nl> addr_len = sizeof ( wild6 ) ; <nl> fd = grpc_create_dualstack_socket ( addr , SOCK_STREAM , 0 , & dsmode ) ; <nl> - ok | = add_socket_to_server ( s , fd , addr , addr_len ) ; <nl> + allocated_port1 = add_socket_to_server ( s , fd , addr , addr_len ) ; <nl> if ( fd > = 0 & & dsmode = = GRPC_DSMODE_DUALSTACK ) { <nl> - return ok ; <nl> + goto done ; <nl> } <nl> <nl> / * If we didn ' t get a dualstack socket , also listen on 0 . 0 . 0 . 0 . * / <nl> + if ( port = = 0 & & allocated_port1 > 0 ) { <nl> + grpc_sockaddr_set_port ( ( struct sockaddr * ) & wild4 , allocated_port1 ) ; <nl> + } <nl> addr = ( struct sockaddr * ) & wild4 ; <nl> addr_len = sizeof ( wild4 ) ; <nl> } <nl> int grpc_tcp_server_add_port ( grpc_tcp_server * s , const struct sockaddr * addr , <nl> addr = ( struct sockaddr * ) & addr4_copy ; <nl> addr_len = sizeof ( addr4_copy ) ; <nl> } <nl> - ok | = add_socket_to_server ( s , fd , addr , addr_len ) ; <nl> - return ok ; <nl> + allocated_port2 = add_socket_to_server ( s , fd , addr , addr_len ) ; <nl> + <nl> + done : <nl> + gpr_free ( allocated_addr ) ; <nl> + return allocated_port1 > = 0 ? allocated_port1 : allocated_port2 ; <nl> } <nl> <nl> int grpc_tcp_server_get_fd ( grpc_tcp_server * s , int index ) { <nl> mmm a / src / core / security / credentials . c <nl> ppp b / src / core / security / credentials . c <nl> const grpc_credentials_array * grpc_composite_credentials_get_credentials ( <nl> return & c - > inner ; <nl> } <nl> <nl> + grpc_credentials * grpc_credentials_contains_type ( <nl> + grpc_credentials * creds , const char * type , <nl> + grpc_credentials * * composite_creds ) { <nl> + size_t i ; <nl> + if ( ! strcmp ( creds - > type , type ) ) { <nl> + if ( composite_creds ! = NULL ) * composite_creds = NULL ; <nl> + return creds ; <nl> + } else if ( ! strcmp ( creds - > type , GRPC_CREDENTIALS_TYPE_COMPOSITE ) ) { <nl> + const grpc_credentials_array * inner_creds_array = <nl> + grpc_composite_credentials_get_credentials ( creds ) ; <nl> + for ( i = 0 ; i < inner_creds_array - > num_creds ; i + + ) { <nl> + if ( ! strcmp ( type , inner_creds_array - > creds_array [ i ] - > type ) ) { <nl> + if ( composite_creds ! = NULL ) * composite_creds = creds ; <nl> + return inner_creds_array - > creds_array [ i ] ; <nl> + } <nl> + } <nl> + } <nl> + return NULL ; <nl> + } <nl> + <nl> / * - - IAM credentials . - - * / <nl> <nl> typedef struct { <nl> grpc_credentials * grpc_iam_credentials_create ( const char * token , <nl> / * - - Default credentials TODO ( jboeuf ) . - - * / <nl> <nl> grpc_credentials * grpc_default_credentials_create ( void ) { return NULL ; } <nl> - <nl> mmm a / src / core / security / credentials . h <nl> ppp b / src / core / security / credentials . h <nl> typedef struct { <nl> const grpc_credentials_array * grpc_composite_credentials_get_credentials ( <nl> grpc_credentials * composite_creds ) ; <nl> <nl> + / * Returns creds if creds is of the specified type or the inner creds of the <nl> + specified type ( if found ) , if the creds is of type COMPOSITE . <nl> + If composite_creds is not NULL , * composite_creds will point to creds if of <nl> + type COMPOSITE in case of success . * / <nl> + grpc_credentials * grpc_credentials_contains_type ( <nl> + grpc_credentials * creds , const char * type , <nl> + grpc_credentials * * composite_creds ) ; <nl> + <nl> / * Exposed for testing only . * / <nl> grpc_credentials_status <nl> grpc_oauth2_token_fetcher_credentials_parse_server_response ( <nl> grpc_oauth2_token_fetcher_credentials_parse_server_response ( <nl> grpc_credentials * grpc_fake_oauth2_credentials_create ( <nl> const char * token_md_value , int is_async ) ; <nl> <nl> - <nl> / * mmm grpc_server_credentials . mmm * / <nl> <nl> typedef struct { <nl> struct grpc_server_credentials { <nl> const grpc_ssl_config * grpc_ssl_server_credentials_get_config ( <nl> const grpc_server_credentials * ssl_creds ) ; <nl> <nl> - <nl> # endif / * __GRPC_INTERNAL_SECURITY_CREDENTIALS_H__ * / <nl> new file mode 100644 <nl> index 00000000000 . . d89c692989c <nl> mmm / dev / null <nl> ppp b / src / core / security / factories . c <nl> <nl> + / * <nl> + * <nl> + * Copyright 2014 , Google Inc . <nl> + * All rights reserved . <nl> + * <nl> + * Redistribution and use in source and binary forms , with or without <nl> + * modification , are permitted provided that the following conditions are <nl> + * met : <nl> + * <nl> + * * Redistributions of source code must retain the above copyright <nl> + * notice , this list of conditions and the following disclaimer . <nl> + * * Redistributions in binary form must reproduce the above <nl> + * copyright notice , this list of conditions and the following disclaimer <nl> + * in the documentation and / or other materials provided with the <nl> + * distribution . <nl> + * * Neither the name of Google Inc . nor the names of its <nl> + * contributors may be used to endorse or promote products derived from <nl> + * this software without specific prior written permission . <nl> + * <nl> + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS <nl> + * " AS IS " AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT <nl> + * LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR <nl> + * A PARTICULAR PURPOSE ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT <nl> + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , <nl> + * SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT <nl> + * LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , <nl> + * DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY <nl> + * THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT <nl> + * ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE <nl> + * OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> + * <nl> + * / <nl> + <nl> + # include < string . h > <nl> + <nl> + # include " src / core / security / credentials . h " <nl> + # include " src / core / security / security_context . h " <nl> + # include " src / core / surface / lame_client . h " <nl> + # include < grpc / support / alloc . h > <nl> + # include < grpc / support / log . h > <nl> + # include < grpc / support / useful . h > <nl> + <nl> + grpc_channel * grpc_secure_channel_create ( grpc_credentials * creds , <nl> + const char * target , <nl> + const grpc_channel_args * args ) { <nl> + grpc_secure_channel_factory factories [ ] = { <nl> + { GRPC_CREDENTIALS_TYPE_SSL , grpc_ssl_channel_create } , <nl> + { GRPC_CREDENTIALS_TYPE_FAKE_TRANSPORT_SECURITY , <nl> + grpc_fake_transport_security_channel_create } } ; <nl> + return grpc_secure_channel_create_with_factories ( <nl> + factories , GPR_ARRAY_SIZE ( factories ) , creds , target , args ) ; <nl> + } <nl> + <nl> + grpc_server * grpc_secure_server_create ( grpc_server_credentials * creds , <nl> + grpc_completion_queue * cq , <nl> + const grpc_channel_args * args ) { <nl> + grpc_security_status status = GRPC_SECURITY_ERROR ; <nl> + grpc_security_context * ctx = NULL ; <nl> + grpc_server * server = NULL ; <nl> + if ( creds = = NULL ) return NULL ; / * TODO ( ctiller ) : Return lame server . * / <nl> + <nl> + if ( ! strcmp ( creds - > type , GRPC_CREDENTIALS_TYPE_SSL ) ) { <nl> + status = grpc_ssl_server_security_context_create ( <nl> + grpc_ssl_server_credentials_get_config ( creds ) , & ctx ) ; <nl> + } else if ( ! strcmp ( creds - > type , <nl> + GRPC_CREDENTIALS_TYPE_FAKE_TRANSPORT_SECURITY ) ) { <nl> + ctx = grpc_fake_server_security_context_create ( ) ; <nl> + status = GRPC_SECURITY_OK ; <nl> + } <nl> + <nl> + if ( status ! = GRPC_SECURITY_OK ) { <nl> + gpr_log ( GPR_ERROR , <nl> + " Unable to create secure server with credentials of type % s . " , <nl> + creds - > type ) ; <nl> + return NULL ; / * TODO ( ctiller ) : Return lame server . * / <nl> + } <nl> + server = grpc_secure_server_create_internal ( cq , args , ctx ) ; <nl> + grpc_security_context_unref ( ctx ) ; <nl> + return server ; <nl> + } <nl> mmm a / src / core / security / security_context . c <nl> ppp b / src / core / security / security_context . c <nl> grpc_security_status grpc_ssl_server_security_context_create ( <nl> return GRPC_SECURITY_ERROR ; <nl> } <nl> <nl> - <nl> - <nl> / * - - High level objects . - - * / <nl> <nl> - static grpc_channel * grpc_ssl_channel_create ( grpc_credentials * creds , <nl> - const grpc_ssl_config * config , <nl> - const char * target , <nl> - const grpc_channel_args * args ) { <nl> + grpc_channel * grpc_ssl_channel_create ( grpc_credentials * ssl_creds , <nl> + grpc_credentials * request_metadata_creds , <nl> + const char * target , <nl> + const grpc_channel_args * args ) { <nl> grpc_channel_security_context * ctx = NULL ; <nl> grpc_channel * channel = NULL ; <nl> grpc_security_status status = GRPC_SECURITY_OK ; <nl> size_t i = 0 ; <nl> const char * secure_peer_name = target ; <nl> + <nl> for ( i = 0 ; args & & i < args - > num_args ; i + + ) { <nl> grpc_arg * arg = & args - > args [ i ] ; <nl> if ( ! strcmp ( arg - > key , GRPC_SSL_TARGET_NAME_OVERRIDE_ARG ) & & <nl> static grpc_channel * grpc_ssl_channel_create ( grpc_credentials * creds , <nl> break ; <nl> } <nl> } <nl> - status = grpc_ssl_channel_security_context_create ( creds , config , <nl> - secure_peer_name , & ctx ) ; <nl> + status = grpc_ssl_channel_security_context_create ( <nl> + request_metadata_creds , grpc_ssl_credentials_get_config ( ssl_creds ) , <nl> + secure_peer_name , & ctx ) ; <nl> if ( status ! = GRPC_SECURITY_OK ) { <nl> return grpc_lame_client_channel_create ( ) ; <nl> } <nl> static grpc_channel * grpc_ssl_channel_create ( grpc_credentials * creds , <nl> return channel ; <nl> } <nl> <nl> - <nl> - static grpc_credentials * get_creds_from_composite ( <nl> - grpc_credentials * composite_creds , const char * type ) { <nl> - size_t i ; <nl> - const grpc_credentials_array * inner_creds_array = <nl> - grpc_composite_credentials_get_credentials ( composite_creds ) ; <nl> - for ( i = 0 ; i < inner_creds_array - > num_creds ; i + + ) { <nl> - if ( ! strcmp ( type , inner_creds_array - > creds_array [ i ] - > type ) ) { <nl> - return inner_creds_array - > creds_array [ i ] ; <nl> - } <nl> - } <nl> - return NULL ; <nl> + grpc_channel * grpc_fake_transport_security_channel_create ( <nl> + grpc_credentials * fake_creds , grpc_credentials * request_metadata_creds , <nl> + const char * target , const grpc_channel_args * args ) { <nl> + grpc_channel_security_context * ctx = <nl> + grpc_fake_channel_security_context_create ( request_metadata_creds ) ; <nl> + grpc_channel * channel = <nl> + grpc_secure_channel_create_internal ( target , args , ctx ) ; <nl> + grpc_security_context_unref ( & ctx - > base ) ; <nl> + return channel ; <nl> } <nl> <nl> - static grpc_channel * grpc_channel_create_from_composite_creds ( <nl> - grpc_credentials * composite_creds , const char * target , <nl> + grpc_channel * grpc_secure_channel_create_with_factories ( <nl> + const grpc_secure_channel_factory * factories , size_t num_factories , <nl> + grpc_credentials * creds , const char * target , <nl> const grpc_channel_args * args ) { <nl> - grpc_credentials * creds = <nl> - get_creds_from_composite ( composite_creds , GRPC_CREDENTIALS_TYPE_SSL ) ; <nl> - if ( creds ! = NULL ) { <nl> - return grpc_ssl_channel_create ( <nl> - composite_creds , grpc_ssl_credentials_get_config ( creds ) , target , args ) ; <nl> - } <nl> - gpr_log ( GPR_ERROR , " Credentials is insufficient to create a secure channel . " ) ; <nl> - return grpc_lame_client_channel_create ( ) ; <nl> - } <nl> - <nl> - grpc_channel * grpc_secure_channel_create ( grpc_credentials * creds , <nl> - const char * target , <nl> - const grpc_channel_args * args ) { <nl> + size_t i ; <nl> if ( creds = = NULL ) { <nl> gpr_log ( GPR_ERROR , " No credentials to create a secure channel . " ) ; <nl> return grpc_lame_client_channel_create ( ) ; <nl> grpc_channel * grpc_secure_channel_create ( grpc_credentials * creds , <nl> " Credentials is insufficient to create a secure channel . " ) ; <nl> return grpc_lame_client_channel_create ( ) ; <nl> } <nl> - if ( ! strcmp ( creds - > type , GRPC_CREDENTIALS_TYPE_SSL ) ) { <nl> - return grpc_ssl_channel_create ( NULL , grpc_ssl_credentials_get_config ( creds ) , <nl> - target , args ) ; <nl> - } else if ( ! strcmp ( creds - > type , <nl> - GRPC_CREDENTIALS_TYPE_FAKE_TRANSPORT_SECURITY ) ) { <nl> - grpc_channel_security_context * ctx = <nl> - grpc_fake_channel_security_context_create ( NULL ) ; <nl> - grpc_channel * channel = <nl> - grpc_secure_channel_create_internal ( target , args , ctx ) ; <nl> - grpc_security_context_unref ( & ctx - > base ) ; <nl> - return channel ; <nl> - } else if ( ! strcmp ( creds - > type , GRPC_CREDENTIALS_TYPE_COMPOSITE ) ) { <nl> - return grpc_channel_create_from_composite_creds ( creds , target , args ) ; <nl> - } else { <nl> - gpr_log ( GPR_ERROR , <nl> - " Unknown credentials type % s for creating a secure channel . " , <nl> - creds - > type ) ; <nl> - return grpc_lame_client_channel_create ( ) ; <nl> + <nl> + for ( i = 0 ; i < num_factories ; i + + ) { <nl> + grpc_credentials * composite_creds = NULL ; <nl> + grpc_credentials * transport_security_creds = NULL ; <nl> + transport_security_creds = grpc_credentials_contains_type ( <nl> + creds , factories [ i ] . creds_type , & composite_creds ) ; <nl> + if ( transport_security_creds ! = NULL ) { <nl> + return factories [ i ] . factory ( transport_security_creds , composite_creds , <nl> + target , args ) ; <nl> + } <nl> } <nl> + <nl> + gpr_log ( GPR_ERROR , <nl> + " Unknown credentials type % s for creating a secure channel . " , <nl> + creds - > type ) ; <nl> + return grpc_lame_client_channel_create ( ) ; <nl> } <nl> <nl> grpc_channel * grpc_default_secure_channel_create ( <nl> grpc_channel * grpc_default_secure_channel_create ( <nl> return grpc_secure_channel_create ( grpc_default_credentials_create ( ) , target , <nl> args ) ; <nl> } <nl> - <nl> - grpc_server * grpc_secure_server_create ( grpc_server_credentials * creds , <nl> - grpc_completion_queue * cq , <nl> - const grpc_channel_args * args ) { <nl> - grpc_security_status status = GRPC_SECURITY_ERROR ; <nl> - grpc_security_context * ctx = NULL ; <nl> - grpc_server * server = NULL ; <nl> - if ( creds = = NULL ) return NULL ; / * TODO ( ctiller ) : Return lame server . * / <nl> - if ( ! strcmp ( creds - > type , GRPC_CREDENTIALS_TYPE_SSL ) ) { <nl> - status = grpc_ssl_server_security_context_create ( <nl> - grpc_ssl_server_credentials_get_config ( creds ) , & ctx ) ; <nl> - } else if ( ! strcmp ( creds - > type , <nl> - GRPC_CREDENTIALS_TYPE_FAKE_TRANSPORT_SECURITY ) ) { <nl> - ctx = grpc_fake_server_security_context_create ( ) ; <nl> - status = GRPC_SECURITY_OK ; <nl> - } else { <nl> - gpr_log ( GPR_ERROR , <nl> - " Unable to create secure server with credentials of type % s . " , <nl> - creds - > type ) ; <nl> - } <nl> - if ( status ! = GRPC_SECURITY_OK ) { <nl> - return NULL ; / * TODO ( ctiller ) : Return lame server . * / <nl> - } <nl> - server = grpc_secure_server_create_internal ( cq , args , ctx ) ; <nl> - grpc_security_context_unref ( ctx ) ; <nl> - return server ; <nl> - } <nl> mmm a / src / core / security / security_context . h <nl> ppp b / src / core / security / security_context . h <nl> grpc_security_status grpc_ssl_channel_security_context_create ( <nl> grpc_security_status grpc_ssl_server_security_context_create ( <nl> const grpc_ssl_config * config , grpc_security_context * * ctx ) ; <nl> <nl> - <nl> / * mmm Creation of high level objects . mmm * / <nl> <nl> / * Secure client channel creation . * / <nl> + <nl> + grpc_channel * grpc_ssl_channel_create ( grpc_credentials * ssl_creds , <nl> + grpc_credentials * request_metadata_creds , <nl> + const char * target , <nl> + const grpc_channel_args * args ) ; <nl> + <nl> + grpc_channel * grpc_fake_transport_security_channel_create ( <nl> + grpc_credentials * fake_creds , grpc_credentials * request_metadata_creds , <nl> + const char * target , const grpc_channel_args * args ) ; <nl> + <nl> grpc_channel * grpc_secure_channel_create_internal ( <nl> const char * target , const grpc_channel_args * args , <nl> grpc_channel_security_context * ctx ) ; <nl> <nl> + typedef grpc_channel * ( * grpc_secure_channel_factory_func ) ( <nl> + grpc_credentials * transport_security_creds , <nl> + grpc_credentials * request_metadata_creds , const char * target , <nl> + const grpc_channel_args * args ) ; <nl> + <nl> + typedef struct { <nl> + const char * creds_type ; <nl> + grpc_secure_channel_factory_func factory ; <nl> + } grpc_secure_channel_factory ; <nl> + <nl> + grpc_channel * grpc_secure_channel_create_with_factories ( <nl> + const grpc_secure_channel_factory * factories , size_t num_factories , <nl> + grpc_credentials * creds , const char * target , const grpc_channel_args * args ) ; <nl> + <nl> / * Secure server creation . * / <nl> - grpc_server * grpc_secure_server_create_internal ( <nl> - grpc_completion_queue * cq , const grpc_channel_args * args , <nl> - grpc_security_context * ctx ) ; <nl> <nl> - # endif / * __GRPC_INTERNAL_SECURITY_SECURITY_CONTEXT_H__ * / <nl> + grpc_server * grpc_secure_server_create_internal ( grpc_completion_queue * cq , <nl> + const grpc_channel_args * args , <nl> + grpc_security_context * ctx ) ; <nl> + <nl> + # endif / * __GRPC_INTERNAL_SECURITY_SECURITY_CONTEXT_H__ * / <nl> mmm a / src / core / support / cpu_linux . c <nl> ppp b / src / core / support / cpu_linux . c <nl> <nl> <nl> # include " src / core / support / cpu . h " <nl> <nl> + # ifndef _GNU_SOURCE <nl> # define _GNU_SOURCE <nl> + # define GRPC_GNU_SOURCE <nl> + # endif <nl> + <nl> + # ifndef __USE_GNU <nl> # define __USE_GNU <nl> + # define GRPC_USE_GNU <nl> + # endif <nl> + <nl> + # ifndef __USE_MISC <nl> # define __USE_MISC <nl> + # define GRPC_USE_MISC <nl> + # endif <nl> + <nl> # include < sched . h > <nl> + <nl> + # ifdef GRPC_GNU_SOURCE <nl> # undef _GNU_SOURCE <nl> + # undef GRPC_GNU_SOURCE <nl> + # endif <nl> + <nl> + # ifdef GRPC_USE_GNU <nl> # undef __USE_GNU <nl> + # undef GRPC_USE_GNU <nl> + # endif <nl> + <nl> + # ifdef GRPC_USE_MISC <nl> # undef __USE_MISC <nl> + # undef GRPC_USE_MISC <nl> + # endif <nl> <nl> # include < errno . h > <nl> # include < unistd . h > <nl> mmm a / src / core / surface / server_chttp2 . c <nl> ppp b / src / core / surface / server_chttp2 . c <nl> int grpc_server_add_http2_port ( grpc_server * server , const char * addr ) { <nl> grpc_tcp_server * tcp = NULL ; <nl> size_t i ; <nl> int count = 0 ; <nl> + int port_num = - 1 ; <nl> + int port_temp ; <nl> <nl> resolved = grpc_blocking_resolve_address ( addr , " http " ) ; <nl> if ( ! resolved ) { <nl> int grpc_server_add_http2_port ( grpc_server * server , const char * addr ) { <nl> } <nl> <nl> for ( i = 0 ; i < resolved - > naddrs ; i + + ) { <nl> - if ( grpc_tcp_server_add_port ( tcp , <nl> - ( struct sockaddr * ) & resolved - > addrs [ i ] . addr , <nl> - resolved - > addrs [ i ] . len ) ) { <nl> + port_temp = grpc_tcp_server_add_port ( <nl> + tcp , ( struct sockaddr * ) & resolved - > addrs [ i ] . addr , <nl> + resolved - > addrs [ i ] . len ) ; <nl> + if ( port_temp > = 0 ) { <nl> + if ( port_num = = - 1 ) { <nl> + port_num = port_temp ; <nl> + } else { <nl> + GPR_ASSERT ( port_num = = port_temp ) ; <nl> + } <nl> count + + ; <nl> } <nl> } <nl> int grpc_server_add_http2_port ( grpc_server * server , const char * addr ) { <nl> / * Register with the server only upon success * / <nl> grpc_server_add_listener ( server , tcp , start , destroy ) ; <nl> <nl> - return 1 ; <nl> + return port_num ; <nl> <nl> / * Error path : cleanup and return * / <nl> error : <nl> deleted file mode 100644 <nl> index 0ae88e0c9a3 . . 00000000000 <nl> mmm a / src / core / tsi / fake_transport_security_test . cc <nl> ppp / dev / null <nl> <nl> - / * <nl> - * <nl> - * Copyright 2014 , Google Inc . <nl> - * All rights reserved . <nl> - * <nl> - * Redistribution and use in source and binary forms , with or without <nl> - * modification , are permitted provided that the following conditions are <nl> - * met : <nl> - * <nl> - * * Redistributions of source code must retain the above copyright <nl> - * notice , this list of conditions and the following disclaimer . <nl> - * * Redistributions in binary form must reproduce the above <nl> - * copyright notice , this list of conditions and the following disclaimer <nl> - * in the documentation and / or other materials provided with the <nl> - * distribution . <nl> - * * Neither the name of Google Inc . nor the names of its <nl> - * contributors may be used to endorse or promote products derived from <nl> - * this software without specific prior written permission . <nl> - * <nl> - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS <nl> - * " AS IS " AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT <nl> - * LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR <nl> - * A PARTICULAR PURPOSE ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT <nl> - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , <nl> - * SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT <nl> - * LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , <nl> - * DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY <nl> - * THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT <nl> - * ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE <nl> - * OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> - * <nl> - * / <nl> - <nl> - # include " src / core / tsi / fake_transport_security . h " <nl> - <nl> - # include " src / core / tsi / transport_security_test_lib . h " <nl> - # include < gtest / gtest . h > <nl> - # include " util / random / permute - inl . h " <nl> - <nl> - namespace { <nl> - <nl> - void CheckStringPeerProperty ( const tsi_peer & peer , int property_index , <nl> - const char * expected_name , <nl> - const char * expected_value ) { <nl> - EXPECT_LT ( property_index , peer . property_count ) ; <nl> - const tsi_peer_property * property = & peer . properties [ property_index ] ; <nl> - EXPECT_EQ ( TSI_PEER_PROPERTY_TYPE_STRING , property - > type ) ; <nl> - EXPECT_EQ ( string ( expected_name ) , string ( property - > name ) ) ; <nl> - EXPECT_EQ ( string ( expected_value ) , <nl> - string ( property - > value . string . data , property - > value . string . length ) ) ; <nl> - } <nl> - <nl> - class FakeTransportSecurityTest : public tsi : : test : : TransportSecurityTest { <nl> - protected : <nl> - void SetupHandshakers ( ) override { <nl> - client_handshaker_ . reset ( tsi_create_fake_handshaker ( 1 ) ) ; <nl> - server_handshaker_ . reset ( tsi_create_fake_handshaker ( 0 ) ) ; <nl> - } <nl> - <nl> - void CheckPeer ( tsi_handshaker * handshaker ) { <nl> - tsi_peer peer ; <nl> - EXPECT_EQ ( TSI_OK , tsi_handshaker_extract_peer ( handshaker , & peer ) ) ; <nl> - EXPECT_EQ ( 1 , peer . property_count ) ; <nl> - CheckStringPeerProperty ( peer , 0 , TSI_CERTIFICATE_TYPE_PEER_PROPERTY , <nl> - TSI_FAKE_CERTIFICATE_TYPE ) ; <nl> - tsi_peer_destruct ( & peer ) ; <nl> - } <nl> - <nl> - void CheckHandshakeResults ( ) override { <nl> - CheckPeer ( client_handshaker_ . get ( ) ) ; <nl> - CheckPeer ( server_handshaker_ . get ( ) ) ; <nl> - } <nl> - <nl> - const tsi : : test : : TestConfig * config ( ) { <nl> - return & config_ ; <nl> - } <nl> - <nl> - tsi : : test : : TestConfig config_ ; <nl> - } ; <nl> - <nl> - TEST_F ( FakeTransportSecurityTest , Handshake ) { <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( FakeTransportSecurityTest , HandshakeSmallBuffer ) { <nl> - config_ . handshake_buffer_size = 3 ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - TEST_F ( FakeTransportSecurityTest , PingPong ) { <nl> - PingPong ( ) ; <nl> - } <nl> - <nl> - TEST_F ( FakeTransportSecurityTest , RoundTrip ) { <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( FakeTransportSecurityTest , RoundTripSmallMessageBuffer ) { <nl> - config_ . message_buffer_allocated_size = 42 ; <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( FakeTransportSecurityTest , RoundTripSmallProtectedBufferSize ) { <nl> - config_ . protected_buffer_size = 37 ; <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( FakeTransportSecurityTest , RoundTripSmallReadBufferSize ) { <nl> - config_ . read_buffer_allocated_size = 41 ; <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( FakeTransportSecurityTest , RoundTripSmallClientFrames ) { <nl> - config_ . set_client_max_output_protected_frame_size ( 39 ) ; <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( FakeTransportSecurityTest , RoundTripSmallServerFrames ) { <nl> - config_ . set_server_max_output_protected_frame_size ( 43 ) ; <nl> - config_ . client_message = small_message_ ; <nl> - config_ . server_message = big_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( FakeTransportSecurityTest , RoundTripOddBufferSizes ) { <nl> - int odd_sizes [ ] = { 33 , 67 , 135 , 271 , 523 } ; <nl> - RandomPermutation < int > permute ( odd_sizes , arraysize ( odd_sizes ) , <nl> - random_ . get ( ) ) ; <nl> - permute . Permute ( ) ; <nl> - LOG ( ERROR ) < < odd_sizes [ 0 ] < < " \ t " < < odd_sizes [ 1 ] < < " \ t " < < odd_sizes [ 2 ] <nl> - < < " \ t " < < odd_sizes [ 3 ] < < " \ t " < < odd_sizes [ 4 ] ; <nl> - config_ . message_buffer_allocated_size = odd_sizes [ 0 ] ; <nl> - config_ . protected_buffer_size = odd_sizes [ 1 ] ; <nl> - config_ . read_buffer_allocated_size = odd_sizes [ 2 ] ; <nl> - config_ . set_client_max_output_protected_frame_size ( odd_sizes [ 3 ] ) ; <nl> - config_ . set_server_max_output_protected_frame_size ( odd_sizes [ 4 ] ) ; <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - } / / namespace <nl> mmm a / src / core / tsi / ssl_transport_security . h <nl> ppp b / src / core / tsi / ssl_transport_security . h <nl> extern " C " { <nl> / * Value for the TSI_CERTIFICATE_TYPE_PEER_PROPERTY property for X509 certs . * / <nl> # define TSI_X509_CERTIFICATE_TYPE " X509 " <nl> <nl> + / * This property is of type TSI_PEER_PROPERTY_STRING . * / <nl> + # define TSI_X509_SUBJECT_COMMON_NAME_PEER_PROPERTY " x509_subject_common_name " <nl> + <nl> + / * This property is of type TSI_PEER_PROPERTY_LIST and the children contain <nl> + unnamed ( name = = NULL ) properties of type TSI_PEER_PROPERTY_STRING . * / <nl> + # define TSI_X509_SUBJECT_ALTERNATIVE_NAMES_PEER_PROPERTY \ <nl> + " x509_subject_alternative_names " <nl> + <nl> + / * This property is of type TSI_PEER_PROPERTY_STRING . * / <nl> + # define TSI_SSL_ALPN_SELECTED_PROTOCOL " ssl_alpn_selected_protocol " <nl> + <nl> / * mmm tsi_ssl_handshaker_factory object mmm <nl> <nl> This object creates tsi_handshaker objects implemented in terms of the <nl> deleted file mode 100644 <nl> index a759403126a . . 00000000000 <nl> mmm a / src / core / tsi / ssl_transport_security_test . cc <nl> ppp / dev / null <nl> <nl> - / * <nl> - * <nl> - * Copyright 2014 , Google Inc . <nl> - * All rights reserved . <nl> - * <nl> - * Redistribution and use in source and binary forms , with or without <nl> - * modification , are permitted provided that the following conditions are <nl> - * met : <nl> - * <nl> - * * Redistributions of source code must retain the above copyright <nl> - * notice , this list of conditions and the following disclaimer . <nl> - * * Redistributions in binary form must reproduce the above <nl> - * copyright notice , this list of conditions and the following disclaimer <nl> - * in the documentation and / or other materials provided with the <nl> - * distribution . <nl> - * * Neither the name of Google Inc . nor the names of its <nl> - * contributors may be used to endorse or promote products derived from <nl> - * this software without specific prior written permission . <nl> - * <nl> - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS <nl> - * " AS IS " AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT <nl> - * LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR <nl> - * A PARTICULAR PURPOSE ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT <nl> - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , <nl> - * SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT <nl> - * LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , <nl> - * DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY <nl> - * THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT <nl> - * ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE <nl> - * OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> - * <nl> - * / <nl> - <nl> - # include < memory > <nl> - <nl> - # include " base / commandlineflags . h " <nl> - # include " file / base / helpers . h " <nl> - # include " file / base / options . pb . h " <nl> - # include " file / base / path . h " <nl> - # include " src / core / tsi / transport_security_test_lib . h " <nl> - # include " src / core / tsi / ssl_transport_security . h " <nl> - # include " util / random / permute - inl . h " <nl> - <nl> - namespace { <nl> - <nl> - const char kTestCredsDir [ ] = <nl> - " / internal / tsi / test_creds / " ; <nl> - <nl> - enum AlpnMode { <nl> - NO_ALPN , <nl> - ALPN_CLIENT_NO_SERVER , <nl> - ALPN_SERVER_NO_CLIENT , <nl> - ALPN_CLIENT_SERVER_OK , <nl> - ALPN_CLIENT_SERVER_MISMATCH <nl> - } ; <nl> - <nl> - class SslTestConfig : public tsi : : test : : TestConfig { <nl> - public : <nl> - SslTestConfig ( ) <nl> - : do_client_authentication ( false ) , <nl> - subject_name_indication ( nullptr ) , <nl> - use_bad_client_cert ( false ) , <nl> - use_bad_server_cert ( false ) , <nl> - alpn_mode ( NO_ALPN ) { } <nl> - bool do_client_authentication ; <nl> - const char * subject_name_indication ; <nl> - bool use_bad_client_cert ; <nl> - bool use_bad_server_cert ; <nl> - AlpnMode alpn_mode ; <nl> - } ; <nl> - <nl> - struct TsiSslHandshakerFactoryDeleter { <nl> - inline void operator ( ) ( tsi_ssl_handshaker_factory * ptr ) { <nl> - tsi_ssl_handshaker_factory_destroy ( ptr ) ; <nl> - } <nl> - } ; <nl> - typedef std : : unique_ptr < tsi_ssl_handshaker_factory , <nl> - TsiSslHandshakerFactoryDeleter > <nl> - TsiSslHandshakerFactoryUniquePtr ; <nl> - <nl> - class SslTransportSecurityTest : public tsi : : test : : TransportSecurityTest { <nl> - protected : <nl> - void CheckSubjectAltName ( const tsi_peer_property & property , <nl> - const string & expected_subject_alt_name ) { <nl> - EXPECT_EQ ( property . type , TSI_PEER_PROPERTY_TYPE_STRING ) ; <nl> - EXPECT_EQ ( property . name , nullptr ) ; <nl> - EXPECT_EQ ( <nl> - string ( property . value . string . data , property . value . string . length ) , <nl> - expected_subject_alt_name ) ; <nl> - } <nl> - <nl> - const tsi_peer_property * CheckBasicAuthenticatedPeerAndGetCommonName ( <nl> - const tsi_peer * peer ) { <nl> - const tsi_peer_property * property = <nl> - tsi_peer_get_property_by_name ( peer , TSI_CERTIFICATE_TYPE_PEER_PROPERTY ) ; <nl> - EXPECT_NE ( property , nullptr ) ; <nl> - EXPECT_EQ ( property - > type , TSI_PEER_PROPERTY_TYPE_STRING ) ; <nl> - EXPECT_EQ ( <nl> - string ( property - > value . string . data , property - > value . string . length ) , <nl> - string ( TSI_X509_CERTIFICATE_TYPE ) ) ; <nl> - property = tsi_peer_get_property_by_name ( <nl> - peer , TSI_X509_SUBJECT_COMMON_NAME_PEER_PROPERTY ) ; <nl> - EXPECT_EQ ( property - > type , TSI_PEER_PROPERTY_TYPE_STRING ) ; <nl> - return property ; <nl> - } <nl> - <nl> - void CheckServer0Peer ( tsi_peer * peer ) { <nl> - const tsi_peer_property * property = <nl> - CheckBasicAuthenticatedPeerAndGetCommonName ( peer ) ; <nl> - EXPECT_EQ ( <nl> - string ( property - > value . string . data , property - > value . string . length ) , <nl> - string ( " * . test . google . com . au " ) ) ; <nl> - property = tsi_peer_get_property_by_name ( <nl> - peer , TSI_X509_SUBJECT_ALTERNATIVE_NAMES_PEER_PROPERTY ) ; <nl> - EXPECT_EQ ( property - > type , TSI_PEER_PROPERTY_TYPE_LIST ) ; <nl> - EXPECT_EQ ( property - > value . list . child_count , 0 ) ; <nl> - EXPECT_EQ ( 1 , tsi_ssl_peer_matches_name ( peer , " foo . test . google . com . au " ) ) ; <nl> - EXPECT_EQ ( 1 , tsi_ssl_peer_matches_name ( peer , " bar . test . google . com . au " ) ) ; <nl> - EXPECT_EQ ( 0 , tsi_ssl_peer_matches_name ( peer , " bar . test . google . blah " ) ) ; <nl> - EXPECT_EQ ( 0 , tsi_ssl_peer_matches_name ( peer , " foo . bar . test . google . com . au " ) ) ; <nl> - EXPECT_EQ ( 0 , tsi_ssl_peer_matches_name ( peer , " test . google . com . au " ) ) ; <nl> - tsi_peer_destruct ( peer ) ; <nl> - } <nl> - <nl> - void CheckServer1Peer ( tsi_peer * peer ) { <nl> - const tsi_peer_property * property = <nl> - CheckBasicAuthenticatedPeerAndGetCommonName ( peer ) ; <nl> - EXPECT_EQ ( <nl> - string ( property - > value . string . data , property - > value . string . length ) , <nl> - string ( " * . test . google . com " ) ) ; <nl> - property = tsi_peer_get_property_by_name ( <nl> - peer , TSI_X509_SUBJECT_ALTERNATIVE_NAMES_PEER_PROPERTY ) ; <nl> - EXPECT_EQ ( property - > type , TSI_PEER_PROPERTY_TYPE_LIST ) ; <nl> - EXPECT_EQ ( property - > value . list . child_count , 3 ) ; <nl> - CheckSubjectAltName ( property - > value . list . children [ 0 ] , " * . test . google . fr " ) ; <nl> - CheckSubjectAltName ( property - > value . list . children [ 1 ] , <nl> - " waterzooi . test . google . be " ) ; <nl> - CheckSubjectAltName ( property - > value . list . children [ 2 ] , " * . test . youtube . com " ) ; <nl> - EXPECT_EQ ( 1 , tsi_ssl_peer_matches_name ( peer , " foo . test . google . com " ) ) ; <nl> - EXPECT_EQ ( 1 , tsi_ssl_peer_matches_name ( peer , " bar . test . google . fr " ) ) ; <nl> - EXPECT_EQ ( 1 , tsi_ssl_peer_matches_name ( peer , " waterzooi . test . google . be " ) ) ; <nl> - EXPECT_EQ ( 1 , tsi_ssl_peer_matches_name ( peer , " foo . test . youtube . com " ) ) ; <nl> - EXPECT_EQ ( 0 , tsi_ssl_peer_matches_name ( peer , " bar . foo . test . google . com " ) ) ; <nl> - EXPECT_EQ ( 0 , tsi_ssl_peer_matches_name ( peer , " test . google . fr " ) ) ; <nl> - EXPECT_EQ ( 0 , tsi_ssl_peer_matches_name ( peer , " tartines . test . google . be " ) ) ; <nl> - EXPECT_EQ ( 0 , tsi_ssl_peer_matches_name ( peer , " tartines . youtube . com " ) ) ; <nl> - tsi_peer_destruct ( peer ) ; <nl> - } <nl> - <nl> - void CheckClientPeer ( tsi_peer * peer , bool is_authenticated ) { <nl> - if ( ! is_authenticated ) { <nl> - EXPECT_EQ ( peer - > property_count , <nl> - config_ . alpn_mode = = ALPN_CLIENT_SERVER_OK ? 1 : 0 ) ; <nl> - } else { <nl> - const tsi_peer_property * property = <nl> - CheckBasicAuthenticatedPeerAndGetCommonName ( peer ) ; <nl> - EXPECT_EQ ( <nl> - string ( property - > value . string . data , property - > value . string . length ) , <nl> - string ( " testclient " ) ) ; <nl> - } <nl> - tsi_peer_destruct ( peer ) ; <nl> - } <nl> - <nl> - void SetupHandshakers ( ) override { <nl> - tsi_ssl_handshaker_factory * client_handshaker_factory ; <nl> - const unsigned char * client_cert = NULL ; <nl> - unsigned int client_cert_size = 0 ; <nl> - const unsigned char * client_key = NULL ; <nl> - unsigned int client_key_size = 0 ; <nl> - if ( config_ . do_client_authentication ) { <nl> - if ( config_ . use_bad_client_cert ) { <nl> - client_cert = <nl> - reinterpret_cast < const unsigned char * > ( badclient_cert_ . data ( ) ) ; <nl> - client_cert_size = badclient_cert_ . size ( ) ; <nl> - client_key = <nl> - reinterpret_cast < const unsigned char * > ( badclient_key_ . data ( ) ) ; <nl> - client_key_size = badclient_key_ . size ( ) ; <nl> - } else { <nl> - client_cert = <nl> - reinterpret_cast < const unsigned char * > ( client_cert_ . data ( ) ) ; <nl> - client_cert_size = client_cert_ . size ( ) ; <nl> - client_key = reinterpret_cast < const unsigned char * > ( client_key_ . data ( ) ) ; <nl> - client_key_size = client_key_ . size ( ) ; <nl> - } <nl> - } <nl> - const unsigned char * * client_alpn_protocols ( nullptr ) ; <nl> - const unsigned char * client_alpn_protocols_lengths ( nullptr ) ; <nl> - uint16_t num_client_alpn_protocols = 0 ; <nl> - if ( config_ . alpn_mode = = ALPN_CLIENT_NO_SERVER | | <nl> - config_ . alpn_mode = = ALPN_CLIENT_SERVER_OK | | <nl> - config_ . alpn_mode = = ALPN_CLIENT_SERVER_MISMATCH ) { <nl> - client_alpn_protocols = <nl> - reinterpret_cast < const unsigned char * * > ( & client_alpn_protocols_ [ 0 ] ) ; <nl> - client_alpn_protocols_lengths = & client_alpn_protocols_lengths_ [ 0 ] ; <nl> - num_client_alpn_protocols = client_alpn_protocols_ . size ( ) ; <nl> - } <nl> - <nl> - EXPECT_EQ ( tsi_create_ssl_client_handshaker_factory ( <nl> - client_key , client_key_size , client_cert , client_cert_size , <nl> - reinterpret_cast < const unsigned char * > ( root_certs_ . data ( ) ) , <nl> - root_certs_ . size ( ) , NULL , client_alpn_protocols , <nl> - client_alpn_protocols_lengths , num_client_alpn_protocols , <nl> - & client_handshaker_factory ) , <nl> - TSI_OK ) ; <nl> - client_handshaker_factory_ . reset ( client_handshaker_factory ) ; <nl> - <nl> - const unsigned char * * server_alpn_protocols ( nullptr ) ; <nl> - const unsigned char * server_alpn_protocols_lengths ( nullptr ) ; <nl> - uint16_t num_server_alpn_protocols = 0 ; <nl> - if ( config_ . alpn_mode = = ALPN_SERVER_NO_CLIENT | | <nl> - config_ . alpn_mode = = ALPN_CLIENT_SERVER_OK | | <nl> - config_ . alpn_mode = = ALPN_CLIENT_SERVER_MISMATCH ) { <nl> - server_alpn_protocols = <nl> - reinterpret_cast < const unsigned char * * > ( & server_alpn_protocols_ [ 0 ] ) ; <nl> - server_alpn_protocols_lengths = & server_alpn_protocols_lengths_ [ 0 ] ; <nl> - num_server_alpn_protocols = server_alpn_protocols_ . size ( ) ; <nl> - if ( config_ . alpn_mode = = ALPN_CLIENT_SERVER_MISMATCH ) { <nl> - / / Remove the last element that is common . <nl> - num_server_alpn_protocols - - ; <nl> - } <nl> - } <nl> - tsi_ssl_handshaker_factory * server_handshaker_factory ; <nl> - EXPECT_EQ ( <nl> - tsi_create_ssl_server_handshaker_factory ( <nl> - config_ . use_bad_server_cert ? & badserver_keys_ [ 0 ] <nl> - : & server_keys_ [ 0 ] , <nl> - config_ . use_bad_server_cert ? & badserver_keys_sizes_ [ 0 ] <nl> - : & server_keys_sizes_ [ 0 ] , <nl> - config_ . use_bad_server_cert ? & badserver_certs_ [ 0 ] <nl> - : & server_certs_ [ 0 ] , <nl> - config_ . use_bad_server_cert ? & badserver_certs_sizes_ [ 0 ] <nl> - : & server_certs_sizes_ [ 0 ] , <nl> - config_ . use_bad_server_cert ? badserver_keys_ . size ( ) <nl> - : server_keys_ . size ( ) , <nl> - config_ . do_client_authentication <nl> - ? reinterpret_cast < const unsigned char * > ( root_certs_ . data ( ) ) <nl> - : NULL , <nl> - config_ . do_client_authentication ? root_certs_ . size ( ) : 0 , NULL , <nl> - server_alpn_protocols , server_alpn_protocols_lengths , <nl> - num_server_alpn_protocols , & server_handshaker_factory ) , <nl> - TSI_OK ) ; <nl> - server_handshaker_factory_ . reset ( server_handshaker_factory ) ; <nl> - <nl> - tsi_handshaker * client_handshaker ; <nl> - EXPECT_EQ ( tsi_ssl_handshaker_factory_create_handshaker ( <nl> - client_handshaker_factory , config_ . subject_name_indication , <nl> - & client_handshaker ) , <nl> - TSI_OK ) ; <nl> - client_handshaker_ . reset ( client_handshaker ) ; <nl> - <nl> - tsi_handshaker * server_handshaker ; <nl> - EXPECT_EQ ( tsi_ssl_handshaker_factory_create_handshaker ( <nl> - server_handshaker_factory , NULL , & server_handshaker ) , <nl> - TSI_OK ) ; <nl> - server_handshaker_ . reset ( server_handshaker ) ; <nl> - } <nl> - <nl> - void CheckAlpn ( const tsi_peer * peer ) { <nl> - const tsi_peer_property * alpn_property = <nl> - tsi_peer_get_property_by_name ( peer , TSI_SSL_ALPN_SELECTED_PROTOCOL ) ; <nl> - if ( config_ . alpn_mode ! = ALPN_CLIENT_SERVER_OK ) { <nl> - EXPECT_EQ ( nullptr , alpn_property ) ; <nl> - } else { <nl> - EXPECT_NE ( nullptr , alpn_property ) ; <nl> - EXPECT_EQ ( TSI_PEER_PROPERTY_TYPE_STRING , alpn_property - > type ) ; <nl> - string expected_match ( " baz " ) ; <nl> - EXPECT_EQ ( expected_match , string ( alpn_property - > value . string . data , <nl> - alpn_property - > value . string . length ) ) ; <nl> - } <nl> - } <nl> - <nl> - void CheckHandshakeResults ( ) override { <nl> - tsi_peer peer ; <nl> - <nl> - bool expect_success = <nl> - ! ( config_ . use_bad_server_cert | | <nl> - ( config_ . use_bad_client_cert & & config_ . do_client_authentication ) ) ; <nl> - tsi_result result = tsi_handshaker_get_result ( client_handshaker_ . get ( ) ) ; <nl> - EXPECT_NE ( result , TSI_HANDSHAKE_IN_PROGRESS ) ; <nl> - if ( expect_success ) { <nl> - EXPECT_EQ ( result , TSI_OK ) ; <nl> - EXPECT_EQ ( tsi_handshaker_extract_peer ( client_handshaker_ . get ( ) , & peer ) , <nl> - TSI_OK ) ; <nl> - CheckAlpn ( & peer ) ; <nl> - / / TODO ( jboeuf ) : This is a bit fragile . Maybe revisit . <nl> - if ( config_ . subject_name_indication ! = nullptr ) { <nl> - CheckServer1Peer ( & peer ) ; <nl> - } else { <nl> - CheckServer0Peer ( & peer ) ; <nl> - } <nl> - } else { <nl> - EXPECT_NE ( result , TSI_OK ) ; <nl> - EXPECT_NE ( tsi_handshaker_extract_peer ( client_handshaker_ . get ( ) , & peer ) , <nl> - TSI_OK ) ; <nl> - } <nl> - <nl> - result = tsi_handshaker_get_result ( server_handshaker_ . get ( ) ) ; <nl> - EXPECT_NE ( result , TSI_HANDSHAKE_IN_PROGRESS ) ; <nl> - if ( expect_success ) { <nl> - EXPECT_EQ ( result , TSI_OK ) ; <nl> - EXPECT_EQ ( tsi_handshaker_extract_peer ( server_handshaker_ . get ( ) , & peer ) , <nl> - TSI_OK ) ; <nl> - CheckAlpn ( & peer ) ; <nl> - CheckClientPeer ( & peer , config_ . do_client_authentication ) ; <nl> - } else { <nl> - EXPECT_NE ( result , TSI_OK ) ; <nl> - EXPECT_NE ( tsi_handshaker_extract_peer ( server_handshaker_ . get ( ) , & peer ) , <nl> - TSI_OK ) ; <nl> - } <nl> - } <nl> - <nl> - const tsi : : test : : TestConfig * config ( ) override { <nl> - return & config_ ; <nl> - } <nl> - <nl> - SslTransportSecurityTest ( ) <nl> - : client_alpn_protocols_ ( { " foo " , " toto " , " baz " } ) , <nl> - server_alpn_protocols_ ( { " boooo " , " far " , " baz " } ) , <nl> - client_alpn_protocols_lengths_ ( { 3 , 4 , 3 } ) , <nl> - server_alpn_protocols_lengths_ ( { 5 , 3 , 3 } ) { <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " badserver . key " ) , <nl> - & badserver_key_ , file : : Options ( ) ) ) ; <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " badserver . pem " ) , <nl> - & badserver_cert_ , file : : Options ( ) ) ) ; <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " badclient . key " ) , <nl> - & badclient_key_ , file : : Options ( ) ) ) ; <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " badclient . pem " ) , <nl> - & badclient_cert_ , file : : Options ( ) ) ) ; <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " server0 . key " ) , <nl> - & server0_key_ , file : : Options ( ) ) ) ; <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " server0 . pem " ) , <nl> - & server0_cert_ , file : : Options ( ) ) ) ; <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " server1 . key " ) , <nl> - & server1_key_ , file : : Options ( ) ) ) ; <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " server1 . pem " ) , <nl> - & server1_cert_ , file : : Options ( ) ) ) ; <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " client . key " ) , <nl> - & client_key_ , file : : Options ( ) ) ) ; <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " client . pem " ) , <nl> - & client_cert_ , file : : Options ( ) ) ) ; <nl> - CHECK_OK ( file : : GetContents ( <nl> - file : : JoinPath ( FLAGS_test_srcdir , kTestCredsDir , " ca . pem " ) , <nl> - & root_certs_ , file : : Options ( ) ) ) ; <nl> - badserver_keys_ . push_back ( <nl> - reinterpret_cast < const unsigned char * > ( badserver_key_ . data ( ) ) ) ; <nl> - badserver_certs_ . push_back ( <nl> - reinterpret_cast < const unsigned char * > ( badserver_cert_ . data ( ) ) ) ; <nl> - server_keys_ . push_back ( <nl> - reinterpret_cast < const unsigned char * > ( server0_key_ . data ( ) ) ) ; <nl> - server_keys_ . push_back ( <nl> - reinterpret_cast < const unsigned char * > ( server1_key_ . data ( ) ) ) ; <nl> - server_certs_ . push_back ( <nl> - reinterpret_cast < const unsigned char * > ( server0_cert_ . data ( ) ) ) ; <nl> - server_certs_ . push_back ( <nl> - reinterpret_cast < const unsigned char * > ( server1_cert_ . data ( ) ) ) ; <nl> - badserver_keys_sizes_ . push_back ( badserver_key_ . size ( ) ) ; <nl> - badserver_certs_sizes_ . push_back ( badserver_cert_ . size ( ) ) ; <nl> - server_keys_sizes_ . push_back ( server0_key_ . size ( ) ) ; <nl> - server_keys_sizes_ . push_back ( server1_key_ . size ( ) ) ; <nl> - server_certs_sizes_ . push_back ( server0_cert_ . size ( ) ) ; <nl> - server_certs_sizes_ . push_back ( server1_cert_ . size ( ) ) ; <nl> - } <nl> - <nl> - string badserver_key_ ; <nl> - string badserver_cert_ ; <nl> - string badclient_key_ ; <nl> - string badclient_cert_ ; <nl> - string server0_key_ ; <nl> - string server0_cert_ ; <nl> - string server1_key_ ; <nl> - string server1_cert_ ; <nl> - string client_key_ ; <nl> - string client_cert_ ; <nl> - string root_certs_ ; <nl> - std : : vector < const unsigned char * > badserver_keys_ ; <nl> - std : : vector < const unsigned char * > badserver_certs_ ; <nl> - std : : vector < const unsigned char * > server_keys_ ; <nl> - std : : vector < const unsigned char * > server_certs_ ; <nl> - std : : vector < unsigned int > badserver_keys_sizes_ ; <nl> - std : : vector < unsigned int > badserver_certs_sizes_ ; <nl> - std : : vector < unsigned int > server_keys_sizes_ ; <nl> - std : : vector < unsigned int > server_certs_sizes_ ; <nl> - TsiSslHandshakerFactoryUniquePtr client_handshaker_factory_ ; <nl> - TsiSslHandshakerFactoryUniquePtr server_handshaker_factory_ ; <nl> - std : : vector < const char * > client_alpn_protocols_ ; <nl> - std : : vector < const char * > server_alpn_protocols_ ; <nl> - std : : vector < unsigned char > client_alpn_protocols_lengths_ ; <nl> - std : : vector < unsigned char > server_alpn_protocols_lengths_ ; <nl> - string matched_alpn_ ; <nl> - SslTestConfig config_ ; <nl> - } ; <nl> - <nl> - <nl> - TEST_F ( SslTransportSecurityTest , LoadInvalidRoots ) { <nl> - tsi_ssl_handshaker_factory * client_handshaker_factory ; <nl> - string invalid_roots ( " Invalid roots ! " ) ; <nl> - EXPECT_EQ ( <nl> - TSI_INVALID_ARGUMENT , <nl> - tsi_create_ssl_client_handshaker_factory ( <nl> - NULL , 0 , NULL , 0 , <nl> - reinterpret_cast < const unsigned char * > ( invalid_roots . data ( ) ) , <nl> - invalid_roots . size ( ) , NULL , NULL , 0 , 0 , & client_handshaker_factory ) ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , Handshake ) { <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , HandshakeClientAuthentication ) { <nl> - config_ . do_client_authentication = true ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , HandshakeSmallBuffer ) { <nl> - config_ . handshake_buffer_size = 128 ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , HandshakeSNIExactDomain ) { <nl> - / / server1 cert contains waterzooi . test . google . be in SAN . <nl> - config_ . subject_name_indication = " waterzooi . test . google . be " ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , HandshakeSNIWildstarDomain ) { <nl> - / / server1 cert contains * . test . google . fr in SAN . <nl> - config_ . subject_name_indication = " juju . test . google . fr " ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , BadServerCertFailure ) { <nl> - config_ . use_bad_server_cert = true ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , BadClientCertFailure ) { <nl> - config_ . use_bad_client_cert = true ; <nl> - config_ . do_client_authentication = true ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , AlpnClientNoServer ) { <nl> - config_ . alpn_mode = ALPN_CLIENT_NO_SERVER ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , AlpnServerNoClient ) { <nl> - config_ . alpn_mode = ALPN_SERVER_NO_CLIENT ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , AlpnClientServeMismatch ) { <nl> - config_ . alpn_mode = ALPN_CLIENT_SERVER_MISMATCH ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , AlpnClientServerOk ) { <nl> - config_ . alpn_mode = ALPN_CLIENT_SERVER_OK ; <nl> - PerformHandshake ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , PingPong ) { <nl> - PingPong ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , RoundTrip ) { <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , RoundTripSmallMessageBuffer ) { <nl> - config_ . message_buffer_allocated_size = 42 ; <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , RoundTripSmallProtectedBufferSize ) { <nl> - config_ . protected_buffer_size = 37 ; <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , RoundTripSmallReadBufferSize ) { <nl> - config_ . read_buffer_allocated_size = 41 ; <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , RoundTripSmallClientFrames ) { <nl> - config_ . set_client_max_output_protected_frame_size ( 39 ) ; <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , RoundTripSmallServerFrames ) { <nl> - config_ . set_server_max_output_protected_frame_size ( 43 ) ; <nl> - config_ . client_message = small_message_ ; <nl> - config_ . server_message = big_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - TEST_F ( SslTransportSecurityTest , RoundTripOddBufferSizes ) { <nl> - int odd_sizes [ ] = { 33 , 67 , 135 , 271 , 523 } ; <nl> - RandomPermutation < int > permute ( odd_sizes , arraysize ( odd_sizes ) , <nl> - random_ . get ( ) ) ; <nl> - permute . Permute ( ) ; <nl> - LOG ( ERROR ) < < odd_sizes [ 0 ] < < " \ t " < < odd_sizes [ 1 ] < < " \ t " < < odd_sizes [ 2 ] <nl> - < < " \ t " < < odd_sizes [ 3 ] < < " \ t " < < odd_sizes [ 4 ] ; <nl> - config_ . message_buffer_allocated_size = odd_sizes [ 0 ] ; <nl> - config_ . protected_buffer_size = odd_sizes [ 1 ] ; <nl> - config_ . read_buffer_allocated_size = odd_sizes [ 2 ] ; <nl> - config_ . set_client_max_output_protected_frame_size ( odd_sizes [ 3 ] ) ; <nl> - config_ . set_server_max_output_protected_frame_size ( odd_sizes [ 4 ] ) ; <nl> - config_ . client_message = big_message_ ; <nl> - config_ . server_message = small_message_ ; <nl> - DoRoundTrip ( ) ; <nl> - } <nl> - <nl> - } / / namespace <nl> mmm a / src / core / tsi / transport_security_interface . h <nl> ppp b / src / core / tsi / transport_security_interface . h <nl> void tsi_frame_protector_destroy ( tsi_frame_protector * self ) ; <nl> / * This property is of type TSI_PEER_PROPERTY_STRING . * / <nl> # define TSI_CERTIFICATE_TYPE_PEER_PROPERTY " certificate_type " <nl> <nl> - / * This property is of type TSI_PEER_PROPERTY_STRING . * / <nl> - # define TSI_X509_SUBJECT_COMMON_NAME_PEER_PROPERTY " x509_subject_common_name " <nl> - <nl> - / * This property is of type TSI_PEER_PROPERTY_LIST and the children contain <nl> - unnamed ( name = = NULL ) properties of type TSI_PEER_PROPERTY_STRING . * / <nl> - # define TSI_X509_SUBJECT_ALTERNATIVE_NAMES_PEER_PROPERTY \ <nl> - " x509_subject_alternative_names " <nl> - <nl> - / * This property is of type TSI_PEER_PROPERTY_STRING . * / <nl> - # define TSI_SSL_ALPN_SELECTED_PROTOCOL " ssl_alpn_selected_protocol " <nl> - <nl> - / * This property is of type TSI_PEER_PROPERTY_STRING . * / <nl> - # define TSI_MDB_USER_NAME_PEER_PROPERTY " mdb_user_name " <nl> - <nl> - / * This property is of type TSI_PEER_PROPERTY_SIGNED_INTEGER . * / <nl> - # define TSI_MDB_GAIA_ID_PEER_PROPERTY " mdb_gaia_id " <nl> - <nl> / * Properties of type TSI_PEER_PROPERTY_TYPE_STRING may contain NULL characters <nl> just like C + + strings . The length field gives the length of the string . * / <nl> typedef enum { <nl> deleted file mode 100644 <nl> index 1b630c95783 . . 00000000000 <nl> mmm a / src / core / tsi / transport_security_test_lib . cc <nl> ppp / dev / null <nl> <nl> - / * <nl> - * <nl> - * Copyright 2014 , Google Inc . <nl> - * All rights reserved . <nl> - * <nl> - * Redistribution and use in source and binary forms , with or without <nl> - * modification , are permitted provided that the following conditions are <nl> - * met : <nl> - * <nl> - * * Redistributions of source code must retain the above copyright <nl> - * notice , this list of conditions and the following disclaimer . <nl> - * * Redistributions in binary form must reproduce the above <nl> - * copyright notice , this list of conditions and the following disclaimer <nl> - * in the documentation and / or other materials provided with the <nl> - * distribution . <nl> - * * Neither the name of Google Inc . nor the names of its <nl> - * contributors may be used to endorse or promote products derived from <nl> - * this software without specific prior written permission . <nl> - * <nl> - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS <nl> - * " AS IS " AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT <nl> - * LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR <nl> - * A PARTICULAR PURPOSE ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT <nl> - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , <nl> - * SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT <nl> - * LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , <nl> - * DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY <nl> - * THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT <nl> - * ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE <nl> - * OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> - * <nl> - * / <nl> - <nl> - # include " src / core / tsi / transport_security_test_lib . h " <nl> - <nl> - # include < memory > <nl> - <nl> - # include " base / commandlineflags . h " <nl> - # include " src / core / tsi / transport_security_interface . h " <nl> - # include " strings / escaping . h " <nl> - # include " strings / strcat . h " <nl> - # include < gtest / gtest . h > <nl> - # include " util / random / mt_random . h " <nl> - <nl> - namespace { <nl> - <nl> - const char kPingRequest [ ] = " Ping " ; <nl> - const char kPongResponse [ ] = " Pong " ; <nl> - const int kBigMessageSize = 17000 ; <nl> - <nl> - } / / namespace <nl> - <nl> - namespace tsi { <nl> - namespace test { <nl> - <nl> - TransportSecurityTest : : TransportSecurityTest ( ) : random_ ( new MTRandom ( ) ) { <nl> - small_message_ = " Chapi Chapo " ; <nl> - big_message_ = RandomString ( kBigMessageSize ) ; <nl> - } <nl> - <nl> - string TransportSecurityTest : : RandomString ( int size ) { <nl> - std : : unique_ptr < char [ ] > buffer ( new char [ size ] ) ; <nl> - for ( int i = 0 ; i < size ; i + + ) { <nl> - buffer [ i ] = random_ - > Rand8 ( ) ; <nl> - } <nl> - return string ( buffer . get ( ) , size ) ; <nl> - } <nl> - <nl> - void TransportSecurityTest : : SendBytesToPeer ( bool is_client , unsigned char * buf , <nl> - unsigned int buf_size ) { <nl> - string & channel = is_client ? to_server_channel_ : to_client_channel_ ; <nl> - LOG ( INFO ) < < ( is_client ? " Client : " : " Server " ) < < " sending " < < buf_size <nl> - < < " bytes to peer . " ; <nl> - channel . append ( reinterpret_cast < const char * > ( buf ) , buf_size ) ; <nl> - } <nl> - <nl> - void TransportSecurityTest : : ReadBytesFromPeer ( bool is_client , <nl> - unsigned char * buf , <nl> - unsigned int * buf_size ) { <nl> - string & channel = is_client ? to_client_channel_ : to_server_channel_ ; <nl> - unsigned int to_read = <nl> - * buf_size < channel . size ( ) ? * buf_size : channel . size ( ) ; <nl> - memcpy ( buf , channel . data ( ) , to_read ) ; <nl> - * buf_size = to_read ; <nl> - channel . erase ( 0 , to_read ) ; <nl> - LOG ( INFO ) < < ( is_client ? " Client : " : " Server " ) < < " read " < < to_read <nl> - < < " bytes from peer . " ; <nl> - } <nl> - <nl> - void TransportSecurityTest : : DoHandshakeStep ( bool is_client , <nl> - unsigned int buf_allocated_size , <nl> - tsi_handshaker * handshaker , <nl> - string * remaining_bytes ) { <nl> - tsi_result result = TSI_OK ; <nl> - std : : unique_ptr < unsigned char [ ] > buf ( new unsigned char [ buf_allocated_size ] ) ; <nl> - unsigned int buf_offset ; <nl> - unsigned int buf_size ; <nl> - / / See if we need to send some bytes to the peer . <nl> - do { <nl> - unsigned int buf_size_to_send = buf_allocated_size ; <nl> - result = tsi_handshaker_get_bytes_to_send_to_peer ( handshaker , buf . get ( ) , <nl> - & buf_size_to_send ) ; <nl> - if ( buf_size_to_send > 0 ) { <nl> - SendBytesToPeer ( is_client , buf . get ( ) , buf_size_to_send ) ; <nl> - } <nl> - } while ( result = = TSI_INCOMPLETE_DATA ) ; <nl> - if ( ! tsi_handshaker_is_in_progress ( handshaker ) ) return ; <nl> - <nl> - do { <nl> - / / Read bytes from the peer . <nl> - buf_size = buf_allocated_size ; <nl> - buf_offset = 0 ; <nl> - ReadBytesFromPeer ( is_client , buf . get ( ) , & buf_size ) ; <nl> - if ( buf_size = = 0 ) break ; <nl> - <nl> - / / Process the bytes from the peer . We have to be careful as these bytes <nl> - / / may contain non - handshake data ( protected data ) . If this is the case , <nl> - / / we will exit from the loop with buf_size > 0 . <nl> - unsigned int consumed_by_handshaker = buf_size ; <nl> - result = tsi_handshaker_process_bytes_from_peer ( handshaker , buf . get ( ) , <nl> - & consumed_by_handshaker ) ; <nl> - buf_size - = consumed_by_handshaker ; <nl> - buf_offset + = consumed_by_handshaker ; <nl> - } while ( result = = TSI_INCOMPLETE_DATA ) ; <nl> - <nl> - if ( ! tsi_handshaker_is_in_progress ( handshaker ) ) { <nl> - remaining_bytes - > assign ( <nl> - reinterpret_cast < const char * > ( buf . get ( ) ) + buf_offset , buf_size ) ; <nl> - } <nl> - } <nl> - <nl> - void TransportSecurityTest : : PerformHandshake ( ) { <nl> - SetupHandshakers ( ) ; <nl> - string remaining_bytes ; <nl> - do { <nl> - DoHandshakeStep ( true , config ( ) - > handshake_buffer_size , <nl> - client_handshaker_ . get ( ) , & remaining_bytes ) ; <nl> - EXPECT_EQ ( 0 , remaining_bytes . size ( ) ) ; <nl> - DoHandshakeStep ( false , config ( ) - > handshake_buffer_size , <nl> - server_handshaker_ . get ( ) , & remaining_bytes ) ; <nl> - EXPECT_EQ ( 0 , remaining_bytes . size ( ) ) ; <nl> - } while ( tsi_handshaker_is_in_progress ( client_handshaker_ . get ( ) ) | | <nl> - tsi_handshaker_is_in_progress ( server_handshaker_ . get ( ) ) ) ; <nl> - CheckHandshakeResults ( ) ; <nl> - } <nl> - <nl> - void TransportSecurityTest : : SendMessageToPeer ( <nl> - bool is_client , tsi_frame_protector * protector , const string & message , <nl> - unsigned int protected_buffer_size ) { <nl> - std : : unique_ptr < unsigned char [ ] > protected_buffer ( <nl> - new unsigned char [ protected_buffer_size ] ) ; <nl> - unsigned int message_size = message . size ( ) ; <nl> - const unsigned char * message_bytes = <nl> - reinterpret_cast < const unsigned char * > ( message . data ( ) ) ; <nl> - tsi_result result = TSI_OK ; <nl> - while ( message_size > 0 & & result = = TSI_OK ) { <nl> - unsigned int protected_buffer_size_to_send = protected_buffer_size ; <nl> - unsigned int processed_message_size = message_size ; <nl> - result = tsi_frame_protector_protect ( <nl> - protector , message_bytes , & processed_message_size , <nl> - protected_buffer . get ( ) , & protected_buffer_size_to_send ) ; <nl> - EXPECT_EQ ( TSI_OK , result ) ; <nl> - SendBytesToPeer ( is_client , protected_buffer . get ( ) , <nl> - protected_buffer_size_to_send ) ; <nl> - message_bytes + = processed_message_size ; <nl> - message_size - = processed_message_size ; <nl> - <nl> - / / Flush if we ' re done . <nl> - if ( message_size = = 0 ) { <nl> - unsigned int still_pending_size ; <nl> - do { <nl> - protected_buffer_size_to_send = protected_buffer_size ; <nl> - result = tsi_frame_protector_protect_flush ( <nl> - protector , protected_buffer . get ( ) , & protected_buffer_size_to_send , <nl> - & still_pending_size ) ; <nl> - EXPECT_EQ ( TSI_OK , result ) ; <nl> - SendBytesToPeer ( is_client , protected_buffer . get ( ) , <nl> - protected_buffer_size_to_send ) ; <nl> - } while ( still_pending_size > 0 & & result = = TSI_OK ) ; <nl> - EXPECT_EQ ( TSI_OK , result ) ; <nl> - } <nl> - } <nl> - EXPECT_EQ ( TSI_OK , result ) ; <nl> - } <nl> - <nl> - void TransportSecurityTest : : ReceiveMessageFromPeer ( <nl> - bool is_client , tsi_frame_protector * protector , <nl> - unsigned int read_buf_allocated_size , <nl> - unsigned int message_buf_allocated_size , string * message ) { <nl> - std : : unique_ptr < unsigned char [ ] > read_buffer ( <nl> - new unsigned char [ read_buf_allocated_size ] ) ; <nl> - unsigned int read_offset = 0 ; <nl> - unsigned int read_from_peer_size = 0 ; <nl> - std : : unique_ptr < unsigned char [ ] > message_buffer ( <nl> - new unsigned char [ message_buf_allocated_size ] ) ; <nl> - tsi_result result = TSI_OK ; <nl> - bool done = false ; <nl> - while ( ! done & & result = = TSI_OK ) { <nl> - if ( read_from_peer_size = = 0 ) { <nl> - read_from_peer_size = read_buf_allocated_size ; <nl> - ReadBytesFromPeer ( is_client , read_buffer . get ( ) , & read_from_peer_size ) ; <nl> - read_offset = 0 ; <nl> - } <nl> - if ( read_from_peer_size = = 0 ) done = true ; <nl> - unsigned int message_buffer_size ; <nl> - do { <nl> - message_buffer_size = message_buf_allocated_size ; <nl> - unsigned int processed_size = read_from_peer_size ; <nl> - result = tsi_frame_protector_unprotect ( <nl> - protector , read_buffer . get ( ) + read_offset , & processed_size , <nl> - message_buffer . get ( ) , & message_buffer_size ) ; <nl> - EXPECT_EQ ( TSI_OK , result ) ; <nl> - if ( message_buffer_size > 0 ) { <nl> - LOG ( INFO ) < < " Wrote " < < message_buffer_size < < " bytes to message . " ; <nl> - message - > append ( reinterpret_cast < const char * > ( message_buffer . get ( ) ) , <nl> - message_buffer_size ) ; <nl> - } <nl> - read_offset + = processed_size ; <nl> - read_from_peer_size - = processed_size ; <nl> - } while ( ( read_from_peer_size > 0 | | message_buffer_size > 0 ) & & <nl> - result = = TSI_OK ) ; <nl> - EXPECT_EQ ( TSI_OK , result ) ; <nl> - } <nl> - EXPECT_EQ ( TSI_OK , result ) ; <nl> - } <nl> - <nl> - void TransportSecurityTest : : DoRoundTrip ( const string & request , <nl> - const string & response ) { <nl> - PerformHandshake ( ) ; <nl> - <nl> - tsi_frame_protector * client_frame_protector ; <nl> - tsi_frame_protector * server_frame_protector ; <nl> - unsigned int client_max_output_protected_frame_size = <nl> - config ( ) - > client_max_output_protected_frame_size ( ) ; <nl> - EXPECT_EQ ( TSI_OK , <nl> - tsi_handshaker_create_frame_protector ( <nl> - client_handshaker_ . get ( ) , <nl> - config ( ) - > use_client_default_max_output_protected_frame_size ( ) <nl> - ? nullptr <nl> - : & client_max_output_protected_frame_size , <nl> - & client_frame_protector ) ) ; <nl> - <nl> - unsigned int server_max_output_protected_frame_size = <nl> - config ( ) - > server_max_output_protected_frame_size ( ) ; <nl> - EXPECT_EQ ( TSI_OK , <nl> - tsi_handshaker_create_frame_protector ( <nl> - server_handshaker_ . get ( ) , <nl> - config ( ) - > use_server_default_max_output_protected_frame_size ( ) <nl> - ? nullptr <nl> - : & server_max_output_protected_frame_size , <nl> - & server_frame_protector ) ) ; <nl> - <nl> - SendMessageToPeer ( true , client_frame_protector , request , <nl> - config ( ) - > protected_buffer_size ) ; <nl> - string retrieved_request ; <nl> - ReceiveMessageFromPeer ( <nl> - false , server_frame_protector , config ( ) - > read_buffer_allocated_size , <nl> - config ( ) - > message_buffer_allocated_size , & retrieved_request ) ; <nl> - EXPECT_EQ ( request . size ( ) , retrieved_request . size ( ) ) ; <nl> - EXPECT_EQ ( strings : : b2a_hex ( request ) , strings : : b2a_hex ( retrieved_request ) ) ; <nl> - <nl> - SendMessageToPeer ( false , server_frame_protector , response , <nl> - config ( ) - > protected_buffer_size ) ; <nl> - string retrieved_response ; <nl> - ReceiveMessageFromPeer ( <nl> - true , client_frame_protector , config ( ) - > read_buffer_allocated_size , <nl> - config ( ) - > message_buffer_allocated_size , & retrieved_response ) ; <nl> - EXPECT_EQ ( response . size ( ) , retrieved_response . size ( ) ) ; <nl> - EXPECT_EQ ( strings : : b2a_hex ( response ) , strings : : b2a_hex ( retrieved_response ) ) ; <nl> - <nl> - tsi_frame_protector_destroy ( client_frame_protector ) ; <nl> - tsi_frame_protector_destroy ( server_frame_protector ) ; <nl> - } <nl> - <nl> - void TransportSecurityTest : : DoRoundTrip ( ) { <nl> - DoRoundTrip ( config ( ) - > client_message , config ( ) - > server_message ) ; <nl> - } <nl> - void TransportSecurityTest : : PingPong ( ) { <nl> - PerformHandshake ( ) ; <nl> - <nl> - unsigned char to_server [ 4096 ] ; <nl> - unsigned char to_client [ 4096 ] ; <nl> - unsigned int max_frame_size = sizeof ( to_client ) ; <nl> - tsi_frame_protector * client_frame_protector ; <nl> - tsi_frame_protector * server_frame_protector ; <nl> - EXPECT_EQ ( <nl> - tsi_handshaker_create_frame_protector ( <nl> - client_handshaker_ . get ( ) , & max_frame_size , & client_frame_protector ) , <nl> - TSI_OK ) ; <nl> - EXPECT_EQ ( max_frame_size , sizeof ( to_client ) ) ; <nl> - EXPECT_EQ ( <nl> - tsi_handshaker_create_frame_protector ( <nl> - server_handshaker_ . get ( ) , & max_frame_size , & server_frame_protector ) , <nl> - TSI_OK ) ; <nl> - EXPECT_EQ ( max_frame_size , sizeof ( to_client ) ) ; <nl> - <nl> - / / Send Ping . <nl> - unsigned int ping_length = strlen ( kPingRequest ) ; <nl> - unsigned int protected_size = sizeof ( to_server ) ; <nl> - EXPECT_EQ ( tsi_frame_protector_protect ( <nl> - client_frame_protector , <nl> - reinterpret_cast < const unsigned char * > ( kPingRequest ) , <nl> - & ping_length , to_server , & protected_size ) , <nl> - TSI_OK ) ; <nl> - EXPECT_EQ ( ping_length , strlen ( kPingRequest ) ) ; <nl> - EXPECT_EQ ( protected_size , 0 ) ; <nl> - protected_size = sizeof ( to_server ) ; <nl> - unsigned int still_pending_size ; <nl> - EXPECT_EQ ( <nl> - tsi_frame_protector_protect_flush ( client_frame_protector , to_server , <nl> - & protected_size , & still_pending_size ) , <nl> - TSI_OK ) ; <nl> - EXPECT_EQ ( still_pending_size , 0 ) ; <nl> - EXPECT_GT ( protected_size , strlen ( kPingRequest ) ) ; <nl> - <nl> - / / Receive Ping . <nl> - unsigned int unprotected_size = sizeof ( to_server ) ; <nl> - unsigned int saved_protected_size = protected_size ; <nl> - EXPECT_EQ ( tsi_frame_protector_unprotect ( server_frame_protector , to_server , <nl> - & protected_size , to_server , <nl> - & unprotected_size ) , <nl> - TSI_OK ) ; <nl> - EXPECT_EQ ( saved_protected_size , protected_size ) ; <nl> - EXPECT_EQ ( ping_length , unprotected_size ) ; <nl> - EXPECT_EQ ( string ( kPingRequest ) , <nl> - string ( reinterpret_cast < const char * > ( to_server ) , unprotected_size ) ) ; <nl> - <nl> - / / Send back Pong . <nl> - unsigned int pong_length = strlen ( kPongResponse ) ; <nl> - protected_size = sizeof ( to_client ) ; <nl> - EXPECT_EQ ( tsi_frame_protector_protect ( <nl> - server_frame_protector , <nl> - reinterpret_cast < const unsigned char * > ( kPongResponse ) , <nl> - & pong_length , to_client , & protected_size ) , <nl> - TSI_OK ) ; <nl> - EXPECT_EQ ( pong_length , strlen ( kPongResponse ) ) ; <nl> - EXPECT_EQ ( protected_size , 0 ) ; <nl> - protected_size = sizeof ( to_client ) ; <nl> - EXPECT_EQ ( <nl> - tsi_frame_protector_protect_flush ( server_frame_protector , to_client , <nl> - & protected_size , & still_pending_size ) , <nl> - TSI_OK ) ; <nl> - EXPECT_EQ ( still_pending_size , 0 ) ; <nl> - EXPECT_GT ( protected_size , strlen ( kPongResponse ) ) ; <nl> - <nl> - / / Receive Pong . <nl> - unprotected_size = sizeof ( to_server ) ; <nl> - saved_protected_size = protected_size ; <nl> - EXPECT_EQ ( tsi_frame_protector_unprotect ( client_frame_protector , to_client , <nl> - & protected_size , to_client , <nl> - & unprotected_size ) , <nl> - TSI_OK ) ; <nl> - EXPECT_EQ ( saved_protected_size , protected_size ) ; <nl> - EXPECT_EQ ( pong_length , unprotected_size ) ; <nl> - EXPECT_EQ ( string ( kPongResponse ) , <nl> - string ( reinterpret_cast < const char * > ( to_client ) , unprotected_size ) ) ; <nl> - <nl> - tsi_frame_protector_destroy ( client_frame_protector ) ; <nl> - tsi_frame_protector_destroy ( server_frame_protector ) ; <nl> - } <nl> - <nl> - } / / namespace test <nl> - } / / namespace tsi <nl> deleted file mode 100644 <nl> index 8c9c764c91f . . 00000000000 <nl> mmm a / src / core / tsi / transport_security_test_lib . h <nl> ppp / dev / null <nl> <nl> - / * <nl> - * <nl> - * Copyright 2014 , Google Inc . <nl> - * All rights reserved . <nl> - * <nl> - * Redistribution and use in source and binary forms , with or without <nl> - * modification , are permitted provided that the following conditions are <nl> - * met : <nl> - * <nl> - * * Redistributions of source code must retain the above copyright <nl> - * notice , this list of conditions and the following disclaimer . <nl> - * * Redistributions in binary form must reproduce the above <nl> - * copyright notice , this list of conditions and the following disclaimer <nl> - * in the documentation and / or other materials provided with the <nl> - * distribution . <nl> - * * Neither the name of Google Inc . nor the names of its <nl> - * contributors may be used to endorse or promote products derived from <nl> - * this software without specific prior written permission . <nl> - * <nl> - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS <nl> - * " AS IS " AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT <nl> - * LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR <nl> - * A PARTICULAR PURPOSE ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT <nl> - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , <nl> - * SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT <nl> - * LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , <nl> - * DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY <nl> - * THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT <nl> - * ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE <nl> - * OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> - * <nl> - * / <nl> - <nl> - # ifndef __TRANSPORT_SECURITY_TEST_LIB_H_ <nl> - # define __TRANSPORT_SECURITY_TEST_LIB_H_ <nl> - <nl> - # include < memory > <nl> - <nl> - # include " base / commandlineflags . h " <nl> - # include " src / core / tsi / transport_security_interface . h " <nl> - # include " strings / strcat . h " <nl> - # include < gtest / gtest . h > <nl> - # include " util / random / mt_random . h " <nl> - <nl> - namespace tsi { <nl> - namespace test { <nl> - <nl> - class TestConfig { <nl> - public : <nl> - TestConfig ( ) <nl> - : client_message ( " Chapi Chapo " ) , <nl> - server_message ( " Chapi Chapo " ) , <nl> - handshake_buffer_size ( 4096 ) , <nl> - read_buffer_allocated_size ( 4096 ) , <nl> - message_buffer_allocated_size ( 4096 ) , <nl> - protected_buffer_size ( 16384 ) , <nl> - use_client_default_max_output_protected_frame_size_ ( true ) , <nl> - use_server_default_max_output_protected_frame_size_ ( true ) , <nl> - client_max_output_protected_frame_size_ ( 0 ) , <nl> - server_max_output_protected_frame_size_ ( 0 ) { } <nl> - <nl> - void set_client_max_output_protected_frame_size ( unsigned int size ) { <nl> - use_client_default_max_output_protected_frame_size_ = false ; <nl> - client_max_output_protected_frame_size_ = size ; <nl> - } <nl> - void set_server_max_output_protected_frame_size ( unsigned int size ) { <nl> - use_server_default_max_output_protected_frame_size_ = false ; <nl> - server_max_output_protected_frame_size_ = size ; <nl> - } <nl> - bool use_client_default_max_output_protected_frame_size ( ) const { <nl> - return use_client_default_max_output_protected_frame_size_ ; <nl> - } <nl> - bool use_server_default_max_output_protected_frame_size ( ) const { <nl> - return use_server_default_max_output_protected_frame_size_ ; <nl> - } <nl> - unsigned int client_max_output_protected_frame_size ( ) const { <nl> - return client_max_output_protected_frame_size_ ; <nl> - } <nl> - unsigned int server_max_output_protected_frame_size ( ) const { <nl> - return server_max_output_protected_frame_size_ ; <nl> - } <nl> - <nl> - string client_message ; <nl> - string server_message ; <nl> - unsigned int handshake_buffer_size ; <nl> - unsigned int read_buffer_allocated_size ; <nl> - unsigned int message_buffer_allocated_size ; <nl> - unsigned int protected_buffer_size ; <nl> - <nl> - private : <nl> - bool use_client_default_max_output_protected_frame_size_ ; <nl> - bool use_server_default_max_output_protected_frame_size_ ; <nl> - unsigned int client_max_output_protected_frame_size_ ; <nl> - unsigned int server_max_output_protected_frame_size_ ; <nl> - } ; <nl> - <nl> - <nl> - struct TsiHandshakerDeleter { <nl> - inline void operator ( ) ( tsi_handshaker * ptr ) { tsi_handshaker_destroy ( ptr ) ; } <nl> - } ; <nl> - typedef std : : unique_ptr < tsi_handshaker , TsiHandshakerDeleter > <nl> - TsiHandshakerUniquePtr ; <nl> - <nl> - class TransportSecurityTest : public : : testing : : Test { <nl> - protected : <nl> - TransportSecurityTest ( ) ; <nl> - virtual ~ TransportSecurityTest ( ) { } <nl> - virtual const TestConfig * config ( ) = 0 ; <nl> - string RandomString ( int size ) ; <nl> - virtual void SetupHandshakers ( ) = 0 ; <nl> - / / An implementation - specific verification of the validity of the handshake . <nl> - virtual void CheckHandshakeResults ( ) = 0 ; <nl> - / / Do a full handshake . <nl> - void PerformHandshake ( ) ; <nl> - / / Send a protected message between the client and server . <nl> - void SendMessageToPeer ( bool is_client , tsi_frame_protector * protector , <nl> - const string & message , <nl> - unsigned int protected_buffer_size ) ; <nl> - void ReceiveMessageFromPeer ( bool is_client , tsi_frame_protector * protector , <nl> - unsigned int read_buf_allocated_size , <nl> - unsigned int message_buf_allocated_size , <nl> - string * message ) ; <nl> - <nl> - / / A simple test that does a handshake and sends a message back and forth <nl> - void PingPong ( ) ; <nl> - / / A complicated test that can be configured by modifying config ( ) . <nl> - void DoRoundTrip ( ) ; <nl> - <nl> - TsiHandshakerUniquePtr client_handshaker_ ; <nl> - TsiHandshakerUniquePtr server_handshaker_ ; <nl> - <nl> - string small_message_ ; <nl> - string big_message_ ; <nl> - std : : unique_ptr < RandomBase > random_ ; <nl> - <nl> - private : <nl> - / / Functions to send raw bytes between the client and server . <nl> - void SendBytesToPeer ( bool is_client , unsigned char * buf , <nl> - unsigned int buf_size ) ; <nl> - void ReadBytesFromPeer ( bool is_client , unsigned char * buf , <nl> - unsigned int * buf_size ) ; <nl> - / / Do a single step of the handshake . <nl> - void DoHandshakeStep ( bool is_client , unsigned int buf_allocated_size , <nl> - tsi_handshaker * handshaker , string * remaining_bytes ) ; <nl> - void DoRoundTrip ( const string & request , const string & response ) ; <nl> - <nl> - string to_server_channel_ ; <nl> - string to_client_channel_ ; <nl> - } ; <nl> - <nl> - } / / namespace test <nl> - } / / namespace tsi <nl> - <nl> - # endif / / __TRANSPORT_SECURITY_TEST_LIB_H_ <nl> mmm a / src / cpp / client / credentials . cc <nl> ppp b / src / cpp / client / credentials . cc <nl> <nl> <nl> # include < string > <nl> <nl> - # include < grpc / grpc_security . h > <nl> + # include < grpc / grpc_security_google . h > <nl> # include < grpc / support / log . h > <nl> <nl> # include < grpc + + / credentials . h > <nl> mmm a / src / cpp / server / server_credentials . cc <nl> ppp b / src / cpp / server / server_credentials . cc <nl> <nl> * / <nl> <nl> <nl> - # include < grpc / grpc_security . h > <nl> + # include < grpc / grpc_security_google . h > <nl> <nl> # include < grpc + + / server_credentials . h > <nl> <nl> new file mode 100644 <nl> index 00000000000 . . 1f1bc0a5fbe <nl> mmm / dev / null <nl> ppp b / templates / vsprojects / vs2013 / gpr_test_util . vcxproj . template <nl> <nl> + < % namespace file = " vcxproj_defs . include " import = " gen_project " / > \ <nl> + $ { gen_project ( ' gpr_test_util ' , libs , targets ) } <nl> \ No newline at end of file <nl> mmm a / test / core / end2end / dualstack_socket_test . c <nl> ppp b / test / core / end2end / dualstack_socket_test . c <nl> void test_connect ( const char * server_host , const char * client_host , int port , <nl> cq_verifier * v_client ; <nl> cq_verifier * v_server ; <nl> gpr_timespec deadline ; <nl> + int got_port ; <nl> <nl> - gpr_join_host_port ( & client_hostport , client_host , port ) ; <nl> gpr_join_host_port ( & server_hostport , server_host , port ) ; <nl> - gpr_log ( GPR_INFO , " Testing with server = % s client = % s ( expecting % s ) " , <nl> - server_hostport , client_hostport , expect_ok ? " success " : " failure " ) ; <nl> <nl> / * Create server . * / <nl> server_cq = grpc_completion_queue_create ( ) ; <nl> server = grpc_server_create ( server_cq , NULL ) ; <nl> - GPR_ASSERT ( grpc_server_add_http2_port ( server , server_hostport ) ) ; <nl> + GPR_ASSERT ( ( got_port = grpc_server_add_http2_port ( server , server_hostport ) ) > <nl> + 0 ) ; <nl> + if ( port = = 0 ) { <nl> + port = got_port ; <nl> + } else { <nl> + GPR_ASSERT ( port = = got_port ) ; <nl> + } <nl> grpc_server_start ( server ) ; <nl> - gpr_free ( server_hostport ) ; <nl> v_server = cq_verifier_create ( server_cq ) ; <nl> <nl> / * Create client . * / <nl> + gpr_join_host_port ( & client_hostport , client_host , port ) ; <nl> client_cq = grpc_completion_queue_create ( ) ; <nl> client = grpc_channel_create ( client_hostport , NULL ) ; <nl> - gpr_free ( client_hostport ) ; <nl> v_client = cq_verifier_create ( client_cq ) ; <nl> <nl> + gpr_log ( GPR_INFO , " Testing with server = % s client = % s ( expecting % s ) " , <nl> + server_hostport , client_hostport , expect_ok ? " success " : " failure " ) ; <nl> + <nl> + gpr_free ( client_hostport ) ; <nl> + gpr_free ( server_hostport ) ; <nl> + <nl> if ( expect_ok ) { <nl> / * Normal deadline , shouldn ' t be reached . * / <nl> deadline = ms_from_now ( 60000 ) ; <nl> void test_connect ( const char * server_host , const char * client_host , int port , <nl> <nl> int main ( int argc , char * * argv ) { <nl> int do_ipv6 = 1 ; <nl> - int i ; <nl> - int port = grpc_pick_unused_port_or_die ( ) ; <nl> + int fixed_port ; <nl> <nl> grpc_test_init ( argc , argv ) ; <nl> grpc_init ( ) ; <nl> int main ( int argc , char * * argv ) { <nl> do_ipv6 = 0 ; <nl> } <nl> <nl> - for ( i = 0 ; i < = 1 ; i + + ) { <nl> + for ( fixed_port = 0 ; fixed_port < = 1 ; fixed_port + + ) { <nl> + int port = fixed_port ? grpc_pick_unused_port_or_die ( ) : 0 ; <nl> + <nl> / * For coverage , test with and without dualstack sockets . * / <nl> - grpc_forbid_dualstack_sockets_for_testing = i ; <nl> - <nl> - / * : : and 0 . 0 . 0 . 0 are handled identically . * / <nl> - test_connect ( " : : " , " 127 . 0 . 0 . 1 " , port , 1 ) ; <nl> - test_connect ( " : : " , " : : ffff : 127 . 0 . 0 . 1 " , port , 1 ) ; <nl> - test_connect ( " : : " , " localhost " , port , 1 ) ; <nl> - test_connect ( " 0 . 0 . 0 . 0 " , " 127 . 0 . 0 . 1 " , port , 1 ) ; <nl> - test_connect ( " 0 . 0 . 0 . 0 " , " : : ffff : 127 . 0 . 0 . 1 " , port , 1 ) ; <nl> - test_connect ( " 0 . 0 . 0 . 0 " , " localhost " , port , 1 ) ; <nl> - if ( do_ipv6 ) { <nl> - test_connect ( " : : " , " : : 1 " , port , 1 ) ; <nl> - test_connect ( " 0 . 0 . 0 . 0 " , " : : 1 " , port , 1 ) ; <nl> - } <nl> + for ( grpc_forbid_dualstack_sockets_for_testing = 0 ; <nl> + grpc_forbid_dualstack_sockets_for_testing < = 1 ; <nl> + grpc_forbid_dualstack_sockets_for_testing + + ) { <nl> + / * : : and 0 . 0 . 0 . 0 are handled identically . * / <nl> + test_connect ( " : : " , " 127 . 0 . 0 . 1 " , port , 1 ) ; <nl> + test_connect ( " : : " , " : : ffff : 127 . 0 . 0 . 1 " , port , 1 ) ; <nl> + test_connect ( " : : " , " localhost " , port , 1 ) ; <nl> + test_connect ( " 0 . 0 . 0 . 0 " , " 127 . 0 . 0 . 1 " , port , 1 ) ; <nl> + test_connect ( " 0 . 0 . 0 . 0 " , " : : ffff : 127 . 0 . 0 . 1 " , port , 1 ) ; <nl> + test_connect ( " 0 . 0 . 0 . 0 " , " localhost " , port , 1 ) ; <nl> + if ( do_ipv6 ) { <nl> + test_connect ( " : : " , " : : 1 " , port , 1 ) ; <nl> + test_connect ( " 0 . 0 . 0 . 0 " , " : : 1 " , port , 1 ) ; <nl> + } <nl> + <nl> + / * These only work when the families agree . * / <nl> + test_connect ( " 127 . 0 . 0 . 1 " , " 127 . 0 . 0 . 1 " , port , 1 ) ; <nl> + if ( do_ipv6 ) { <nl> + test_connect ( " : : 1 " , " : : 1 " , port , 1 ) ; <nl> + test_connect ( " : : 1 " , " 127 . 0 . 0 . 1 " , port , 0 ) ; <nl> + test_connect ( " 127 . 0 . 0 . 1 " , " : : 1 " , port , 0 ) ; <nl> + } <nl> <nl> - / * These only work when the families agree . * / <nl> - test_connect ( " 127 . 0 . 0 . 1 " , " 127 . 0 . 0 . 1 " , port , 1 ) ; <nl> - if ( do_ipv6 ) { <nl> - test_connect ( " : : 1 " , " : : 1 " , port , 1 ) ; <nl> - test_connect ( " : : 1 " , " 127 . 0 . 0 . 1 " , port , 0 ) ; <nl> - test_connect ( " 127 . 0 . 0 . 1 " , " : : 1 " , port , 0 ) ; <nl> } <nl> - <nl> } <nl> <nl> grpc_shutdown ( ) ; <nl> mmm a / test / core / end2end / gen_build_json . py <nl> ppp b / test / core / end2end / gen_build_json . py <nl> def main ( ) : <nl> ' end2end_certs ' , <nl> ' grpc_test_util ' , <nl> ' grpc ' , <nl> + ' gpr_test_util ' , <nl> ' gpr ' <nl> ] <nl> } <nl> mmm a / vsprojects / vs2013 / build_and_run_tests . bat <nl> ppp b / vsprojects / vs2013 / build_and_run_tests . bat <nl> mkdir test_bin <nl> <nl> echo Building test gpr_cancellable_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ cancellable_test . c <nl> - link . exe / OUT : " test_bin \ gpr_cancellable_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ cancellable_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_cancellable_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ cancellable_test . obj <nl> echo ( <nl> echo Running test gpr_cancellable_test <nl> test_bin \ gpr_cancellable_test . exe | | echo TEST FAILED : gpr_cancellable_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_log_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ log_test . c <nl> - link . exe / OUT : " test_bin \ gpr_log_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ log_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_log_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ log_test . obj <nl> echo ( <nl> echo Running test gpr_log_test <nl> test_bin \ gpr_log_test . exe | | echo TEST FAILED : gpr_log_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_useful_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ useful_test . c <nl> - link . exe / OUT : " test_bin \ gpr_useful_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ useful_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_useful_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ useful_test . obj <nl> echo ( <nl> echo Running test gpr_useful_test <nl> test_bin \ gpr_useful_test . exe | | echo TEST FAILED : gpr_useful_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_cmdline_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ cmdline_test . c <nl> - link . exe / OUT : " test_bin \ gpr_cmdline_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ cmdline_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_cmdline_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ cmdline_test . obj <nl> echo ( <nl> echo Running test gpr_cmdline_test <nl> test_bin \ gpr_cmdline_test . exe | | echo TEST FAILED : gpr_cmdline_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_histogram_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ histogram_test . c <nl> - link . exe / OUT : " test_bin \ gpr_histogram_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ histogram_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_histogram_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ histogram_test . obj <nl> echo ( <nl> echo Running test gpr_histogram_test <nl> test_bin \ gpr_histogram_test . exe | | echo TEST FAILED : gpr_histogram_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_host_port_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ host_port_test . c <nl> - link . exe / OUT : " test_bin \ gpr_host_port_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ host_port_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_host_port_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ host_port_test . obj <nl> echo ( <nl> echo Running test gpr_host_port_test <nl> test_bin \ gpr_host_port_test . exe | | echo TEST FAILED : gpr_host_port_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_slice_buffer_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ slice_buffer_test . c <nl> - link . exe / OUT : " test_bin \ gpr_slice_buffer_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ slice_buffer_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_slice_buffer_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ slice_buffer_test . obj <nl> echo ( <nl> echo Running test gpr_slice_buffer_test <nl> test_bin \ gpr_slice_buffer_test . exe | | echo TEST FAILED : gpr_slice_buffer_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_slice_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ slice_test . c <nl> - link . exe / OUT : " test_bin \ gpr_slice_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ slice_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_slice_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ slice_test . obj <nl> echo ( <nl> echo Running test gpr_slice_test <nl> test_bin \ gpr_slice_test . exe | | echo TEST FAILED : gpr_slice_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_string_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ string_test . c <nl> - link . exe / OUT : " test_bin \ gpr_string_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ string_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_string_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ string_test . obj <nl> echo ( <nl> echo Running test gpr_string_test <nl> test_bin \ gpr_string_test . exe | | echo TEST FAILED : gpr_string_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_sync_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ sync_test . c <nl> - link . exe / OUT : " test_bin \ gpr_sync_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ sync_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_sync_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ sync_test . obj <nl> echo ( <nl> echo Running test gpr_sync_test <nl> test_bin \ gpr_sync_test . exe | | echo TEST FAILED : gpr_sync_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_thd_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ thd_test . c <nl> - link . exe / OUT : " test_bin \ gpr_thd_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ thd_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_thd_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ thd_test . obj <nl> echo ( <nl> echo Running test gpr_thd_test <nl> test_bin \ gpr_thd_test . exe | | echo TEST FAILED : gpr_thd_test & & exit / b <nl> echo ( <nl> <nl> echo Building test gpr_time_test <nl> cl . exe / c / I . . \ . . / I . . \ . . \ include / nologo / ZI / W3 / WX - / sdl / D WIN32 / D _LIB / D _USE_32BIT_TIME_T / D _UNICODE / D UNICODE / Gm / EHsc / RTC1 / MDd / GS / fp : precise / Zc : wchar_t / Zc : forScope / Gd / TC / analyze - / Fo : test_bin \ . . \ . . \ test \ core \ support \ time_test . c <nl> - link . exe / OUT : " test_bin \ gpr_time_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ grpc_test_util . lib Debug \ gpr . lib test_bin \ time_test . obj <nl> + link . exe / OUT : " test_bin \ gpr_time_test . exe " / INCREMENTAL / NOLOGO / SUBSYSTEM : CONSOLE / TLBID : 1 / DYNAMICBASE / NXCOMPAT / MACHINE : X86 Debug \ gpr_test_util . lib Debug \ gpr . lib test_bin \ time_test . obj <nl> echo ( <nl> echo Running test gpr_time_test <nl> test_bin \ gpr_time_test . exe | | echo TEST FAILED : gpr_time_test & & exit / b <nl> new file mode 100644 <nl> index 00000000000 . . 544d737bdaf <nl> mmm / dev / null <nl> ppp b / vsprojects / vs2013 / gpr_test_util . vcxproj <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project DefaultTargets = " Build " ToolsVersion = " 12 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < ItemGroup Label = " ProjectConfigurations " > <nl> + < ProjectConfiguration Include = " Debug | Win32 " > <nl> + < Configuration > Debug < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release | Win32 " > <nl> + < Configuration > Release < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < / ItemGroup > <nl> + < PropertyGroup Label = " Globals " > <nl> + < ProjectGuid > { EAB0A629 - 17A9 - 44DB - B5FF - E91A721FE037 } < / ProjectGuid > <nl> + < / PropertyGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . Default . props " / > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " Label = " Configuration " > <nl> + < ConfigurationType > StaticLibrary < / ConfigurationType > <nl> + < UseDebugLibraries > true < / UseDebugLibraries > <nl> + < PlatformToolset > v120 < / PlatformToolset > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < IntDir > $ ( Configuration ) \ $ ( ProjectName ) \ < / IntDir > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " Label = " Configuration " > <nl> + < ConfigurationType > StaticLibrary < / ConfigurationType > <nl> + < UseDebugLibraries > false < / UseDebugLibraries > <nl> + < PlatformToolset > v120 < / PlatformToolset > <nl> + < WholeProgramOptimization > true < / WholeProgramOptimization > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < IntDir > $ ( Configuration ) \ $ ( ProjectName ) \ < / IntDir > <nl> + < / PropertyGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . props " / > <nl> + < ImportGroup Label = " ExtensionSettings " > <nl> + < / ImportGroup > <nl> + < ImportGroup Label = " PropertySheets " Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < Import Project = " $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props " Condition = " exists ( ' $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props ' ) " Label = " LocalAppDataPlatform " / > <nl> + < Import Project = " global . props " / > <nl> + < / ImportGroup > <nl> + < ImportGroup Label = " PropertySheets " Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < Import Project = " $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props " Condition = " exists ( ' $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props ' ) " Label = " LocalAppDataPlatform " / > <nl> + < Import Project = " global . props " / > <nl> + < / ImportGroup > <nl> + < PropertyGroup Label = " UserMacros " / > <nl> + < PropertyGroup / > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < ClCompile > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < Optimization > Disabled < / Optimization > <nl> + < PreprocessorDefinitions > WIN32 ; _DEBUG ; _LIB ; _USE_32BIT_TIME_T ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < ClCompile > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < Optimization > MaxSpeed < / Optimization > <nl> + < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> + < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> + < PreprocessorDefinitions > WIN32 ; NDEBUG ; _LIB ; _USE_32BIT_TIME_T ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < EnableCOMDATFolding > true < / EnableCOMDATFolding > <nl> + < OptimizeReferences > true < / OptimizeReferences > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemGroup > <nl> + < ClCompile Include = " . . \ . . \ test \ core \ util \ test_config . c " > <nl> + < / ClCompile > <nl> + < / ItemGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . targets " / > <nl> + < ImportGroup Label = " ExtensionTargets " > <nl> + < / ImportGroup > <nl> + < / Project > <nl> mmm a / vsprojects / vs2013 / grpc . sln <nl> ppp b / vsprojects / vs2013 / grpc . sln <nl> Project ( " { 8BC9CEB8 - 8B4A - 11D0 - 8D11 - 00A0C91BC942 } " ) = " grpc_unsecure " , " grpc_unsec <nl> { B23D3D1A - 9438 - 4EDA - BEB6 - 9A0A03D17792 } = { B23D3D1A - 9438 - 4EDA - BEB6 - 9A0A03D17792 } <nl> EndProjectSection <nl> EndProject <nl> + Project ( " { 8BC9CEB8 - 8B4A - 11D0 - 8D11 - 00A0C91BC942 } " ) = " gpr_test_util " , " gpr_test_util . vcxproj " , " { EAB0A629 - 17A9 - 44DB - B5FF - E91A721FE037 } " <nl> + EndProject <nl> Project ( " { 8BC9CEB8 - 8B4A - 11D0 - 8D11 - 00A0C91BC942 } " ) = " grpc_test_util " , " grpc_test_util . vcxproj " , " { 17BCAFC0 - 5FDC - 4C94 - AEB9 - 95F3E220614B } " <nl> EndProject <nl> Project ( " { 8BC9CEB8 - 8B4A - 11D0 - 8D11 - 00A0C91BC942 } " ) = " zlibvc " , " third_party \ zlibvc . vcxproj " , " { 8FD826F8 - 3739 - 44E6 - 8CC8 - 997122E53B8D } " <nl> Global <nl> { 46CEDFFF - 9692 - 456A - AA24 - 38B5D6BCF4C5 } . Debug | Win32 . Build . 0 = Debug | Win32 <nl> { 46CEDFFF - 9692 - 456A - AA24 - 38B5D6BCF4C5 } . Release | Win32 . ActiveCfg = Release | Win32 <nl> { 46CEDFFF - 9692 - 456A - AA24 - 38B5D6BCF4C5 } . Release | Win32 . Build . 0 = Release | Win32 <nl> + { EAB0A629 - 17A9 - 44DB - B5FF - E91A721FE037 } . Debug | Win32 . ActiveCfg = Debug | Win32 <nl> + { EAB0A629 - 17A9 - 44DB - B5FF - E91A721FE037 } . Debug | Win32 . Build . 0 = Debug | Win32 <nl> + { EAB0A629 - 17A9 - 44DB - B5FF - E91A721FE037 } . Release | Win32 . ActiveCfg = Release | Win32 <nl> + { EAB0A629 - 17A9 - 44DB - B5FF - E91A721FE037 } . Release | Win32 . Build . 0 = Release | Win32 <nl> { 17BCAFC0 - 5FDC - 4C94 - AEB9 - 95F3E220614B } . Debug | Win32 . ActiveCfg = Debug | Win32 <nl> { 17BCAFC0 - 5FDC - 4C94 - AEB9 - 95F3E220614B } . Debug | Win32 . Build . 0 = Debug | Win32 <nl> { 17BCAFC0 - 5FDC - 4C94 - AEB9 - 95F3E220614B } . Release | Win32 . ActiveCfg = Release | Win32 <nl> mmm a / vsprojects / vs2013 / grpc . vcxproj <nl> ppp b / vsprojects / vs2013 / grpc . vcxproj <nl> <nl> < / ClCompile > <nl> < ClCompile Include = " . . \ . . \ src \ core \ security \ credentials . c " > <nl> < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ factories . c " > <nl> + < / ClCompile > <nl> < ClCompile Include = " . . \ . . \ src \ core \ security \ google_root_certs . c " > <nl> < / ClCompile > <nl> < ClCompile Include = " . . \ . . \ src \ core \ security \ json_token . c " > <nl> mmm a / vsprojects / vs2013 / grpc_test_util . vcxproj <nl> ppp b / vsprojects / vs2013 / grpc_test_util . vcxproj <nl> <nl> < / ClCompile > <nl> < ClCompile Include = " . . \ . . \ test \ core \ util \ grpc_profiler . c " > <nl> < / ClCompile > <nl> - < ClCompile Include = " . . \ . . \ test \ core \ util \ parse_hexstring . c " > <nl> - < / ClCompile > <nl> < ClCompile Include = " . . \ . . \ test \ core \ util \ port_posix . c " > <nl> < / ClCompile > <nl> - < ClCompile Include = " . . \ . . \ test \ core \ util \ slice_splitter . c " > <nl> + < ClCompile Include = " . . \ . . \ test \ core \ util \ parse_hexstring . c " > <nl> < / ClCompile > <nl> - < ClCompile Include = " . . \ . . \ test \ core \ util \ test_config . c " > <nl> + < ClCompile Include = " . . \ . . \ test \ core \ util \ slice_splitter . c " > <nl> < / ClCompile > <nl> < / ItemGroup > <nl> < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . targets " / > <nl> mmm a / vsprojects / vs2013 / grpc_unsecure . vcxproj <nl> ppp b / vsprojects / vs2013 / grpc_unsecure . vcxproj <nl> <nl> < / ClCompile > <nl> < ClCompile Include = " . . \ . . \ src \ core \ security \ credentials . c " > <nl> < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ factories . c " > <nl> + < / ClCompile > <nl> < ClCompile Include = " . . \ . . \ src \ core \ security \ google_root_certs . c " > <nl> < / ClCompile > <nl> < ClCompile Include = " . . \ . . \ src \ core \ security \ json_token . c " > <nl>
Merge github . com : google / grpc
grpc/grpc
9fef05c2f07a20c2e32746cd4bbb14e85e1e64fc
2015-01-13T01:47:59Z
mmm a / atom / browser / browser . cc <nl> ppp b / atom / browser / browser . cc <nl> void Browser : : Shutdown ( ) { <nl> FOR_EACH_OBSERVER ( BrowserObserver , observers_ , OnQuit ( ) ) ; <nl> <nl> is_quiting_ = true ; <nl> - base : : MessageLoop : : current ( ) - > Quit ( ) ; <nl> + base : : MessageLoop : : current ( ) - > PostTask ( <nl> + FROM_HERE , base : : MessageLoop : : QuitWhenIdleClosure ( ) ) ; <nl> } <nl> <nl> std : : string Browser : : GetVersion ( ) const { <nl>
win : Delay quitting until next tick of message loop
electron/electron
ab859067aaa4d275c252f8bc3c913ba3463f6003
2015-08-27T03:42:06Z
mmm a / packaging / msi / FDBInstaller . wxs <nl> ppp b / packaging / msi / FDBInstaller . wxs <nl> <nl> <nl> < Wix xmlns = ' http : / / schemas . microsoft . com / wix / 2006 / wi ' > <nl> < Product Name = ' $ ( var . Title ) ' <nl> - Id = ' { B37A757C - 53EB - 47DD - 903D - 7C7F6DEE06A5 } ' <nl> + Id = ' { 32F74616 - 4B66 - 4A17 - 972F - 765FF2C03728 } ' <nl> UpgradeCode = ' { A95EA002 - 686E - 4164 - 8356 - C715B7F8B1C8 } ' <nl> Version = ' $ ( var . Version ) ' <nl> Manufacturer = ' $ ( var . Manufacturer ) ' <nl>
update installer WIX GUID following release
apple/foundationdb
fa173ce18794a1b5e3e3d88ca139ec3c3e0dd720
2019-05-09T01:08:50Z
mmm a / src / txmempool . h <nl> ppp b / src / txmempool . h <nl> class CompareTxMemPoolEntryByDescendantScore <nl> public : <nl> bool operator ( ) ( const CTxMemPoolEntry & a , const CTxMemPoolEntry & b ) const <nl> { <nl> - bool fUseADescendants = UseDescendantScore ( a ) ; <nl> - bool fUseBDescendants = UseDescendantScore ( b ) ; <nl> + double a_mod_fee , a_size , b_mod_fee , b_size ; <nl> <nl> - double aModFee = fUseADescendants ? a . GetModFeesWithDescendants ( ) : a . GetModifiedFee ( ) ; <nl> - double aSize = fUseADescendants ? a . GetSizeWithDescendants ( ) : a . GetTxSize ( ) ; <nl> - <nl> - double bModFee = fUseBDescendants ? b . GetModFeesWithDescendants ( ) : b . GetModifiedFee ( ) ; <nl> - double bSize = fUseBDescendants ? b . GetSizeWithDescendants ( ) : b . GetTxSize ( ) ; <nl> + GetModFeeAndSize ( a , a_mod_fee , a_size ) ; <nl> + GetModFeeAndSize ( b , b_mod_fee , b_size ) ; <nl> <nl> / / Avoid division by rewriting ( a / b > c / d ) as ( a * d > c * b ) . <nl> - double f1 = aModFee * bSize ; <nl> - double f2 = aSize * bModFee ; <nl> + double f1 = a_mod_fee * b_size ; <nl> + double f2 = a_size * b_mod_fee ; <nl> <nl> if ( f1 = = f2 ) { <nl> return a . GetTime ( ) > = b . GetTime ( ) ; <nl> class CompareTxMemPoolEntryByDescendantScore <nl> return f1 < f2 ; <nl> } <nl> <nl> - / / Calculate which score to use for an entry ( avoiding division ) . <nl> - bool UseDescendantScore ( const CTxMemPoolEntry & a ) const <nl> + / / Return the fee / size we ' re using for sorting this entry . <nl> + void GetModFeeAndSize ( const CTxMemPoolEntry & a , double & mod_fee , double & size ) const <nl> { <nl> + / / Compare feerate with descendants to feerate of the transaction , and <nl> + / / return the fee / size for the max . <nl> double f1 = ( double ) a . GetModifiedFee ( ) * a . GetSizeWithDescendants ( ) ; <nl> double f2 = ( double ) a . GetModFeesWithDescendants ( ) * a . GetTxSize ( ) ; <nl> - return f2 > f1 ; <nl> + <nl> + if ( f2 > f1 ) { <nl> + mod_fee = a . GetModFeesWithDescendants ( ) ; <nl> + size = a . GetSizeWithDescendants ( ) ; <nl> + } else { <nl> + mod_fee = a . GetModifiedFee ( ) ; <nl> + size = a . GetTxSize ( ) ; <nl> + } <nl> } <nl> } ; <nl> <nl>
Refactor CompareTxMemPoolEntryByDescendantScore
bitcoin/bitcoin
6773f92b302915b75db4ded9814563d42de3d489
2018-01-09T16:53:40Z
mmm a / src / btree / get . cc <nl> ppp b / src / btree / get . cc <nl> get_result_t btree_get ( const store_key_t & store_key , btree_slice_t * slice , order <nl> <nl> slice - > assert_thread ( ) ; <nl> <nl> + boost : : scoped_ptr < transaction_t > txn ; <nl> got_superblock_t got ; <nl> - get_btree_superblock ( slice , rwi_read , token , & got ) ; <nl> + get_btree_superblock ( slice , rwi_read , token , & got , txn ) ; <nl> <nl> keyvalue_location_t < memcached_value_t > kv_location ; <nl> - find_keyvalue_location_for_read ( & got , key , & kv_location ) ; <nl> + find_keyvalue_location_for_read ( txn . get ( ) , & got , key , & kv_location ) ; <nl> <nl> if ( ! kv_location . value ) { <nl> return get_result_t ( ) ; <nl> get_result_t btree_get ( const store_key_t & store_key , btree_slice_t * slice , order <nl> return get_result_t ( ) ; <nl> } <nl> <nl> - boost : : intrusive_ptr < data_buffer_t > dp = value_to_data_buffer ( value , kv_location . txn . get ( ) ) ; <nl> + boost : : intrusive_ptr < data_buffer_t > dp = value_to_data_buffer ( value , txn . get ( ) ) ; <nl> <nl> return get_result_t ( dp , value - > mcflags ( ) , 0 ) ; <nl> } <nl> mmm a / src / btree / iteration . hpp <nl> ppp b / src / btree / iteration . hpp <nl> struct key_value_pair_t { <nl> * / <nl> template < class Value > <nl> struct leaf_iterator_t : public one_way_iterator_t < key_value_pair_t < Value > > { <nl> - leaf_iterator_t ( const leaf_node_t * leaf , leaf : : live_iter_t iter , buf_lock_t * lock , const boost : : shared_ptr < value_sizer_t < Value > > & sizer , const boost : : shared_ptr < transaction_t > & transaction ) ; <nl> + leaf_iterator_t ( const leaf_node_t * leaf , leaf : : live_iter_t iter , buf_lock_t * lock , const boost : : shared_ptr < value_sizer_t < Value > > & sizer , transaction_t * transaction ) ; <nl> <nl> boost : : optional < key_value_pair_t < Value > > next ( ) ; <nl> void prefetch ( ) ; <nl> struct leaf_iterator_t : public one_way_iterator_t < key_value_pair_t < Value > > { <nl> leaf : : live_iter_t iter ; <nl> buf_lock_t * lock ; <nl> boost : : shared_ptr < value_sizer_t < Value > > sizer ; <nl> - boost : : shared_ptr < transaction_t > transaction ; <nl> + transaction_t * transaction ; <nl> } ; <nl> <nl> / * slice_leaves_iterator_t finds the first leaf that contains the given key ( or <nl> class slice_leaves_iterator_t : public one_way_iterator_t < leaf_iterator_t < Value > <nl> buf_lock_t * lock ; <nl> } ; <nl> public : <nl> - slice_leaves_iterator_t ( const boost : : shared_ptr < value_sizer_t < Value > > & sizer , const boost : : shared_ptr < transaction_t > & transaction , boost : : scoped_ptr < superblock_t > & superblock , int slice_home_thread , rget_bound_mode_t left_mode , const btree_key_t * left_key , rget_bound_mode_t right_mode , const btree_key_t * right_key ) ; <nl> + slice_leaves_iterator_t ( const boost : : shared_ptr < value_sizer_t < Value > > & sizer , transaction_t * transaction , boost : : scoped_ptr < superblock_t > & superblock , int slice_home_thread , rget_bound_mode_t left_mode , const btree_key_t * left_key , rget_bound_mode_t right_mode , const btree_key_t * right_key ) ; <nl> <nl> boost : : optional < leaf_iterator_t < Value > * > next ( ) ; <nl> void prefetch ( ) ; <nl> class slice_leaves_iterator_t : public one_way_iterator_t < leaf_iterator_t < Value > <nl> block_id_t get_child_id ( const internal_node_t * i_node , int index ) const ; <nl> <nl> boost : : shared_ptr < value_sizer_t < Value > > sizer ; <nl> - boost : : shared_ptr < transaction_t > transaction ; <nl> + transaction_t * transaction ; <nl> boost : : scoped_ptr < superblock_t > superblock ; <nl> int slice_home_thread ; <nl> rget_bound_mode_t left_mode ; <nl> template < class Value > <nl> class slice_keys_iterator_t : public one_way_iterator_t < key_value_pair_t < Value > > { <nl> public : <nl> / * Cannot assume that ' start ' and ' end ' will remain valid after the constructor returns ! * / <nl> - slice_keys_iterator_t ( const boost : : shared_ptr < value_sizer_t < Value > > & sizer , const boost : : shared_ptr < transaction_t > & transaction , boost : : scoped_ptr < superblock_t > & superblock , int slice_home_thread , rget_bound_mode_t left_mode , const store_key_t & left_key , rget_bound_mode_t right_mode , const store_key_t & right_key ) ; <nl> + slice_keys_iterator_t ( const boost : : shared_ptr < value_sizer_t < Value > > & sizer , transaction_t * transaction , boost : : scoped_ptr < superblock_t > & superblock , int slice_home_thread , rget_bound_mode_t left_mode , const store_key_t & left_key , rget_bound_mode_t right_mode , const store_key_t & right_key ) ; <nl> virtual ~ slice_keys_iterator_t ( ) ; <nl> <nl> boost : : optional < key_value_pair_t < Value > > next ( ) ; <nl> class slice_keys_iterator_t : public one_way_iterator_t < key_value_pair_t < Value > <nl> void done ( ) ; <nl> <nl> boost : : shared_ptr < value_sizer_t < Value > > sizer ; <nl> - boost : : shared_ptr < transaction_t > transaction ; <nl> + transaction_t * transaction ; <nl> boost : : scoped_ptr < superblock_t > superblock ; <nl> int slice_home_thread ; <nl> rget_bound_mode_t left_mode ; <nl> mmm a / src / btree / iteration . tcc <nl> ppp b / src / btree / iteration . tcc <nl> extern perfmon_counter_t <nl> slice_leaves_iterators ; <nl> <nl> template < class Value > <nl> - leaf_iterator_t < Value > : : leaf_iterator_t ( const leaf_node_t * _leaf , leaf : : live_iter_t _iter , buf_lock_t * _lock , const boost : : shared_ptr < value_sizer_t < Value > > & _sizer , const boost : : shared_ptr < transaction_t > & _transaction ) : <nl> + leaf_iterator_t < Value > : : leaf_iterator_t ( const leaf_node_t * _leaf , leaf : : live_iter_t _iter , buf_lock_t * _lock , const boost : : shared_ptr < value_sizer_t < Value > > & _sizer , transaction_t * _transaction ) : <nl> leaf ( _leaf ) , iter ( _iter ) , lock ( _lock ) , sizer ( _sizer ) , transaction ( _transaction ) { <nl> <nl> rassert ( leaf ! = NULL ) ; <nl> void leaf_iterator_t < Value > : : done ( ) { <nl> } <nl> <nl> template < class Value > <nl> - slice_leaves_iterator_t < Value > : : slice_leaves_iterator_t ( const boost : : shared_ptr < value_sizer_t < Value > > & _sizer , const boost : : shared_ptr < transaction_t > & _transaction , boost : : scoped_ptr < superblock_t > & _superblock , int _slice_home_thread , <nl> + slice_leaves_iterator_t < Value > : : slice_leaves_iterator_t ( const boost : : shared_ptr < value_sizer_t < Value > > & _sizer , transaction_t * _transaction , boost : : scoped_ptr < superblock_t > & _superblock , int _slice_home_thread , <nl> rget_bound_mode_t _left_mode , const btree_key_t * _left_key , rget_bound_mode_t _right_mode , const btree_key_t * _right_key ) : <nl> sizer ( _sizer ) , transaction ( _transaction ) , slice_home_thread ( _slice_home_thread ) , <nl> left_mode ( _left_mode ) , left_key ( _left_key ) , right_mode ( _right_mode ) , right_key ( _right_key ) , <nl> boost : : optional < leaf_iterator_t < Value > * > slice_leaves_iterator_t < Value > : : get_fir <nl> superblock - > swap_buf ( * buf_lock ) ; <nl> <nl> { <nl> - buf_lock_t tmp ( transaction . get ( ) , root_id , rwi_read ) ; <nl> + buf_lock_t tmp ( transaction , root_id , rwi_read ) ; <nl> buf_lock - > swap ( tmp ) ; <nl> } <nl> <nl> boost : : optional < leaf_iterator_t < Value > * > slice_leaves_iterator_t < Value > : : get_fir <nl> <nl> block_id_t child_id = get_child_id ( i_node , index ) ; <nl> <nl> - buf_lock = new buf_lock_t ( transaction . get ( ) , child_id , rwi_read ) ; <nl> + buf_lock = new buf_lock_t ( transaction , child_id , rwi_read ) ; <nl> node = reinterpret_cast < const node_t * > ( buf_lock - > buf ( ) - > get_data_read ( ) ) ; <nl> } <nl> <nl> boost : : optional < leaf_iterator_t < Value > * > slice_leaves_iterator_t < Value > : : get_lef <nl> <nl> / / TODO : Why is there a buf_lock_t pointer ? This is not how <nl> / / buf_lock_t works . Just use a buf_t pointer then . <nl> - buf_lock_t * buf_lock = new buf_lock_t ( transaction . get ( ) , node_id , rwi_read ) ; <nl> + buf_lock_t * buf_lock = new buf_lock_t ( transaction , node_id , rwi_read ) ; <nl> const node_t * node = reinterpret_cast < const node_t * > ( buf_lock - > buf ( ) - > get_data_read ( ) ) ; <nl> <nl> while ( node : : is_internal ( node ) ) { <nl> boost : : optional < leaf_iterator_t < Value > * > slice_leaves_iterator_t < Value > : : get_lef <nl> <nl> block_id_t child_id = get_child_id ( i_node , leftmost_child_index ) ; <nl> <nl> - buf_lock = new buf_lock_t ( transaction . get ( ) , child_id , rwi_read ) ; <nl> + buf_lock = new buf_lock_t ( transaction , child_id , rwi_read ) ; <nl> node = reinterpret_cast < const node_t * > ( buf_lock - > buf ( ) - > get_data_read ( ) ) ; <nl> } <nl> rassert ( node ! = NULL ) ; <nl> block_id_t slice_leaves_iterator_t < Value > : : get_child_id ( const internal_node_t * i <nl> } <nl> <nl> template < class Value > <nl> - slice_keys_iterator_t < Value > : : slice_keys_iterator_t ( const boost : : shared_ptr < value_sizer_t < Value > > & _sizer , const boost : : shared_ptr < transaction_t > & _transaction , boost : : scoped_ptr < superblock_t > & _superblock , int _slice_home_thread , <nl> + slice_keys_iterator_t < Value > : : slice_keys_iterator_t ( const boost : : shared_ptr < value_sizer_t < Value > > & _sizer , transaction_t * _transaction , boost : : scoped_ptr < superblock_t > & _superblock , int _slice_home_thread , <nl> rget_bound_mode_t _left_mode , const store_key_t & _left_key , rget_bound_mode_t _right_mode , const store_key_t & _right_key ) : <nl> sizer ( _sizer ) , transaction ( _transaction ) , slice_home_thread ( _slice_home_thread ) , <nl> left_mode ( _left_mode ) , left_key ( _left_key ) , right_mode ( _right_mode ) , right_key ( _right_key ) , <nl> mmm a / src / btree / modify_oper . tcc <nl> ppp b / src / btree / modify_oper . tcc <nl> void run_btree_modify_oper ( btree_modify_oper_t < Value > * oper , btree_slice_t * slic <nl> block_size_t block_size = slice - > cache ( ) - > get_block_size ( ) ; <nl> <nl> { <nl> + boost : : scoped_ptr < transaction_t > txn ; <nl> got_superblock_t got_superblock ; <nl> <nl> - get_btree_superblock ( slice , rwi_write , oper - > compute_expected_change_count ( block_size ) , castime . timestamp , token , & got_superblock ) ; <nl> + get_btree_superblock ( slice , rwi_write , oper - > compute_expected_change_count ( block_size ) , castime . timestamp , token , & got_superblock , txn ) ; <nl> <nl> keyvalue_location_t < Value > kv_location ; <nl> - find_keyvalue_location_for_write ( & got_superblock , key , & kv_location ) ; <nl> - transaction_t * txn = kv_location . txn . get ( ) ; <nl> + find_keyvalue_location_for_write ( txn . get ( ) , & got_superblock , key , & kv_location ) ; <nl> scoped_malloc < Value > the_value ; <nl> the_value . reinterpret_swap ( kv_location . value ) ; <nl> <nl> void run_btree_modify_oper ( btree_modify_oper_t < Value > * oper , btree_slice_t * slic <nl> / / If the value ' s expired , delete it . <nl> if ( expired ) { <nl> blob_t b ( the_value - > value_ref ( ) , blob : : btree_maxreflen ) ; <nl> - b . unappend_region ( txn , b . valuesize ( ) ) ; <nl> + b . unappend_region ( txn . get ( ) , b . valuesize ( ) ) ; <nl> the_value . reset ( ) ; <nl> } <nl> <nl> - bool update_needed = oper - > operate ( txn , the_value ) ; <nl> + bool update_needed = oper - > operate ( txn . get ( ) , the_value ) ; <nl> update_needed = update_needed | | expired ; <nl> <nl> / / Add a CAS to the value if necessary <nl> void run_btree_modify_oper ( btree_modify_oper_t < Value > * oper , btree_slice_t * slic <nl> / / Actually update the leaf , if needed . <nl> if ( update_needed ) { <nl> kv_location . value . reinterpret_swap ( the_value ) ; <nl> - apply_keyvalue_change ( & kv_location , key , castime . timestamp , expired ) ; <nl> + apply_keyvalue_change ( txn . get ( ) , & kv_location , key , castime . timestamp , expired ) ; <nl> } <nl> } <nl> } <nl> mmm a / src / btree / operations . hpp <nl> ppp b / src / btree / operations . hpp <nl> class got_superblock_t { <nl> public : <nl> got_superblock_t ( ) { } <nl> <nl> - boost : : shared_ptr < transaction_t > txn ; <nl> boost : : scoped_ptr < superblock_t > sb ; <nl> <nl> private : <nl> class keyvalue_location_t { <nl> public : <nl> keyvalue_location_t ( ) : there_originally_was_value ( false ) { } <nl> <nl> - boost : : shared_ptr < transaction_t > txn ; <nl> boost : : scoped_ptr < superblock_t > sb ; <nl> <nl> / / The parent buf of buf , if buf is not the root node . This is hacky . <nl> class keyvalue_location_t { <nl> scoped_malloc < Value > value ; <nl> <nl> void swap ( keyvalue_location_t & other ) { <nl> - txn . swap ( other . txn ) ; <nl> sb . swap ( other . sb ) ; <nl> last_buf . swap ( other . last_buf ) ; <nl> buf . swap ( other . buf ) ; <nl> class value_txn_t { <nl> scoped_malloc < Value > & value ( ) ; <nl> <nl> transaction_t * get_txn ( ) ; <nl> + <nl> private : <nl> btree_key_t * key ; <nl> + boost : : scoped_ptr < transaction_t > txn ; <nl> keyvalue_location_t < Value > kv_location ; <nl> repli_timestamp_t tstamp ; <nl> <nl> mmm a / src / btree / operations . tcc <nl> ppp b / src / btree / operations . tcc <nl> void check_and_handle_underfull ( value_sizer_t < Value > * sizer , transaction_t * txn , <nl> } <nl> } <nl> <nl> - inline void get_btree_superblock ( btree_slice_t * slice , access_t access , int expected_change_count , repli_timestamp_t tstamp , order_token_t token , got_superblock_t * got_superblock_out ) { <nl> + inline void get_btree_superblock ( btree_slice_t * slice , access_t access , int expected_change_count , repli_timestamp_t tstamp , order_token_t token , got_superblock_t * got_superblock_out , boost : : scoped_ptr < transaction_t > & txn_out ) { <nl> slice - > assert_thread ( ) ; <nl> <nl> slice - > pre_begin_transaction_sink_ . check_out ( token ) ; <nl> inline void get_btree_superblock ( btree_slice_t * slice , access_t access , int expe <nl> if ( is_read_mode ( access ) ) { <nl> begin_transaction_token = begin_transaction_token . with_read_mode ( ) ; <nl> } <nl> - got_superblock_out - > txn . reset ( new transaction_t ( slice - > cache ( ) , access , expected_change_count , tstamp ) ) ; <nl> - got_superblock_out - > txn - > set_token ( slice - > post_begin_transaction_checkpoint_ . check_through ( begin_transaction_token ) ) ; <nl> + txn_out . reset ( new transaction_t ( slice - > cache ( ) , access , expected_change_count , tstamp ) ) ; <nl> + txn_out - > set_token ( slice - > post_begin_transaction_checkpoint_ . check_through ( begin_transaction_token ) ) ; <nl> <nl> - buf_lock_t tmp_buf ( got_superblock_out - > txn . get ( ) , SUPERBLOCK_ID , access ) ; <nl> + buf_lock_t tmp_buf ( txn_out . get ( ) , SUPERBLOCK_ID , access ) ; <nl> boost : : scoped_ptr < superblock_t > tmp_sb ( new real_superblock_t ( tmp_buf ) ) ; <nl> got_superblock_out - > sb . swap ( tmp_sb ) ; <nl> } <nl> <nl> - inline void get_btree_superblock ( btree_slice_t * slice , access_t access , order_token_t token , got_superblock_t * got_superblock_out ) { <nl> + inline void get_btree_superblock ( btree_slice_t * slice , access_t access , order_token_t token , got_superblock_t * got_superblock_out , boost : : scoped_ptr < transaction_t > & txn_out ) { <nl> rassert ( is_read_mode ( access ) ) ; <nl> - get_btree_superblock ( slice , access , 0 , repli_timestamp_t : : distant_past , token , got_superblock_out ) ; <nl> + get_btree_superblock ( slice , access , 0 , repli_timestamp_t : : distant_past , token , got_superblock_out , txn_out ) ; <nl> } <nl> <nl> template < class Value > <nl> - void find_keyvalue_location_for_write ( got_superblock_t * got_superblock , btree_key_t * key , keyvalue_location_t < Value > * keyvalue_location_out ) { <nl> + void find_keyvalue_location_for_write ( transaction_t * txn , got_superblock_t * got_superblock , btree_key_t * key , keyvalue_location_t < Value > * keyvalue_location_out ) { <nl> keyvalue_location_out - > sb . swap ( got_superblock - > sb ) ; <nl> - keyvalue_location_out - > txn = got_superblock - > txn ; <nl> - value_sizer_t < Value > v_sizer ( keyvalue_location_out - > txn - > get_cache ( ) - > get_block_size ( ) ) ; <nl> + value_sizer_t < Value > v_sizer ( txn - > get_cache ( ) - > get_block_size ( ) ) ; <nl> value_sizer_t < void > * sizer = & v_sizer ; <nl> <nl> buf_lock_t last_buf ; <nl> buf_lock_t buf ; <nl> - get_root ( sizer , keyvalue_location_out - > txn . get ( ) , keyvalue_location_out - > sb . get ( ) , & buf ) ; <nl> + get_root ( sizer , txn , keyvalue_location_out - > sb . get ( ) , & buf ) ; <nl> <nl> / / Walk down the tree to the leaf . <nl> while ( node : : is_internal ( reinterpret_cast < const node_t * > ( buf - > get_data_read ( ) ) ) ) { <nl> / / Check if the node is overfull and proactively split it if it is ( since this is an internal node ) . <nl> - check_and_handle_split ( sizer , keyvalue_location_out - > txn . get ( ) , buf , last_buf , keyvalue_location_out - > sb . get ( ) , key , reinterpret_cast < Value * > ( NULL ) ) ; <nl> + check_and_handle_split ( sizer , txn , buf , last_buf , keyvalue_location_out - > sb . get ( ) , key , reinterpret_cast < Value * > ( NULL ) ) ; <nl> <nl> / / Check if the node is underfull , and merge / level if it is . <nl> - check_and_handle_underfull ( sizer , keyvalue_location_out - > txn . get ( ) , buf , last_buf , keyvalue_location_out - > sb . get ( ) , key ) ; <nl> + check_and_handle_underfull ( sizer , txn , buf , last_buf , keyvalue_location_out - > sb . get ( ) , key ) ; <nl> <nl> / / Release the superblock , if we ' ve gone past the root ( and haven ' t <nl> / / already released it ) . If we ' re still at the root or at one of <nl> void find_keyvalue_location_for_write ( got_superblock_t * got_superblock , btree_ke <nl> block_id_t node_id = internal_node : : lookup ( reinterpret_cast < const internal_node_t * > ( buf - > get_data_read ( ) ) , key ) ; <nl> rassert ( node_id ! = NULL_BLOCK_ID & & node_id ! = SUPERBLOCK_ID ) ; <nl> <nl> - buf_lock_t tmp ( keyvalue_location_out - > txn . get ( ) , node_id , rwi_write ) ; <nl> + buf_lock_t tmp ( txn , node_id , rwi_write ) ; <nl> last_buf . swap ( tmp ) ; <nl> buf . swap ( last_buf ) ; <nl> } <nl> void find_keyvalue_location_for_write ( got_superblock_t * got_superblock , btree_ke <nl> } <nl> <nl> template < class Value > <nl> - void find_keyvalue_location_for_read ( got_superblock_t * got_superblock , btree_key_t * key , keyvalue_location_t < Value > * keyvalue_location_out ) { <nl> + void find_keyvalue_location_for_read ( transaction_t * txn , got_superblock_t * got_superblock , btree_key_t * key , keyvalue_location_t < Value > * keyvalue_location_out ) { <nl> block_id_t node_id = got_superblock - > sb - > get_root_block_id ( ) ; <nl> rassert ( node_id ! = SUPERBLOCK_ID ) ; <nl> <nl> - boost : : shared_ptr < transaction_t > txn = got_superblock - > txn ; <nl> - keyvalue_location_out - > txn = txn ; <nl> - <nl> buf_lock_t buf ; <nl> got_superblock - > sb - > swap_buf ( buf ) ; <nl> <nl> void find_keyvalue_location_for_read ( got_superblock_t * got_superblock , btree_key <nl> } <nl> <nl> { <nl> - buf_lock_t tmp ( txn . get ( ) , node_id , rwi_read ) ; <nl> + buf_lock_t tmp ( txn , node_id , rwi_read ) ; <nl> buf . swap ( tmp ) ; <nl> } <nl> <nl> void find_keyvalue_location_for_read ( got_superblock_t * got_superblock , btree_key <nl> rassert ( node_id ! = NULL_BLOCK_ID & & node_id ! = SUPERBLOCK_ID ) ; <nl> <nl> { <nl> - buf_lock_t tmp ( txn . get ( ) , node_id , rwi_read ) ; <nl> + buf_lock_t tmp ( txn , node_id , rwi_read ) ; <nl> buf . swap ( tmp ) ; <nl> } <nl> <nl> void find_keyvalue_location_for_read ( got_superblock_t * got_superblock , btree_key <nl> } <nl> <nl> template < class Value > <nl> - void apply_keyvalue_change ( keyvalue_location_t < Value > * kv_loc , btree_key_t * key , repli_timestamp_t tstamp , bool expired ) { <nl> - value_sizer_t < Value > v_sizer ( kv_loc - > txn - > get_cache ( ) - > get_block_size ( ) ) ; <nl> + void apply_keyvalue_change ( transaction_t * txn , keyvalue_location_t < Value > * kv_loc , btree_key_t * key , repli_timestamp_t tstamp , bool expired ) { <nl> + value_sizer_t < Value > v_sizer ( txn - > get_cache ( ) - > get_block_size ( ) ) ; <nl> value_sizer_t < void > * sizer = & v_sizer ; <nl> <nl> if ( kv_loc - > value ) { <nl> void apply_keyvalue_change ( keyvalue_location_t < Value > * kv_loc , btree_key_t * key , <nl> / / for the value . Not necessary when deleting , because the <nl> / / node won ' t grow . <nl> <nl> - check_and_handle_split ( sizer , kv_loc - > txn . get ( ) , kv_loc - > buf , kv_loc - > last_buf , kv_loc - > sb . get ( ) , key , kv_loc - > value . get ( ) ) ; <nl> + check_and_handle_split ( sizer , txn , kv_loc - > buf , kv_loc - > last_buf , kv_loc - > sb . get ( ) , key , kv_loc - > value . get ( ) ) ; <nl> <nl> rassert ( ! leaf : : is_full ( sizer , reinterpret_cast < const leaf_node_t * > ( kv_loc - > buf - > get_data_read ( ) ) , <nl> key , kv_loc - > value . get ( ) ) ) ; <nl> void apply_keyvalue_change ( keyvalue_location_t < Value > * kv_loc , btree_key_t * key , <nl> <nl> / / Check to see if the leaf is underfull ( following a change in <nl> / / size or a deletion , and merge / level if it is . <nl> - check_and_handle_underfull ( sizer , kv_loc - > txn . get ( ) , kv_loc - > buf , kv_loc - > last_buf , kv_loc - > sb . get ( ) , key ) ; <nl> + check_and_handle_underfull ( sizer , txn , kv_loc - > buf , kv_loc - > last_buf , kv_loc - > sb . get ( ) , key ) ; <nl> } <nl> <nl> template < class Value > <nl> - void apply_keyvalue_change ( keyvalue_location_t < Value > * kv_loc , btree_key_t * key , repli_timestamp_t tstamp ) { <nl> - apply_keyvalue_change ( kv_loc , key , tstamp , false ) ; <nl> + void apply_keyvalue_change ( transaction_t * txn , keyvalue_location_t < Value > * kv_loc , btree_key_t * key , repli_timestamp_t tstamp ) { <nl> + apply_keyvalue_change ( txn , kv_loc , key , tstamp , false ) ; <nl> } <nl> <nl> template < class Value > <nl> value_txn_t < Value > : : value_txn_t ( btree_key_t * _key , <nl> } <nl> <nl> template < class Value > <nl> - value_txn_t < Value > : : value_txn_t ( btree_slice_t * slice , btree_key_t * _key , const repli_timestamp_t _tstamp , const order_token_t token ) <nl> + value_txn_t < Value > : : value_txn_t ( btree_slice_t * slice , btree_key_t * _key , const repli_timestamp_t _tstamp , const order_token_t token ) <nl> : key ( _key ) , tstamp ( _tstamp ) <nl> { <nl> got_superblock_t can_haz_superblock ; <nl> <nl> - get_btree_superblock ( slice , rwi_write , 1 , tstamp , token , & can_haz_superblock ) ; <nl> + get_btree_superblock ( slice , rwi_write , 1 , tstamp , token , & can_haz_superblock , txn ) ; <nl> <nl> keyvalue_location_t < Value > _kv_location ; <nl> - find_keyvalue_location_for_write ( & can_haz_superblock , key , & _kv_location ) ; <nl> + find_keyvalue_location_for_write ( txn . get ( ) , & can_haz_superblock , key , & _kv_location ) ; <nl> <nl> kv_location . swap ( _kv_location ) ; <nl> } <nl> <nl> template < class Value > <nl> value_txn_t < Value > : : ~ value_txn_t ( ) { <nl> - apply_keyvalue_change ( & kv_location , key , tstamp , false ) ; <nl> + apply_keyvalue_change ( txn . get ( ) , & kv_location , key , tstamp , false ) ; <nl> } <nl> <nl> template < class Value > <nl> scoped_malloc < Value > & value_txn_t < Value > : : value ( ) { <nl> <nl> template < class Value > <nl> transaction_t * value_txn_t < Value > : : get_txn ( ) { <nl> - return kv_location . txn . get ( ) ; <nl> + return txn . get ( ) ; <nl> } <nl> <nl> template < class Value > <nl> - void get_value_read ( btree_slice_t * slice , btree_key_t * key , order_token_t token , keyvalue_location_t < Value > * kv_location_out ) { <nl> + void get_value_read ( btree_slice_t * slice , btree_key_t * key , order_token_t token , keyvalue_location_t < Value > * kv_location_out , boost : : scoped_ptr < transaction_t > & txn_out ) { <nl> got_superblock_t got_superblock ; <nl> - get_btree_superblock ( slice , rwi_read , token , & got_superblock ) ; <nl> + get_btree_superblock ( slice , rwi_read , token , & got_superblock , txn_out ) ; <nl> <nl> - find_keyvalue_location_for_read ( & got_superblock , key , kv_location_out ) ; <nl> + find_keyvalue_location_for_read ( txn_out . get ( ) , & got_superblock , key , kv_location_out ) ; <nl> } <nl> mmm a / src / btree / rget . cc <nl> ppp b / src / btree / rget . cc <nl> rget_result_t btree_rget_slice ( btree_slice_t * slice , rget_bound_mode_t left_mode <nl> order_token_t begin_transaction_token = slice - > pre_begin_transaction_read_mode_source_ . check_in ( token . tag ( ) + " + begin_transaction_token " ) . with_read_mode ( ) ; <nl> <nl> <nl> - transaction_t * tmp = new transaction_t ( slice - > cache ( ) , rwi_read ) ; <nl> - boost : : scoped_ptr < transaction_t > txn ( tmp ) ; <nl> - boost : : shared_ptr < transaction_t > txn2 ( tmp ) ; <nl> + transaction_t * transaction = new transaction_t ( slice - > cache ( ) , rwi_read ) ; <nl> + boost : : scoped_ptr < transaction_t > txn ( transaction ) ; <nl> <nl> - transaction_t * transaction = txn . get ( ) ; <nl> transaction - > set_token ( slice - > post_begin_transaction_checkpoint_ . check_through ( token ) . with_read_mode ( ) ) ; <nl> <nl> boost : : shared_ptr < value_sizer_t < memcached_value_t > > sizer = boost : : make_shared < memcached_value_sizer_t > ( transaction - > get_cache ( ) - > get_block_size ( ) ) ; <nl> rget_result_t btree_rget_slice ( btree_slice_t * slice , rget_bound_mode_t left_mode <nl> boost : : scoped_ptr < superblock_t > superblock ( new real_superblock_t ( sb_buf ) ) ; <nl> <nl> return boost : : shared_ptr < one_way_iterator_t < key_with_data_buffer_t > > ( <nl> - new transaction_holding_iterator_t < key_with_data_buffer_t > ( txn , <nl> + new transaction_holding_iterator_t < key_with_data_buffer_t > ( txn , <nl> new transform_iterator_t < key_value_pair_t < memcached_value_t > , key_with_data_buffer_t > ( <nl> boost : : bind ( pair_to_key_with_data_buffer , transaction , _1 ) , <nl> new filter_iterator_t < key_value_pair_t < memcached_value_t > > ( <nl> is_not_expired , <nl> - new slice_keys_iterator_t < memcached_value_t > ( sizer , txn2 , superblock , slice - > home_thread ( ) , left_mode , left_key , right_mode , right_key ) ) ) ) ) ; <nl> + new slice_keys_iterator_t < memcached_value_t > ( sizer , transaction , superblock , slice - > home_thread ( ) , left_mode , left_key , right_mode , right_key ) ) ) ) ) ; <nl> } <nl> mmm a / src / redis / redis_hashes . cc <nl> ppp b / src / redis / redis_hashes . cc <nl> <nl> <nl> / / Utility functions for hashes <nl> <nl> - struct hash_read_oper_t : read_oper_t { <nl> + struct hash_read_oper_t : public read_oper_t { <nl> hash_read_oper_t ( std : : string & key , btree_slice_t * btr , order_token_t otok ) : <nl> read_oper_t ( key , btr , otok ) , <nl> btree ( btr ) <nl> struct hash_read_oper_t : read_oper_t { <nl> <nl> std : : string * get ( std : : string & field ) { <nl> got_superblock_t nested_superblock ; <nl> - boost : : scoped_ptr < superblock_t > nested_btree_sb ( new virtual_superblock_t ( root ) ) ; <nl> - nested_superblock . sb . swap ( nested_btree_sb ) ; <nl> - nested_superblock . txn = location . txn ; <nl> + nested_superblock . sb . reset ( new virtual_superblock_t ( root ) ) ; <nl> <nl> btree_key_buffer_t nested_key ( field ) ; <nl> keyvalue_location_t < redis_nested_string_value_t > nested_loc ; <nl> <nl> - find_keyvalue_location_for_read ( & nested_superblock , nested_key . key ( ) , & nested_loc ) ; <nl> + find_keyvalue_location_for_read ( txn . get ( ) , & nested_superblock , nested_key . key ( ) , & nested_loc ) ; <nl> <nl> std : : string * result = NULL ; <nl> redis_nested_string_value_t * value = nested_loc . value . get ( ) ; <nl> if ( value ! = NULL ) { <nl> result = new std : : string ( ) ; <nl> blob_t blob ( value - > content , blob : : btree_maxreflen ) ; <nl> - blob . read_to_string ( * result , nested_loc . txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> + blob . read_to_string ( * result , txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> } / / else result remains NULL <nl> <nl> return result ; <nl> struct hash_read_oper_t : read_oper_t { <nl> boost : : scoped_ptr < superblock_t > nested_btree_sb ( new virtual_superblock_t ( root ) ) ; <nl> <nl> slice_keys_iterator_t < redis_nested_string_value_t > * tree_iter = <nl> - new slice_keys_iterator_t < redis_nested_string_value_t > ( sizer_ptr , location . txn , <nl> + new slice_keys_iterator_t < redis_nested_string_value_t > ( sizer_ptr , txn . get ( ) , <nl> nested_btree_sb , btree - > home_thread ( ) , rget_bound_none , none_key , rget_bound_none , none_key ) ; <nl> <nl> boost : : shared_ptr < one_way_iterator_t < std : : pair < std : : string , std : : string > > > transform_iter ( <nl> struct hash_read_oper_t : read_oper_t { <nl> std : : pair < std : : string , std : : string > transform_value ( const key_value_pair_t < redis_nested_string_value_t > & pair ) { <nl> blob_t blob ( pair . value . get ( ) , blob : : btree_maxreflen ) ; <nl> std : : string str ; <nl> - blob . read_to_string ( str , location . txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> + blob . read_to_string ( str , txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> <nl> return std : : pair < std : : string , std : : string > ( pair . key , str ) ; <nl> } <nl> struct hash_set_oper_t : set_oper_t { <nl> boost : : scoped_ptr < superblock_t > nested_btree_sb ( new virtual_superblock_t ( ths - > root ) ) ; <nl> got_superblock_t nested_superblock ; <nl> nested_superblock . sb . swap ( nested_btree_sb ) ; <nl> - nested_superblock . txn = ths - > location . txn ; <nl> <nl> - find_keyvalue_location_for_write ( & nested_superblock , nested_key . key ( ) , & loc ) ; <nl> + find_keyvalue_location_for_write ( ths - > txn . get ( ) , & nested_superblock , nested_key . key ( ) , & loc ) ; <nl> } <nl> - <nl> + <nl> void apply_change ( ) { <nl> / / TODO hook up timestamp once Tim figures out what to do with the timestamp <nl> - apply_keyvalue_change ( & loc , nested_key . key ( ) , repli_timestamp_t : : invalid / * ths - > timestamp * / ) ; <nl> + apply_keyvalue_change ( ths - > txn . get ( ) , & loc , nested_key . key ( ) , repli_timestamp_t : : invalid / * ths - > timestamp * / ) ; <nl> virtual_superblock_t * sb = reinterpret_cast < virtual_superblock_t * > ( loc . sb . get ( ) ) ; <nl> ths - > root = sb - > get_root_block_id ( ) ; <nl> } <nl> <nl> int incr ( int by ) { <nl> - return incr_loc < redis_nested_string_value_t > ( loc , by ) ; <nl> + return incr_loc < redis_nested_string_value_t > ( ths - > txn . get ( ) , loc , by ) ; <nl> } <nl> <nl> bool set ( std : : string & value , bool clear_old ) { <nl> struct hash_set_oper_t : set_oper_t { <nl> <nl> blob_t blob ( nst_str - > content , blob : : btree_maxreflen ) ; <nl> <nl> - blob . clear ( loc . txn . get ( ) ) ; <nl> - blob . append_region ( loc . txn . get ( ) , value . size ( ) ) ; <nl> - blob . write_from_string ( value , loc . txn . get ( ) , 0 ) ; <nl> + blob . clear ( ths - > txn . get ( ) ) ; <nl> + blob . append_region ( ths - > txn . get ( ) , value . size ( ) ) ; <nl> + blob . write_from_string ( value , ths - > txn . get ( ) , 0 ) ; <nl> <nl> return created ; <nl> } <nl> mmm a / src / redis / redis_lists . cc <nl> ppp b / src / redis / redis_lists . cc <nl> struct list_set_oper_t : set_oper_t { <nl> <nl> if ( value ) { <nl> ref = value - > get_ref ( ) ; <nl> - tree = counted_btree_t ( ref , btree - > cache ( ) - > get_block_size ( ) , location . txn . get ( ) ) ; <nl> + tree = counted_btree_t ( ref , btree - > cache ( ) - > get_block_size ( ) , txn . get ( ) ) ; <nl> } <nl> } <nl> <nl> struct list_set_oper_t : set_oper_t { <nl> <nl> bool get_element ( unsigned index , std : : string & str_out ) { <nl> blob_t b ( const_cast < char * > ( tree . at ( index ) ) , blob : : btree_maxreflen ) ; <nl> - b . read_to_string ( str_out , location . txn . get ( ) , 0 , b . valuesize ( ) ) ; <nl> + b . read_to_string ( str_out , txn . get ( ) , 0 , b . valuesize ( ) ) ; <nl> <nl> return true ; <nl> } <nl> struct list_read_oper_t : read_oper_t { <nl> } <nl> <nl> ref = value - > get_ref ( ) ; <nl> - tree = counted_btree_t ( ref , btree - > cache ( ) - > get_block_size ( ) , location . txn . get ( ) ) ; <nl> + tree = counted_btree_t ( ref , btree - > cache ( ) - > get_block_size ( ) , txn . get ( ) ) ; <nl> } <nl> <nl> unsigned get_size ( ) { <nl> struct list_read_oper_t : read_oper_t { <nl> if ( index < 0 | | index > = size ) return false ; <nl> <nl> blob_t b ( const_cast < char * > ( tree . at ( index ) ) , blob : : btree_maxreflen ) ; <nl> - b . read_to_string ( str_out , location . txn . get ( ) , 0 , b . valuesize ( ) ) ; <nl> + b . read_to_string ( str_out , txn . get ( ) , 0 , b . valuesize ( ) ) ; <nl> <nl> return true ; <nl> } <nl> mmm a / src / redis / redis_sets . cc <nl> ppp b / src / redis / redis_sets . cc <nl> struct set_set_oper_t : set_oper_t { <nl> boost : : scoped_ptr < superblock_t > nested_btree_sb ( new virtual_superblock_t ( ths - > root ) ) ; <nl> got_superblock_t nested_superblock ; <nl> nested_superblock . sb . swap ( nested_btree_sb ) ; <nl> - nested_superblock . txn = ths - > location . txn ; <nl> <nl> - find_keyvalue_location_for_write ( & nested_superblock , nested_key . key ( ) , & loc ) ; <nl> + find_keyvalue_location_for_write ( ths - > txn . get ( ) , & nested_superblock , nested_key . key ( ) , & loc ) ; <nl> } <nl> - <nl> + <nl> void apply_change ( ) { <nl> / / TODO hook up timestamp once Tim figures out what to do with the timestamp <nl> - apply_keyvalue_change ( & loc , nested_key . key ( ) , repli_timestamp_t : : invalid / * ths - > timestamp * / ) ; <nl> + apply_keyvalue_change ( ths - > txn . get ( ) , & loc , nested_key . key ( ) , repli_timestamp_t : : invalid / * ths - > timestamp * / ) ; <nl> virtual_superblock_t * sb = reinterpret_cast < virtual_superblock_t * > ( loc . sb . get ( ) ) ; <nl> ths - > root = sb - > get_root_block_id ( ) ; <nl> } <nl> struct set_read_oper_t : read_oper_t { <nl> boost : : scoped_ptr < superblock_t > nested_btree_sb ( new virtual_superblock_t ( root ) ) ; <nl> got_superblock_t nested_superblock ; <nl> nested_superblock . sb . swap ( nested_btree_sb ) ; <nl> - nested_superblock . txn = location . txn ; <nl> <nl> btree_key_buffer_t nested_key ( member ) ; <nl> keyvalue_location_t < redis_nested_set_value_t > loc ; <nl> - find_keyvalue_location_for_read ( & nested_superblock , nested_key . key ( ) , & loc ) ; <nl> + find_keyvalue_location_for_read ( txn . get ( ) , & nested_superblock , nested_key . key ( ) , & loc ) ; <nl> return ( loc . value . get ( ) ! = NULL ) ; <nl> } <nl> <nl> struct set_read_oper_t : read_oper_t { <nl> boost : : scoped_ptr < superblock_t > nested_btree_sb ( new virtual_superblock_t ( root ) ) ; <nl> <nl> slice_keys_iterator_t < redis_nested_set_value_t > * tree_iter = <nl> - new slice_keys_iterator_t < redis_nested_set_value_t > ( sizer_ptr , location . txn , <nl> + new slice_keys_iterator_t < redis_nested_set_value_t > ( sizer_ptr , txn . get ( ) , <nl> nested_btree_sb , btree - > home_thread ( ) , rget_bound_none , none_key , rget_bound_none , none_key ) ; <nl> <nl> boost : : shared_ptr < one_way_iterator_t < std : : string > > transform_iter ( <nl> mmm a / src / redis / redis_sortedset . cc <nl> ppp b / src / redis / redis_sortedset . cc <nl> struct sorted_set_set_oper_t : set_oper_t { <nl> member_index_root = value - > get_member_index_root ( ) ; <nl> counted_ref . count = value - > get_sub_size ( ) ; <nl> counted_ref . node_id = value - > get_score_index_root ( ) ; <nl> - score_index = counted_btree2_t ( & counted_ref , btree - > cache ( ) - > get_block_size ( ) , location . txn . get ( ) ) ; <nl> + score_index = counted_btree2_t ( & counted_ref , btree - > cache ( ) - > get_block_size ( ) , txn . get ( ) ) ; <nl> } <nl> <nl> ~ sorted_set_set_oper_t ( ) { <nl> struct sorted_set_set_oper_t : set_oper_t { <nl> bool add_or_update ( std : : string & member , float score ) { <nl> bool found ; <nl> <nl> - find_member mem ( this , member ) ; <nl> + find_member mem ( txn . get ( ) , this , member ) ; <nl> if ( mem . loc . value . get ( ) = = NULL ) { <nl> / / This memeber doesn ' t exist . Add it . <nl> - mem . create ( member , score ) ; <nl> - mem . apply_change ( ) ; <nl> - <nl> + mem . create ( txn . get ( ) , member , score ) ; <nl> + mem . apply_change ( txn . get ( ) ) ; <nl> + <nl> found = false ; <nl> } else { <nl> / / Update the score for this member . Remove from score index . <nl> struct sorted_set_set_oper_t : set_oper_t { <nl> <nl> bool remove ( std : : string & member ) { <nl> / / Look up member in member index to get it ' s score ( and remove it ) <nl> - find_member mem ( this , member ) ; <nl> + find_member mem ( txn . get ( ) , this , member ) ; <nl> <nl> - if ( mem . loc . value . get ( ) ) { <nl> + if ( mem . loc . value . get ( ) ) { <nl> float score = mem . loc . value - > score ; <nl> - <nl> + <nl> / / Delete it <nl> scoped_malloc < redis_nested_sorted_set_value_t > null ; <nl> mem . loc . value . swap ( null ) ; <nl> struct sorted_set_set_oper_t : set_oper_t { <nl> unsigned u_end = convert_index ( end ) ; <nl> <nl> int removed = 0 ; <nl> + / / TODO ( wmrowan ) : Fix this for loop . <nl> for ( unsigned i = u_end ; i > = u_start ; i - - ) { <nl> / / Find the member name to remove from member index <nl> const counted2_value_t * val = score_index . at ( i ) ; <nl> std : : string member ; <nl> blob_t blob ( const_cast < char * > ( val - > blb ) , blob : : btree_maxreflen ) ; <nl> - blob . read_to_string ( member , location . txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> + blob . read_to_string ( member , txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> <nl> / / Remove from indicies <nl> score_index . remove ( i ) ; <nl> <nl> - find_member mem ( this , member ) ; <nl> + find_member mem ( txn . get ( ) , this , member ) ; <nl> assert ( mem . loc . value . get ( ) ) ; <nl> scoped_malloc < redis_nested_sorted_set_value_t > null ; <nl> mem . loc . value . swap ( null ) ; <nl> struct sorted_set_set_oper_t : set_oper_t { <nl> if ( removed = = 0 ) index = iter . rank ( ) ; <nl> <nl> std : : string member = iter . member ( ) ; <nl> - find_member mem ( this , member ) ; <nl> + find_member mem ( txn . get ( ) , this , member ) ; <nl> assert ( mem . loc . value . get ( ) ) ; <nl> scoped_malloc < redis_nested_sorted_set_value_t > null ; <nl> mem . loc . value . swap ( null ) ; <nl> struct sorted_set_set_oper_t : set_oper_t { <nl> } <nl> <nl> float increment_score ( std : : string & member , float by ) { <nl> - find_member mem ( this , member ) ; <nl> + find_member mem ( txn . get ( ) , this , member ) ; <nl> float old_score = 0 ; <nl> float new_score = by ; <nl> if ( mem . loc . value . get ( ) ) { <nl> struct sorted_set_set_oper_t : set_oper_t { <nl> <nl> remove_from_score_index ( member , old_score ) ; <nl> } else { <nl> - mem . create ( member , new_score ) ; <nl> + mem . create ( txn . get ( ) , member , new_score ) ; <nl> } <nl> <nl> score_index . insert ( new_score , member ) ; <nl> struct sorted_set_set_oper_t : set_oper_t { <nl> <nl> private : <nl> struct find_member { <nl> - find_member ( sorted_set_set_oper_t * ths_ptr , std : : string & member ) : <nl> + find_member ( transaction_t * txn , sorted_set_set_oper_t * ths_ptr , std : : string & member ) : <nl> ths ( ths_ptr ) , <nl> nested_key ( member ) <nl> { <nl> boost : : scoped_ptr < superblock_t > nested_btree_sb ( new virtual_superblock_t ( ths - > member_index_root ) ) ; <nl> got_superblock_t nested_superblock ; <nl> nested_superblock . sb . swap ( nested_btree_sb ) ; <nl> - nested_superblock . txn = ths - > location . txn ; <nl> <nl> - find_keyvalue_location_for_write ( & nested_superblock , nested_key . key ( ) , & loc ) ; <nl> + find_keyvalue_location_for_write ( txn , & nested_superblock , nested_key . key ( ) , & loc ) ; <nl> } <nl> <nl> - void create ( std : : string & member , float score ) { <nl> + void create ( transaction_t * txn , std : : string & member , float score ) { <nl> scoped_malloc < redis_nested_sorted_set_value_t > <nl> smrsv ( blob : : btree_maxreflen + sizeof ( redis_nested_sorted_set_value_t ) ) ; <nl> loc . value . swap ( smrsv ) ; <nl> struct sorted_set_set_oper_t : set_oper_t { <nl> redis_nested_sorted_set_value_t * value = loc . value . get ( ) ; <nl> value - > score = score ; <nl> blob_t b ( value - > content , blob : : btree_maxreflen ) ; <nl> - b . append_region ( loc . txn . get ( ) , member . size ( ) ) ; <nl> - b . write_from_string ( member , loc . txn . get ( ) , 0 ) ; <nl> + b . append_region ( txn , member . size ( ) ) ; <nl> + b . write_from_string ( member , txn , 0 ) ; <nl> } <nl> - <nl> - void apply_change ( ) { <nl> + <nl> + void apply_change ( transaction_t * txn ) { <nl> / / TODO hook up timestamp once Tim figures out what to do with the timestamp <nl> - apply_keyvalue_change ( & loc , nested_key . key ( ) , repli_timestamp_t : : invalid / * ths - > timestamp * / ) ; <nl> + apply_keyvalue_change ( txn , & loc , nested_key . key ( ) , repli_timestamp_t : : invalid / * ths - > timestamp * / ) ; <nl> virtual_superblock_t * sb = reinterpret_cast < virtual_superblock_t * > ( loc . sb . get ( ) ) ; <nl> ths - > member_index_root = sb - > get_root_block_id ( ) ; <nl> } <nl> struct sorted_set_read_oper_t : read_oper_t { <nl> score_index_root = value - > get_score_index_root ( ) ; <nl> counted_ref . count = value - > get_sub_size ( ) ; <nl> counted_ref . node_id = value - > get_score_index_root ( ) ; <nl> - rank_index = counted_btree2_t ( & counted_ref , btree - > cache ( ) - > get_block_size ( ) , location . txn . get ( ) ) ; <nl> + rank_index = counted_btree2_t ( & counted_ref , btree - > cache ( ) - > get_block_size ( ) , txn . get ( ) ) ; <nl> } <nl> <nl> int get_size ( ) { <nl> struct sorted_set_read_oper_t : read_oper_t { <nl> boost : : scoped_ptr < superblock_t > nested_btree_sb ( new virtual_superblock_t ( ths - > member_index_root ) ) ; <nl> got_superblock_t nested_superblock ; <nl> nested_superblock . sb . swap ( nested_btree_sb ) ; <nl> - nested_superblock . txn = ths - > location . txn ; <nl> <nl> - find_keyvalue_location_for_read ( & nested_superblock , nested_key . key ( ) , & loc ) ; <nl> + find_keyvalue_location_for_read ( ths - > txn . get ( ) , & nested_superblock , nested_key . key ( ) , & loc ) ; <nl> } <nl> - <nl> + <nl> sorted_set_read_oper_t * ths ; <nl> btree_key_buffer_t nested_key ; <nl> keyvalue_location_t < redis_nested_sorted_set_value_t > loc ; <nl> mmm a / src / redis / redis_strings . cc <nl> ppp b / src / redis / redis_strings . cc <nl> struct string_set_oper_t : set_oper_t { <nl> <nl> void clear ( ) { <nl> blob_t blob ( value - > get_content ( ) , blob : : btree_maxreflen ) ; <nl> - blob . clear ( location . txn . get ( ) ) ; <nl> + blob . clear ( txn . get ( ) ) ; <nl> } <nl> <nl> int set_range ( std : : string & val , int offset ) { <nl> struct string_set_oper_t : set_oper_t { <nl> / / Append region we ' re writing ( if necessary ) <nl> uint64_t new_size = offset + val . size ( ) ; <nl> if ( new_size > old_size ) { <nl> - blob . append_region ( location . txn . get ( ) , new_size - old_size ) ; <nl> + blob . append_region ( txn . get ( ) , new_size - old_size ) ; <nl> } <nl> <nl> / / Write string <nl> - blob . write_from_string ( val , location . txn . get ( ) , offset ) ; <nl> + blob . write_from_string ( val , txn . get ( ) , offset ) ; <nl> <nl> return blob . valuesize ( ) ; <nl> } <nl> struct string_set_oper_t : set_oper_t { <nl> } <nl> <nl> int crement ( int by ) { <nl> - return incr_loc < redis_value_t > ( location , by ) ; <nl> + return incr_loc < redis_value_t > ( txn . get ( ) , location , by ) ; <nl> } <nl> <nl> int setbit ( unsigned bit_index , unsigned bit_val ) { <nl> blob_t blob ( value - > get_content ( ) , blob : : btree_maxreflen ) ; <nl> int64_t difference = ( bit_index / 8 + 1 ) - blob . valuesize ( ) ; <nl> if ( difference > 0 ) { <nl> - blob . append_region ( location . txn . get ( ) , difference ) ; <nl> + blob . append_region ( txn . get ( ) , difference ) ; <nl> } <nl> <nl> buffer_group_t dest ; <nl> boost : : scoped_ptr < blob_acq_t > acq ( new blob_acq_t ) ; <nl> - blob . expose_region ( location . txn . get ( ) , rwi_write , bit_index / 8 , 1 , & dest , acq . get ( ) ) ; <nl> + blob . expose_region ( txn . get ( ) , rwi_write , bit_index / 8 , 1 , & dest , acq . get ( ) ) ; <nl> <nl> buffer_group_t : : buffer_t buff = dest . get_buffer ( 0 ) ; <nl> int old_val = ! ! ( reinterpret_cast < uint8_t * > ( buff . data ) [ 0 ] & ( 1 < < ( bit_index % 8 ) ) ) ; <nl> struct string_set_oper_t : set_oper_t { <nl> <nl> void get_string ( std : : string & out ) { <nl> blob_t blob ( value - > get_content ( ) , blob : : btree_maxreflen ) ; <nl> - blob . read_to_string ( out , location . txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> + blob . read_to_string ( out , txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> } <nl> <nl> ~ string_set_oper_t ( ) { <nl> struct string_read_oper_t : read_oper_t { <nl> <nl> void get_range ( std : : string & out , unsigned offset , unsigned len ) { <nl> blob_t blob ( value - > get_content ( ) , blob : : btree_maxreflen ) ; <nl> - blob . read_to_string ( out , location . txn . get ( ) , offset , len ) ; <nl> + blob . read_to_string ( out , txn . get ( ) , offset , len ) ; <nl> } <nl> <nl> void get_string ( std : : string & out ) { <nl> blob_t blob ( value - > get_content ( ) , blob : : btree_maxreflen ) ; <nl> - blob . read_to_string ( out , location . txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> + blob . read_to_string ( out , txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> } <nl> <nl> protected : <nl> mmm a / src / redis / redis_util . hpp <nl> ppp b / src / redis / redis_util . hpp <nl> struct set_oper_t { <nl> / / TODO hook - up timestamp after Tim figures out what to do with it <nl> <nl> / / Get the superblock that represents our write transaction <nl> - get_btree_superblock ( btree , rwi_write , 1 , repli_timestamp_t : : invalid , otok , & superblock ) ; <nl> - find_keyvalue_location_for_write ( & superblock , btree_key . key ( ) , & location ) ; <nl> + get_btree_superblock ( btree , rwi_write , 1 , repli_timestamp_t : : invalid , otok , & superblock , txn ) ; <nl> + find_keyvalue_location_for_write ( txn . get ( ) , & superblock , btree_key . key ( ) , & location ) ; <nl> <nl> / / Check for expiration <nl> redis_value_t * value = location . value . get ( ) ; <nl> - if ( value & & value - > expiration_set ( ) & & ( value - > get_expiration ( ) > time ( NULL ) ) ) { <nl> + if ( value & & value - > expiration_set ( ) & & ( value - > get_expiration ( ) > time ( NULL ) ) ) { <nl> / / Then this key is expired and technically doesn ' t exist <nl> del ( ) ; <nl> } <nl> } <nl> <nl> ~ set_oper_t ( ) { <nl> - apply_keyvalue_change ( & location , btree_key . key ( ) , repli_timestamp_t : : invalid ) ; <nl> + apply_keyvalue_change ( txn . get ( ) , & location , btree_key . key ( ) , repli_timestamp_t : : invalid ) ; <nl> } <nl> <nl> bool del ( ) { <nl> - if ( location . value . get ( ) = = NULL ) return false ; <nl> + if ( location . value . get ( ) = = NULL ) return false ; <nl> <nl> - switch ( location . value - > get_redis_type ( ) ) { <nl> + switch ( location . value - > get_redis_type ( ) ) { <nl> case REDIS_STRING : <nl> - reinterpret_cast < redis_string_value_t * > ( location . value . get ( ) ) - > clear ( location . txn . get ( ) ) ; <nl> + reinterpret_cast < redis_string_value_t * > ( location . value . get ( ) ) - > clear ( txn . get ( ) ) ; <nl> break ; <nl> case REDIS_LIST : <nl> - reinterpret_cast < redis_list_value_t * > ( location . value . get ( ) ) - > clear ( location . txn . get ( ) ) ; <nl> + reinterpret_cast < redis_list_value_t * > ( location . value . get ( ) ) - > clear ( txn . get ( ) ) ; <nl> break ; <nl> case REDIS_HASH : <nl> - reinterpret_cast < redis_hash_value_t * > ( location . value . get ( ) ) - > clear ( location . txn . get ( ) ) ; <nl> + reinterpret_cast < redis_hash_value_t * > ( location . value . get ( ) ) - > clear ( txn . get ( ) ) ; <nl> break ; <nl> case REDIS_SET : <nl> - reinterpret_cast < redis_set_value_t * > ( location . value . get ( ) ) - > clear ( location . txn . get ( ) ) ; <nl> + reinterpret_cast < redis_set_value_t * > ( location . value . get ( ) ) - > clear ( txn . get ( ) ) ; <nl> break ; <nl> case REDIS_SORTED_SET : <nl> - reinterpret_cast < redis_sorted_set_value_t * > ( location . value . get ( ) ) - > clear ( location . txn . get ( ) ) ; <nl> + reinterpret_cast < redis_sorted_set_value_t * > ( location . value . get ( ) ) - > clear ( txn . get ( ) ) ; <nl> break ; <nl> default : <nl> unreachable ( ) ; <nl> struct set_oper_t { <nl> <nl> void expire_at ( uint32_t at_time ) { <nl> redis_value_t * value = location . value . get ( ) ; <nl> - if ( ! value - > expiration_set ( ) ) { <nl> + if ( ! value - > expiration_set ( ) ) { <nl> / / We must clear space for the new metadata first <nl> int data_size = sizer . size ( value ) - value - > get_metadata_size ( ) ; <nl> memmove ( value - > get_content ( ) + sizeof ( uint32_t ) , value - > get_content ( ) , data_size ) ; <nl> struct set_oper_t { <nl> <nl> } <nl> <nl> + boost : : scoped_ptr < transaction_t > txn ; <nl> keyvalue_location_t < redis_value_t > location ; <nl> <nl> protected : <nl> struct read_oper_t { <nl> storing_expired_value ( false ) <nl> { <nl> got_superblock_t superblock ; <nl> - get_btree_superblock ( btree , rwi_read , otok , & superblock ) ; <nl> + get_btree_superblock ( btree , rwi_read , otok , & superblock , txn ) ; <nl> btree_key_buffer_t btree_key ( key ) ; <nl> - find_keyvalue_location_for_read ( & superblock , btree_key . key ( ) , & location ) ; <nl> + find_keyvalue_location_for_read ( txn . get ( ) , & superblock , btree_key . key ( ) , & location ) ; <nl> <nl> / / Check for expiration <nl> redis_value_t * value = location . value . get ( ) ; <nl> - if ( value & & value - > expiration_set ( ) & & ( value - > get_expiration ( ) > time ( NULL ) ) ) { <nl> + if ( value & & value - > expiration_set ( ) & & ( value - > get_expiration ( ) > time ( NULL ) ) ) { <nl> / / Then this key is expired and technically doesn ' t exist <nl> / / We only acquired this key for read so we can ' t delete it . We ' ll trick our <nl> / / subclass into thinking that it was deleted and let the next write clean up <nl> struct read_oper_t { <nl> } <nl> <nl> ~ read_oper_t ( ) { <nl> - if ( storing_expired_value ) { <nl> + if ( storing_expired_value ) { <nl> location . value . swap ( expired_value ) ; <nl> } <nl> } <nl> struct read_oper_t { <nl> return ( location . value . get ( ) ! = NULL ) ; <nl> } <nl> <nl> + boost : : scoped_ptr < transaction_t > txn ; <nl> keyvalue_location_t < redis_value_t > location ; <nl> <nl> protected : <nl> struct read_oper_t { <nl> <nl> <nl> template < typename T > <nl> - int incr_loc ( keyvalue_location_t < T > & loc , int by ) { <nl> + int incr_loc ( transaction_t * txn , keyvalue_location_t < T > & loc , int by ) { <nl> int int_value = 0 ; <nl> std : : string int_string ; <nl> T * value = loc . value . get ( ) ; <nl> - if ( value = = NULL ) { <nl> + if ( value = = NULL ) { <nl> scoped_malloc < T > smrsv ( MAX_BTREE_VALUE_SIZE ) ; <nl> memset ( smrsv . get ( ) , 0 , MAX_BTREE_VALUE_SIZE ) ; <nl> loc . value . swap ( smrsv ) ; <nl> value = loc . value . get ( ) ; <nl> } else { <nl> blob_t blob ( value - > get_content ( ) , blob : : btree_maxreflen ) ; <nl> - blob . read_to_string ( int_string , loc . txn . get ( ) , 0 , blob . valuesize ( ) ) ; <nl> - blob . clear ( loc . txn . get ( ) ) ; <nl> + blob . read_to_string ( int_string , txn , 0 , blob . valuesize ( ) ) ; <nl> + blob . clear ( txn ) ; <nl> try { <nl> int_value = boost : : lexical_cast < int64_t > ( int_string ) ; <nl> } catch ( boost : : bad_lexical_cast & ) { <nl> int incr_loc ( keyvalue_location_t < T > & loc , int by ) { <nl> int_string = boost : : lexical_cast < std : : string > ( int_value ) ; <nl> <nl> blob_t blob ( value - > get_content ( ) , blob : : btree_maxreflen ) ; <nl> - blob . append_region ( loc . txn . get ( ) , int_string . size ( ) ) ; <nl> - blob . write_from_string ( int_string , loc . txn . get ( ) , 0 ) ; <nl> + blob . append_region ( txn , int_string . size ( ) ) ; <nl> + blob . write_from_string ( int_string , txn , 0 ) ; <nl> <nl> return int_value ; <nl> } <nl> mmm a / src / riak / riak . hpp <nl> ppp b / src / riak / riak . hpp <nl> class riak_interface_t { <nl> } <nl> <nl> keyvalue_location_t < riak_value_t > kv_location ; <nl> - get_value_read ( slice , btree_key_buffer_t ( key . begin ( ) , key . end ( ) ) . key ( ) , order_token_t : : ignore , & kv_location ) ; <nl> + boost : : scoped_ptr < transaction_t > txn ; <nl> + get_value_read ( slice , btree_key_buffer_t ( key . begin ( ) , key . end ( ) ) . key ( ) , order_token_t : : ignore , & kv_location , txn ) ; <nl> <nl> kv_location . value - > print ( slice - > cache ( ) - > get_block_size ( ) ) ; <nl> <nl> class riak_interface_t { <nl> blob_t blob ( kv_location . value - > contents , blob : : btree_maxreflen ) ; <nl> buffer_group_t buffer_group ; <nl> blob_acq_t acq ; <nl> - blob . expose_all ( kv_location . txn . get ( ) , rwi_read , & buffer_group , & acq ) ; <nl> + blob . expose_all ( txn . get ( ) , rwi_read , & buffer_group , & acq ) ; <nl> <nl> const_buffer_group_t : : iterator it = buffer_group . begin ( ) , end = buffer_group . end ( ) ; <nl> <nl>
Made the operations . tcc functions and types use a separate transaction_t pointer . redis stuff compile . Probably the redis iterator stuff doesn ' t do transaction lifetimes properly , and that needs to be fixed .
rethinkdb/rethinkdb
edeaa41b1e9671069793f2f3b61d6967f2304c04
2011-09-21T02:15:48Z
mmm a / docs / CHANGELOG . txt <nl> ppp b / docs / CHANGELOG . txt <nl> Other Changes : <nl> - InputText : Work - around for buggy standard libraries where isprint ( ' \ t ' ) returns true . ( # 2467 , # 1336 ) <nl> - InputText : Fixed ImGuiInputTextFlags_AllowTabInput leading to two tabs characters being inserted <nl> if the back - end provided both Key and Character input . ( # 2467 , # 1336 ) <nl> + - Added SetNextItemWidth ( ) helper to avoid using PushItemWidth / PopItemWidth ( ) for single items . <nl> + Note that SetNextItemWidth ( ) currently only affect the same subset of items as PushItemWidth ( ) , <nl> + generally referred to as the large framed + labeled items . <nl> + Because the new SetNextItemWidth ( ) function is explicit <nl> - GetMouseDragDelta ( ) : also returns the delta on the mouse button released frame . ( # 2419 ) <nl> - GetMouseDragDelta ( ) : verify that mouse positions are valid otherwise returns zero . <nl> - Inputs : Also add support for horizontal scroll with Shift + Mouse Wheel . ( # 2424 , # 1463 ) [ @ LucaRood ] <nl> mmm a / imgui . cpp <nl> ppp b / imgui . cpp <nl> ImGuiTextFilter : : ImGuiTextFilter ( const char * default_filter ) <nl> bool ImGuiTextFilter : : Draw ( const char * label , float width ) <nl> { <nl> if ( width ! = 0 . 0f ) <nl> - ImGui : : PushItemWidth ( width ) ; <nl> + ImGui : : SetNextItemWidth ( width ) ; <nl> bool value_changed = ImGui : : InputText ( label , InputBuf , IM_ARRAYSIZE ( InputBuf ) ) ; <nl> - if ( width ! = 0 . 0f ) <nl> - ImGui : : PopItemWidth ( ) ; <nl> if ( value_changed ) <nl> Build ( ) ; <nl> return value_changed ; <nl> void ImGui : : FocusPreviousWindowIgnoringOne ( ImGuiWindow * ignore_window ) <nl> } <nl> } <nl> <nl> + void ImGui : : SetNextItemWidth ( float item_width ) <nl> + { <nl> + ImGuiWindow * window = GetCurrentWindow ( ) ; <nl> + window - > DC . NextItemWidth = item_width ; <nl> + } <nl> + <nl> void ImGui : : PushItemWidth ( float item_width ) <nl> { <nl> ImGuiWindow * window = GetCurrentWindow ( ) ; <nl> void ImGui : : PushMultiItemsWidths ( int components , float w_full ) <nl> { <nl> ImGuiWindow * window = GetCurrentWindow ( ) ; <nl> const ImGuiStyle & style = GImGui - > Style ; <nl> - if ( w_full < = 0 . 0f ) <nl> - w_full = CalcItemWidth ( ) ; <nl> const float w_item_one = ImMax ( 1 . 0f , ( float ) ( int ) ( ( w_full - ( style . ItemInnerSpacing . x ) * ( components - 1 ) ) / ( float ) components ) ) ; <nl> const float w_item_last = ImMax ( 1 . 0f , ( float ) ( int ) ( w_full - ( w_item_one + style . ItemInnerSpacing . x ) * ( components - 1 ) ) ) ; <nl> window - > DC . ItemWidthStack . push_back ( w_item_last ) ; <nl> void ImGui : : PopItemWidth ( ) <nl> window - > DC . ItemWidth = window - > DC . ItemWidthStack . empty ( ) ? window - > ItemWidthDefault : window - > DC . ItemWidthStack . back ( ) ; <nl> } <nl> <nl> - / / Calculate default item width given value passed to PushItemWidth ( ) <nl> - float ImGui : : CalcItemWidth ( ) <nl> + / / Calculate default item width given value passed to PushItemWidth ( ) or SetNextItemWidth ( ) , <nl> + / / Then consume the <nl> + float ImGui : : GetNextItemWidth ( ) <nl> { <nl> ImGuiWindow * window = GImGui - > CurrentWindow ; <nl> - float w = window - > DC . ItemWidth ; <nl> + float w ; <nl> + if ( window - > DC . NextItemWidth ! = FLT_MAX ) <nl> + { <nl> + w = window - > DC . NextItemWidth ; <nl> + window - > DC . NextItemWidth = FLT_MAX ; <nl> + } <nl> + else <nl> + { <nl> + w = window - > DC . ItemWidth ; <nl> + } <nl> if ( w < 0 . 0f ) <nl> { <nl> float region_max_x = GetContentRegionMaxScreen ( ) . x ; <nl> float ImGui : : CalcItemWidth ( ) <nl> return w ; <nl> } <nl> <nl> - / / [ Internal ] Calculate full item size given user provided ' size ' parameter and default width / height . Default width is often = = CalcItemWidth ( ) . <nl> + / / Calculate item width * without * popping / consuming NextItemWidth if it was set . <nl> + / / ( rarely used , which is why we avoid calling this from GetNextItemWidth ( ) and instead do a backup / restore here ) <nl> + float ImGui : : CalcItemWidth ( ) <nl> + { <nl> + ImGuiWindow * window = GImGui - > CurrentWindow ; <nl> + float backup_next_item_width = window - > DC . NextItemWidth ; <nl> + float w = GetNextItemWidth ( ) ; <nl> + window - > DC . NextItemWidth = backup_next_item_width ; <nl> + return w ; <nl> + } <nl> + <nl> + / / [ Internal ] Calculate full item size given user provided ' size ' parameter and default width / height . Default width is often = = GetNextItemWidth ( ) . <nl> / / Those two functions CalcItemWidth vs CalcItemSize are awkwardly named because they are not fully symmetrical . <nl> / / Note that only CalcItemWidth ( ) is publicly exposed . <nl> - / / The 4 . 0f here may be changed to match CalcItemWidth ( ) and / or BeginChild ( ) ( right now we have a mismatch which is harmless but undesirable ) <nl> + / / The 4 . 0f here may be changed to match GetNextItemWidth ( ) and / or BeginChild ( ) ( right now we have a mismatch which is harmless but undesirable ) <nl> ImVec2 ImGui : : CalcItemSize ( ImVec2 size , float default_w , float default_h ) <nl> { <nl> ImGuiWindow * window = GImGui - > CurrentWindow ; <nl> void ImGui : : LogButtons ( ) <nl> const bool log_to_tty = Button ( " Log To TTY " ) ; SameLine ( ) ; <nl> const bool log_to_file = Button ( " Log To File " ) ; SameLine ( ) ; <nl> const bool log_to_clipboard = Button ( " Log To Clipboard " ) ; SameLine ( ) ; <nl> - PushItemWidth ( 80 . 0f ) ; <nl> PushAllowKeyboardFocus ( false ) ; <nl> + SetNextItemWidth ( 80 . 0f ) ; <nl> SliderInt ( " Default Depth " , & g . LogDepthToExpandDefault , 0 , 9 , NULL ) ; <nl> PopAllowKeyboardFocus ( ) ; <nl> - PopItemWidth ( ) ; <nl> PopID ( ) ; <nl> <nl> / / Start logging at the end of the function so that the buttons don ' t appear in the log <nl> void ImGui : : ShowMetricsWindow ( bool * p_open ) <nl> ImGui : : Checkbox ( " Show windows begin order " , & show_windows_begin_order ) ; <nl> ImGui : : Checkbox ( " Show windows rectangles " , & show_windows_rects ) ; <nl> ImGui : : SameLine ( ) ; <nl> - ImGui : : PushItemWidth ( ImGui : : GetFontSize ( ) * 12 ) ; <nl> + ImGui : : SetNextItemWidth ( ImGui : : GetFontSize ( ) * 12 ) ; <nl> show_windows_rects | = ImGui : : Combo ( " # # rects_type " , & show_windows_rect_type , " OuterRect \ 0 " " OuterRectClipped \ 0 " " InnerMainRect \ 0 " " InnerClipRect \ 0 " " ContentsRegionRect \ 0 " ) ; <nl> - ImGui : : PopItemWidth ( ) ; <nl> ImGui : : Checkbox ( " Show clipping rectangle when hovering ImDrawCmd node " , & show_drawcmd_clip_rects ) ; <nl> ImGui : : TreePop ( ) ; <nl> } <nl> mmm a / imgui . h <nl> ppp b / imgui . h <nl> namespace ImGui <nl> IMGUI_API ImU32 GetColorU32 ( ImU32 col ) ; / / retrieve given color with style alpha applied <nl> <nl> / / Parameters stacks ( current window ) <nl> - IMGUI_API void PushItemWidth ( float item_width ) ; / / width of items for the common item + label case , pixels . 0 . 0f = default to ~ 2 / 3 of windows width , > 0 . 0f : width in pixels , < 0 . 0f align xx pixels to the right of window ( so - 1 . 0f always align width to the right side ) <nl> + IMGUI_API void PushItemWidth ( float item_width ) ; / / set width of items for common large " item + label " widgets . > 0 . 0f : width in pixels , < 0 . 0f align xx pixels to the right of window ( so - 1 . 0f always align width to the right side ) . 0 . 0f = default to ~ 2 / 3 of windows width , <nl> IMGUI_API void PopItemWidth ( ) ; <nl> + IMGUI_API void SetNextItemWidth ( float item_width ) ; / / set width of the _next_ common large " item + label " widget . > 0 . 0f : width in pixels , < 0 . 0f align xx pixels to the right of window ( so - 1 . 0f always align width to the right side ) <nl> IMGUI_API float CalcItemWidth ( ) ; / / width of item given pushed settings and current cursor position <nl> IMGUI_API void PushTextWrapPos ( float wrap_local_pos_x = 0 . 0f ) ; / / word - wrapping for Text * ( ) commands . < 0 . 0f : no wrapping ; 0 . 0f : wrap to end of window ( or column ) ; > 0 . 0f : wrap at ' wrap_pos_x ' position in window local space <nl> IMGUI_API void PopTextWrapPos ( ) ; <nl> mmm a / imgui_demo . cpp <nl> ppp b / imgui_demo . cpp <nl> static void ShowDemoWindowWidgets ( ) <nl> ImGui : : ListBox ( " listbox \ n ( single select ) " , & listbox_item_current , listbox_items , IM_ARRAYSIZE ( listbox_items ) , 4 ) ; <nl> <nl> / / static int listbox_item_current2 = 2 ; <nl> - / / ImGui : : PushItemWidth ( - 1 ) ; <nl> + / / ImGui : : SetNextItemWidth ( - 1 ) ; <nl> / / ImGui : : ListBox ( " # # listbox2 " , & listbox_item_current2 , listbox_items , IM_ARRAYSIZE ( listbox_items ) , 4 ) ; <nl> - / / ImGui : : PopItemWidth ( ) ; <nl> } <nl> <nl> ImGui : : TreePop ( ) ; <nl> static void ShowDemoWindowWidgets ( ) <nl> } ; <nl> static int func_type = 0 , display_count = 70 ; <nl> ImGui : : Separator ( ) ; <nl> - ImGui : : PushItemWidth ( 100 ) ; ImGui : : Combo ( " func " , & func_type , " Sin \ 0Saw \ 0 " ) ; ImGui : : PopItemWidth ( ) ; <nl> + ImGui : : SetNextItemWidth ( 100 ) ; <nl> + ImGui : : Combo ( " func " , & func_type , " Sin \ 0Saw \ 0 " ) ; <nl> ImGui : : SameLine ( ) ; <nl> ImGui : : SliderInt ( " Sample count " , & display_count , 1 , 400 ) ; <nl> float ( * func ) ( void * , int ) = ( func_type = = 0 ) ? Funcs : : Sin : Funcs : : Saw ; <nl> static void ShowDemoWindowLayout ( ) <nl> static int line = 50 ; <nl> bool goto_line = ImGui : : Button ( " Goto " ) ; <nl> ImGui : : SameLine ( ) ; <nl> - ImGui : : PushItemWidth ( 100 ) ; <nl> + ImGui : : SetNextItemWidth ( 100 ) ; <nl> goto_line | = ImGui : : InputInt ( " # # Line " , & line , 0 , 0 , ImGuiInputTextFlags_EnterReturnsTrue ) ; <nl> - ImGui : : PopItemWidth ( ) ; <nl> <nl> / / Child 1 : no border , enable horizontal scrollbar <nl> { <nl> static void ShowDemoWindowLayout ( ) <nl> <nl> if ( ImGui : : TreeNode ( " Widgets Width " ) ) <nl> { <nl> + / / Use SetNextItemWidth ( ) to set the width of a single upcoming item . <nl> + / / Use PushItemWidth ( ) / PopItemWidth ( ) to set the width of a group of items . <nl> static float f = 0 . 0f ; <nl> - ImGui : : Text ( " PushItemWidth ( 100 ) " ) ; <nl> + ImGui : : Text ( " SetNextItemWidth / PushItemWidth ( 100 ) " ) ; <nl> ImGui : : SameLine ( ) ; HelpMarker ( " Fixed width . " ) ; <nl> - ImGui : : PushItemWidth ( 100 ) ; <nl> + ImGui : : SetNextItemWidth ( 100 ) ; <nl> ImGui : : DragFloat ( " float # # 1 " , & f ) ; <nl> - ImGui : : PopItemWidth ( ) ; <nl> <nl> - ImGui : : Text ( " PushItemWidth ( GetWindowWidth ( ) * 0 . 5f ) " ) ; <nl> + ImGui : : Text ( " SetNextItemWidth / PushItemWidth ( GetWindowWidth ( ) * 0 . 5f ) " ) ; <nl> ImGui : : SameLine ( ) ; HelpMarker ( " Half of window width . " ) ; <nl> - ImGui : : PushItemWidth ( ImGui : : GetWindowWidth ( ) * 0 . 5f ) ; <nl> + ImGui : : SetNextItemWidth ( ImGui : : GetWindowWidth ( ) * 0 . 5f ) ; <nl> ImGui : : DragFloat ( " float # # 2 " , & f ) ; <nl> - ImGui : : PopItemWidth ( ) ; <nl> <nl> - ImGui : : Text ( " PushItemWidth ( GetContentRegionAvailWidth ( ) * 0 . 5f ) " ) ; <nl> + ImGui : : Text ( " SetNextItemWidth / PushItemWidth ( GetContentRegionAvailWidth ( ) * 0 . 5f ) " ) ; <nl> ImGui : : SameLine ( ) ; HelpMarker ( " Half of available width . \ n ( ~ right - cursor_pos ) \ n ( works within a column set ) " ) ; <nl> - ImGui : : PushItemWidth ( ImGui : : GetContentRegionAvailWidth ( ) * 0 . 5f ) ; <nl> + ImGui : : SetNextItemWidth ( ImGui : : GetContentRegionAvailWidth ( ) * 0 . 5f ) ; <nl> ImGui : : DragFloat ( " float # # 3 " , & f ) ; <nl> - ImGui : : PopItemWidth ( ) ; <nl> <nl> - ImGui : : Text ( " PushItemWidth ( - 100 ) " ) ; <nl> + ImGui : : Text ( " SetNextItemWidth / PushItemWidth ( - 100 ) " ) ; <nl> ImGui : : SameLine ( ) ; HelpMarker ( " Align to right edge minus 100 " ) ; <nl> - ImGui : : PushItemWidth ( - 100 ) ; <nl> + ImGui : : SetNextItemWidth ( - 100 ) ; <nl> ImGui : : DragFloat ( " float # # 4 " , & f ) ; <nl> - ImGui : : PopItemWidth ( ) ; <nl> <nl> - ImGui : : Text ( " PushItemWidth ( - 1 ) " ) ; <nl> + / / Demonstrate using PushItemWidth to surround three items . Calling SetNextItemWidth ( ) before each of them would have the same effect . <nl> + ImGui : : Text ( " SetNextItemWidth / PushItemWidth ( - 1 ) " ) ; <nl> ImGui : : SameLine ( ) ; HelpMarker ( " Align to right edge " ) ; <nl> ImGui : : PushItemWidth ( - 1 ) ; <nl> - ImGui : : DragFloat ( " float # # 5 " , & f ) ; <nl> + ImGui : : DragFloat ( " float # # 5a " , & f ) ; <nl> + ImGui : : DragFloat ( " float # # 5b " , & f ) ; <nl> + ImGui : : DragFloat ( " float # # 5c " , & f ) ; <nl> ImGui : : PopItemWidth ( ) ; <nl> <nl> ImGui : : TreePop ( ) ; <nl> static void ShowDemoWindowPopups ( ) <nl> { <nl> if ( ImGui : : Selectable ( " Set to zero " ) ) value = 0 . 0f ; <nl> if ( ImGui : : Selectable ( " Set to PI " ) ) value = 3 . 1415f ; <nl> - ImGui : : PushItemWidth ( - 1 ) ; <nl> + ImGui : : SetNextItemWidth ( - 1 ) ; <nl> ImGui : : DragFloat ( " # # Value " , & value , 0 . 1f , 0 . 0f , 0 . 0f ) ; <nl> - ImGui : : PopItemWidth ( ) ; <nl> ImGui : : EndPopup ( ) ; <nl> } <nl> <nl> void ImGui : : ShowStyleEditor ( ImGuiStyle * ref ) <nl> } <nl> ImGui : : LogFinish ( ) ; <nl> } <nl> - ImGui : : SameLine ( ) ; ImGui : : PushItemWidth ( 120 ) ; ImGui : : Combo ( " # # output_type " , & output_dest , " To Clipboard \ 0To TTY \ 0 " ) ; ImGui : : PopItemWidth ( ) ; <nl> + ImGui : : SameLine ( ) ; ImGui : : SetNextItemWidth ( 120 ) ; ImGui : : Combo ( " # # output_type " , & output_dest , " To Clipboard \ 0To TTY \ 0 " ) ; <nl> ImGui : : SameLine ( ) ; ImGui : : Checkbox ( " Only Modified Colors " , & output_only_modified ) ; <nl> <nl> static ImGuiTextFilter filter ; <nl> static void ShowExampleAppPropertyEditor ( bool * p_open ) <nl> ImGui : : AlignTextToFramePadding ( ) ; <nl> ImGui : : TreeNodeEx ( " Field " , ImGuiTreeNodeFlags_Leaf | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_Bullet , " Field_ % d " , i ) ; <nl> ImGui : : NextColumn ( ) ; <nl> - ImGui : : PushItemWidth ( - 1 ) ; <nl> + ImGui : : SetNextItemWidth ( - 1 ) ; <nl> if ( i > = 5 ) <nl> ImGui : : InputFloat ( " # # value " , & dummy_members [ i ] , 1 . 0f ) ; <nl> else <nl> ImGui : : DragFloat ( " # # value " , & dummy_members [ i ] , 0 . 01f ) ; <nl> - ImGui : : PopItemWidth ( ) ; <nl> ImGui : : NextColumn ( ) ; <nl> } <nl> ImGui : : PopID ( ) ; <nl> static void ShowExampleAppConstrainedResize ( bool * p_open ) <nl> if ( ImGui : : Button ( " 200x200 " ) ) { ImGui : : SetWindowSize ( ImVec2 ( 200 , 200 ) ) ; } ImGui : : SameLine ( ) ; <nl> if ( ImGui : : Button ( " 500x500 " ) ) { ImGui : : SetWindowSize ( ImVec2 ( 500 , 500 ) ) ; } ImGui : : SameLine ( ) ; <nl> if ( ImGui : : Button ( " 800x200 " ) ) { ImGui : : SetWindowSize ( ImVec2 ( 800 , 200 ) ) ; } <nl> - ImGui : : PushItemWidth ( 200 ) ; <nl> + ImGui : : SetNextItemWidth ( 200 ) ; <nl> ImGui : : Combo ( " Constraint " , & type , desc , IM_ARRAYSIZE ( desc ) ) ; <nl> + ImGui : : SetNextItemWidth ( 200 ) ; <nl> ImGui : : DragInt ( " Lines " , & display_lines , 0 . 2f , 1 , 100 ) ; <nl> - ImGui : : PopItemWidth ( ) ; <nl> ImGui : : Checkbox ( " Auto - resize " , & auto_resize ) ; <nl> for ( int i = 0 ; i < display_lines ; i + + ) <nl> ImGui : : Text ( " % * sHello , sailor ! Making this line long enough for the example . " , i * 4 , " " ) ; <nl> void ShowExampleAppDocuments ( bool * p_open ) <nl> if ( ImGui : : BeginPopupModal ( " Save ? " ) ) <nl> { <nl> ImGui : : Text ( " Save change to the following items ? " ) ; <nl> - ImGui : : PushItemWidth ( - 1 . 0f ) ; <nl> + ImGui : : SetNextItemWidth ( - 1 . 0f ) ; <nl> if ( ImGui : : ListBoxHeader ( " # # " , close_queue_unsaved_documents , 6 ) ) <nl> { <nl> for ( int n = 0 ; n < close_queue . Size ; n + + ) <nl> mmm a / imgui_internal . h <nl> ppp b / imgui_internal . h <nl> struct IMGUI_API ImGuiWindowTempData <nl> / / We store the current settings outside of the vectors to increase memory locality ( reduce cache misses ) . The vectors are rarely modified . Also it allows us to not heap allocate for short - lived windows which are not using those settings . <nl> ImGuiItemFlags ItemFlags ; / / = = ItemFlagsStack . back ( ) [ empty = = ImGuiItemFlags_Default ] <nl> float ItemWidth ; / / = = ItemWidthStack . back ( ) . 0 . 0 : default , > 0 . 0 : width in pixels , < 0 . 0 : align xx pixels to the right of window <nl> + float NextItemWidth ; <nl> float TextWrapPos ; / / = = TextWrapPosStack . back ( ) [ empty = = - 1 . 0f ] <nl> ImVector < ImGuiItemFlags > ItemFlagsStack ; <nl> ImVector < float > ItemWidthStack ; <nl> struct IMGUI_API ImGuiWindowTempData <nl> <nl> ItemFlags = ImGuiItemFlags_Default_ ; <nl> ItemWidth = 0 . 0f ; <nl> + NextItemWidth = + FLT_MAX ; <nl> TextWrapPos = - 1 . 0f ; <nl> memset ( StackSizesBackup , 0 , sizeof ( StackSizesBackup ) ) ; <nl> <nl> namespace ImGui <nl> IMGUI_API bool IsClippedEx ( const ImRect & bb , ImGuiID id , bool clip_even_when_logged ) ; <nl> IMGUI_API bool FocusableItemRegister ( ImGuiWindow * window , ImGuiID id ) ; / / Return true if focus is requested <nl> IMGUI_API void FocusableItemUnregister ( ImGuiWindow * window ) ; <nl> + IMGUI_API float GetNextItemWidth ( ) ; <nl> IMGUI_API ImVec2 CalcItemSize ( ImVec2 size , float default_w , float default_h ) ; <nl> IMGUI_API float CalcWrapWidthForPos ( const ImVec2 & pos , float wrap_pos_x ) ; <nl> - IMGUI_API void PushMultiItemsWidths ( int components , float width_full = 0 . 0f ) ; <nl> + IMGUI_API void PushMultiItemsWidths ( int components , float width_full ) ; <nl> IMGUI_API void PushItemFlag ( ImGuiItemFlags option , bool enabled ) ; <nl> IMGUI_API void PopItemFlag ( ) ; <nl> IMGUI_API bool IsItemToggledSelection ( ) ; / / was the last item selection toggled ? ( after Selectable ( ) , TreeNode ( ) etc . We only returns toggle _event_ in order to handle clipping correctly ) <nl> mmm a / imgui_widgets . cpp <nl> ppp b / imgui_widgets . cpp <nl> void ImGui : : LabelTextV ( const char * label , const char * fmt , va_list args ) <nl> <nl> ImGuiContext & g = * GImGui ; <nl> const ImGuiStyle & style = g . Style ; <nl> - const float w = CalcItemWidth ( ) ; <nl> + const float w = GetNextItemWidth ( ) ; <nl> <nl> const ImVec2 label_size = CalcTextSize ( label , NULL , true ) ; <nl> const ImRect value_bb ( window - > DC . CursorPos , window - > DC . CursorPos + ImVec2 ( w , label_size . y + style . FramePadding . y * 2 ) ) ; <nl> void ImGui : : ProgressBar ( float fraction , const ImVec2 & size_arg , const char * over <nl> const ImGuiStyle & style = g . Style ; <nl> <nl> ImVec2 pos = window - > DC . CursorPos ; <nl> - ImVec2 size = CalcItemSize ( size_arg , CalcItemWidth ( ) , g . FontSize + style . FramePadding . y * 2 . 0f ) ; <nl> + ImVec2 size = CalcItemSize ( size_arg , GetNextItemWidth ( ) , g . FontSize + style . FramePadding . y * 2 . 0f ) ; <nl> ImRect bb ( pos , pos + size ) ; <nl> ItemSize ( size , style . FramePadding . y ) ; <nl> if ( ! ItemAdd ( bb , 0 ) ) <nl> bool ImGui : : BeginCombo ( const char * label , const char * preview_value , ImGuiComboF <nl> <nl> const float arrow_size = ( flags & ImGuiComboFlags_NoArrowButton ) ? 0 . 0f : GetFrameHeight ( ) ; <nl> const ImVec2 label_size = CalcTextSize ( label , NULL , true ) ; <nl> - const float w = ( flags & ImGuiComboFlags_NoPreview ) ? arrow_size : CalcItemWidth ( ) ; <nl> + const float expected_w = GetNextItemWidth ( ) ; <nl> + const float w = ( flags & ImGuiComboFlags_NoPreview ) ? arrow_size : expected_w ; <nl> const ImRect frame_bb ( window - > DC . CursorPos , window - > DC . CursorPos + ImVec2 ( w , label_size . y + style . FramePadding . y * 2 . 0f ) ) ; <nl> const ImRect total_bb ( frame_bb . Min , frame_bb . Max + ImVec2 ( label_size . x > 0 . 0f ? style . ItemInnerSpacing . x + label_size . x : 0 . 0f , 0 . 0f ) ) ; <nl> ItemSize ( total_bb , style . FramePadding . y ) ; <nl> bool ImGui : : DragScalar ( const char * label , ImGuiDataType data_type , void * v , floa <nl> ImGuiContext & g = * GImGui ; <nl> const ImGuiStyle & style = g . Style ; <nl> const ImGuiID id = window - > GetID ( label ) ; <nl> - const float w = CalcItemWidth ( ) ; <nl> + const float w = GetNextItemWidth ( ) ; <nl> <nl> const ImVec2 label_size = CalcTextSize ( label , NULL , true ) ; <nl> const ImRect frame_bb ( window - > DC . CursorPos , window - > DC . CursorPos + ImVec2 ( w , label_size . y + style . FramePadding . y * 2 . 0f ) ) ; <nl> bool ImGui : : DragScalarN ( const char * label , ImGuiDataType data_type , void * v , int <nl> bool value_changed = false ; <nl> BeginGroup ( ) ; <nl> PushID ( label ) ; <nl> - PushMultiItemsWidths ( components ) ; <nl> + PushMultiItemsWidths ( components , GetNextItemWidth ( ) ) ; <nl> size_t type_size = GDataTypeInfo [ data_type ] . Size ; <nl> for ( int i = 0 ; i < components ; i + + ) <nl> { <nl> bool ImGui : : DragFloatRange2 ( const char * label , float * v_current_min , float * v_cu <nl> ImGuiContext & g = * GImGui ; <nl> PushID ( label ) ; <nl> BeginGroup ( ) ; <nl> - PushMultiItemsWidths ( 2 ) ; <nl> + PushMultiItemsWidths ( 2 , GetNextItemWidth ( ) ) ; <nl> <nl> bool value_changed = DragFloat ( " # # min " , v_current_min , v_speed , ( v_min > = v_max ) ? - FLT_MAX : v_min , ( v_min > = v_max ) ? * v_current_max : ImMin ( v_max , * v_current_max ) , format , power ) ; <nl> PopItemWidth ( ) ; <nl> bool ImGui : : DragIntRange2 ( const char * label , int * v_current_min , int * v_current_ <nl> ImGuiContext & g = * GImGui ; <nl> PushID ( label ) ; <nl> BeginGroup ( ) ; <nl> - PushMultiItemsWidths ( 2 ) ; <nl> + PushMultiItemsWidths ( 2 , GetNextItemWidth ( ) ) ; <nl> <nl> bool value_changed = DragInt ( " # # min " , v_current_min , v_speed , ( v_min > = v_max ) ? INT_MIN : v_min , ( v_min > = v_max ) ? * v_current_max : ImMin ( v_max , * v_current_max ) , format ) ; <nl> PopItemWidth ( ) ; <nl> bool ImGui : : SliderScalar ( const char * label , ImGuiDataType data_type , void * v , co <nl> ImGuiContext & g = * GImGui ; <nl> const ImGuiStyle & style = g . Style ; <nl> const ImGuiID id = window - > GetID ( label ) ; <nl> - const float w = CalcItemWidth ( ) ; <nl> + const float w = GetNextItemWidth ( ) ; <nl> <nl> const ImVec2 label_size = CalcTextSize ( label , NULL , true ) ; <nl> const ImRect frame_bb ( window - > DC . CursorPos , window - > DC . CursorPos + ImVec2 ( w , label_size . y + style . FramePadding . y * 2 . 0f ) ) ; <nl> bool ImGui : : SliderScalarN ( const char * label , ImGuiDataType data_type , void * v , i <nl> bool value_changed = false ; <nl> BeginGroup ( ) ; <nl> PushID ( label ) ; <nl> - PushMultiItemsWidths ( components ) ; <nl> + PushMultiItemsWidths ( components , GetNextItemWidth ( ) ) ; <nl> size_t type_size = GDataTypeInfo [ data_type ] . Size ; <nl> for ( int i = 0 ; i < components ; i + + ) <nl> { <nl> bool ImGui : : InputScalar ( const char * label , ImGuiDataType data_type , void * data_p <nl> <nl> BeginGroup ( ) ; / / The only purpose of the group here is to allow the caller to query item data e . g . IsItemActive ( ) <nl> PushID ( label ) ; <nl> - PushItemWidth ( ImMax ( 1 . 0f , CalcItemWidth ( ) - ( button_size + style . ItemInnerSpacing . x ) * 2 ) ) ; <nl> + SetNextItemWidth ( ImMax ( 1 . 0f , GetNextItemWidth ( ) - ( button_size + style . ItemInnerSpacing . x ) * 2 ) ) ; <nl> if ( InputText ( " " , buf , IM_ARRAYSIZE ( buf ) , flags ) ) / / PushId ( label ) + " " gives us the expected ID from outside point of view <nl> value_changed = DataTypeApplyOpFromText ( buf , g . InputTextState . InitialTextA . Data , data_type , data_ptr , format ) ; <nl> - PopItemWidth ( ) ; <nl> <nl> / / Step buttons <nl> const ImVec2 backup_frame_padding = style . FramePadding ; <nl> bool ImGui : : InputScalarN ( const char * label , ImGuiDataType data_type , void * v , in <nl> bool value_changed = false ; <nl> BeginGroup ( ) ; <nl> PushID ( label ) ; <nl> - PushMultiItemsWidths ( components ) ; <nl> + PushMultiItemsWidths ( components , GetNextItemWidth ( ) ) ; <nl> size_t type_size = GDataTypeInfo [ data_type ] . Size ; <nl> for ( int i = 0 ; i < components ; i + + ) <nl> { <nl> bool ImGui : : InputTextEx ( const char * label , const char * hint , char * buf , int buf_ <nl> BeginGroup ( ) ; <nl> const ImGuiID id = window - > GetID ( label ) ; <nl> const ImVec2 label_size = CalcTextSize ( label , NULL , true ) ; <nl> - ImVec2 size = CalcItemSize ( size_arg , CalcItemWidth ( ) , ( is_multiline ? GetTextLineHeight ( ) * 8 . 0f : label_size . y ) + style . FramePadding . y * 2 . 0f ) ; / / Arbitrary default of 8 lines high for multi - line <nl> + ImVec2 size = CalcItemSize ( size_arg , GetNextItemWidth ( ) , ( is_multiline ? GetTextLineHeight ( ) * 8 . 0f : label_size . y ) + style . FramePadding . y * 2 . 0f ) ; / / Arbitrary default of 8 lines high for multi - line <nl> const ImRect frame_bb ( window - > DC . CursorPos , window - > DC . CursorPos + size ) ; <nl> const ImRect total_bb ( frame_bb . Min , frame_bb . Max + ImVec2 ( label_size . x > 0 . 0f ? ( style . ItemInnerSpacing . x + label_size . x ) : 0 . 0f , 0 . 0f ) ) ; <nl> <nl> bool ImGui : : ColorEdit4 ( const char * label , float col [ 4 ] , ImGuiColorEditFlags flag <nl> const ImGuiStyle & style = g . Style ; <nl> const float square_sz = GetFrameHeight ( ) ; <nl> const float w_extra = ( flags & ImGuiColorEditFlags_NoSmallPreview ) ? 0 . 0f : ( square_sz + style . ItemInnerSpacing . x ) ; <nl> - const float w_items_all = CalcItemWidth ( ) - w_extra ; <nl> + const float w_items_all = GetNextItemWidth ( ) - w_extra ; <nl> const char * label_display_end = FindRenderedTextEnd ( label ) ; <nl> <nl> BeginGroup ( ) ; <nl> bool ImGui : : ColorEdit4 ( const char * label , float col [ 4 ] , ImGuiColorEditFlags flag <nl> } ; <nl> const int fmt_idx = hide_prefix ? 0 : ( flags & ImGuiColorEditFlags_DisplayHSV ) ? 2 : 1 ; <nl> <nl> - PushItemWidth ( w_item_one ) ; <nl> for ( int n = 0 ; n < components ; n + + ) <nl> { <nl> if ( n > 0 ) <nl> SameLine ( 0 , style . ItemInnerSpacing . x ) ; <nl> - if ( n + 1 = = components ) <nl> - PushItemWidth ( w_item_last ) ; <nl> + SetNextItemWidth ( ( n + 1 < components ) ? w_item_one : w_item_last ) ; <nl> if ( flags & ImGuiColorEditFlags_Float ) <nl> { <nl> value_changed | = DragFloat ( ids [ n ] , & f [ n ] , 1 . 0f / 255 . 0f , 0 . 0f , hdr ? 0 . 0f : 1 . 0f , fmt_table_float [ fmt_idx ] [ n ] ) ; <nl> bool ImGui : : ColorEdit4 ( const char * label , float col [ 4 ] , ImGuiColorEditFlags flag <nl> if ( ! ( flags & ImGuiColorEditFlags_NoOptions ) ) <nl> OpenPopupOnItemClick ( " context " ) ; <nl> } <nl> - PopItemWidth ( ) ; <nl> - PopItemWidth ( ) ; <nl> } <nl> else if ( ( flags & ImGuiColorEditFlags_DisplayHex ) ! = 0 & & ( flags & ImGuiColorEditFlags_NoInputs ) = = 0 ) <nl> { <nl> bool ImGui : : ColorEdit4 ( const char * label , float col [ 4 ] , ImGuiColorEditFlags flag <nl> ImFormatString ( buf , IM_ARRAYSIZE ( buf ) , " # % 02X % 02X % 02X % 02X " , ImClamp ( i [ 0 ] , 0 , 255 ) , ImClamp ( i [ 1 ] , 0 , 255 ) , ImClamp ( i [ 2 ] , 0 , 255 ) , ImClamp ( i [ 3 ] , 0 , 255 ) ) ; <nl> else <nl> ImFormatString ( buf , IM_ARRAYSIZE ( buf ) , " # % 02X % 02X % 02X " , ImClamp ( i [ 0 ] , 0 , 255 ) , ImClamp ( i [ 1 ] , 0 , 255 ) , ImClamp ( i [ 2 ] , 0 , 255 ) ) ; <nl> - PushItemWidth ( w_items_all ) ; <nl> + SetNextItemWidth ( w_items_all ) ; <nl> if ( InputText ( " # # Text " , buf , IM_ARRAYSIZE ( buf ) , ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_CharsUppercase ) ) <nl> { <nl> value_changed = true ; <nl> bool ImGui : : ColorEdit4 ( const char * label , float col [ 4 ] , ImGuiColorEditFlags flag <nl> } <nl> if ( ! ( flags & ImGuiColorEditFlags_NoOptions ) ) <nl> OpenPopupOnItemClick ( " context " ) ; <nl> - PopItemWidth ( ) ; <nl> } <nl> <nl> ImGuiWindow * picker_active_window = NULL ; <nl> bool ImGui : : ColorEdit4 ( const char * label , float col [ 4 ] , ImGuiColorEditFlags flag <nl> } <nl> ImGuiColorEditFlags picker_flags_to_forward = ImGuiColorEditFlags__DataTypeMask | ImGuiColorEditFlags__PickerMask | ImGuiColorEditFlags__InputMask | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaBar ; <nl> ImGuiColorEditFlags picker_flags = ( flags_untouched & picker_flags_to_forward ) | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_AlphaPreviewHalf ; <nl> - PushItemWidth ( square_sz * 12 . 0f ) ; / / Use 256 + bar sizes ? <nl> + SetNextItemWidth ( square_sz * 12 . 0f ) ; / / Use 256 + bar sizes ? <nl> value_changed | = ColorPicker4 ( " # # picker " , col , picker_flags , & g . ColorPickerRef . x ) ; <nl> - PopItemWidth ( ) ; <nl> EndPopup ( ) ; <nl> } <nl> } <nl> bool ImGui : : ColorPicker4 ( const char * label , float col [ 4 ] , ImGuiColorEditFlags fl <nl> ImVec2 picker_pos = window - > DC . CursorPos ; <nl> float square_sz = GetFrameHeight ( ) ; <nl> float bars_width = square_sz ; / / Arbitrary smallish width of Hue / Alpha picking bars <nl> - float sv_picker_size = ImMax ( bars_width * 1 , CalcItemWidth ( ) - ( alpha_bar ? 2 : 1 ) * ( bars_width + style . ItemInnerSpacing . x ) ) ; / / Saturation / Value picking box <nl> + float sv_picker_size = ImMax ( bars_width * 1 , GetNextItemWidth ( ) - ( alpha_bar ? 2 : 1 ) * ( bars_width + style . ItemInnerSpacing . x ) ) ; / / Saturation / Value picking box <nl> float bar0_pos_x = picker_pos . x + sv_picker_size + style . ItemInnerSpacing . x ; <nl> float bar1_pos_x = bar0_pos_x + bars_width + style . ItemInnerSpacing . x ; <nl> float bars_triangles_half_sz = ( float ) ( int ) ( bars_width * 0 . 20f ) ; <nl> bool ImGui : : ListBoxHeader ( const char * label , const ImVec2 & size_arg ) <nl> const ImVec2 label_size = CalcTextSize ( label , NULL , true ) ; <nl> <nl> / / Size default to hold ~ 7 items . Fractional number of items helps seeing that we can scroll down / up without looking at scrollbar . <nl> - ImVec2 size = CalcItemSize ( size_arg , CalcItemWidth ( ) , GetTextLineHeightWithSpacing ( ) * 7 . 4f + style . ItemSpacing . y ) ; <nl> + ImVec2 size = CalcItemSize ( size_arg , GetNextItemWidth ( ) , GetTextLineHeightWithSpacing ( ) * 7 . 4f + style . ItemSpacing . y ) ; <nl> ImVec2 frame_size = ImVec2 ( size . x , ImMax ( size . y , label_size . y ) ) ; <nl> ImRect frame_bb ( window - > DC . CursorPos , window - > DC . CursorPos + frame_size ) ; <nl> ImRect bb ( frame_bb . Min , frame_bb . Max + ImVec2 ( label_size . x > 0 . 0f ? style . ItemInnerSpacing . x + label_size . x : 0 . 0f , 0 . 0f ) ) ; <nl> void ImGui : : PlotEx ( ImGuiPlotType plot_type , const char * label , float ( * values_ge <nl> <nl> const ImVec2 label_size = CalcTextSize ( label , NULL , true ) ; <nl> if ( frame_size . x = = 0 . 0f ) <nl> - frame_size . x = CalcItemWidth ( ) ; <nl> + frame_size . x = GetNextItemWidth ( ) ; <nl> if ( frame_size . y = = 0 . 0f ) <nl> frame_size . y = label_size . y + ( style . FramePadding . y * 2 ) ; <nl> <nl>
Added SetNextItemWidth ( ) helper to avoid using PushItemWidth / PopItemWidth ( ) for single items .
ocornut/imgui
5078fa208b2dcfa130fcbaa4260f958894ef16b5
2019-04-18T16:29:28Z
mmm a / utils / build - presets . ini <nl> ppp b / utils / build - presets . ini <nl> skip - test - ios - host <nl> skip - test - tvos - host <nl> skip - test - watchos - host <nl> <nl> - preset : buildbot , tools = R , stdlib = RD ] <nl> + [ preset : buildbot , tools = R , stdlib = RD ] <nl> mixin - preset = <nl> mixin_buildbot_tools_R_stdlib_RD <nl> <nl>
Fix no assertions preset
apple/swift
4cf424ee81afb771768c995a3154e0c61cc7a110
2016-09-27T20:36:05Z
mmm a / lib / SIL / SILOwnershipVerifier . cpp <nl> ppp b / lib / SIL / SILOwnershipVerifier . cpp <nl> bool SILValueOwnershipChecker : : checkDataflow ( ) { <nl> } ) ; <nl> } <nl> <nl> - / / Make sure that we do not have any lifetime ending uses left to visit . If we <nl> - / / do , then these non lifetime ending uses must be outside of our " alive " <nl> - / / blocks implying a use - after free . <nl> + / / Make sure that we do not have any lifetime ending uses left to visit that <nl> + / / are not transitively unreachable blocks . If we do , then these non lifetime <nl> + / / ending uses must be outside of our " alive " blocks implying a use - after <nl> + / / free . <nl> if ( ! BlocksWithNonLifetimeEndingUses . empty ( ) ) { <nl> - return handleError ( [ & ] { <nl> - llvm : : errs ( ) < < " Function : ' " < < Value - > getFunction ( ) - > getName ( ) < < " ' \ n " <nl> - < < " Found use after free due to unvisited non lifetime " <nl> - " ending uses ? ! \ n " <nl> - < < " Value : " < < * Value < < " Remaining Users : \ n " ; <nl> - for ( auto & Pair : BlocksWithNonLifetimeEndingUses ) { <nl> - llvm : : errs ( ) < < " User : " < < * Pair . second < < " Block : bb " <nl> - < < Pair . first - > getDebugID ( ) < < " \ n " ; <nl> + for ( auto & Pair : BlocksWithNonLifetimeEndingUses ) { <nl> + if ( TUB . isUnreachable ( Pair . first ) ) { <nl> + continue ; <nl> } <nl> - llvm : : errs ( ) < < " \ n " ; <nl> - } ) ; <nl> + <nl> + return handleError ( [ & ] { <nl> + llvm : : errs ( ) < < " Function : ' " < < Value - > getFunction ( ) - > getName ( ) <nl> + < < " ' \ n " <nl> + < < " Found use after free due to unvisited non lifetime " <nl> + " ending uses ? ! \ n " <nl> + < < " Value : " < < * Value < < " Remaining Users : \ n " ; <nl> + for ( auto & Pair : BlocksWithNonLifetimeEndingUses ) { <nl> + llvm : : errs ( ) < < " User : " < < * Pair . second < < " Block : bb " <nl> + < < Pair . first - > getDebugID ( ) < < " \ n " ; <nl> + } <nl> + llvm : : errs ( ) < < " \ n " ; <nl> + } ) ; <nl> + } <nl> } <nl> <nl> return true ; <nl> mmm a / test / SIL / ownership - verifier / unreachable_code . sil <nl> ppp b / test / SIL / ownership - verifier / unreachable_code . sil <nl> bb4 : <nl> % 9999 = tuple ( ) <nl> return % 9999 : $ ( ) <nl> } <nl> + <nl> + sil @ test7 : $ @ convention ( thin ) ( @ owned Builtin . NativeObject ) - > ( ) { <nl> + bb0 ( % 0 : @ owned $ Builtin . NativeObject ) : <nl> + % 1 = begin_borrow % 0 : $ Builtin . NativeObject <nl> + cond_br undef , bb1 , bb2 <nl> + <nl> + bb1 : <nl> + end_borrow % 1 from % 0 : $ Builtin . NativeObject , $ Builtin . NativeObject <nl> + destroy_value % 0 : $ Builtin . NativeObject <nl> + % 9999 = tuple ( ) <nl> + return % 9999 : $ ( ) <nl> + <nl> + bb2 : <nl> + end_borrow % 1 from % 0 : $ Builtin . NativeObject , $ Builtin . NativeObject <nl> + br bb3 <nl> + <nl> + bb3 : <nl> + unreachable <nl> + } <nl>
[ sil - ownership - verifier ] Ignore end_borrow that are post - dominated by unreachable code .
apple/swift
9820023d0f000ab43860d1d53b3154fe06228a0f
2017-06-30T20:29:47Z
mmm a / . gitattributes <nl> ppp b / . gitattributes <nl> <nl> * . html text <nl> * . lyx text <nl> * . bib text <nl> + * . json text <nl> . gitkeep text <nl> KaldiReaderReadme text <nl> Readme text <nl> new file mode 100644 <nl> index 00000000000 . . df250d12a65 <nl> mmm / dev / null <nl> ppp b / Tools / samples . json <nl> <nl> + [ <nl> + { <nl> + " category " : [ " " ] , <nl> + " name " : " CNTK Evaluation on Azure " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / wiki / Evaluate - a - model - in - an - Azure - WebApi " , <nl> + " description " : " Host an already trained CNTK model on Azure . " , <nl> + " language " : [ ] , <nl> + " type " : [ " Tutorial " ] <nl> + } , <nl> + { <nl> + " category " : [ " " ] , <nl> + " name " : " Using the C # Eval Client " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / wiki / Managed - Evaluation - Interface " , <nl> + " description " : " Evaluation or inference of an already trained CNTK model . " , <nl> + " language " : [ " C # " ] , <nl> + " type " : [ " Example " ] <nl> + } , <nl> + { <nl> + " category " : [ " " ] , <nl> + " name " : " Using the C + + Eval Client " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / wiki / Native - Evaluation - Interface " , <nl> + " description " : " Evaluation or inference of an already trained CNTK model . " , <nl> + " language " : [ " C + + " ] , <nl> + " type " : [ " Example " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " AlexNet " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / Classification / AlexNet " , <nl> + " description " : " CNN based network by Alex Krizhevsky winning model of ILSVRC2012 classification task . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " ConvNet " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / Classification / ConvNet # cntk - examples - imageclassificationconvnet " , <nl> + " description " : " One of the most popular neural networks for image - related tasks . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " Fast R - CNN " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / wiki / Object - Detection - using - Fast - R - CNN " , <nl> + " description " : " Training object detection from images by adapting pre - trained classification models on arbitrarily sized region - of - interest using ROI pulling . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Tutorial " , " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " MLP " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / Classification / MLP # cntk - examples - imageclassificationmlp " , <nl> + " description " : " Multilayer perceptron is a permutation invariant model using a feed - forward neural network that consists of multiple layers of nodes in a directed graph , where each layer fully connected to the next one . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " MNIST CNN OCR " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / wiki / Tutorial2 " , <nl> + " description " : " Use CNN on a OCR problem . " , <nl> + " language " : [ " Python " , " BrainScript " ] , <nl> + " type " : [ " Tutorial " , " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " MNIST Feed Forward OCR " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / blob / master / Tutorials / CNTK_103A_MNIST_DataLoader . ipynb " , <nl> + " description " : " Use Feed Forward networks on a OCR problem . " , <nl> + " language " : [ " Python " ] , <nl> + " type " : [ " Tutorial " , " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " One Conv " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / GettingStarted # 02_oneconvcntk " , <nl> + " description " : " This is a simple network example showing one convolutional layer . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " One Conv BN " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / GettingStarted # 04_oneconvbncntk " , <nl> + " description " : " This is a simple network example showing how to add batch normalization to a CNN . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " One Conv Dropout " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / GettingStarted # 03_oneconvdropoutcntk " , <nl> + " description " : " This is a simple network example showing how to add dropout to a CNN . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " One Hidden " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / GettingStarted # 01_onehiddencntk " , <nl> + " description " : " This is a simple network example showing one hidden layer . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " One Regr " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / GettingStarted # 05_oneconvregrcntk " , <nl> + " description " : " This is a simple network example showing how to treat MNIST as a regression problem using Root Mean Square Error . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " RegrSimple " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / Regression # cntk - examples - imageregression " , <nl> + " description " : " A simple neural network to predict the average RGB values of normalized images . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " ResNet " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / Classification / ResNet # cntk - examples - imageclassificationresnet " , <nl> + " description " : " Deep residual learning invented by Microsoft Research and winning model of ILSVRC and MS - COCO challenges in 2015 . " , <nl> + " language " : [ " Python " , " BrainScript " ] , <nl> + " type " : [ " Tutorial " , " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " VGG " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Image / Classification / VGG " , <nl> + " description " : " Deep CNN from University of Oxford winning model for ILSVRC2014 localization task . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Numeric " ] , <nl> + " name " : " Feed Forward Classification " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / blob / master / Tutorials / CNTK_102_FeedForward . ipynb " , <nl> + " description " : " Use Feed Forward networks on a classification problem with CNTK and NumPy . " , <nl> + " language " : [ " Python " , " BrainScript " ] , <nl> + " type " : [ " Tutorial " , " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Numeric " ] , <nl> + " name " : " Logistic Regression " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / blob / master / Tutorials / CNTK_101_LogisticRegression . ipynb " , <nl> + " description " : " Logistic regression example with Synthetic data . " , <nl> + " language " : [ " Python " , " BrainScript " ] , <nl> + " type " : [ " Tutorial " , " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Image " ] , <nl> + " name " : " Reinforcement Learning " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / blob / master / Tutorials / CNTK_203_Reinforcement_Learning_Basics . ipynb " , <nl> + " description " : " Inspired by behaviorist psychology , concerned with how software agents ought to take actions in an environment so as to maximize some notion of cumulative reward . " , <nl> + " language " : [ " Python " ] , <nl> + " type " : [ " Tutorial " , " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " ] , <nl> + " name " : " AN4 Speech DNN " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Speech / AN4 " , <nl> + " description " : " Train a speech recognition DNN acoustic model trained on the CMU AN4 dataset . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " ] , <nl> + " name " : " AN4 Speech LSTM " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Speech / AN4 " , <nl> + " description " : " Train a speech recognition LSTM acoustic model trained on the CMU AN4 dataset . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " ] , <nl> + " name " : " Kaldi Speech DNN " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Speech / Miscellaneous / AMI " , <nl> + " description " : " Train a speech recognition DNN acoustic model on top of fMLLR features generated using the Kaldi toolchain . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " ] , <nl> + " name " : " Speech Adapt Learn Rate " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Speech / Miscellaneous / TIMIT / config " , <nl> + " description " : " Train a speech recognition model with learning rate adapted based on dev set trained on the TIMIT dataset . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " ] , <nl> + " name " : " Speech Auto Encoder " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Speech / Miscellaneous / TIMIT / config " , <nl> + " description " : " Train autoencoder with bottleneck layer trained on the TIMIT dataset . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " ] , <nl> + " name " : " Speech Multi Input " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Speech / Miscellaneous / TIMIT / config " , <nl> + " description " : " Train with 2 different inputs : fbank and mfcc trained on the TIMIT dataset . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " ] , <nl> + " name " : " Speech Multi Task " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Speech / Miscellaneous / TIMIT / config " , <nl> + " description " : " Train with multi - task learning with joint prediction of senone labels and dialect region trained on the TIMIT dataset . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " ] , <nl> + " name " : " Speech with PreTrain " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Speech / Miscellaneous / TIMIT / config " , <nl> + " description " : " Pre - train using layerwise discriminative pre - training , then do full network training trained on the TIMIT dataset . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " ] , <nl> + " name " : " TIMIT Speech DNN " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Speech / Miscellaneous / TIMIT / config " , <nl> + " description " : " Train a speech recognition DNN acoustic model trained on the TIMIT dataset ( TrainSimpleNetwork ) . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " ] , <nl> + " name " : " TIMIT Speech LSTM " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / Speech / Miscellaneous / TIMIT / config " , <nl> + " description " : " Train a speech recognition LSTM acoustic model trained on the TIMIT dataset ( TrainNDLNetwork ) . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Speech " , " Text " ] , <nl> + " name " : " G2P " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / SequenceToSequence / CMUDict " , <nl> + " description " : " Sequence - to - sequence model with attention mechanism for a grapheme to phoneme translation task on the CMUDict dataset . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Text " ] , <nl> + " name " : " RNN ATIS LU " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / LanguageUnderstanding / ATIS " , <nl> + " description " : " LSTM based model for language understanding on the ATIS dataset . " , <nl> + " language " : [ " Python " , " BrainScript " ] , <nl> + " type " : [ " Tutorial " , " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Text " ] , <nl> + " name " : " RNN LM " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / SequenceToSequence / PennTreebank " , <nl> + " description " : " Recurrent neural network for language modeling on the Pentreebank dataset . " , <nl> + " language " : [ " BrainScript " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Text " ] , <nl> + " name " : " Sequence Classification " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / master / Examples / SequenceClassification / SimpleExample / Python " , <nl> + " description " : " Creates and trains a LSTM sequence classification model . " , <nl> + " language " : [ " Python " ] , <nl> + " type " : [ " Recipe " ] <nl> + } , <nl> + { <nl> + " category " : [ " Text " ] , <nl> + " name " : " Sequence - to - Sequence " , <nl> + " url " : " https : / / github . com / Microsoft / CNTK / tree / Examples / SequenceToSequence / CMUDict / Python " , <nl> + " description " : " Creates and trains a sequence to sequence translation model . " , <nl> + " language " : [ " Python " ] , <nl> + " type " : [ " Recipe " ] <nl> + } <nl> + ] <nl>
Tools / samples . json : initial
microsoft/CNTK
1877508d6e533d392971db4ab795f1480634d97a
2017-01-03T13:12:37Z
mmm a / python / taichi / lang / kernel . py <nl> ppp b / python / taichi / lang / kernel . py <nl> def __init__ ( self , annotations , template_slot_locations ) : <nl> <nl> def extract ( self , args ) : <nl> extracted = [ ] <nl> - for i in self . template_slot_locations : <nl> - extracted . append ( self . annotations [ i ] . extract ( args [ i ] ) ) <nl> + for i in range ( self . num_args ) : <nl> + if hasattr ( self . annotations [ i ] , ' extract ' ) : <nl> + extracted . append ( self . annotations [ i ] . extract ( args [ i ] ) ) <nl> + else : <nl> + extracted . append ( None ) <nl> return tuple ( extracted ) <nl> <nl> def lookup ( self , args ) : <nl> def __init__ ( self , func , is_grad , classkernel = False ) : <nl> self . extract_arguments ( ) <nl> self . template_slot_locations = [ ] <nl> for i in range ( len ( self . arguments ) ) : <nl> - if isinstance ( self . arguments [ i ] , ( template , ext_arr ) ) : <nl> + if isinstance ( self . arguments [ i ] , template ) : <nl> self . template_slot_locations . append ( i ) <nl> self . mapper = KernelTemplateMapper ( self . arguments , self . template_slot_locations ) <nl> from . impl import get_runtime <nl> def extract_arguments ( self ) : <nl> self . arguments . append ( annotation ) <nl> self . argument_names . append ( param . name ) <nl> <nl> - def materialize ( self , key = None , args = None ) : <nl> + def materialize ( self , key = None , args = None , arg_features = None ) : <nl> if key is None : <nl> key = ( self . func , 0 ) <nl> if not self . runtime . materialized : <nl> def materialize ( self , key = None , args = None ) : <nl> func_body = tree . body [ 0 ] <nl> func_body . decorator_list = [ ] <nl> <nl> - visitor = ASTTransformer ( excluded_paremeters = self . template_slot_locations ) <nl> + visitor = ASTTransformer ( excluded_paremeters = self . template_slot_locations , func = self , arg_features = arg_features ) <nl> <nl> visitor . visit ( tree ) <nl> ast . fix_missing_locations ( tree ) <nl> def __call__ ( self , * args , * * kwargs ) : <nl> assert len ( kwargs ) = = 0 , ' kwargs not supported for Taichi kernels ' <nl> instance_id = self . mapper . lookup ( args ) <nl> key = ( self . func , instance_id ) <nl> - self . materialize ( key = key , args = args ) <nl> + self . materialize ( key = key , args = args , arg_features = self . mapper . extract ( args ) ) <nl> return self . compiled_functions [ key ] ( * args ) <nl> <nl> <nl> mmm a / python / taichi / lang / kernel_arguments . py <nl> ppp b / python / taichi / lang / kernel_arguments . py <nl> def extract ( self , x ) : <nl> template = Template <nl> <nl> <nl> - def decl_arg ( dt ) : <nl> + def decl_arg ( ty , dt ) : <nl> if isinstance ( dt , template ) : <nl> return <nl> - if dt is np . ndarray or isinstance ( dt , ext_arr ) : <nl> - print ( " Warning : numpy array arg supports 1D and f32 only for now " ) <nl> - id = taichi_lang_core . decl_arg ( f32 , True ) <nl> - return Expr ( taichi_lang_core . make_external_tensor_expr ( f32 , 1 , id ) ) <nl> - else : <nl> + if ty = = ' array ' : <nl> + print ( " Warning : external array arg supports 1D only " ) <nl> + id = taichi_lang_core . decl_arg ( dt , True ) <nl> + return Expr ( taichi_lang_core . make_external_tensor_expr ( dt , 1 , id ) ) <nl> + elif ty = = ' scalar ' : <nl> id = taichi_lang_core . decl_arg ( dt , False ) <nl> return Expr ( taichi_lang_core . make_arg_load_expr ( id ) ) <nl> + else : <nl> + assert False <nl> <nl> mmm a / python / taichi / lang / transformer . py <nl> ppp b / python / taichi / lang / transformer . py <nl> def __exit__ ( self , exc_type , exc_val , exc_tb ) : <nl> <nl> # Single - pass transform <nl> class ASTTransformer ( ast . NodeTransformer ) : <nl> - def __init__ ( self , excluded_paremeters = ( ) , transform_args = True ) : <nl> + def __init__ ( self , excluded_paremeters = ( ) , transform_args = True , func = None , arg_features = None ) : <nl> super ( ) . __init__ ( ) <nl> self . local_scopes = [ ] <nl> self . excluded_parameters = excluded_paremeters <nl> self . transform_args = transform_args <nl> + self . func = func <nl> + self . arg_features = arg_features <nl> <nl> def variable_scope ( self , * args ) : <nl> return ScopeGuard ( self , * args ) <nl> def visit_FunctionDef ( self , node ) : <nl> assert args . kwonlyargs = = [ ] <nl> assert args . kw_defaults = = [ ] <nl> assert args . kwarg is None <nl> + import taichi as ti <nl> if self . transform_args : <nl> arg_decls = [ ] <nl> for i , arg in enumerate ( args . args ) : <nl> - if i in self . excluded_parameters : <nl> + if isinstance ( self . func . arguments [ i ] , ti . template ) : <nl> continue # skip template parameters <nl> - arg_init = self . parse_stmt ( ' x = ti . decl_arg ( 0 ) ' ) <nl> + arg_init = self . parse_stmt ( ' x = ti . decl_arg ( 0 , 0 ) ' ) <nl> arg_init . targets [ 0 ] . id = arg . arg <nl> - arg_init . value . args [ 0 ] = arg . annotation <nl> + import taichi as ti <nl> + if isinstance ( self . func . arguments [ i ] , ti . ext_arr ) : <nl> + ty = self . parse_expr ( " ' array ' " ) <nl> + array_dt = self . arg_features [ i ] [ 0 ] <nl> + import numpy as np <nl> + if array_dt = = np . float32 : <nl> + dt = self . parse_expr ( ' ti . f32 ' ) <nl> + elif array_dt = = np . int32 : <nl> + dt = self . parse_expr ( ' ti . i32 ' ) <nl> + else : <nl> + assert False <nl> + else : <nl> + ty = self . parse_expr ( " ' scalar ' " ) <nl> + dt = arg . annotation <nl> + arg_init . value . args [ 0 ] = ty <nl> + arg_init . value . args [ 1 ] = dt <nl> arg_decls . append ( arg_init ) <nl> node . body = arg_decls + node . body <nl> # remove original args <nl> mmm a / tests / python / test_numpy . py <nl> ppp b / tests / python / test_numpy . py <nl> def values ( ) : <nl> ti . root . dense ( ti . i , n ) . place ( val ) <nl> <nl> @ ti . kernel <nl> - def test_numpy ( arr : np . ndarray ) : <nl> + def test_numpy ( arr : ti . ext_arr ( ) ) : <nl> for i in range ( n ) : <nl> arr [ i ] = arr [ i ] * * 2 <nl> <nl> def test_numpy ( arr : np . ndarray ) : <nl> <nl> @ ti . all_archs <nl> def test_numpy_int ( ) : <nl> - ti . cfg . print_ir = True <nl> val = ti . var ( ti . i32 ) <nl> <nl> n = 4 <nl> def values ( ) : <nl> ti . root . dense ( ti . i , n ) . place ( val ) <nl> <nl> @ ti . kernel <nl> - def test_numpy ( arr : np . ndarray ) : <nl> + def test_numpy ( arr : ti . ext_arr ( ) ) : <nl> for i in range ( n ) : <nl> arr [ i ] = arr [ i ] * * 2 <nl> <nl>
passed test_numpy : external array with i32 / f32 types
taichi-dev/taichi
14c5f38750af594844a469d38fad902acbaf3daa
2019-11-27T12:29:43Z
mmm a / tensorflow / python / training / training_util . py <nl> ppp b / tensorflow / python / training / training_util . py <nl> def write_graph ( graph_def , logdir , name , as_text = True ) : <nl> name : Filename for the graph . <nl> as_text : If ` True ` , writes the graph as an ASCII proto . <nl> " " " <nl> + if not gfile . IsDirectory ( logdir ) : <nl> + gfile . MakeDirs ( logdir ) <nl> path = os . path . join ( logdir , name ) <nl> - gfile . MakeDirs ( os . path . dirname ( path ) ) <nl> - f = gfile . FastGFile ( path , " w " ) <nl> if as_text : <nl> + f = gfile . FastGFile ( path , " w " ) <nl> f . write ( str ( graph_def ) ) <nl> else : <nl> + f = gfile . FastGFile ( path , " wb " ) <nl> f . write ( graph_def . SerializeToString ( ) ) <nl> f . close ( ) <nl>
Fix file exists error
tensorflow/tensorflow
3578e0ec8d70ad73112d8af7c38f7b65950d91aa
2016-01-06T04:13:02Z
mmm a / test / common / procutil . py <nl> ppp b / test / common / procutil . py <nl> def __del__ ( self ) : <nl> def run_executable ( command_line , output_path , test_dir , timeout = 60 , valgrind_tool = None ) : <nl> <nl> summary = os . path . basename ( command_line [ 0 ] ) <nl> - if len ( command_line ) > 4 : summary + = " " + cmd_join ( command_line [ 1 : 4 ] ) + " [ . . . ] " <nl> - else : summary + = " " + cmd_join ( command_line [ 1 : ] ) <nl> + for chunk in command_line [ 1 : ] : <nl> + if len ( summary ) + len ( chunk ) > 200 : <nl> + summary + = " [ . . . ] " <nl> + break <nl> + elif " " in chunk : <nl> + summary + = " \ " % s \ " " % chunk <nl> + else : <nl> + summary + = " " + chunk <nl> print " Running % r ; " % summary , <nl> sys . stdout . flush ( ) <nl> <nl>
Changed how test_common . py prints command lines for programs it is running .
rethinkdb/rethinkdb
9bad5968464556bdeeee0298e6a1e150ee345d30
2011-04-20T20:14:15Z
mmm a / modules / ts / src / ts_func . cpp <nl> ppp b / modules / ts / src / ts_func . cpp <nl> <nl> # include < float . h > <nl> # include < limits . h > <nl> <nl> + # ifdef HAVE_TEGRA_OPTIMIZATION <nl> + # include " tegra . hpp " <nl> + # endif <nl> + <nl> using namespace cv ; <nl> <nl> namespace cvtest <nl> void printVersionInfo ( bool useStdOut ) <nl> std : : cout < < " Parallel framework : " < < CV_PARALLEL_FRAMEWORK < < std : : endl ; <nl> } <nl> # endif <nl> + <nl> + std : : string cpu_features ; <nl> + <nl> + # if CV_SSE <nl> + if ( checkHardwareSupport ( CV_CPU_SSE ) ) cpu_features + = " sse " ; <nl> + # endif <nl> + # if CV_SSE2 <nl> + if ( checkHardwareSupport ( CV_CPU_SSE2 ) ) cpu_features + = " sse2 " ; <nl> + # endif <nl> + # if CV_SSE3 <nl> + if ( checkHardwareSupport ( CV_CPU_SSE3 ) ) cpu_features + = " sse3 " ; <nl> + # endif <nl> + # if CV_SSSE3 <nl> + if ( checkHardwareSupport ( CV_CPU_SSSE3 ) ) cpu_features + = " ssse3 " ; <nl> + # endif <nl> + # if CV_SSE4_1 <nl> + if ( checkHardwareSupport ( CV_CPU_SSE4_1 ) ) cpu_features + = " sse4 . 1 " ; <nl> + # endif <nl> + # if CV_SSE4_2 <nl> + if ( checkHardwareSupport ( CV_CPU_SSE4_2 ) ) cpu_features + = " sse4 . 2 " ; <nl> + # endif <nl> + # if CV_AVX <nl> + if ( checkHardwareSupport ( CV_CPU_AVX ) ) cpu_features + = " avx " ; <nl> + # endif <nl> + # if CV_NEON <nl> + cpu_features + = " neon " ; / / NEON is currently not checked at runtime <nl> + # endif <nl> + <nl> + cpu_features . erase ( 0 , 1 ) ; / / erase initial space <nl> + <nl> + : : testing : : Test : : RecordProperty ( " cv_cpu_features " , cpu_features ) ; <nl> + if ( useStdOut ) std : : cout < < " CPU features : " < < cpu_features < < std : : endl ; <nl> + <nl> + # ifdef HAVE_TEGRA_OPTIMIZATION <nl> + const char * tegra_optimization = tegra : : isDeviceSupported ( ) ? " enabled " : " disabled " ; <nl> + : : testing : : Test : : RecordProperty ( " cv_tegra_optimization " , tegra_optimization ) ; <nl> + if ( useStdOut ) std : : cout < < " Tegra optimization : " < < tegra_optimization < < std : : endl ; <nl> + # endif <nl> } <nl> <nl> } / / namespace cvtest <nl>
Made tests record information about CPU features and Tegra optimization status .
opencv/opencv
4af7d65224f23739176c49341d8bcf795a8ab5ea
2013-06-18T14:26:53Z
mmm a / src / qt / addressbookdialog . cpp <nl> ppp b / src / qt / addressbookdialog . cpp <nl> <nl> AddressBookDialog : : AddressBookDialog ( Mode mode , QWidget * parent ) : <nl> QDialog ( parent ) , <nl> ui ( new Ui : : AddressBookDialog ) , <nl> - model ( 0 ) <nl> + model ( 0 ) , <nl> + mode ( mode ) <nl> { <nl> ui - > setupUi ( this ) ; <nl> - <nl> switch ( mode ) <nl> { <nl> case ForSending : <nl> connect ( ui - > receiveTableView , SIGNAL ( doubleClicked ( QModelIndex ) ) , this , SLOT ( on_buttonBox_accepted ( ) ) ) ; <nl> connect ( ui - > sendTableView , SIGNAL ( doubleClicked ( QModelIndex ) ) , this , SLOT ( on_buttonBox_accepted ( ) ) ) ; <nl> - break ; <nl> - case ForEditing : <nl> - connect ( ui - > receiveTableView , SIGNAL ( doubleClicked ( QModelIndex ) ) , this , SLOT ( on_editButton_clicked ( ) ) ) ; <nl> - connect ( ui - > sendTableView , SIGNAL ( doubleClicked ( QModelIndex ) ) , this , SLOT ( on_editButton_clicked ( ) ) ) ; <nl> + ui - > sendTableView - > setFocus ( ) ; <nl> break ; <nl> } <nl> } <nl> void AddressBookDialog : : setModel ( AddressTableModel * model ) <nl> AddressTableModel : : Address , 320 ) ; <nl> ui - > sendTableView - > horizontalHeader ( ) - > setResizeMode ( <nl> AddressTableModel : : Label , QHeaderView : : Stretch ) ; <nl> + <nl> + if ( mode = = ForSending ) <nl> + { <nl> + / / Auto - select first row when in sending mode <nl> + ui - > sendTableView - > selectRow ( 0 ) ; <nl> + } <nl> } <nl> <nl> void AddressBookDialog : : setTab ( int tab ) <nl> mmm a / src / qt / addressbookdialog . h <nl> ppp b / src / qt / addressbookdialog . h <nl> class AddressBookDialog : public QDialog <nl> private : <nl> Ui : : AddressBookDialog * ui ; <nl> AddressTableModel * model ; <nl> + Mode mode ; <nl> QString returnValue ; <nl> <nl> QTableView * getCurrentTable ( ) ; <nl> mmm a / src / qt / addresstablemodel . cpp <nl> ppp b / src / qt / addresstablemodel . cpp <nl> QVariant AddressTableModel : : data ( const QModelIndex & index , int role ) const <nl> switch ( index . column ( ) ) <nl> { <nl> case Label : <nl> - if ( rec - > label . isEmpty ( ) ) <nl> + if ( rec - > label . isEmpty ( ) & & role = = Qt : : DisplayRole ) <nl> { <nl> return tr ( " ( no label ) " ) ; <nl> } <nl> bool AddressTableModel : : setData ( const QModelIndex & index , const QVariant & valu <nl> rec - > label = value . toString ( ) ; <nl> break ; <nl> case Address : <nl> + / / Refuse to set invalid address <nl> + if ( ! validateAddress ( value . toString ( ) ) ) <nl> + return false ; <nl> / / Double - check that we ' re not overwriting receiving address <nl> if ( rec - > type = = AddressTableEntry : : Sending ) <nl> { <nl> QVariant AddressTableModel : : headerData ( int section , Qt : : Orientation orientation , <nl> return QVariant ( ) ; <nl> } <nl> <nl> + Qt : : ItemFlags AddressTableModel : : flags ( const QModelIndex & index ) const <nl> + { <nl> + if ( ! index . isValid ( ) ) <nl> + return 0 ; <nl> + AddressTableEntry * rec = static_cast < AddressTableEntry * > ( index . internalPointer ( ) ) ; <nl> + <nl> + Qt : : ItemFlags retval = Qt : : ItemIsSelectable | Qt : : ItemIsEnabled ; <nl> + / / Can edit address and label for sending addresses , <nl> + / / and only label for receiving addresses . <nl> + if ( rec - > type = = AddressTableEntry : : Sending | | <nl> + ( rec - > type = = AddressTableEntry : : Receiving & & index . column ( ) = = Label ) ) <nl> + { <nl> + retval | = Qt : : ItemIsEditable ; <nl> + } <nl> + return retval ; <nl> + } <nl> + <nl> QModelIndex AddressTableModel : : index ( int row , int column , const QModelIndex & parent ) const <nl> { <nl> Q_UNUSED ( parent ) ; <nl> mmm a / src / qt / addresstablemodel . h <nl> ppp b / src / qt / addresstablemodel . h <nl> class AddressTableModel : public QAbstractTableModel <nl> QVariant headerData ( int section , Qt : : Orientation orientation , int role ) const ; <nl> QModelIndex index ( int row , int column , const QModelIndex & parent ) const ; <nl> bool removeRows ( int row , int count , const QModelIndex & parent = QModelIndex ( ) ) ; <nl> + Qt : : ItemFlags flags ( const QModelIndex & index ) const ; <nl> <nl> / * Add an address to the model . <nl> Returns the added address on success , and an empty string otherwise . <nl> mmm a / src / qt / forms / sendcoinsdialog . ui <nl> ppp b / src / qt / forms / sendcoinsdialog . ui <nl> <nl> < / customwidgets > <nl> < tabstops > <nl> < tabstop > payTo < / tabstop > <nl> - < tabstop > addAsLabel < / tabstop > <nl> - < tabstop > payAmount < / tabstop > <nl> < tabstop > addressBookButton < / tabstop > <nl> < tabstop > pasteButton < / tabstop > <nl> + < tabstop > addAsLabel < / tabstop > <nl> + < tabstop > payAmount < / tabstop > <nl> < tabstop > sendButton < / tabstop > <nl> < tabstop > buttonBox < / tabstop > <nl> < / tabstops > <nl>
ui improvements : allow inline editing of labels / addresses in address book table , better tab order in send dialog , set focus on sending address table when coming from send coins dialog
bitcoin/bitcoin
154e25ff60115b9ff286b97ffc87d65736593c86
2011-07-02T15:31:27Z
mmm a / xbmc / RenderSystemGL . cpp <nl> ppp b / xbmc / RenderSystemGL . cpp <nl> void CRenderSystemGL : : CheckOpenGLQuirks ( ) <nl> <nl> { <nl> # ifdef __APPLE__ <nl> - if ( strstr ( m_RenderVendor . c_str ( ) , " NVIDIA " ) ) <nl> + if ( m_RenderVendor . find ( " NVIDIA " ) ) <nl> { <nl> / / Nvidia 7300 ( AppleTV ) and 7600 cannot do DXT with NPOT under OSX <nl> / / Nvidia 9400M is slow as a dog <nl>
changed , use CStdString and stop messing around , thanks spiff
xbmc/xbmc
695d02ec1c5c9c58a397dba8387136e23dd33ad1
2010-04-14T00:36:19Z
mmm a / test / SILGen / objc_properties . swift <nl> ppp b / test / SILGen / objc_properties . swift <nl> class HasLazyProperty : NSObject , HasProperty { <nl> / / which can cause fits for SILGenApply the way it ' s currently implemented . <nl> / / CHECK - LABEL : sil hidden @ _T015objc_properties26testPropSetWithPreposition <nl> func testPropSetWithPreposition ( object : ObjectWithSplitProperty ? ) { <nl> - / / CHECK : # ObjectWithSplitProperty . flagForSomething ! setter . 1 . foreign : ( ObjectWithSplitProperty ) - > ( Bool ) - > ( ) , $ @ convention ( objc_method ) ( ObjCBool , ObjectWithSplitProperty ) - > ( ) <nl> + / / CHECK : # ObjectWithSplitProperty . flagForSomething ! setter . 1 . foreign : ( ObjectWithSplitProperty ) - > ( Bool ) - > ( ) , $ @ convention ( objc_method ) ( { { Bool | ObjCBool } } , ObjectWithSplitProperty ) - > ( ) <nl> object ? . flagForSomething = false <nl> } <nl>
Merge remote - tracking branch ' origin / master ' into master - next
apple/swift
64496ea0085a43b7884d39a7a4187ee0f30baec7
2017-10-27T07:09:35Z
mmm a / fdbbackup / CMakeLists . txt <nl> ppp b / fdbbackup / CMakeLists . txt <nl> add_flow_target ( EXECUTABLE NAME fdbbackup SRCS $ { FDBBACKUP_SRCS } ) <nl> target_link_libraries ( fdbbackup PRIVATE fdbclient ) <nl> <nl> if ( NOT OPEN_FOR_IDE ) <nl> - fdb_install ( TARGETS fdbbackup DESTINATION bin COMPONENT clients ) <nl> + if ( GENERATE_DEBUG_PACKAGES ) <nl> + fdb_install ( TARGETS fdbbackup DESTINATION bin COMPONENT clients ) <nl> + else ( ) <nl> + fdb_install ( FILES $ { CMAKE_BINARY_DIR } / packages / bin / fdbbackup DESTINATION bin COMPONENT clients ) <nl> + endif ( ) <nl> install_symlink ( <nl> COMPONENT clients <nl> FILE_DIR bin <nl> mmm a / fdbcli / CMakeLists . txt <nl> ppp b / fdbcli / CMakeLists . txt <nl> endif ( ) <nl> add_flow_target ( EXECUTABLE NAME fdbcli SRCS $ { FDBCLI_SRCS } ) <nl> target_link_libraries ( fdbcli PRIVATE fdbclient ) <nl> <nl> - fdb_install ( TARGETS fdbcli DESTINATION bin COMPONENT clients ) <nl> + if ( GENERATE_DEBUG_PACKAGES ) <nl> + fdb_install ( TARGETS fdbcli DESTINATION bin COMPONENT clients ) <nl> + else ( ) <nl> + fdb_install ( FILES $ { CMAKE_BINARY_DIR } / packages / bin / fdbcli DESTINATION bin COMPONENT clients ) <nl> + endif ( ) <nl> mmm a / fdbmonitor / CMakeLists . txt <nl> ppp b / fdbmonitor / CMakeLists . txt <nl> endif ( ) <nl> # as soon as we get rid of the old build system <nl> target_include_directories ( fdbmonitor PRIVATE $ { CMAKE_BINARY_DIR } / fdbclient ) <nl> <nl> - fdb_install ( TARGETS fdbmonitor DESTINATION fdbmonitor COMPONENT server ) <nl> + if ( GENERATE_DEBUG_PACKAGES ) <nl> + fdb_install ( TARGETS fdbmonitor DESTINATION fdbmonitor COMPONENT server ) <nl> + else ( ) <nl> + fdb_install ( FILES $ { CMAKE_BINARY_DIR } / packages / bin / fdbmonitor DESTINATION fdbmonitor COMPONENT server ) <nl> + endif ( ) <nl> <nl> # Create a local sandbox for quick manual testing without simulator <nl> file ( MAKE_DIRECTORY $ { CMAKE_BINARY_DIR } / sandbox / data ) <nl> mmm a / fdbserver / CMakeLists . txt <nl> ppp b / fdbserver / CMakeLists . txt <nl> if ( GPERFTOOLS_FOUND ) <nl> target_link_libraries ( fdbserver PRIVATE gperftools ) <nl> endif ( ) <nl> <nl> - fdb_install ( TARGETS fdbserver DESTINATION sbin COMPONENT server ) <nl> + if ( GENERATE_DEBUG_PACKAGES ) <nl> + fdb_install ( TARGETS fdbserver DESTINATION sbin COMPONENT server ) <nl> + else ( ) <nl> + fdb_install ( FILES $ { CMAKE_BINARY_DIR } / packages / bin / fdbserver sbin COMPONENT server ) <nl> + endif ( ) <nl>
Merge pull request from ajbeamon / cmake - use - stripped - binaries - for - packages
apple/foundationdb
e4b1489a0eb641c46b1ab1d5a7f6ad59909575d7
2020-05-27T18:36:38Z
mmm a / MachineLearning / CNTK / ModelEditLanguage . cpp <nl> ppp b / MachineLearning / CNTK / ModelEditLanguage . cpp <nl> void MELScript < ElemType > : : CallFunction ( const std : : string & p_name , const ConfigPa <nl> } <nl> else if ( EqualInsensitive ( propName , " MultiSeq " , " ReqMultiSeqHandling " ) ) <nl> { <nl> - prop = melPropMultiSeqHandling ; <nl> + fprintf ( stderr , " WARNING : ' % s ' property is defunct and will be ignored . \ n " , propName . c_str ( ) ) ; <nl> } <nl> else if ( EqualInsensitive ( propName , " Evaluation " , " Eval " ) ) <nl> { <nl> void MELScript < ElemType > : : CallFunction ( const std : : string & p_name , const ConfigPa <nl> SetProperty ( node , cn - > FinalCriterionNodes ( ) , set ) ; <nl> break ; <nl> } <nl> - case melPropMultiSeqHandling : <nl> - { <nl> - bool set = params [ 2 ] ; <nl> - SetProperty ( node , cn - > RequestNodesMultiSeqHandling ( ) , set ) ; <nl> - break ; <nl> - } <nl> case melPropEvaluation : <nl> { <nl> bool set = params [ 2 ] ; <nl>
( missed a build error , oops )
microsoft/CNTK
6e2b55b104c8c6edb5c07af64717f891ded72a9d
2015-11-14T07:27:15Z
mmm a / js / common / modules / jsunity / jsunity . js <nl> ppp b / js / common / modules / jsunity / jsunity . js <nl> <nl> * http : / / www . opensource . org / licenses / mit - license . php <nl> * / <nl> <nl> + var counter ; / / crying <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> function fmt ( str ) { <nl> + var internal = require ( " internal " ) ; <nl> var a = Array . prototype . slice . call ( arguments , 1 ) ; <nl> - return str . replace ( / \ ? / g , function ( ) { return a . shift ( ) ; } ) ; <nl> + return " at assertion # " + counter + " : " + str . replace ( / \ ? / g , function ( ) { <nl> + internal . startCaptureMode ( ) ; <nl> + internal . print ( a . shift ( ) ) ; <nl> + <nl> + var outputWithoutNewline = internal . stopCaptureMode ( ) ; <nl> + return outputWithoutNewline . substr ( 0 , outputWithoutNewline . length - 1 ) ; <nl> + } ) ; <nl> + <nl> } <nl> <nl> function hash ( v ) { <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> <nl> var defaultAssertions = { <nl> assertException : function ( fn , message ) { <nl> + counter + + ; <nl> try { <nl> fn instanceof Function & & fn ( ) ; <nl> } catch ( e ) { <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertTrue : function ( actual , message ) { <nl> + counter + + ; <nl> if ( ! actual ) { <nl> throw fmt ( " ? : ( ? ) does not evaluate to true " , <nl> message | | " assertTrue " , actual ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertFalse : function ( actual , message ) { <nl> + counter + + ; <nl> if ( actual ) { <nl> throw fmt ( " ? : ( ? ) does not evaluate to false " , <nl> message | | " assertFalse " , actual ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertIdentical : function ( expected , actual , message ) { <nl> + counter + + ; <nl> if ( expected ! = = actual ) { <nl> throw fmt ( " ? : ( ? ) is not identical to ( ? ) " , <nl> message | | " assertIdentical " , actual , expected ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertNotIdentical : function ( expected , actual , message ) { <nl> + counter + + ; <nl> if ( expected = = = actual ) { <nl> throw fmt ( " ? : ( ? ) is identical to ( ? ) " , <nl> message | | " assertNotIdentical " , actual , expected ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertEqual : function ( expected , actual , message ) { <nl> + counter + + ; <nl> if ( hash ( expected ) ! = hash ( actual ) ) { <nl> throw fmt ( " ? : ( ? ) is not equal to ( ? ) " , <nl> message | | " assertEqual " , actual , expected ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertNotEqual : function ( expected , actual , message ) { <nl> + counter + + ; <nl> if ( hash ( expected ) = = hash ( actual ) ) { <nl> throw fmt ( " ? : ( ? ) is equal to ( ? ) " , <nl> message | | " assertNotEqual " , actual , expected ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertMatch : function ( re , actual , message ) { <nl> + counter + + ; <nl> if ( ! re . test ( actual ) ) { <nl> throw fmt ( " ? : ( ? ) does not match ( ? ) " , <nl> message | | " assertMatch " , actual , re ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertNotMatch : function ( re , actual , message ) { <nl> + counter + + ; <nl> if ( re . test ( actual ) ) { <nl> throw fmt ( " ? : ( ? ) matches ( ? ) " , <nl> message | | " assertNotMatch " , actual , re ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertTypeOf : function ( typ , actual , message ) { <nl> + counter + + ; <nl> if ( typeof actual ! = = typ ) { <nl> throw fmt ( " ? : ( ? ) is not of type ( ? ) " , <nl> message | | " assertTypeOf " , actual , typ ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertNotTypeOf : function ( typ , actual , message ) { <nl> + counter + + ; <nl> if ( typeof actual = = = typ ) { <nl> throw fmt ( " ? : ( ? ) is of type ( ? ) " , <nl> message | | " assertNotTypeOf " , actual , typ ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertInstanceOf : function ( cls , actual , message ) { <nl> + counter + + ; <nl> if ( ! ( actual instanceof cls ) ) { <nl> throw fmt ( " ? : ( ? ) is not an instance of ( ? ) " , <nl> message | | " assertInstanceOf " , actual , cls ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertNotInstanceOf : function ( cls , actual , message ) { <nl> + counter + + ; <nl> if ( actual instanceof cls ) { <nl> throw fmt ( " ? : ( ? ) is an instance of ( ? ) " , <nl> message | | " assertNotInstanceOf " , actual , cls ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertNull : function ( actual , message ) { <nl> + counter + + ; <nl> if ( actual ! = = null ) { <nl> throw fmt ( " ? : ( ? ) is not null " , <nl> message | | " assertNull " , actual ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertNotNull : function ( actual , message ) { <nl> + counter + + ; <nl> if ( actual = = = null ) { <nl> throw fmt ( " ? : ( ? ) is null " , <nl> message | | " assertNotNull " , actual ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertUndefined : function ( actual , message ) { <nl> + counter + + ; <nl> if ( actual ! = = undefined ) { <nl> throw fmt ( " ? : ( ? ) is not undefined " , <nl> message | | " assertUndefined " , actual ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertNotUndefined : function ( actual , message ) { <nl> + counter + + ; <nl> if ( actual = = = undefined ) { <nl> throw fmt ( " ? : ( ? ) is undefined " , <nl> message | | " assertNotUndefined " , actual ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertNaN : function ( actual , message ) { <nl> + counter + + ; <nl> if ( ! isNaN ( actual ) ) { <nl> throw fmt ( " ? : ( ? ) is not NaN " , <nl> message | | " assertNaN " , actual ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> } , <nl> <nl> assertNotNaN : function ( actual , message ) { <nl> + counter + + ; <nl> if ( isNaN ( actual ) ) { <nl> throw fmt ( " ? : ( ? ) is NaN " , <nl> message | | " assertNotNaN " , actual ) ; <nl> var jsUnity = exports . jsUnity = ( function ( ) { <nl> var setUp = getFixtureUtil ( " setUp " ) ; <nl> var tearDown = getFixtureUtil ( " tearDown " ) ; <nl> <nl> + counter = 0 ; <nl> + <nl> for ( var j = 0 ; j < cnt ; j + + ) { <nl> var test = suite . tests [ j ] ; <nl> <nl>
dirtified jsunity
arangodb/arangodb
b598d3443e0702b03fd785d81b6912e7fc1fc865
2013-08-27T10:19:58Z
mmm a / include / taichi / common / util . h <nl> ppp b / include / taichi / common / util . h <nl> TC_NAMESPACE_BEGIN <nl> # define TC_WARN ( . . . ) SPD_AUGMENTED_LOG ( warn , __VA_ARGS__ ) <nl> # define TC_ERROR ( . . . ) SPD_AUGMENTED_LOG ( error , __VA_ARGS__ ) <nl> # define TC_CRITICAL ( . . . ) SPD_AUGMENTED_LOG ( critical , __VA_ARGS__ ) <nl> + <nl> + # define TC_TRACE_IF ( condition , . . . ) \ <nl> + if ( condition ) { \ <nl> + TC_TRACE ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_TRACE_UNLESS ( condition , . . . ) \ <nl> + if ( ! ( condition ) ) { \ <nl> + TC_TRACE ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_DEBUG_IF ( condition , . . . ) \ <nl> + if ( condition ) { \ <nl> + TC_DEBUG ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_DEBUG_UNLESS ( condition , . . . ) \ <nl> + if ( ! ( condition ) ) { \ <nl> + TC_DEBUG ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_INFO_IF ( condition , . . . ) \ <nl> + if ( condition ) { \ <nl> + TC_INFO ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_INFO_UNLESS ( condition , . . . ) \ <nl> + if ( ! ( condition ) ) { \ <nl> + TC_INFO ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_WARN_IF ( condition , . . . ) \ <nl> + if ( condition ) { \ <nl> + TC_WARN ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_WARN_UNLESS ( condition , . . . ) \ <nl> + if ( ! ( condition ) ) { \ <nl> + TC_WARN ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_ERROR_IF ( condition , . . . ) \ <nl> + if ( condition ) { \ <nl> + TC_ERROR ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_ERROR_UNLESS ( condition , . . . ) \ <nl> + if ( ! ( condition ) ) { \ <nl> + TC_ERROR ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_CRITICAL_IF ( condition , . . . ) \ <nl> + if ( condition ) { \ <nl> + TC_CRITICAL ( __VA_ARGS__ ) ; \ <nl> + } <nl> + # define TC_CRITICAL_UNLESS ( condition , . . . ) \ <nl> + if ( ! ( condition ) ) { \ <nl> + TC_CRITICAL ( __VA_ARGS__ ) ; \ <nl> + } <nl> + <nl> # define TC_STOP TC_ERROR ( " Stopping here " ) <nl> + # define TC_TAG TC_TRACE ( " Tagging here " ) <nl> <nl> # define TC_LOG_SET_PATTERN ( x ) spdlog : : set_pattern ( x ) ; <nl> <nl>
TC_XXXX_IF ; TC_TAG
taichi-dev/taichi
e04ff53f4dc5563ccf631bd515d1823f902f3e7d
2018-01-13T16:14:04Z
mmm a / folly / FBString . h <nl> ppp b / folly / FBString . h <nl> OutIt copy_n ( InIt b , <nl> typename std : : iterator_traits < InIt > : : difference_type n , <nl> OutIt d ) { <nl> for ( ; n ! = 0 ; - - n , + + b , + + d ) { <nl> - assert ( ( const void * ) & * d ! = & * b ) ; <nl> * d = * b ; <nl> } <nl> return d ; <nl> class basic_fbstring { <nl> } <nl> <nl> private : <nl> - template < class FwdIterator , class P > <nl> + template < class FwdIterator > <nl> bool replaceAliased ( iterator i1 , iterator i2 , <nl> - FwdIterator s1 , FwdIterator s2 , P * ) { <nl> + FwdIterator s1 , FwdIterator s2 , std : : false_type ) { <nl> return false ; <nl> } <nl> <nl> template < class FwdIterator > <nl> bool replaceAliased ( iterator i1 , iterator i2 , <nl> - FwdIterator s1 , FwdIterator s2 , value_type * ) { <nl> + FwdIterator s1 , FwdIterator s2 , std : : true_type ) { <nl> static const std : : less_equal < const value_type * > le = <nl> std : : less_equal < const value_type * > ( ) ; <nl> const bool aliased = le ( & * begin ( ) , & * s1 ) & & le ( & * s1 , & * end ( ) ) ; <nl> class basic_fbstring { <nl> return true ; <nl> } <nl> <nl> - public : <nl> template < class FwdIterator > <nl> void replaceImpl ( iterator i1 , iterator i2 , <nl> FwdIterator s1 , FwdIterator s2 , std : : forward_iterator_tag ) { <nl> class basic_fbstring { <nl> ( void ) checker ; <nl> <nl> / / Handle aliased replace <nl> - if ( replaceAliased ( i1 , i2 , s1 , s2 , & * s1 ) ) { <nl> + if ( replaceAliased ( i1 , i2 , s1 , s2 , <nl> + std : : integral_constant < bool , <nl> + std : : is_same < FwdIterator , iterator > : : value | | <nl> + std : : is_same < FwdIterator , const_iterator > : : value > ( ) ) ) { <nl> return ; <nl> } <nl> <nl> mmm a / folly / test / FBStringTest . cpp <nl> ppp b / folly / test / FBStringTest . cpp <nl> TEST ( FBString , iomanip ) { <nl> ss . str ( " " ) ; <nl> } <nl> <nl> + TEST ( FBString , rvalueIterators ) { <nl> + / / you cannot take & * of a move - iterator , so use that for testing <nl> + fbstring s = " base " ; <nl> + fbstring r = " hello " ; <nl> + r . replace ( r . begin ( ) , r . end ( ) , <nl> + make_move_iterator ( s . begin ( ) ) , make_move_iterator ( s . end ( ) ) ) ; <nl> + EXPECT_EQ ( " base " , r ) ; <nl> + <nl> + / / The following test is probably not required by the standard . <nl> + / / i . e . this could be in the realm of undefined behavior . <nl> + fbstring b = " 123abcXYZ " ; <nl> + auto ait = b . begin ( ) + 3 ; <nl> + auto Xit = b . begin ( ) + 6 ; <nl> + b . replace ( ait , b . end ( ) , b . begin ( ) , Xit ) ; <nl> + EXPECT_EQ ( " 123123abc " , b ) ; / / if things go wrong , you ' d get " 123123123 " <nl> + } <nl> + <nl> int main ( int argc , char * * argv ) { <nl> testing : : InitGoogleTest ( & argc , argv ) ; <nl> google : : ParseCommandLineFlags ( & argc , & argv , true ) ; <nl>
Remove disallowed & * of FwdIterator
facebook/folly
764261c12ab059cd15607a1c2d2a7ff015dfe7ce
2014-02-28T21:59:48Z
mmm a / python / taichi / lang / __init__ . py <nl> ppp b / python / taichi / lang / __init__ . py <nl> <nl> from . impl import * <nl> from . matrix import Matrix <nl> + from . transformer import TaichiSyntaxError <nl> <nl> core = taichi_lang_core <nl> runtime = get_runtime ( ) <nl> mmm a / python / taichi / lang / transformer . py <nl> ppp b / python / taichi / lang / transformer . py <nl> def visit_Assign ( self , node ) : <nl> call = ast . Call ( func = func , args = [ node . value ] , keywords = [ ] ) <nl> return ast . copy_location ( ast . Expr ( value = call ) , node ) <nl> <nl> + def visit_Try ( self , node ) : <nl> + raise TaichiSyntaxError ( " Keyword ' try ' not supported in Taichi kernels " ) <nl> + <nl> def visit_While ( self , node ) : <nl> + if node . orelse : <nl> + raise TaichiSyntaxError ( " ' else ' clause for ' while ' not supported in Taichi kernels " ) <nl> self . generic_visit ( node , [ ' body ' ] ) <nl> <nl> template = ' ' ' <nl> def visit_Subscript ( self , node ) : <nl> return ast . copy_location ( call , node ) <nl> <nl> def visit_Break ( self , node ) : <nl> - assert False , ' " break " is not yet supported in Taichi kernels . Please walk around by changing loop conditions . ' <nl> + raise TaichiSyntaxError ( ' " break " is not yet supported in Taichi kernels . Please walk around by changing loop conditions . ' ) <nl> <nl> def visit_Continue ( self , node ) : <nl> - assert False , ' " continue " is not yet supported in Taichi kernels . Please walk around by changing loop conditions . ' <nl> + raise TaichiSyntaxError ( ' " continue " is not yet supported in Taichi kernels . Please walk around by changing loop conditions . ' ) <nl> <nl> def visit_Module ( self , node ) : <nl> with self . variable_scope ( ) : <nl> mmm a / tests / python / test_scope_errors . py <nl> ppp b / tests / python / test_scope_errors . py <nl> def func ( ) : <nl> ti . print ( a ) <nl> <nl> func ( ) <nl> + <nl> new file mode 100644 <nl> index 00000000000 . . 2cb7eefa14a <nl> mmm / dev / null <nl> ppp b / tests / python / test_syntax_errors . py <nl> <nl> + import taichi as ti <nl> + <nl> + @ ti . must_throw ( ti . TaichiSyntaxError ) <nl> + def test_try ( ) : <nl> + ti . get_runtime ( ) . print_preprocessed = True <nl> + x = ti . var ( ti . f32 ) <nl> + <nl> + @ ti . layout <nl> + def layout ( ) : <nl> + ti . root . dense ( ti . i , 1 ) . place ( x ) <nl> + <nl> + @ ti . kernel <nl> + def func ( ) : <nl> + try : <nl> + a = 0 <nl> + except : <nl> + a = 1 <nl> + <nl> + func ( ) <nl>
throw TaichiSyntaxError for try
taichi-dev/taichi
d11d715da3a3e3d83c370f6c431868298332f5b4
2019-10-29T21:35:04Z
mmm a / modules / core / include / opencv2 / core / hal / intrin_sse . hpp <nl> ppp b / modules / core / include / opencv2 / core / hal / intrin_sse . hpp <nl> OPENCV_HAL_IMPL_SSE_TRANSPOSE4x4 ( v_int32x4 , epi32 , OPENCV_HAL_NOP , OPENCV_HAL_NO <nl> OPENCV_HAL_IMPL_SSE_TRANSPOSE4x4 ( v_float32x4 , ps , _mm_castps_si128 , _mm_castsi128_ps ) <nl> <nl> / / adopted from sse_utils . hpp <nl> + inline void v_load_deinterleave ( const uchar * ptr , v_uint8x16 & a , v_uint8x16 & b ) <nl> + { <nl> + __m128i t00 = _mm_loadu_si128 ( ( const __m128i * ) ptr ) ; <nl> + __m128i t01 = _mm_loadu_si128 ( ( const __m128i * ) ( ptr + 16 ) ) ; <nl> + <nl> + __m128i t10 = _mm_unpacklo_epi8 ( t00 , t01 ) ; <nl> + __m128i t11 = _mm_unpackhi_epi8 ( t00 , t01 ) ; <nl> + <nl> + __m128i t20 = _mm_unpacklo_epi8 ( t10 , t11 ) ; <nl> + __m128i t21 = _mm_unpackhi_epi8 ( t10 , t11 ) ; <nl> + <nl> + __m128i t30 = _mm_unpacklo_epi8 ( t20 , t21 ) ; <nl> + __m128i t31 = _mm_unpackhi_epi8 ( t20 , t21 ) ; <nl> + <nl> + a . val = _mm_unpacklo_epi8 ( t30 , t31 ) ; <nl> + b . val = _mm_unpackhi_epi8 ( t30 , t31 ) ; <nl> + } <nl> + <nl> inline void v_load_deinterleave ( const uchar * ptr , v_uint8x16 & a , v_uint8x16 & b , v_uint8x16 & c ) <nl> { <nl> __m128i t00 = _mm_loadu_si128 ( ( const __m128i * ) ptr ) ; <nl> inline void v_store_interleave ( short * ptr , const v_int16x8 & a , const v_int16x8 & <nl> _mm_storeu_si128 ( ( __m128i * ) ( ptr + 8 ) , t1 ) ; <nl> } <nl> <nl> + inline void v_store_interleave ( uchar * ptr , const v_uint8x16 & a , const v_uint8x16 & b ) <nl> + { <nl> + __m128i v0 = _mm_unpacklo_epi8 ( a . val , b . val ) ; <nl> + __m128i v1 = _mm_unpackhi_epi8 ( a . val , b . val ) ; <nl> + <nl> + _mm_storeu_si128 ( ( __m128i * ) ( ptr ) , v0 ) ; <nl> + _mm_storeu_si128 ( ( __m128i * ) ( ptr + 16 ) , v1 ) ; <nl> + } <nl> + <nl> inline void v_store_interleave ( uchar * ptr , const v_uint8x16 & a , const v_uint8x16 & b , <nl> const v_uint8x16 & c ) <nl> { <nl> mmm a / modules / imgproc / perf / opencl / perf_blend . cpp <nl> ppp b / modules / imgproc / perf / opencl / perf_blend . cpp <nl> namespace ocl { <nl> <nl> typedef Size_MatType BlendLinearFixture ; <nl> <nl> - OCL_PERF_TEST_P ( BlendLinearFixture , BlendLinear , : : testing : : Combine ( OCL_TEST_SIZES , OCL_PERF_ENUM ( CV_32FC1 , CV_32FC4 ) ) ) <nl> + OCL_PERF_TEST_P ( BlendLinearFixture , BlendLinear , : : testing : : Combine ( OCL_TEST_SIZES , OCL_TEST_TYPES_134 ) ) <nl> { <nl> Size_MatType_t params = GetParam ( ) ; <nl> const Size srcSize = get < 0 > ( params ) ; <nl> mmm a / modules / imgproc / src / blend . cpp <nl> ppp b / modules / imgproc / src / blend . cpp <nl> <nl> <nl> # include " precomp . hpp " <nl> # include " opencl_kernels_imgproc . hpp " <nl> + # include " opencv2 / core / hal / intrin . hpp " <nl> <nl> namespace cv { <nl> + # if CV_SIMD128 <nl> + static inline v_float32x4 blend ( const v_float32x4 & v_src1 , const v_float32x4 & v_src2 , const v_float32x4 & v_w1 , const v_float32x4 & v_w2 ) <nl> + { <nl> + const v_float32x4 v_eps = v_setall_f32 ( 1e - 5f ) ; <nl> + v_float32x4 v_denom = v_w1 + v_w2 + v_eps ; <nl> + return ( v_src1 * v_w1 + v_src2 * v_w2 ) / v_denom ; <nl> + } <nl> + static inline v_float32x4 blend ( const v_float32x4 & v_src1 , const v_float32x4 & v_src2 , const float * w_ptr1 , const float * w_ptr2 , int offset ) <nl> + { <nl> + v_float32x4 v_w1 = v_load ( w_ptr1 + offset ) ; <nl> + v_float32x4 v_w2 = v_load ( w_ptr2 + offset ) ; <nl> + return blend ( v_src1 , v_src2 , v_w1 , v_w2 ) ; <nl> + } <nl> + static inline v_uint32x4 saturate_f32_u32 ( const v_float32x4 & vec ) <nl> + { <nl> + const v_int32x4 z = v_setzero_s32 ( ) ; <nl> + const v_int32x4 x = v_setall_s32 ( 255 ) ; <nl> + return v_reinterpret_as_u32 ( v_min ( v_max ( v_round ( vec ) , z ) , x ) ) ; <nl> + } <nl> + static inline v_uint8x16 pack_f32tou8 ( v_float32x4 & val0 , v_float32x4 & val1 , v_float32x4 & val2 , v_float32x4 & val3 ) <nl> + { <nl> + v_uint32x4 a = saturate_f32_u32 ( val0 ) ; <nl> + v_uint32x4 b = saturate_f32_u32 ( val1 ) ; <nl> + v_uint32x4 c = saturate_f32_u32 ( val2 ) ; <nl> + v_uint32x4 d = saturate_f32_u32 ( val3 ) ; <nl> + v_uint16x8 e = v_pack ( a , b ) ; <nl> + v_uint16x8 f = v_pack ( c , d ) ; <nl> + return v_pack ( e , f ) ; <nl> + } <nl> + static inline void store_pack_f32tou8 ( uchar * ptr , v_float32x4 & val0 , v_float32x4 & val1 , v_float32x4 & val2 , v_float32x4 & val3 ) <nl> + { <nl> + v_store ( ( ptr ) , pack_f32tou8 ( val0 , val1 , val2 , val3 ) ) ; <nl> + } <nl> + static inline void expand_u8tof32 ( const v_uint8x16 & src , v_float32x4 & dst0 , v_float32x4 & dst1 , v_float32x4 & dst2 , v_float32x4 & dst3 ) <nl> + { <nl> + v_uint16x8 a0 , a1 ; <nl> + v_expand ( src , a0 , a1 ) ; <nl> + v_uint32x4 b0 , b1 , b2 , b3 ; <nl> + v_expand ( a0 , b0 , b1 ) ; <nl> + v_expand ( a1 , b2 , b3 ) ; <nl> + dst0 = v_cvt_f32 ( v_reinterpret_as_s32 ( b0 ) ) ; <nl> + dst1 = v_cvt_f32 ( v_reinterpret_as_s32 ( b1 ) ) ; <nl> + dst2 = v_cvt_f32 ( v_reinterpret_as_s32 ( b2 ) ) ; <nl> + dst3 = v_cvt_f32 ( v_reinterpret_as_s32 ( b3 ) ) ; <nl> + } <nl> + static inline void load_expand_u8tof32 ( const uchar * ptr , v_float32x4 & dst0 , v_float32x4 & dst1 , v_float32x4 & dst2 , v_float32x4 & dst3 ) <nl> + { <nl> + v_uint8x16 a = v_load ( ( ptr ) ) ; <nl> + expand_u8tof32 ( a , dst0 , dst1 , dst2 , dst3 ) ; <nl> + } <nl> + int blendLinearSimd128 ( const uchar * src1 , const uchar * src2 , const float * weights1 , const float * weights2 , uchar * dst , int x , int width , int cn ) ; <nl> + int blendLinearSimd128 ( const float * src1 , const float * src2 , const float * weights1 , const float * weights2 , float * dst , int x , int width , int cn ) ; <nl> + int blendLinearSimd128 ( const uchar * src1 , const uchar * src2 , const float * weights1 , const float * weights2 , uchar * dst , int x , int width , int cn ) <nl> + { <nl> + int step = v_uint8x16 : : nlanes * cn ; <nl> + int weight_step = v_uint8x16 : : nlanes ; <nl> + switch ( cn ) <nl> + { <nl> + case 1 : <nl> + for ( int weight_offset = 0 ; x < = width - step ; x + = step , weight_offset + = weight_step ) <nl> + { <nl> + v_float32x4 v_src10 , v_src11 , v_src12 , v_src13 ; <nl> + v_float32x4 v_src20 , v_src21 , v_src22 , v_src23 ; <nl> + load_expand_u8tof32 ( src1 + x , v_src10 , v_src11 , v_src12 , v_src13 ) ; <nl> + load_expand_u8tof32 ( src2 + x , v_src20 , v_src21 , v_src22 , v_src23 ) ; <nl> + <nl> + v_float32x4 v_dst0 = blend ( v_src10 , v_src20 , weights1 , weights2 , weight_offset ) ; <nl> + v_float32x4 v_dst1 = blend ( v_src11 , v_src21 , weights1 , weights2 , weight_offset + 4 ) ; <nl> + v_float32x4 v_dst2 = blend ( v_src12 , v_src22 , weights1 , weights2 , weight_offset + 8 ) ; <nl> + v_float32x4 v_dst3 = blend ( v_src13 , v_src23 , weights1 , weights2 , weight_offset + 12 ) ; <nl> + <nl> + store_pack_f32tou8 ( dst + x , v_dst0 , v_dst1 , v_dst2 , v_dst3 ) ; <nl> + } <nl> + break ; <nl> + case 2 : <nl> + for ( int weight_offset = 0 ; x < = width - step ; x + = step , weight_offset + = weight_step ) <nl> + { <nl> + v_uint8x16 v_src10 , v_src11 , v_src20 , v_src21 ; <nl> + v_load_deinterleave ( src1 + x , v_src10 , v_src11 ) ; <nl> + v_load_deinterleave ( src2 + x , v_src20 , v_src21 ) ; <nl> + v_float32x4 v_src100 , v_src101 , v_src102 , v_src103 , v_src110 , v_src111 , v_src112 , v_src113 ; <nl> + v_float32x4 v_src200 , v_src201 , v_src202 , v_src203 , v_src210 , v_src211 , v_src212 , v_src213 ; <nl> + expand_u8tof32 ( v_src10 , v_src100 , v_src101 , v_src102 , v_src103 ) ; <nl> + expand_u8tof32 ( v_src11 , v_src110 , v_src111 , v_src112 , v_src113 ) ; <nl> + expand_u8tof32 ( v_src20 , v_src200 , v_src201 , v_src202 , v_src203 ) ; <nl> + expand_u8tof32 ( v_src21 , v_src210 , v_src211 , v_src212 , v_src213 ) ; <nl> + <nl> + v_float32x4 v_dst0 = blend ( v_src100 , v_src200 , weights1 , weights2 , weight_offset ) ; <nl> + v_float32x4 v_dst1 = blend ( v_src110 , v_src210 , weights1 , weights2 , weight_offset ) ; <nl> + v_float32x4 v_dst2 = blend ( v_src101 , v_src201 , weights1 , weights2 , weight_offset + 4 ) ; <nl> + v_float32x4 v_dst3 = blend ( v_src111 , v_src211 , weights1 , weights2 , weight_offset + 4 ) ; <nl> + v_float32x4 v_dst4 = blend ( v_src102 , v_src202 , weights1 , weights2 , weight_offset + 8 ) ; <nl> + v_float32x4 v_dst5 = blend ( v_src112 , v_src212 , weights1 , weights2 , weight_offset + 8 ) ; <nl> + v_float32x4 v_dst6 = blend ( v_src103 , v_src203 , weights1 , weights2 , weight_offset + 12 ) ; <nl> + v_float32x4 v_dst7 = blend ( v_src113 , v_src213 , weights1 , weights2 , weight_offset + 12 ) ; <nl> + <nl> + v_uint8x16 v_dsta = pack_f32tou8 ( v_dst0 , v_dst2 , v_dst4 , v_dst6 ) ; <nl> + v_uint8x16 v_dstb = pack_f32tou8 ( v_dst1 , v_dst3 , v_dst5 , v_dst7 ) ; <nl> + v_store_interleave ( dst + x , v_dsta , v_dstb ) ; <nl> + } <nl> + break ; <nl> + case 3 : <nl> + for ( int weight_offset = 0 ; x < = width - step ; x + = step , weight_offset + = weight_step ) <nl> + { <nl> + v_uint8x16 v_src10 , v_src11 , v_src12 , v_src20 , v_src21 , v_src22 ; <nl> + v_load_deinterleave ( src1 + x , v_src10 , v_src11 , v_src12 ) ; <nl> + v_load_deinterleave ( src2 + x , v_src20 , v_src21 , v_src22 ) ; <nl> + <nl> + v_float32x4 v_src100 , v_src101 , v_src102 , v_src103 , v_src110 , v_src111 , v_src112 , v_src113 , v_src120 , v_src121 , v_src122 , v_src123 ; <nl> + v_float32x4 v_src200 , v_src201 , v_src202 , v_src203 , v_src210 , v_src211 , v_src212 , v_src213 , v_src220 , v_src221 , v_src222 , v_src223 ; <nl> + expand_u8tof32 ( v_src10 , v_src100 , v_src101 , v_src102 , v_src103 ) ; <nl> + expand_u8tof32 ( v_src11 , v_src110 , v_src111 , v_src112 , v_src113 ) ; <nl> + expand_u8tof32 ( v_src12 , v_src120 , v_src121 , v_src122 , v_src123 ) ; <nl> + expand_u8tof32 ( v_src20 , v_src200 , v_src201 , v_src202 , v_src203 ) ; <nl> + expand_u8tof32 ( v_src21 , v_src210 , v_src211 , v_src212 , v_src213 ) ; <nl> + expand_u8tof32 ( v_src22 , v_src220 , v_src221 , v_src222 , v_src223 ) ; <nl> + <nl> + v_float32x4 v_w10 = v_load ( weights1 + weight_offset ) ; <nl> + v_float32x4 v_w11 = v_load ( weights1 + weight_offset + 4 ) ; <nl> + v_float32x4 v_w12 = v_load ( weights1 + weight_offset + 8 ) ; <nl> + v_float32x4 v_w13 = v_load ( weights1 + weight_offset + 12 ) ; <nl> + v_float32x4 v_w20 = v_load ( weights2 + weight_offset ) ; <nl> + v_float32x4 v_w21 = v_load ( weights2 + weight_offset + 4 ) ; <nl> + v_float32x4 v_w22 = v_load ( weights2 + weight_offset + 8 ) ; <nl> + v_float32x4 v_w23 = v_load ( weights2 + weight_offset + 12 ) ; <nl> + v_src100 = blend ( v_src100 , v_src200 , v_w10 , v_w20 ) ; <nl> + v_src110 = blend ( v_src110 , v_src210 , v_w10 , v_w20 ) ; <nl> + v_src120 = blend ( v_src120 , v_src220 , v_w10 , v_w20 ) ; <nl> + v_src101 = blend ( v_src101 , v_src201 , v_w11 , v_w21 ) ; <nl> + v_src111 = blend ( v_src111 , v_src211 , v_w11 , v_w21 ) ; <nl> + v_src121 = blend ( v_src121 , v_src221 , v_w11 , v_w21 ) ; <nl> + v_src102 = blend ( v_src102 , v_src202 , v_w12 , v_w22 ) ; <nl> + v_src112 = blend ( v_src112 , v_src212 , v_w12 , v_w22 ) ; <nl> + v_src122 = blend ( v_src122 , v_src222 , v_w12 , v_w22 ) ; <nl> + v_src103 = blend ( v_src103 , v_src203 , v_w13 , v_w23 ) ; <nl> + v_src113 = blend ( v_src113 , v_src213 , v_w13 , v_w23 ) ; <nl> + v_src123 = blend ( v_src123 , v_src223 , v_w13 , v_w23 ) ; <nl> + <nl> + <nl> + v_uint8x16 v_dst0 = pack_f32tou8 ( v_src100 , v_src101 , v_src102 , v_src103 ) ; <nl> + v_uint8x16 v_dst1 = pack_f32tou8 ( v_src110 , v_src111 , v_src112 , v_src113 ) ; <nl> + v_uint8x16 v_dst2 = pack_f32tou8 ( v_src120 , v_src121 , v_src122 , v_src123 ) ; <nl> + v_store_interleave ( dst + x , v_dst0 , v_dst1 , v_dst2 ) ; <nl> + } <nl> + break ; <nl> + case 4 : <nl> + step = v_uint8x16 : : nlanes ; <nl> + weight_step = v_float32x4 : : nlanes ; <nl> + for ( int weight_offset = 0 ; x < = width - step ; x + = step , weight_offset + = weight_step ) <nl> + { <nl> + v_float32x4 v_src10 , v_src11 , v_src12 , v_src13 , v_src14 , v_src15 , v_src16 , v_src17 ; <nl> + v_float32x4 v_src20 , v_src21 , v_src22 , v_src23 , v_src24 , v_src25 , v_src26 , v_src27 ; <nl> + load_expand_u8tof32 ( src1 + x , v_src10 , v_src11 , v_src12 , v_src13 ) ; <nl> + load_expand_u8tof32 ( src2 + x , v_src20 , v_src21 , v_src22 , v_src23 ) ; <nl> + <nl> + v_transpose4x4 ( v_src10 , v_src11 , v_src12 , v_src13 , v_src14 , v_src15 , v_src16 , v_src17 ) ; <nl> + v_transpose4x4 ( v_src20 , v_src21 , v_src22 , v_src23 , v_src24 , v_src25 , v_src26 , v_src27 ) ; <nl> + <nl> + v_float32x4 v_w1 = v_load ( weights1 + weight_offset ) ; <nl> + v_float32x4 v_w2 = v_load ( weights2 + weight_offset ) ; <nl> + v_src10 = blend ( v_src14 , v_src24 , v_w1 , v_w2 ) ; <nl> + v_src11 = blend ( v_src15 , v_src25 , v_w1 , v_w2 ) ; <nl> + v_src12 = blend ( v_src16 , v_src26 , v_w1 , v_w2 ) ; <nl> + v_src13 = blend ( v_src17 , v_src27 , v_w1 , v_w2 ) ; <nl> + <nl> + v_float32x4 v_dst0 , v_dst1 , v_dst2 , v_dst3 ; <nl> + v_transpose4x4 ( v_src10 , v_src11 , v_src12 , v_src13 , v_dst0 , v_dst1 , v_dst2 , v_dst3 ) ; <nl> + store_pack_f32tou8 ( dst + x , v_dst0 , v_dst1 , v_dst2 , v_dst3 ) ; <nl> + } <nl> + break ; <nl> + default : <nl> + break ; <nl> + } <nl> + return x ; <nl> + } <nl> + <nl> + int blendLinearSimd128 ( const float * src1 , const float * src2 , const float * weights1 , const float * weights2 , float * dst , int x , int width , int cn ) <nl> + { <nl> + int step = v_float32x4 : : nlanes * cn ; <nl> + switch ( cn ) <nl> + { <nl> + case 1 : <nl> + for ( int weight_offset = 0 ; x < = width - step ; x + = step , weight_offset + = v_float32x4 : : nlanes ) <nl> + { <nl> + v_float32x4 v_src1 = v_load ( src1 + x ) ; <nl> + v_float32x4 v_src2 = v_load ( src2 + x ) ; <nl> + v_float32x4 v_w1 = v_load ( weights1 + weight_offset ) ; <nl> + v_float32x4 v_w2 = v_load ( weights2 + weight_offset ) ; <nl> + <nl> + v_float32x4 v_dst = blend ( v_src1 , v_src2 , v_w1 , v_w2 ) ; <nl> + <nl> + v_store ( dst + x , v_dst ) ; <nl> + } <nl> + break ; <nl> + case 2 : <nl> + for ( int weight_offset = 0 ; x < = width - step ; x + = step , weight_offset + = v_float32x4 : : nlanes ) <nl> + { <nl> + v_float32x4 v_src10 , v_src11 , v_src20 , v_src21 ; <nl> + v_load_deinterleave ( src1 + x , v_src10 , v_src11 ) ; <nl> + v_load_deinterleave ( src2 + x , v_src20 , v_src21 ) ; <nl> + v_float32x4 v_w1 = v_load ( weights1 + weight_offset ) ; <nl> + v_float32x4 v_w2 = v_load ( weights2 + weight_offset ) ; <nl> + <nl> + v_float32x4 v_dst0 = blend ( v_src10 , v_src20 , v_w1 , v_w2 ) ; <nl> + v_float32x4 v_dst1 = blend ( v_src11 , v_src21 , v_w1 , v_w2 ) ; <nl> + <nl> + v_store_interleave ( dst + x , v_dst0 , v_dst1 ) ; <nl> + } <nl> + break ; <nl> + case 3 : <nl> + for ( int weight_offset = 0 ; x < = width - step ; x + = step , weight_offset + = v_float32x4 : : nlanes ) <nl> + { <nl> + v_float32x4 v_src10 , v_src11 , v_src12 , v_src20 , v_src21 , v_src22 ; <nl> + v_load_deinterleave ( src1 + x , v_src10 , v_src11 , v_src12 ) ; <nl> + v_load_deinterleave ( src2 + x , v_src20 , v_src21 , v_src22 ) ; <nl> + v_float32x4 v_w1 = v_load ( weights1 + weight_offset ) ; <nl> + v_float32x4 v_w2 = v_load ( weights2 + weight_offset ) ; <nl> + <nl> + v_float32x4 v_dst0 = blend ( v_src10 , v_src20 , v_w1 , v_w2 ) ; <nl> + v_float32x4 v_dst1 = blend ( v_src11 , v_src21 , v_w1 , v_w2 ) ; <nl> + v_float32x4 v_dst2 = blend ( v_src12 , v_src22 , v_w1 , v_w2 ) ; <nl> + <nl> + v_store_interleave ( dst + x , v_dst0 , v_dst1 , v_dst2 ) ; <nl> + } <nl> + break ; <nl> + case 4 : <nl> + for ( int weight_offset = 0 ; x < = width - step ; x + = step , weight_offset + = v_float32x4 : : nlanes ) <nl> + { <nl> + v_float32x4 v_src10 , v_src11 , v_src12 , v_src13 , v_src20 , v_src21 , v_src22 , v_src23 ; <nl> + v_load_deinterleave ( src1 + x , v_src10 , v_src11 , v_src12 , v_src13 ) ; <nl> + v_load_deinterleave ( src2 + x , v_src20 , v_src21 , v_src22 , v_src23 ) ; <nl> + v_float32x4 v_w1 = v_load ( weights1 + weight_offset ) ; <nl> + v_float32x4 v_w2 = v_load ( weights2 + weight_offset ) ; <nl> + <nl> + v_float32x4 v_dst0 = blend ( v_src10 , v_src20 , v_w1 , v_w2 ) ; <nl> + v_float32x4 v_dst1 = blend ( v_src11 , v_src21 , v_w1 , v_w2 ) ; <nl> + v_float32x4 v_dst2 = blend ( v_src12 , v_src22 , v_w1 , v_w2 ) ; <nl> + v_float32x4 v_dst3 = blend ( v_src13 , v_src23 , v_w1 , v_w2 ) ; <nl> + <nl> + v_store_interleave ( dst + x , v_dst0 , v_dst1 , v_dst2 , v_dst3 ) ; <nl> + } <nl> + break ; <nl> + default : <nl> + break ; <nl> + } <nl> + return x ; <nl> + } <nl> + # endif <nl> <nl> template < typename T > <nl> class BlendLinearInvoker : <nl> class BlendLinearInvoker : <nl> const T * const src2_row = src2 - > ptr < T > ( y ) ; <nl> T * const dst_row = dst - > ptr < T > ( y ) ; <nl> <nl> - for ( int x = 0 ; x < width ; + + x ) <nl> + int x = 0 ; <nl> + # if CV_SIMD128 <nl> + x = blendLinearSimd128 ( src1_row , src2_row , weights1_row , weights2_row , dst_row , x , width , cn ) ; <nl> + # endif <nl> + <nl> + for ( ; x < width ; + + x ) <nl> { <nl> int x1 = x / cn ; <nl> float w1 = weights1_row [ x1 ] , w2 = weights2_row [ x1 ] ; <nl>
Merge pull request from tomoaki0705 : buildUniversalIntrinsicBlend
opencv/opencv
c624d8238362919a93235d88e8724e418b4a3dbb
2017-02-24T11:17:51Z
mmm a / include / internal / catch_matchers_vector . h <nl> ppp b / include / internal / catch_matchers_vector . h <nl> namespace Matchers { <nl> auto lfirst = m_target . begin ( ) , llast = m_target . end ( ) ; <nl> auto rfirst = vec . begin ( ) , rlast = vec . end ( ) ; <nl> / / Cut common prefix to optimize checking of permuted parts <nl> - while ( lfirst ! = llast & & * lfirst ! = * rfirst ) { <nl> + while ( lfirst ! = llast & & * lfirst = = * rfirst ) { <nl> + + lfirst ; + + rfirst ; <nl> } <nl> if ( lfirst = = llast ) { <nl> mmm a / projects / SelfTest / Baselines / compact . sw . approved . txt <nl> ppp b / projects / SelfTest / Baselines / compact . sw . approved . txt <nl> Decomposition . tests . cpp : < line number > : failed : truthy ( false ) for : Hey , its truth <nl> Matchers . tests . cpp : < line number > : failed : testStringForMatching ( ) , Matches ( " this STRING contains ' abc ' as a substring " ) for : " this string contains ' abc ' as a substring " matches " this STRING contains ' abc ' as a substring " case sensitively <nl> Matchers . tests . cpp : < line number > : failed : testStringForMatching ( ) , Matches ( " contains ' abc ' as a substring " ) for : " this string contains ' abc ' as a substring " matches " contains ' abc ' as a substring " case sensitively <nl> Matchers . tests . cpp : < line number > : failed : testStringForMatching ( ) , Matches ( " this string contains ' abc ' as a " ) for : " this string contains ' abc ' as a substring " matches " this string contains ' abc ' as a " case sensitively <nl> + Matchers . tests . cpp : < line number > : passed : actual , ! UnorderedEquals ( expected ) for : { ' a ' , ' b ' } not UnorderedEquals : { ' c ' , ' b ' } <nl> Message . tests . cpp : < line number > : passed : with 1 message : ' this is a success ' <nl> Message . tests . cpp : < line number > : passed : <nl> BDD . tests . cpp : < line number > : passed : before = = 0 for : 0 = = 0 <nl> mmm a / projects / SelfTest / Baselines / console . std . approved . txt <nl> ppp b / projects / SelfTest / Baselines / console . std . approved . txt <nl> due to unexpected exception with message : <nl> Why would you throw a std : : string ? <nl> <nl> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> - test cases : 212 | 159 passed | 49 failed | 4 failed as expected <nl> - assertions : 1227 | 1098 passed | 108 failed | 21 failed as expected <nl> + test cases : 213 | 160 passed | 49 failed | 4 failed as expected <nl> + assertions : 1228 | 1099 passed | 108 failed | 21 failed as expected <nl> <nl> mmm a / projects / SelfTest / Baselines / console . sw . approved . txt <nl> ppp b / projects / SelfTest / Baselines / console . sw . approved . txt <nl> with expansion : <nl> " this string contains ' abc ' as a substring " matches " this string contains <nl> ' abc ' as a " case sensitively <nl> <nl> + mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + Regression test # 1 <nl> + mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> + Matchers . tests . cpp : < line number > <nl> + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <nl> + <nl> + Matchers . tests . cpp : < line number > : <nl> + PASSED : <nl> + CHECK_THAT ( actual , ! UnorderedEquals ( expected ) ) <nl> + with expansion : <nl> + { ' a ' , ' b ' } not UnorderedEquals : { ' c ' , ' b ' } <nl> + <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> SUCCEED counts as a test pass <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> Misc . tests . cpp : < line number > : <nl> PASSED : <nl> <nl> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> - test cases : 212 | 146 passed | 62 failed | 4 failed as expected <nl> - assertions : 1241 | 1098 passed | 122 failed | 21 failed as expected <nl> + test cases : 213 | 147 passed | 62 failed | 4 failed as expected <nl> + assertions : 1242 | 1099 passed | 122 failed | 21 failed as expected <nl> <nl> mmm a / projects / SelfTest / Baselines / junit . sw . approved . txt <nl> ppp b / projects / SelfTest / Baselines / junit . sw . approved . txt <nl> <nl> < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> < testsuitesloose text artifact <nl> > <nl> - < testsuite name = " < exe - name > " errors = " 17 " failures = " 106 " tests = " 1242 " hostname = " tbd " time = " { duration } " timestamp = " { iso8601 - timestamp } " > <nl> + < testsuite name = " < exe - name > " errors = " 17 " failures = " 106 " tests = " 1243 " hostname = " tbd " time = " { duration } " timestamp = " { iso8601 - timestamp } " > <nl> < testcase classname = " < exe - name > . global " name = " # A test name that starts with a # " time = " { duration } " / > <nl> < testcase classname = " < exe - name > . global " name = " # 1005 : Comparing pointer to int and long ( NULL can be either on various systems ) " time = " { duration } " / > <nl> < testcase classname = " < exe - name > . global " name = " # 1027 " time = " { duration } " / > <nl> Matchers . tests . cpp : < line number > <nl> Matchers . tests . cpp : < line number > <nl> < / failure > <nl> < / testcase > <nl> + < testcase classname = " < exe - name > . global " name = " Regression test # 1 " time = " { duration } " / > <nl> < testcase classname = " < exe - name > . global " name = " SUCCEED counts as a test pass " time = " { duration } " / > <nl> < testcase classname = " < exe - name > . global " name = " SUCCEED does not require an argument " time = " { duration } " / > <nl> < testcase classname = " < exe - name > . Fixture " name = " Scenario : BDD tests requiring Fixtures to provide commonly - accessed data or methods / Given : No operations precede me " time = " { duration } " / > <nl> mmm a / projects / SelfTest / Baselines / xml . sw . approved . txt <nl> ppp b / projects / SelfTest / Baselines / xml . sw . approved . txt <nl> <nl> < / Expression > <nl> < OverallResult success = " false " / > <nl> < / TestCase > <nl> + < TestCase name = " Regression test # 1 " tags = " [ matchers ] [ vector ] " filename = " projects / < exe - name > / UsageTests / Matchers . tests . cpp " > <nl> + < Expression success = " true " type = " CHECK_THAT " filename = " projects / < exe - name > / UsageTests / Matchers . tests . cpp " > <nl> + < Original > <nl> + actual , ! UnorderedEquals ( expected ) <nl> + < / Original > <nl> + < Expanded > <nl> + { ' a ' , ' b ' } not UnorderedEquals : { ' c ' , ' b ' } <nl> + < / Expanded > <nl> + < / Expression > <nl> + < OverallResult success = " true " / > <nl> + < / TestCase > <nl> < TestCase name = " SUCCEED counts as a test pass " tags = " [ messages ] " filename = " projects / < exe - name > / UsageTests / Message . tests . cpp " > <nl> < OverallResult success = " true " / > <nl> < / TestCase > <nl> loose text artifact <nl> < / Section > <nl> < OverallResult success = " true " / > <nl> < / TestCase > <nl> - < OverallResults successes = " 1098 " failures = " 123 " expectedFailures = " 21 " / > <nl> + < OverallResults successes = " 1099 " failures = " 123 " expectedFailures = " 21 " / > <nl> < / Group > <nl> - < OverallResults successes = " 1098 " failures = " 122 " expectedFailures = " 21 " / > <nl> + < OverallResults successes = " 1099 " failures = " 122 " expectedFailures = " 21 " / > <nl> < / Catch > <nl> mmm a / projects / SelfTest / UsageTests / Matchers . tests . cpp <nl> ppp b / projects / SelfTest / UsageTests / Matchers . tests . cpp <nl> namespace { namespace MatchersTests { <nl> } <nl> } <nl> <nl> + TEST_CASE ( " Regression test # 1 " , " [ matchers ] [ vector ] " ) { <nl> + / / At some point , UnorderedEqualsMatcher skipped <nl> + / / mismatched prefixed before doing the comparison itself <nl> + std : : vector < char > actual = { ' a ' , ' b ' } ; <nl> + std : : vector < char > expected = { ' c ' , ' b ' } ; <nl> + <nl> + CHECK_THAT ( actual , ! UnorderedEquals ( expected ) ) ; <nl> + } <nl> + <nl> } } / / namespace MatchersTests <nl> <nl> # endif / / CATCH_CONFIG_DISABLE_MATCHERS <nl>
Fix a bug in UnorderedEqualsMatcher
catchorg/Catch2
be49a539e421a783c7962e170b1102d44a728702
2018-09-28T13:30:02Z
new file mode 100644 <nl> index 000000000000 . . 2acc5c1a3f53 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / Classes / AppDelegate . cpp <nl> <nl> + # include " AppDelegate . h " <nl> + # include " HelloWorldScene . h " <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + AppDelegate : : AppDelegate ( ) { <nl> + <nl> + } <nl> + <nl> + AppDelegate : : ~ AppDelegate ( ) <nl> + { <nl> + } <nl> + <nl> + bool AppDelegate : : applicationDidFinishLaunching ( ) { <nl> + / / initialize director <nl> + CCDirector * pDirector = CCDirector : : sharedDirector ( ) ; <nl> + CCEGLView * pEGLView = CCEGLView : : sharedOpenGLView ( ) ; <nl> + <nl> + pDirector - > setOpenGLView ( pEGLView ) ; <nl> + <nl> + / / turn on display FPS <nl> + pDirector - > setDisplayStats ( true ) ; <nl> + <nl> + / / set FPS . the default value is 1 . 0 / 60 if you don ' t call this <nl> + pDirector - > setAnimationInterval ( 1 . 0 / 60 ) ; <nl> + <nl> + / / create a scene . it ' s an autorelease object <nl> + CCScene * pScene = HelloWorld : : scene ( ) ; <nl> + <nl> + / / run <nl> + pDirector - > runWithScene ( pScene ) ; <nl> + <nl> + return true ; <nl> + } <nl> + <nl> + / / This function will be called when the app is inactive . When comes a phone call , it ' s be invoked too <nl> + void AppDelegate : : applicationDidEnterBackground ( ) { <nl> + CCDirector : : sharedDirector ( ) - > stopAnimation ( ) ; <nl> + <nl> + / / if you use SimpleAudioEngine , it must be pause <nl> + / / SimpleAudioEngine : : sharedEngine ( ) - > pauseBackgroundMusic ( ) ; <nl> + } <nl> + <nl> + / / this function will be called when the app is active again <nl> + void AppDelegate : : applicationWillEnterForeground ( ) { <nl> + CCDirector : : sharedDirector ( ) - > startAnimation ( ) ; <nl> + <nl> + / / if you use SimpleAudioEngine , it must resume here <nl> + / / SimpleAudioEngine : : sharedEngine ( ) - > resumeBackgroundMusic ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . 268c6c6504f3 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / Classes / AppDelegate . h <nl> <nl> + # ifndef _APP_DELEGATE_H_ <nl> + # define _APP_DELEGATE_H_ <nl> + <nl> + # include " cocos2d . h " <nl> + <nl> + / * * <nl> + @ brief The cocos2d Application . <nl> + <nl> + The reason for implement as private inheritance is to hide some interface call by CCDirector . <nl> + * / <nl> + class AppDelegate : private cocos2d : : CCApplication <nl> + { <nl> + public : <nl> + AppDelegate ( ) ; <nl> + virtual ~ AppDelegate ( ) ; <nl> + <nl> + / * * <nl> + @ brief Implement CCDirector and CCScene init code here . <nl> + @ return true Initialize success , app continue . <nl> + @ return false Initialize failed , app terminate . <nl> + * / <nl> + virtual bool applicationDidFinishLaunching ( ) ; <nl> + <nl> + / * * <nl> + @ brief The function be called when the application enter background <nl> + @ param the pointer of the application <nl> + * / <nl> + virtual void applicationDidEnterBackground ( ) ; <nl> + <nl> + / * * <nl> + @ brief The function be called when the application enter foreground <nl> + @ param the pointer of the application <nl> + * / <nl> + virtual void applicationWillEnterForeground ( ) ; <nl> + } ; <nl> + <nl> + # endif / / _APP_DELEGATE_H_ <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . f52844cdc6d9 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / Classes / HelloWorldScene . cpp <nl> <nl> + # include " HelloWorldScene . h " <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + CCScene * HelloWorld : : scene ( ) <nl> + { <nl> + / / ' scene ' is an autorelease object <nl> + CCScene * scene = CCScene : : create ( ) ; <nl> + <nl> + / / ' layer ' is an autorelease object <nl> + HelloWorld * layer = HelloWorld : : create ( ) ; <nl> + <nl> + / / add layer as a child to scene <nl> + scene - > addChild ( layer ) ; <nl> + <nl> + / / return the scene <nl> + return scene ; <nl> + } <nl> + <nl> + / / on " init " you need to initialize your instance <nl> + bool HelloWorld : : init ( ) <nl> + { <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / 1 . super init first <nl> + if ( ! CCLayer : : init ( ) ) <nl> + { <nl> + return false ; <nl> + } <nl> + <nl> + CCSize visibleSize = CCDirector : : sharedDirector ( ) - > getVisibleSize ( ) ; <nl> + CCPoint origin = CCDirector : : sharedDirector ( ) - > getVisibleOrigin ( ) ; <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / 2 . add a menu item with " X " image , which is clicked to quit the program <nl> + / / you may modify it . <nl> + <nl> + / / add a " close " icon to exit the progress . it ' s an autorelease object <nl> + CCMenuItemImage * pCloseItem = CCMenuItemImage : : create ( <nl> + " CloseNormal . png " , <nl> + " CloseSelected . png " , <nl> + this , <nl> + menu_selector ( HelloWorld : : menuCloseCallback ) ) ; <nl> + <nl> + pCloseItem - > setPosition ( ccp ( origin . x + visibleSize . width - pCloseItem - > getContentSize ( ) . width / 2 , <nl> + origin . y + pCloseItem - > getContentSize ( ) . height / 2 ) ) ; <nl> + <nl> + / / create menu , it ' s an autorelease object <nl> + CCMenu * pMenu = CCMenu : : create ( pCloseItem , NULL ) ; <nl> + pMenu - > setPosition ( CCPointZero ) ; <nl> + this - > addChild ( pMenu , 1 ) ; <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / 3 . add your codes below . . . <nl> + <nl> + / / add a label shows " Hello World " <nl> + / / create and initialize a label <nl> + <nl> + CCLabelTTF * pLabel = CCLabelTTF : : create ( " Hello World " , " Arial " , 24 ) ; <nl> + <nl> + / / position the label on the center of the screen <nl> + pLabel - > setPosition ( ccp ( origin . x + visibleSize . width / 2 , <nl> + origin . y + visibleSize . height - pLabel - > getContentSize ( ) . height ) ) ; <nl> + <nl> + / / add the label as a child to this layer <nl> + this - > addChild ( pLabel , 1 ) ; <nl> + <nl> + / / add " HelloWorld " splash screen " <nl> + CCSprite * pSprite = CCSprite : : create ( " HelloWorld . png " ) ; <nl> + <nl> + / / position the sprite on the center of the screen <nl> + pSprite - > setPosition ( ccp ( visibleSize . width / 2 + origin . x , visibleSize . height / 2 + origin . y ) ) ; <nl> + <nl> + / / add the sprite as a child to this layer <nl> + this - > addChild ( pSprite , 0 ) ; <nl> + <nl> + return true ; <nl> + } <nl> + <nl> + <nl> + void HelloWorld : : menuCloseCallback ( CCObject * pSender ) <nl> + { <nl> + CCDirector : : sharedDirector ( ) - > end ( ) ; <nl> + <nl> + # if ( CC_TARGET_PLATFORM = = CC_PLATFORM_IOS ) <nl> + exit ( 0 ) ; <nl> + # endif <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . cb4169f7cd58 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / Classes / HelloWorldScene . h <nl> <nl> + # ifndef __HELLOWORLD_SCENE_H__ <nl> + # define __HELLOWORLD_SCENE_H__ <nl> + <nl> + # include " cocos2d . h " <nl> + <nl> + class HelloWorld : public cocos2d : : CCLayer <nl> + { <nl> + public : <nl> + / / Here ' s a difference . Method ' init ' in cocos2d - x returns bool , instead of returning ' id ' in cocos2d - iphone <nl> + virtual bool init ( ) ; <nl> + <nl> + / / there ' s no ' id ' in cpp , so we recommend returning the class instance pointer <nl> + static cocos2d : : CCScene * scene ( ) ; <nl> + <nl> + / / a selector callback <nl> + void menuCloseCallback ( CCObject * pSender ) ; <nl> + <nl> + / / implement the " static node ( ) " method manually <nl> + CREATE_FUNC ( HelloWorld ) ; <nl> + } ; <nl> + <nl> + # endif / / __HELLOWORLD_SCENE_H__ <nl> new file mode 100644 <nl> index 000000000000 . . f02d84fd8ffa <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / Resources / HelloWorld . png . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 5fe89fb5bd58cedf13b0363f97b20e3ea7ff255d <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . a4763d1eeced <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / . classpath <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < classpath > <nl> + < classpathentry kind = " src " path = " src " / > <nl> + < classpathentry kind = " src " path = " gen " / > <nl> + < classpathentry kind = " con " path = " com . android . ide . eclipse . adt . ANDROID_FRAMEWORK " / > <nl> + < classpathentry kind = " con " path = " com . android . ide . eclipse . adt . LIBRARIES " / > <nl> + < classpathentry kind = " output " path = " bin / classes " / > <nl> + < / classpath > <nl> new file mode 100644 <nl> index 000000000000 . . 48a677dea83c <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / . project <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < projectDescription > <nl> + < name > HelloCpp < / name > <nl> + < comment > < / comment > <nl> + < projects > <nl> + < / projects > <nl> + < buildSpec > <nl> + < buildCommand > <nl> + < name > com . android . ide . eclipse . adt . ResourceManagerBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > com . android . ide . eclipse . adt . PreCompilerBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > org . eclipse . jdt . core . javabuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > com . android . ide . eclipse . adt . ApkBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < / buildSpec > <nl> + < natures > <nl> + < nature > com . android . ide . eclipse . adt . AndroidNature < / nature > <nl> + < nature > org . eclipse . jdt . core . javanature < / nature > <nl> + < / natures > <nl> + < / projectDescription > <nl> new file mode 100644 <nl> index 000000000000 . . b4ecb3e78cfc <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / AndroidManifest . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < manifest xmlns : android = " http : / / schemas . android . com / apk / res / android " <nl> + package = " org . cocos2dx . hellocpp " <nl> + android : versionCode = " 1 " <nl> + android : versionName = " 1 . 0 " > <nl> + <nl> + < uses - sdk android : minSdkVersion = " 8 " / > <nl> + < uses - feature android : glEsVersion = " 0x00020000 " / > <nl> + <nl> + < application android : label = " @ string / app_name " <nl> + android : icon = " @ drawable / icon " > <nl> + <nl> + < activity android : name = " . HelloCpp " <nl> + android : label = " @ string / app_name " <nl> + android : screenOrientation = " landscape " <nl> + android : theme = " @ android : style / Theme . NoTitleBar . Fullscreen " <nl> + android : configChanges = " orientation " > <nl> + < intent - filter > <nl> + < action android : name = " android . intent . action . MAIN " / > <nl> + < category android : name = " android . intent . category . LAUNCHER " / > <nl> + < / intent - filter > <nl> + < / activity > <nl> + < / application > <nl> + < supports - screens android : largeScreens = " true " <nl> + android : smallScreens = " true " <nl> + android : anyDensity = " true " <nl> + android : normalScreens = " true " / > <nl> + <nl> + < uses - permission android : name = " android . permission . INTERNET " / > <nl> + < / manifest > <nl> new file mode 100644 <nl> index 000000000000 . . b0971e891efd <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / ant . properties <nl> <nl> + # This file is used to override default values used by the Ant build system . <nl> + # <nl> + # This file must be checked into Version Control Systems , as it is <nl> + # integral to the build system of your project . <nl> + <nl> + # This file is only used by the Ant script . <nl> + <nl> + # You can use this to override default values such as <nl> + # ' source . dir ' for the location of your java source folder and <nl> + # ' out . dir ' for the location of your output folder . <nl> + <nl> + # You can also use it define how the release builds are signed by declaring <nl> + # the following properties : <nl> + # ' key . store ' for the location of your keystore and <nl> + # ' key . alias ' for the name of the key to use . <nl> + # The password will be asked during the build when you use the ' release ' target . <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 0ab7005e2160 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / build . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < project name = " TestsDemo " default = " help " > <nl> + <nl> + < ! - - The local . properties file is created and updated by the ' android ' tool . <nl> + It contains the path to the SDK . It should * NOT * be checked into <nl> + Version Control Systems . - - > <nl> + < property file = " local . properties " / > <nl> + <nl> + < ! - - The ant . properties file can be created by you . It is only edited by the <nl> + ' android ' tool to add properties to it . <nl> + This is the place to change some Ant specific build properties . <nl> + Here are some properties you may want to change / update : <nl> + <nl> + source . dir <nl> + The name of the source directory . Default is ' src ' . <nl> + out . dir <nl> + The name of the output directory . Default is ' bin ' . <nl> + <nl> + For other overridable properties , look at the beginning of the rules <nl> + files in the SDK , at tools / ant / build . xml <nl> + <nl> + Properties related to the SDK location or the project target should <nl> + be updated using the ' android ' tool with the ' update ' action . <nl> + <nl> + This file is an integral part of the build system for your <nl> + application and should be checked into Version Control Systems . <nl> + <nl> + - - > <nl> + < property file = " ant . properties " / > <nl> + <nl> + < ! - - The project . properties file is created and updated by the ' android ' <nl> + tool , as well as ADT . <nl> + <nl> + This contains project specific properties such as project target , and library <nl> + dependencies . Lower level build properties are stored in ant . properties <nl> + ( or in . classpath for Eclipse projects ) . <nl> + <nl> + This file is an integral part of the build system for your <nl> + application and should be checked into Version Control Systems . - - > <nl> + < loadproperties srcFile = " project . properties " / > <nl> + <nl> + < ! - - quick check on sdk . dir - - > <nl> + < fail <nl> + message = " sdk . dir is missing . Make sure to generate local . properties using ' android update project ' or to inject it through an env var " <nl> + unless = " sdk . dir " <nl> + / > <nl> + <nl> + < ! - - <nl> + Import per project custom build rules if present at the root of the project . <nl> + This is the place to put custom intermediary targets such as : <nl> + - pre - build <nl> + - pre - compile <nl> + - post - compile ( This is typically used for code obfuscation . <nl> + Compiled code location : $ { out . classes . absolute . dir } <nl> + If this is not done in place , override $ { out . dex . input . absolute . dir } ) <nl> + - post - package <nl> + - post - build <nl> + - pre - clean <nl> + - - > <nl> + < import file = " custom_rules . xml " optional = " true " / > <nl> + <nl> + < ! - - Import the actual build file . <nl> + <nl> + To customize existing targets , there are two options : <nl> + - Customize only one target : <nl> + - copy / paste the target into this file , * before * the <nl> + < import > task . <nl> + - customize it to your needs . <nl> + - Customize the whole content of build . xml <nl> + - copy / paste the content of the rules files ( minus the top node ) <nl> + into this file , replacing the < import > task . <nl> + - customize to your needs . <nl> + <nl> + * * * * * * * * * * * * * * * * * * * * * * * <nl> + * * * * * * IMPORTANT * * * * * * <nl> + * * * * * * * * * * * * * * * * * * * * * * * <nl> + In all cases you must update the value of version - tag below to read ' custom ' instead of an integer , <nl> + in order to avoid having your file be overridden by tools such as " android update project " <nl> + - - > <nl> + < ! - - version - tag : 1 - - > <nl> + < import file = " $ { sdk . dir } / tools / ant / build . xml " / > <nl> + <nl> + < / project > <nl> new file mode 100755 <nl> index 000000000000 . . 497547dec079 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / build_native . sh <nl> <nl> + APPNAME = " HelloCpp " <nl> + <nl> + # options <nl> + <nl> + buildexternalsfromsource = <nl> + <nl> + usage ( ) { <nl> + cat < < EOF <nl> + usage : $ 0 [ options ] <nl> + <nl> + Build C / C + + code for $ APPNAME using Android NDK <nl> + <nl> + OPTIONS : <nl> + - s Build externals from source <nl> + - h this help <nl> + EOF <nl> + } <nl> + <nl> + while getopts " sh " OPTION ; do <nl> + case " $ OPTION " in <nl> + s ) <nl> + buildexternalsfromsource = 1 <nl> + ; ; <nl> + h ) <nl> + usage <nl> + exit 0 <nl> + ; ; <nl> + esac <nl> + done <nl> + <nl> + # paths <nl> + <nl> + if [ - z " $ { NDK_ROOT + aaa } " ] ; then <nl> + echo " please define NDK_ROOT " <nl> + exit 1 <nl> + fi <nl> + <nl> + DIR = " $ ( cd " $ ( dirname " $ { BASH_SOURCE [ 0 ] } " ) " & & pwd ) " <nl> + # . . . use paths relative to current directory <nl> + COCOS2DX_ROOT = " $ DIR / . . / . . / . . " <nl> + APP_ROOT = " $ DIR / . . " <nl> + APP_ANDROID_ROOT = " $ DIR " <nl> + <nl> + echo " NDK_ROOT = $ NDK_ROOT " <nl> + echo " COCOS2DX_ROOT = $ COCOS2DX_ROOT " <nl> + echo " APP_ROOT = $ APP_ROOT " <nl> + echo " APP_ANDROID_ROOT = $ APP_ANDROID_ROOT " <nl> + <nl> + # make sure assets is exist <nl> + if [ - d " $ APP_ANDROID_ROOT " / assets ] ; then <nl> + rm - rf " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + <nl> + mkdir " $ APP_ANDROID_ROOT " / assets <nl> + <nl> + # copy resources <nl> + for file in " $ APP_ROOT " / Resources / * <nl> + do <nl> + if [ - d " $ file " ] ; then <nl> + cp - rf " $ file " " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + <nl> + if [ - f " $ file " ] ; then <nl> + cp " $ file " " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + done <nl> + <nl> + # remove test_image_rgba4444 . pvr . gz <nl> + rm - f " $ APP_ANDROID_ROOT " / assets / Images / test_image_rgba4444 . pvr . gz <nl> + rm - f " $ APP_ANDROID_ROOT " / assets / Images / test_1021x1024_rgba8888 . pvr . gz <nl> + rm - f " $ APP_ANDROID_ROOT " / assets / Images / test_1021x1024_rgb888 . pvr . gz <nl> + rm - f " $ APP_ANDROID_ROOT " / assets / Images / test_1021x1024_rgba4444 . pvr . gz <nl> + rm - f " $ APP_ANDROID_ROOT " / assets / Images / test_1021x1024_a8 . pvr . gz <nl> + <nl> + if [ [ " $ buildexternalsfromsource " ] ] ; then <nl> + echo " Building external dependencies from source " <nl> + " $ NDK_ROOT " / ndk - build - C " $ APP_ANDROID_ROOT " $ * \ <nl> + " NDK_MODULE_PATH = $ { COCOS2DX_ROOT } : $ { COCOS2DX_ROOT } / cocos2dx / platform / third_party / android / source " <nl> + else <nl> + echo " Using prebuilt externals " <nl> + " $ NDK_ROOT " / ndk - build - C " $ APP_ANDROID_ROOT " $ * \ <nl> + " NDK_MODULE_PATH = $ { COCOS2DX_ROOT } : $ { COCOS2DX_ROOT } / cocos2dx / platform / third_party / android / prebuilt " <nl> + fi <nl> new file mode 100644 <nl> index 000000000000 . . 254e8068c56c <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / jni / Android . mk <nl> <nl> + LOCAL_PATH : = $ ( call my - dir ) <nl> + <nl> + include $ ( CLEAR_VARS ) <nl> + <nl> + LOCAL_MODULE : = cocos2dcpp_shared <nl> + <nl> + LOCAL_MODULE_FILENAME : = libcocos2dcpp <nl> + <nl> + LOCAL_SRC_FILES : = hellocpp / main . cpp \ <nl> + . . / . . / Classes / AppDelegate . cpp \ <nl> + . . / . . / Classes / HelloWorldScene . cpp <nl> + <nl> + LOCAL_C_INCLUDES : = $ ( LOCAL_PATH ) / . . / . . / Classes <nl> + <nl> + LOCAL_WHOLE_STATIC_LIBRARIES + = cocos2dx_static <nl> + LOCAL_WHOLE_STATIC_LIBRARIES + = cocosdenshion_static <nl> + LOCAL_WHOLE_STATIC_LIBRARIES + = box2d_static <nl> + LOCAL_WHOLE_STATIC_LIBRARIES + = chipmunk_static <nl> + LOCAL_WHOLE_STATIC_LIBRARIES + = cocos_extension_static <nl> + <nl> + include $ ( BUILD_SHARED_LIBRARY ) <nl> + <nl> + $ ( call import - module , cocos2dx ) <nl> + $ ( call import - module , cocos2dx / platform / third_party / android / prebuilt / libcurl ) <nl> + $ ( call import - module , CocosDenshion / android ) <nl> + $ ( call import - module , extensions ) <nl> + $ ( call import - module , external / Box2D ) <nl> + $ ( call import - module , external / chipmunk ) <nl> new file mode 100644 <nl> index 000000000000 . . 743886713b0c <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / jni / Application . mk <nl> <nl> + APP_STL : = gnustl_static <nl> + APP_CPPFLAGS : = - frtti - DCC_ENABLE_CHIPMUNK_INTEGRATION = 1 - DCOCOS2D_DEBUG = 1 <nl> new file mode 100644 <nl> index 000000000000 . . 8c51db510083 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / jni / hellocpp / main . cpp <nl> <nl> + # include " AppDelegate . h " <nl> + # include " cocos2d . h " <nl> + # include " CCEventType . h " <nl> + # include " platform / android / jni / JniHelper . h " <nl> + # include < jni . h > <nl> + # include < android / log . h > <nl> + <nl> + # define LOG_TAG " main " <nl> + # define LOGD ( . . . ) __android_log_print ( ANDROID_LOG_DEBUG , LOG_TAG , __VA_ARGS__ ) <nl> + <nl> + using namespace cocos2d ; <nl> + <nl> + extern " C " <nl> + { <nl> + <nl> + jint JNI_OnLoad ( JavaVM * vm , void * reserved ) <nl> + { <nl> + JniHelper : : setJavaVM ( vm ) ; <nl> + <nl> + return JNI_VERSION_1_4 ; <nl> + } <nl> + <nl> + void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit ( JNIEnv * env , jobject thiz , jint w , jint h ) <nl> + { <nl> + if ( ! CCDirector : : sharedDirector ( ) - > getOpenGLView ( ) ) <nl> + { <nl> + CCEGLView * view = CCEGLView : : sharedOpenGLView ( ) ; <nl> + view - > setFrameSize ( w , h ) ; <nl> + <nl> + AppDelegate * pAppDelegate = new AppDelegate ( ) ; <nl> + CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + } <nl> + else <nl> + { <nl> + ccDrawInit ( ) ; <nl> + ccGLInvalidateStateCache ( ) ; <nl> + <nl> + CCShaderCache : : sharedShaderCache ( ) - > reloadDefaultShaders ( ) ; <nl> + CCTextureCache : : reloadAllTextures ( ) ; <nl> + CCNotificationCenter : : sharedNotificationCenter ( ) - > postNotification ( EVNET_COME_TO_FOREGROUND , NULL ) ; <nl> + CCDirector : : sharedDirector ( ) - > setGLDefaultValues ( ) ; <nl> + } <nl> + } <nl> + <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . f2fe1559a217 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / proguard - project . txt <nl> <nl> + # To enable ProGuard in your project , edit project . properties <nl> + # to define the proguard . config property as described in that file . <nl> + # <nl> + # Add project specific ProGuard rules here . <nl> + # By default , the flags in this file are appended to flags specified <nl> + # in $ { sdk . dir } / tools / proguard / proguard - android . txt <nl> + # You can edit the include path and order by changing the ProGuard <nl> + # include property in project . properties . <nl> + # <nl> + # For more details , see <nl> + # http : / / developer . android . com / guide / developing / tools / proguard . html <nl> + <nl> + # Add any project specific keep options here : <nl> + <nl> + # If your project uses WebView with JS , uncomment the following <nl> + # and specify the fully qualified class name to the JavaScript interface <nl> + # class : <nl> + # - keepclassmembers class fqcn . of . javascript . interface . for . webview { <nl> + # public * ; <nl> + # } <nl> new file mode 100644 <nl> index 000000000000 . . d5f90ebab1e9 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / project . properties <nl> <nl> + # This file is automatically generated by Android Tools . <nl> + # Do not modify this file - - YOUR CHANGES WILL BE ERASED ! <nl> + # <nl> + # This file must be checked in Version Control Systems . <nl> + # <nl> + # To customize properties used by the Ant build system use , <nl> + # " ant . properties " , and override values to adapt the script to your <nl> + # project structure . <nl> + <nl> + # Project target . <nl> + target = android - 8 <nl> + <nl> + android . library . reference . 1 = . . / . . / . . / cocos2dx / platform / android / java <nl> new file mode 100644 <nl> index 000000000000 . . d70da2da7a1f <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / res / values / strings . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < resources > <nl> + < string name = " app_name " > HelloCpp < / string > <nl> + < / resources > <nl> new file mode 100644 <nl> index 000000000000 . . f5e63552c1c4 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . android / src / org / cocos2dx / hellocpp / HelloCpp . java <nl> <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + Copyright ( c ) 2010 - 2011 cocos2d - x . org <nl> + <nl> + http : / / www . cocos2d - x . org <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + package org . cocos2dx . hellocpp ; <nl> + <nl> + import org . cocos2dx . lib . Cocos2dxActivity ; <nl> + import org . cocos2dx . lib . Cocos2dxGLSurfaceView ; <nl> + <nl> + import android . os . Bundle ; <nl> + <nl> + public class HelloCpp extends Cocos2dxActivity { <nl> + <nl> + protected void onCreate ( Bundle savedInstanceState ) { <nl> + super . onCreate ( savedInstanceState ) ; <nl> + } <nl> + <nl> + public Cocos2dxGLSurfaceView onCreateView ( ) { <nl> + Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView ( this ) ; <nl> + / / HelloCpp should create stencil buffer <nl> + glSurfaceView . setEGLConfigChooser ( 5 , 6 , 5 , 0 , 16 , 8 ) ; <nl> + <nl> + return glSurfaceView ; <nl> + } <nl> + <nl> + static { <nl> + System . loadLibrary ( " cocos2dcpp " ) ; <nl> + } <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . ecc554f3c0e4 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . blackberry / . cproject <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " standalone = " no " ? > <nl> + < ? fileVersion 4 . 0 . 0 ? > <nl> + <nl> + < cproject storage_type_id = " org . eclipse . cdt . core . XmlProjectDescriptionStorage " > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . settings " > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . debug . 2142540956 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . debug . 2142540956 " moduleId = " org . eclipse . cdt . core . settings " name = " Device - Debug " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . debug , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " " id = " com . qnx . qcc . configuration . exe . debug . 2142540956 " name = " Device - Debug " parent = " com . qnx . qcc . configuration . exe . debug " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . debug . 2142540956 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . debug . 1812178661 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < option id = " com . qnx . qcc . option . cpu . 669179981 " name = " Target CPU : " superClass = " com . qnx . qcc . option . cpu " value = " com . qnx . qcc . option . gen . cpu . armle - v7 " valueType = " enumerated " / > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 611057419 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Device - Debug } " id = " com . qnx . nto . 949948747 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 1493838261 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 1613457076 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 718574234 " name = " Enhanced Security ( - fstack - protector - strong ) " superClass = " com . qnx . qcc . option . compiler . security " value = " false " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 508320324 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 1151222818 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 677527501 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 1540870188 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 2031904311 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 628933063 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 24881544 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 792220405 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 2142556069 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1795123296 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 670341600 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 1640397005 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 94618092 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions / proj . blackberry / $ { ConfigName } / libextensions . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . blackberry / $ { ConfigName } / libBox2D . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . blackberry / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libtiff . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libwebp . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 1796308793 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 207140996 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . release . 1185536621 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . release . 1185536621 " moduleId = " org . eclipse . cdt . core . settings " name = " Device - Release " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . release , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " " id = " com . qnx . qcc . configuration . exe . release . 1185536621 " name = " Device - Release " parent = " com . qnx . qcc . configuration . exe . release " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . release . 1185536621 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . release . 486668795 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < option id = " com . qnx . qcc . option . cpu . 283303927 " name = " Target CPU : " superClass = " com . qnx . qcc . option . cpu " value = " com . qnx . qcc . option . gen . cpu . armle - v7 " valueType = " enumerated " / > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 221136265 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Device - Release } " id = " com . qnx . nto . 860455452 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 562311620 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compiler . optlevel . 666967113 " name = " Optimization Level " superClass = " com . qnx . qcc . option . compiler . optlevel " value = " com . qnx . qcc . option . compiler . optlevel . 2 " valueType = " enumerated " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 828858287 " name = " Enhanced Security ( - fstack - protector - strong ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 742199362 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . pie . 332605771 " name = " Position Independent Executable ( - fPIE ) " superClass = " com . qnx . qcc . option . compiler . pie " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 1125871935 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 1693572296 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 1104894128 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 892322442 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 461124153 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 1577237421 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 127420150 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 982628496 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . pie . 196284652 " name = " Position Independent Executable ( - pie ) " superClass = " com . qnx . qcc . option . linker . pie " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 1976822869 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 597387014 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions / proj . blackberry / $ { ConfigName } / libextensions . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . blackberry / $ { ConfigName } / libBox2D . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . blackberry / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libtiff . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libwebp . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 1937120791 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 2023869625 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry excluding = " tests " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . profile . 1563929245 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . profile . 1563929245 " moduleId = " org . eclipse . cdt . core . settings " name = " Device - Profile " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = com . qnx . buildType . profile , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " Build for Profiling " id = " com . qnx . qcc . configuration . exe . profile . 1563929245 " name = " Device - Profile " parent = " com . qnx . qcc . configuration . exe . profile " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . profile . 1563929245 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . profile . 1682618804 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < option id = " com . qnx . qcc . option . cpu . 1695291836 " name = " Target CPU : " superClass = " com . qnx . qcc . option . cpu " value = " com . qnx . qcc . option . gen . cpu . armle - v7 " valueType = " enumerated " / > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 624630424 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Device - Profile } " id = " com . qnx . nto . 332995737 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 1542482226 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 705788737 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . profile2 . 338491679 " name = " Build for Profiling ( Function Instrumentation ) ( - finstrument - functions ) " superClass = " com . qnx . qcc . option . compiler . profile2 " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 1365703198 " name = " Enhanced Security ( - fstack - protector - strong ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 774819807 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 602639041 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 749046634 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 32090391 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 1900679282 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 651539575 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 1563669753 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 931186098 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . profile2 . 1420340978 " name = " Build for Profiling ( Function Instrumentation ) ( - lprofiling ) " superClass = " com . qnx . qcc . option . linker . profile2 " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 884453126 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1444934322 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 1905389687 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 1615583479 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 1434184051 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions / proj . blackberry / $ { ConfigName } / libextensions . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . blackberry / $ { ConfigName } / libBox2D . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . blackberry / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libtiff . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libwebp . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 1434626404 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 853970653 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry excluding = " tests " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . profile . coverage . 2091050949 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . profile . coverage . 2091050949 " moduleId = " org . eclipse . cdt . core . settings " name = " Device - Coverage " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = com . qnx . buildType . coverage , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " Build for Code Coverage " id = " com . qnx . qcc . configuration . exe . profile . coverage . 2091050949 " name = " Device - Coverage " parent = " com . qnx . qcc . configuration . exe . profile . coverage " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . profile . coverage . 2091050949 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . coverage . 1703631164 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < option id = " com . qnx . qcc . option . cpu . 2020065053 " name = " Target CPU : " superClass = " com . qnx . qcc . option . cpu " value = " com . qnx . qcc . option . gen . cpu . armle - v7 " valueType = " enumerated " / > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 1936727067 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Device - Coverage } " id = " com . qnx . nto . 92598880 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 1841535831 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 1423578802 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . coverage . 869042823 " name = " Build for Code Coverage ( - Wc , - ftest - coverage - Wc , - fprofile - arcs ) " superClass = " com . qnx . qcc . option . compiler . coverage " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 948017619 " name = " Enhanced Security ( - fstack - protector - strong ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 169171418 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 363644206 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 1482845801 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 337560888 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 1596751687 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 1686826072 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 570988293 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 899189095 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . coverage . 2144400921 " name = " Build for Code Coverage ( - ftest - coverage - fprofile - arcs ) " superClass = " com . qnx . qcc . option . linker . coverage " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 1655253087 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1754749289 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 1324953478 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 172097509 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 1287776919 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions / proj . blackberry / $ { ConfigName } / libextensions . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . blackberry / $ { ConfigName } / libBox2D . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . blackberry / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libtiff . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libwebp . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 289488351 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 1453401475 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . debug . 538064218 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . debug . 538064218 " moduleId = " org . eclipse . cdt . core . settings " name = " Simulator " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . debug , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " " id = " com . qnx . qcc . configuration . exe . debug . 538064218 " name = " Simulator " parent = " com . qnx . qcc . configuration . exe . debug " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . debug . 538064218 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . debug . 51105332 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 1473739548 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Simulator } " id = " com . qnx . nto . 415374770 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 384142839 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 1818291470 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 1767000497 " name = " Enhanced Security ( - fstack - protector - strong ) " superClass = " com . qnx . qcc . option . compiler . security " value = " false " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 1096545687 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 1034482478 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 739668251 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 934264910 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 1515548105 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 1512676777 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 185251890 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 1001875239 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 1154686121 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1773723388 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 886524253 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 880489672 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 1867792515 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions / proj . blackberry / $ { ConfigName } / libextensions . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . blackberry / $ { ConfigName } / libBox2D . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . blackberry / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libtiff . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libwebp . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 211273388 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 896955906 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry excluding = " tests " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . profile . 808507225 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . profile . 808507225 " moduleId = " org . eclipse . cdt . core . settings " name = " Simulator - Profile " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = com . qnx . buildType . profile , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " Build for Profiling " id = " com . qnx . qcc . configuration . exe . profile . 808507225 " name = " Simulator - Profile " parent = " com . qnx . qcc . configuration . exe . profile " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . profile . 808507225 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . profile . 2084128433 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 1972213917 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Simulator - Profile } " id = " com . qnx . nto . 518379676 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 1058921497 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 900876212 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . profile2 . 2091559851 " name = " Build for Profiling ( Function Instrumentation ) ( - finstrument - functions ) " superClass = " com . qnx . qcc . option . compiler . profile2 " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 1490163247 " name = " Enhanced Security ( - fstack - protector - strong ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 691647501 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 1695903356 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 823933521 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 1583838667 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 35021129 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 1241212913 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 1544958366 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 929357454 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . profile2 . 511480042 " name = " Build for Profiling ( Function Instrumentation ) ( - lprofiling ) " superClass = " com . qnx . qcc . option . linker . profile2 " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 1364528906 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 775451785 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 1780600507 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 1204179500 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 653674459 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions / proj . blackberry / $ { ConfigName } / libextensions . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . blackberry / $ { ConfigName } / libBox2D . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . blackberry / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libtiff . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libwebp . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 541903123 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 132169749 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry excluding = " tests " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . profile . coverage . 78763272 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . profile . coverage . 78763272 " moduleId = " org . eclipse . cdt . core . settings " name = " Simulator - Coverage " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = com . qnx . buildType . coverage , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " Build for Code Coverage " id = " com . qnx . qcc . configuration . exe . profile . coverage . 78763272 " name = " Simulator - Coverage " parent = " com . qnx . qcc . configuration . exe . profile . coverage " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . profile . coverage . 78763272 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . coverage . 1232085656 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 2008108486 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Simulator - Coverage } " id = " com . qnx . nto . 757156089 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 1581736269 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 1393871452 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . coverage . 1942752441 " name = " Build for Code Coverage ( - Wc , - ftest - coverage - Wc , - fprofile - arcs ) " superClass = " com . qnx . qcc . option . compiler . coverage " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 1148816274 " name = " Enhanced Security ( - fstack - protector - strong ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 780286175 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 857719630 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 1397796662 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 1796088661 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 1558917915 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 1274439736 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 2069546482 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 685557921 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . coverage . 548229375 " name = " Build for Code Coverage ( - ftest - coverage - fprofile - arcs ) " superClass = " com . qnx . qcc . option . linker . coverage " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 1174711834 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 870911785 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 1136026548 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 1949291872 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 2020635567 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions / proj . blackberry / $ { ConfigName } / libextensions . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . blackberry / $ { ConfigName } / libBox2D . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . blackberry / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libtiff . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } / libwebp . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 1027962671 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 1795278784 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < project id = " HelloCpp . null . 1595389769 " name = " HelloCpp " / > <nl> + < / storageModule > <nl> + < storageModule moduleId = " scannerConfiguration " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . debug . 538064218 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . debug . 2142540956 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . release . 1185536621 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . profile . 808507225 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . profile . coverage . 78763272 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . profile . 1563929245 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . profile . coverage . 2091050949 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < / storageModule > <nl> + < storageModule moduleId = " refreshScope " versionNumber = " 1 " > <nl> + < resource resourceType = " PROJECT " workspacePath = " / HelloCpp " / > <nl> + < / storageModule > <nl> + < storageModule moduleId = " com . qnx . tools . ide . qde . core . QNXProjectProperties " / > <nl> + < storageModule moduleId = " org . eclipse . cdt . internal . ui . text . commentOwnerProjectMappings " / > <nl> + < / cproject > <nl> new file mode 100644 <nl> index 000000000000 . . bd11f96c896e <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . blackberry / . project <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < projectDescription > <nl> + < name > HelloCpp < / name > <nl> + < comment > < / comment > <nl> + < projects > <nl> + < project > Box2D < / project > <nl> + < project > chipmunk < / project > <nl> + < project > cocos2dx < / project > <nl> + < project > CocosDenshion < / project > <nl> + < project > extensions < / project > <nl> + < / projects > <nl> + < buildSpec > <nl> + < buildCommand > <nl> + < name > org . eclipse . cdt . managedbuilder . core . genmakebuilder < / name > <nl> + < triggers > clean , full , incremental , < / triggers > <nl> + < arguments > <nl> + < dictionary > <nl> + < key > ? name ? < / key > <nl> + < value > < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . append_environment < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . buildArguments < / key > <nl> + < value > < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . buildCommand < / key > <nl> + < value > make < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . buildLocation < / key > <nl> + < value > $ { workspace_loc : / HelloCpp / Device - Debug } < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . contents < / key > <nl> + < value > org . eclipse . cdt . make . core . activeConfigSettings < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . enableAutoBuild < / key > <nl> + < value > false < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . enableCleanBuild < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . enableFullBuild < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . stopOnError < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . useDefaultBuildCmd < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > org . eclipse . cdt . managedbuilder . core . ScannerConfigBuilder < / name > <nl> + < triggers > full , incremental , < / triggers > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > com . qnx . tools . bbt . xml . core . bbtXMLValidationBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < / buildSpec > <nl> + < natures > <nl> + < nature > org . eclipse . cdt . core . cnature < / nature > <nl> + < nature > org . eclipse . cdt . managedbuilder . core . managedBuildNature < / nature > <nl> + < nature > org . eclipse . cdt . managedbuilder . core . ScannerConfigNature < / nature > <nl> + < nature > com . qnx . tools . ide . bbt . core . bbtnature < / nature > <nl> + < nature > org . eclipse . cdt . core . ccnature < / nature > <nl> + < / natures > <nl> + < linkedResources > <nl> + < link > <nl> + < name > Classes < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 1 - PROJECT_LOC / Classes < / locationURI > <nl> + < / link > <nl> + < link > <nl> + < name > Resources < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 1 - PROJECT_LOC / Resources < / locationURI > <nl> + < / link > <nl> + < / linkedResources > <nl> + < filteredResources > <nl> + < filter > <nl> + < id > 1345434891844 < / id > <nl> + < name > Classes / ExtensionsTest < / name > <nl> + < type > 10 < / type > <nl> + < matcher > <nl> + < id > org . eclipse . ui . ide . multiFilter < / id > <nl> + < arguments > 1 . 0 - name - matches - true - false - EditBoxTest < / arguments > <nl> + < / matcher > <nl> + < / filter > <nl> + < / filteredResources > <nl> + < / projectDescription > <nl> new file mode 100644 <nl> index 000000000000 . . 1a0dbd1cb92a <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . blackberry / bar - descriptor . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " standalone = " no " ? > <nl> + < qnx xmlns = " http : / / www . qnx . com / schemas / application / 1 . 0 " > <nl> + <nl> + < ! - - BlackBerry Tablet OS application descriptor file . <nl> + <nl> + Specifies parameters for identifying , installing , and launching native applications on BlackBerry Tablet OS . <nl> + <nl> + - - > <nl> + <nl> + < ! - - A universally unique application identifier . Must be unique across all BlackBerry Tablet OS applications . <nl> + Using a reverse DNS - style name as the id is recommended . ( Eg . com . example . ExampleApplication . ) Required . - - > <nl> + < id > org . cocos2dx . HelloCpp < / id > <nl> + <nl> + < ! - - The name that is displayed in the BlackBerry Tablet OS application installer . <nl> + May have multiple values for each language . See samples or xsd schema file . Optional . - - > <nl> + < name > HelloCpp < / name > <nl> + <nl> + < ! - - A string value of the format < 0 - 999 > . < 0 - 999 > . < 0 - 999 > that represents application version which can be used to check for application upgrade . <nl> + Values can also be 1 - part or 2 - part . It is not necessary to have a 3 - part value . <nl> + An updated version of application must have a versionNumber value higher than the previous version . Required . - - > <nl> + < versionNumber > 1 . 0 . 0 < / versionNumber > <nl> + <nl> + < ! - - Fourth digit segment of the package version . First three segments are taken from the <nl> + < versionNumber > element . Must be an integer from 0 to 2 ^ 16 - 1 - - > <nl> + < buildId > 1 < / buildId > <nl> + <nl> + < ! - - A string value ( such as " v1 " , " 2 . 5 " , or " Alpha 1 " ) that represents the version of the application , as it should be shown to users . Optional . - - > <nl> + < ! - - < versionLabel > < / versionLabel > - - > <nl> + <nl> + < ! - - Description , displayed in the BlackBerry Tablet OS application installer . <nl> + May have multiple values for each language . See samples or xsd schema file . Optional . - - > <nl> + < description > The HelloCpp Application < / description > <nl> + <nl> + < ! - - Copyright information . Optional . - - > <nl> + < ! - - < copyright > < / copyright > - - > <nl> + <nl> + < ! - - Name of author which is used for signing . Must match the developer name of your development certificate . - - > <nl> + < author > Example Inc . < / author > <nl> + <nl> + < ! - - Unique author ID assigned by signing authority . Required if using debug tokens . - - > <nl> + < ! - - < authorId > ABC1234YjsnUk235h < / authorId > - - > <nl> + <nl> + < initialWindow > <nl> + < systemChrome > none < / systemChrome > <nl> + < transparent > false < / transparent > <nl> + < / initialWindow > <nl> + <nl> + < ! - - The category where the application appears . Either core . games or core . media . - - > <nl> + < category > core . games < / category > <nl> + < asset path = " icon . png " > icon . png < / asset > <nl> + < asset path = " . . / Resources " > Resources < / asset > <nl> + <nl> + < ! - - the variable ' worksparce_loc ' is not supported in bbndk2 . 0 , so we create an empty folder to make the relative path work . - - > <nl> + <nl> + < configuration id = " com . qnx . qcc . configuration . exe . debug . 2142540956 " name = " Device - Debug " > <nl> + < platformArchitecture > armle - v7 < / platformArchitecture > <nl> + < asset path = " empty / . . / . . / . . / . . / CocosDenshion / proj . blackberry / Device - Debug / libCocosDenshion . so " type = " Qnx / Elf " > lib / libCocosDenshion . so < / asset > <nl> + < asset path = " Device - Debug / HelloCpp " entry = " true " type = " Qnx / Elf " > HelloCpp < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . release . 1185536621 " name = " Device - Release " > <nl> + < platformArchitecture > armle - v7 < / platformArchitecture > <nl> + < asset path = " empty / . . / . . / . . / . . / CocosDenshion / proj . blackberry / Device - Release / libCocosDenshion . so " type = " Qnx / Elf " > lib / libCocosDenshion . so < / asset > <nl> + < asset path = " Device - Release / HelloCpp " entry = " true " type = " Qnx / Elf " > HelloCpp < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . profile . 1563929245 " name = " Device - Profile " > <nl> + < platformArchitecture > armle - v7 < / platformArchitecture > <nl> + < asset path = " empty / . . / . . / . . / . . / CocosDenshion / proj . blackberry / Device - Profile / libCocosDenshion . so " type = " Qnx / Elf " > lib / libCocosDenshion . so < / asset > <nl> + < asset path = " Device - Profile / HelloCpp " entry = " true " type = " Qnx / Elf " > HelloCpp < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . profile . coverage . 2091050949 " name = " Device - Coverage " > <nl> + < platformArchitecture > armle - v7 < / platformArchitecture > <nl> + < asset path = " empty / . . / . . / . . / . . / CocosDenshion / proj . blackberry / Device - Coverage / libCocosDenshion . so " type = " Qnx / Elf " > lib / libCocosDenshion . so < / asset > <nl> + < asset path = " Device - Coverage / HelloCpp " entry = " true " type = " Qnx / Elf " > HelloCpp < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . debug . 538064218 " name = " Simulator " > <nl> + < platformArchitecture > x86 < / platformArchitecture > <nl> + < asset path = " empty / . . / . . / . . / . . / CocosDenshion / proj . blackberry / Simulator / libCocosDenshion . so " type = " Qnx / Elf " > lib / libCocosDenshion . so < / asset > <nl> + < asset path = " Simulator / HelloCpp " entry = " true " type = " Qnx / Elf " > HelloCpp < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . profile . 808507225 " name = " Simulator - Profile " > <nl> + < platformArchitecture > x86 < / platformArchitecture > <nl> + < asset path = " empty / . . / . . / . . / . . / CocosDenshion / proj . blackberry / Simulator - Profile / libCocosDenshion . so " type = " Qnx / Elf " > lib / libCocosDenshion . so < / asset > <nl> + < asset path = " Simulator - Profile / HelloCpp " entry = " true " type = " Qnx / Elf " > HelloCpp < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . profile . coverage . 78763272 " name = " Simulator - Coverage " > <nl> + < platformArchitecture > x86 < / platformArchitecture > <nl> + < asset path = " empty / . . / . . / . . / . . / CocosDenshion / proj . blackberry / Simulator - Coverage / libCocosDenshion . so " type = " Qnx / Elf " > lib / libCocosDenshion . so < / asset > <nl> + < asset path = " Simulator - Coverage / HelloCpp " entry = " true " type = " Qnx / Elf " > HelloCpp < / asset > <nl> + < / configuration > <nl> + <nl> + < ! - - The icon for the application , which should be 86x86 . - - > <nl> + < icon > <nl> + < image > icon . png < / image > <nl> + < / icon > <nl> + <nl> + < ! - - The splash screen that will appear when your application is launching . Should be 1024x600 . - - > <nl> + < ! - - < splashscreen > < / splashscreen > - - > <nl> + <nl> + < ! - - Request permission to execute native code . Required for native applications . - - > <nl> + < action system = " true " > run_native < / action > <nl> + <nl> + < ! - - The permissions requested by your application . - - > <nl> + < ! - - < action > access_shared < / action > - - > <nl> + < ! - - < action > record_audio < / action > - - > <nl> + < ! - - < action > read_geolocation < / action > - - > <nl> + < ! - - < action > use_camera < / action > - - > <nl> + < ! - - < action > access_internet < / action > - - > <nl> + < ! - - < action > play_audio < / action > - - > <nl> + < ! - - < action > post_notification < / action > - - > <nl> + < ! - - < action > set_audio_volume < / action > - - > <nl> + < ! - - < action > read_device_identifying_information < / action > - - > <nl> + <nl> + < ! - - Ensure that shared libraries in the package are found at run - time . - - > <nl> + < env var = " LD_LIBRARY_PATH " value = " app / native / lib " / > <nl> + <nl> + < / qnx > <nl> new file mode 100644 <nl> index 000000000000 . . e69de29bb2d1 <nl> new file mode 100644 <nl> index 000000000000 . . 589b9bfdd8af <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . blackberry / main . cpp <nl> <nl> + # include " cocos2d . h " <nl> + # include " AppDelegate . h " <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + int main ( int argc , char * * argv ) <nl> + { <nl> + / / create the application instance <nl> + AppDelegate app ; <nl> + <nl> + int width , height ; <nl> + const char * width_str , * height_str ; <nl> + width_str = getenv ( " WIDTH " ) ; <nl> + height_str = getenv ( " HEIGHT " ) ; <nl> + if ( width_str & & height_str ) <nl> + { <nl> + width = atoi ( width_str ) ; <nl> + height = atoi ( height_str ) ; <nl> + } <nl> + else <nl> + { <nl> + width = 1024 ; <nl> + height = 600 ; <nl> + } <nl> + <nl> + CCEGLView * eglView = CCEGLView : : sharedOpenGLView ( ) ; <nl> + eglView - > setFrameSize ( width , height ) ; <nl> + <nl> + return CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . ab4f9cf49f9f <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . ios / Classes / RootViewController . h <nl> <nl> + / / <nl> + / / RootViewController . h <nl> + / / test <nl> + / / <nl> + / / Created by Walzer on 11 - 4 - 28 . <nl> + / / Copyright 2011 __MyCompanyName__ . All rights reserved . <nl> + / / <nl> + <nl> + # import < UIKit / UIKit . h > <nl> + <nl> + <nl> + @ interface RootViewController : UIViewController { <nl> + <nl> + } <nl> + <nl> + @ end <nl> new file mode 100644 <nl> index 000000000000 . . db521bb0ce7b <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . ios / Classes / RootViewController . mm <nl> <nl> + / / <nl> + / / RootViewController . mm <nl> + / / test <nl> + / / <nl> + / / Created by Walzer on 11 - 4 - 28 . <nl> + / / Copyright 2011 __MyCompanyName__ . All rights reserved . <nl> + / / <nl> + <nl> + # import " RootViewController . h " <nl> + <nl> + <nl> + @ implementation RootViewController <nl> + <nl> + / * <nl> + / / The designated initializer . Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad . <nl> + - ( id ) initWithNibName : ( NSString * ) nibNameOrNil bundle : ( NSBundle * ) nibBundleOrNil { <nl> + if ( ( self = [ super initWithNibName : nibNameOrNil bundle : nibBundleOrNil ] ) ) { <nl> + / / Custom initialization <nl> + } <nl> + return self ; <nl> + } <nl> + * / <nl> + <nl> + / * <nl> + / / Implement loadView to create a view hierarchy programmatically , without using a nib . <nl> + - ( void ) loadView { <nl> + } <nl> + * / <nl> + <nl> + / * <nl> + / / Implement viewDidLoad to do additional setup after loading the view , typically from a nib . <nl> + - ( void ) viewDidLoad { <nl> + [ super viewDidLoad ] ; <nl> + } <nl> + <nl> + * / <nl> + / / Override to allow orientations other than the default portrait orientation . <nl> + / / This method is deprecated on ios6 <nl> + - ( BOOL ) shouldAutorotateToInterfaceOrientation : ( UIInterfaceOrientation ) interfaceOrientation { <nl> + return UIInterfaceOrientationIsLandscape ( interfaceOrientation ) ; <nl> + } <nl> + <nl> + / / For ios6 , use supportedInterfaceOrientations & shouldAutorotate instead <nl> + - ( NSUInteger ) supportedInterfaceOrientations { <nl> + # ifdef __IPHONE_6_0 <nl> + return UIInterfaceOrientationMaskAllButUpsideDown ; <nl> + # endif <nl> + } <nl> + <nl> + - ( BOOL ) shouldAutorotate { <nl> + return YES ; <nl> + } <nl> + <nl> + - ( void ) didReceiveMemoryWarning { <nl> + / / Releases the view if it doesn ' t have a superview . <nl> + [ super didReceiveMemoryWarning ] ; <nl> + <nl> + / / Release any cached data , images , etc that aren ' t in use . <nl> + } <nl> + <nl> + - ( void ) viewDidUnload { <nl> + [ super viewDidUnload ] ; <nl> + / / Release any retained subviews of the main view . <nl> + / / e . g . self . myOutlet = nil ; <nl> + } <nl> + <nl> + <nl> + - ( void ) dealloc { <nl> + [ super dealloc ] ; <nl> + } <nl> + <nl> + <nl> + @ end <nl> new file mode 100644 <nl> index 000000000000 . . aeed186767d7 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . ios / Classes / testsAppDelegate . h <nl> <nl> + / / <nl> + / / iphoneAppDelegate . h <nl> + / / iphone <nl> + / / <nl> + / / Created by Walzer on 10 - 11 - 16 . <nl> + / / Copyright 2010 __MyCompanyName__ . All rights reserved . <nl> + / / <nl> + <nl> + # import < UIKit / UIKit . h > <nl> + <nl> + @ class RootViewController ; <nl> + <nl> + @ interface AppController : NSObject < UIApplicationDelegate > { <nl> + UIWindow * window ; <nl> + RootViewController * viewController ; <nl> + } <nl> + <nl> + @ end <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 09cb3d986faf <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . ios / Classes / testsAppDelegate . mm <nl> <nl> + / / <nl> + / / iphoneAppDelegate . m <nl> + / / iphone <nl> + / / <nl> + / / Created by Walzer on 10 - 11 - 16 . <nl> + / / Copyright 2010 __MyCompanyName__ . All rights reserved . <nl> + / / <nl> + <nl> + # import " testsAppDelegate . h " <nl> + <nl> + # import " EAGLView . h " <nl> + # import " cocos2d . h " <nl> + # import " AppDelegate . h " <nl> + # import " RootViewController . h " <nl> + <nl> + @ implementation AppController <nl> + <nl> + # pragma mark - <nl> + # pragma mark Application lifecycle <nl> + <nl> + / / cocos2d application instance <nl> + static AppDelegate s_sharedApplication ; <nl> + <nl> + - ( BOOL ) application : ( UIApplication * ) application didFinishLaunchingWithOptions : ( NSDictionary * ) launchOptions { <nl> + <nl> + / / Override point for customization after application launch . <nl> + <nl> + / / Add the view controller ' s view to the window and display . <nl> + window = [ [ UIWindow alloc ] initWithFrame : [ [ UIScreen mainScreen ] bounds ] ] ; <nl> + <nl> + / / Init the EAGLView <nl> + EAGLView * __glView = [ EAGLView viewWithFrame : [ window bounds ] <nl> + pixelFormat : kEAGLColorFormatRGB565 <nl> + depthFormat : GL_DEPTH24_STENCIL8_OES <nl> + preserveBackbuffer : NO <nl> + sharegroup : nil <nl> + multiSampling : NO <nl> + numberOfSamples : 0 ] ; <nl> + [ __glView setMultipleTouchEnabled : YES ] ; <nl> + <nl> + / / Use RootViewController manage EAGLView <nl> + viewController = [ [ RootViewController alloc ] initWithNibName : nil bundle : nil ] ; <nl> + viewController . wantsFullScreenLayout = YES ; <nl> + viewController . view = __glView ; <nl> + <nl> + / / Set RootViewController to window <nl> + if ( [ [ UIDevice currentDevice ] . systemVersion floatValue ] < 6 . 0 ) <nl> + { <nl> + / / warning : addSubView doesn ' t work on iOS6 <nl> + [ window addSubview : viewController . view ] ; <nl> + } <nl> + else <nl> + { <nl> + / / use this method on ios6 <nl> + [ window setRootViewController : viewController ] ; <nl> + } <nl> + <nl> + [ window makeKeyAndVisible ] ; <nl> + <nl> + [ [ UIApplication sharedApplication ] setStatusBarHidden : true ] ; <nl> + <nl> + cocos2d : : CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + <nl> + return YES ; <nl> + } <nl> + <nl> + <nl> + - ( void ) applicationWillResignActive : ( UIApplication * ) application { <nl> + / * <nl> + Sent when the application is about to move from active to inactive state . This can occur for certain types of temporary interruptions ( such as an incoming phone call or SMS message ) or when the user quits the application and it begins the transition to the background state . <nl> + Use this method to pause ongoing tasks , disable timers , and throttle down OpenGL ES frame rates . Games should use this method to pause the game . <nl> + * / <nl> + cocos2d : : CCDirector : : sharedDirector ( ) - > pause ( ) ; <nl> + } <nl> + <nl> + - ( void ) applicationDidBecomeActive : ( UIApplication * ) application { <nl> + / * <nl> + Restart any tasks that were paused ( or not yet started ) while the application was inactive . If the application was previously in the background , optionally refresh the user interface . <nl> + * / <nl> + cocos2d : : CCDirector : : sharedDirector ( ) - > resume ( ) ; <nl> + } <nl> + <nl> + - ( void ) applicationDidEnterBackground : ( UIApplication * ) application { <nl> + / * <nl> + Use this method to release shared resources , save user data , invalidate timers , and store enough application state information to restore your application to its current state in case it is terminated later . <nl> + If your application supports background execution , called instead of applicationWillTerminate : when the user quits . <nl> + * / <nl> + cocos2d : : CCApplication : : sharedApplication ( ) - > applicationDidEnterBackground ( ) ; <nl> + } <nl> + <nl> + - ( void ) applicationWillEnterForeground : ( UIApplication * ) application { <nl> + / * <nl> + Called as part of transition from the background to the inactive state : here you can undo many of the changes made on entering the background . <nl> + * / <nl> + cocos2d : : CCApplication : : sharedApplication ( ) - > applicationWillEnterForeground ( ) ; <nl> + } <nl> + <nl> + - ( void ) applicationWillTerminate : ( UIApplication * ) application { <nl> + / * <nl> + Called when the application is about to terminate . <nl> + See also applicationDidEnterBackground : . <nl> + * / <nl> + } <nl> + <nl> + <nl> + # pragma mark - <nl> + # pragma mark Memory management <nl> + <nl> + - ( void ) applicationDidReceiveMemoryWarning : ( UIApplication * ) application { <nl> + / * <nl> + Free up as much memory as possible by purging cached data objects that can be recreated ( or reloaded from disk ) later . <nl> + * / <nl> + } <nl> + <nl> + <nl> + - ( void ) dealloc { <nl> + [ window release ] ; <nl> + [ super dealloc ] ; <nl> + } <nl> + <nl> + <nl> + @ end <nl> new file mode 100644 <nl> index 000000000000 . . 8f5838f3a8cc <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . ios / Default - 568h @ 2x . png . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 66c6d1cead373b45218424f6a82f370897e443e4 <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 8843505b2088 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . ios / Default @ 2x . png . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 84689888a14a2123d2b39f7f2f61be8c15207479 <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . c32fd0921898 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . ios / HelloCpp . xcodeproj / project . pbxproj . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 16d08667ceb5270f9e4470439591422ff7b4e846 <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 5b4e2fd9e1d1 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . ios / HelloCpp_Prefix . pch <nl> <nl> + / / <nl> + / / Prefix header for all source files of the ' iphone ' target in the ' iphone ' project <nl> + / / <nl> + <nl> + # ifdef __OBJC__ <nl> + # import < Foundation / Foundation . h > <nl> + # import < UIKit / UIKit . h > <nl> + # endif <nl> new file mode 100644 <nl> index 000000000000 . . b94d77dc22c9 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . ios / main . m <nl> <nl> + / / <nl> + / / main . m <nl> + / / iphone <nl> + / / <nl> + / / Created by Walzer on 10 - 11 - 16 . <nl> + / / Copyright 2010 __MyCompanyName__ . All rights reserved . <nl> + / / <nl> + <nl> + # import < UIKit / UIKit . h > <nl> + <nl> + / / Under iOS and the Simulator , we can use an alternate Accelerometer interface <nl> + # import " AccelerometerSimulation . h " <nl> + <nl> + int main ( int argc , char * argv [ ] ) { <nl> + <nl> + NSAutoreleasePool * pool = [ [ NSAutoreleasePool alloc ] init ] ; <nl> + int retVal = UIApplicationMain ( argc , argv , nil , @ " AppController " ) ; <nl> + [ pool release ] ; <nl> + return retVal ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . 50be1fc34c49 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . linux / . cproject <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " standalone = " no " ? > <nl> + < ? fileVersion 4 . 0 . 0 ? > <nl> + <nl> + < cproject storage_type_id = " org . eclipse . cdt . core . XmlProjectDescriptionStorage " > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . settings " > <nl> + < cconfiguration id = " cdt . managedbuild . config . gnu . exe . debug . 699705174 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " cdt . managedbuild . config . gnu . exe . debug . 699705174 " moduleId = " org . eclipse . cdt . core . settings " name = " Debug " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " org . eclipse . cdt . core . ELF " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GmakeErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . CWDLocator " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GASErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . debug , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " cleanCommand = " rm - rf " description = " " errorParsers = " org . eclipse . cdt . core . GmakeErrorParser ; org . eclipse . cdt . core . CWDLocator ; org . eclipse . cdt . core . GCCErrorParser ; org . eclipse . cdt . core . GASErrorParser ; org . eclipse . cdt . core . GLDErrorParser " id = " cdt . managedbuild . config . gnu . exe . debug . 699705174 " name = " Debug " parent = " cdt . managedbuild . config . gnu . exe . debug " postannouncebuildStep = " " postbuildStep = " " preannouncebuildStep = " " prebuildStep = " mkdir - p bin " > <nl> + < folderInfo id = " cdt . managedbuild . config . gnu . exe . debug . 699705174 . " name = " / " resourcePath = " " > <nl> + < toolChain errorParsers = " " id = " cdt . managedbuild . toolchain . gnu . exe . debug . 841204785 " name = " Linux GCC " superClass = " cdt . managedbuild . toolchain . gnu . exe . debug " > <nl> + < targetPlatform binaryParser = " org . eclipse . cdt . core . ELF " id = " cdt . managedbuild . target . gnu . platform . exe . debug . 1771431107 " name = " Debug Platform " superClass = " cdt . managedbuild . target . gnu . platform . exe . debug " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Debug } " errorParsers = " org . eclipse . cdt . core . GmakeErrorParser ; org . eclipse . cdt . core . CWDLocator " id = " cdt . managedbuild . target . gnu . builder . exe . debug . 692013632 " keepEnvironmentInBuildfile = " false " managedBuildOn = " true " name = " Gnu Make Builder " superClass = " cdt . managedbuild . target . gnu . builder . exe . debug " > <nl> + < outputEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH | RESOLVED " kind = " outputPath " name = " Debug " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH | RESOLVED " kind = " outputPath " name = " Release " / > <nl> + < / outputEntries > <nl> + < / builder > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / third_party / fmod / api / lib " id = " cdt . managedbuild . tool . gnu . archiver . base . 823571804 " name = " GCC Archiver " superClass = " cdt . managedbuild . tool . gnu . archiver . base " / > <nl> + < tool command = " g + + " commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } " errorParsers = " org . eclipse . cdt . core . GCCErrorParser " id = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug . 405614352 " name = " GCC C + + Compiler " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug " > <nl> + < option id = " gnu . cpp . compiler . exe . debug . option . optimization . level . 248343481 " name = " Optimization Level " superClass = " gnu . cpp . compiler . exe . debug . option . optimization . level " value = " gnu . cpp . compiler . optimization . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . exe . debug . option . debugging . level . 634257735 " name = " Debug Level " superClass = " gnu . cpp . compiler . exe . debug . option . debugging . level " value = " gnu . cpp . compiler . debugging . level . max " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . option . include . paths . 1707443626 " name = " Include paths ( - I ) " superClass = " gnu . cpp . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . compiler . option . preprocessor . def . 331369055 " name = " Defined symbols ( - D ) " superClass = " gnu . cpp . compiler . option . preprocessor . def " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . compiler . input . 2029444877 " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . input " / > <nl> + < / tool > <nl> + < tool command = " gcc " commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } " errorParsers = " org . eclipse . cdt . core . GCCErrorParser " id = " cdt . managedbuild . tool . gnu . c . compiler . exe . debug . 2041247495 " name = " GCC C Compiler " superClass = " cdt . managedbuild . tool . gnu . c . compiler . exe . debug " > <nl> + < option defaultValue = " gnu . c . optimization . level . none " id = " gnu . c . compiler . exe . debug . option . optimization . level . 1013157776 " name = " Optimization Level " superClass = " gnu . c . compiler . exe . debug . option . optimization . level " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . exe . debug . option . debugging . level . 216261172 " name = " Debug Level " superClass = " gnu . c . compiler . exe . debug . option . debugging . level " value = " gnu . c . debugging . level . max " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . option . include . paths . 1705967553 " name = " Include paths ( - I ) " superClass = " gnu . c . compiler . option . include . paths " / > <nl> + < option id = " gnu . c . compiler . option . preprocessor . def . symbols . 305684306 " name = " Defined symbols ( - D ) " superClass = " gnu . c . compiler . option . preprocessor . def . symbols " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . c . compiler . input . 1712401455 " superClass = " cdt . managedbuild . tool . gnu . c . compiler . input " / > <nl> + < / tool > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / third_party / fmod / api / lib " id = " cdt . managedbuild . tool . gnu . c . linker . exe . debug . 1840922427 " name = " GCC C Linker " superClass = " cdt . managedbuild . tool . gnu . c . linker . exe . debug " / > <nl> + < tool command = " g + + " commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } bin / $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib - Wl , - rpath , . . / . . / . . / CocosDenshion / third_party / fmod / api / lib " errorParsers = " org . eclipse . cdt . core . GLDErrorParser " id = " cdt . managedbuild . tool . gnu . cpp . linker . exe . debug . 163089056 " name = " GCC C + + Linker " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . exe . debug " > <nl> + < option id = " gnu . cpp . link . option . libs . 1882458104 " name = " Libraries ( - l ) " superClass = " gnu . cpp . link . option . libs " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2d " / > <nl> + < listOptionValue builtIn = " false " value = " GLEW " / > <nl> + < listOptionValue builtIn = " false " value = " fmodex " / > <nl> + < listOptionValue builtIn = " false " value = " rt " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < listOptionValue builtIn = " false " value = " cocosdenshion " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . paths . 335055881 " name = " Library search path ( - L ) " superClass = " gnu . cpp . link . option . paths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / third_party / fmod / api / lib " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . userobjs . 1021852674 " name = " Other objects " superClass = " gnu . cpp . link . option . userobjs " valueType = " userObjs " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . linux / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . linux / $ { ConfigName } / libBox2D . a " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . linker . input . 280033790 " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . input " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool command = " as " commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } " errorParsers = " org . eclipse . cdt . core . GASErrorParser " id = " cdt . managedbuild . tool . gnu . assembler . exe . debug . 844668943 " name = " GCC Assembler " superClass = " cdt . managedbuild . tool . gnu . assembler . exe . debug " > <nl> + < option id = " gnu . both . asm . option . include . paths . 1555644609 " name = " Include paths ( - I ) " superClass = " gnu . both . asm . option . include . paths " / > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . assembler . input . 1269039546 " superClass = " cdt . managedbuild . tool . gnu . assembler . input " / > <nl> + < / tool > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry excluding = " extensions | Classes " flags = " VALUE_WORKSPACE_PATH | RESOLVED " kind = " sourcePath " name = " " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " extensions " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < storageModule moduleId = " org . eclipse . cdt . internal . ui . text . commentOwnerProjectMappings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " cdt . managedbuild . config . gnu . exe . release . 1345370861 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " cdt . managedbuild . config . gnu . exe . release . 1345370861 " moduleId = " org . eclipse . cdt . core . settings " name = " Release " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " org . eclipse . cdt . core . ELF " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GmakeErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . CWDLocator " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GASErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . release , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " cleanCommand = " rm - rf " description = " " errorParsers = " org . eclipse . cdt . core . GmakeErrorParser ; org . eclipse . cdt . core . CWDLocator ; org . eclipse . cdt . core . GCCErrorParser ; org . eclipse . cdt . core . GASErrorParser ; org . eclipse . cdt . core . GLDErrorParser " id = " cdt . managedbuild . config . gnu . exe . release . 1345370861 " name = " Release " parent = " cdt . managedbuild . config . gnu . exe . release " postannouncebuildStep = " " postbuildStep = " " preannouncebuildStep = " " prebuildStep = " mkdir - p bin " > <nl> + < folderInfo id = " cdt . managedbuild . config . gnu . exe . release . 1345370861 . " name = " / " resourcePath = " " > <nl> + < toolChain errorParsers = " " id = " cdt . managedbuild . toolchain . gnu . exe . release . 1781668977 " name = " Linux GCC " superClass = " cdt . managedbuild . toolchain . gnu . exe . release " > <nl> + < targetPlatform id = " cdt . managedbuild . target . gnu . platform . exe . release . 1261363662 " name = " Debug Platform " superClass = " cdt . managedbuild . target . gnu . platform . exe . release " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Release } " errorParsers = " org . eclipse . cdt . core . GmakeErrorParser ; org . eclipse . cdt . core . CWDLocator " id = " cdt . managedbuild . target . gnu . builder . exe . release . 1313719141 " keepEnvironmentInBuildfile = " false " managedBuildOn = " true " name = " Gnu Make Builder " superClass = " cdt . managedbuild . target . gnu . builder . exe . release " / > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / third_party / fmod / api / lib " id = " cdt . managedbuild . tool . gnu . archiver . base . 184236871 " name = " GCC Archiver " superClass = " cdt . managedbuild . tool . gnu . archiver . base " / > <nl> + < tool errorParsers = " org . eclipse . cdt . core . GCCErrorParser " id = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . release . 1754241599 " name = " GCC C + + Compiler " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . release " > <nl> + < option id = " gnu . cpp . compiler . exe . release . option . optimization . level . 2145723523 " name = " Optimization Level " superClass = " gnu . cpp . compiler . exe . release . option . optimization . level " value = " gnu . cpp . compiler . optimization . level . most " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . exe . release . option . debugging . level . 452676886 " name = " Debug Level " superClass = " gnu . cpp . compiler . exe . release . option . debugging . level " value = " gnu . cpp . compiler . debugging . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . option . include . paths . 219173285 " name = " Include paths ( - I ) " superClass = " gnu . cpp . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / include " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . compiler . option . preprocessor . def . 2022262883 " name = " Defined symbols ( - D ) " superClass = " gnu . cpp . compiler . option . preprocessor . def " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . compiler . input . 1960450905 " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . input " / > <nl> + < / tool > <nl> + < tool errorParsers = " org . eclipse . cdt . core . GCCErrorParser " id = " cdt . managedbuild . tool . gnu . c . compiler . exe . release . 1494845250 " name = " GCC C Compiler " superClass = " cdt . managedbuild . tool . gnu . c . compiler . exe . release " > <nl> + < option defaultValue = " gnu . c . optimization . level . most " id = " gnu . c . compiler . exe . release . option . optimization . level . 1213583313 " name = " Optimization Level " superClass = " gnu . c . compiler . exe . release . option . optimization . level " value = " gnu . c . optimization . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . exe . release . option . debugging . level . 222853384 " name = " Debug Level " superClass = " gnu . c . compiler . exe . release . option . debugging . level " value = " gnu . c . debugging . level . max " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . option . include . paths . 1626903439 " name = " Include paths ( - I ) " superClass = " gnu . c . compiler . option . include . paths " / > <nl> + < option id = " gnu . c . compiler . option . preprocessor . def . symbols . 794705780 " name = " Defined symbols ( - D ) " superClass = " gnu . c . compiler . option . preprocessor . def . symbols " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . c . compiler . input . 558791653 " superClass = " cdt . managedbuild . tool . gnu . c . compiler . input " / > <nl> + < / tool > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / third_party / fmod / api / lib " id = " cdt . managedbuild . tool . gnu . c . linker . exe . release . 1799998206 " name = " GCC C Linker " superClass = " cdt . managedbuild . tool . gnu . c . linker . exe . release " / > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } bin / $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib - Wl , - rpath , . . / . . / . . / CocosDenshion / third_party / fmod / api / lib " errorParsers = " org . eclipse . cdt . core . GLDErrorParser " id = " cdt . managedbuild . tool . gnu . cpp . linker . exe . release . 1783987767 " name = " GCC C + + Linker " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . exe . release " > <nl> + < option id = " gnu . cpp . link . option . libs . 1581059715 " name = " Libraries ( - l ) " superClass = " gnu . cpp . link . option . libs " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2d " / > <nl> + < listOptionValue builtIn = " false " value = " GLEW " / > <nl> + < listOptionValue builtIn = " false " value = " fmodex " / > <nl> + < listOptionValue builtIn = " false " value = " rt " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < listOptionValue builtIn = " false " value = " cocosdenshion " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . paths . 2032137429 " name = " Library search path ( - L ) " superClass = " gnu . cpp . link . option . paths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / third_party / fmod / api / lib " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . userobjs . 1558283777 " name = " Other objects " superClass = " gnu . cpp . link . option . userobjs " valueType = " userObjs " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . linux / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . linux / $ { ConfigName } / libBox2D . a " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . linker . input . 1573978538 " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . input " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool errorParsers = " org . eclipse . cdt . core . GASErrorParser " id = " cdt . managedbuild . tool . gnu . assembler . exe . release . 807780287 " name = " GCC Assembler " superClass = " cdt . managedbuild . tool . gnu . assembler . exe . release " > <nl> + < option id = " gnu . both . asm . option . include . paths . 1020319723 " name = " Include paths ( - I ) " superClass = " gnu . both . asm . option . include . paths " / > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . assembler . input . 92136121 " superClass = " cdt . managedbuild . tool . gnu . assembler . input " / > <nl> + < / tool > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH | RESOLVED " kind = " sourcePath " name = " " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < storageModule moduleId = " org . eclipse . cdt . internal . ui . text . commentOwnerProjectMappings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " cdt . managedbuild . config . gnu . exe . debug . 699705174 . 209325129 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " cdt . managedbuild . config . gnu . exe . debug . 699705174 . 209325129 " moduleId = " org . eclipse . cdt . core . settings " name = " Debug64 " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " org . eclipse . cdt . core . ELF " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GmakeErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . CWDLocator " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GASErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . debug , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " cleanCommand = " rm - rf " description = " " errorParsers = " org . eclipse . cdt . core . GmakeErrorParser ; org . eclipse . cdt . core . CWDLocator ; org . eclipse . cdt . core . GCCErrorParser ; org . eclipse . cdt . core . GASErrorParser ; org . eclipse . cdt . core . GLDErrorParser " id = " cdt . managedbuild . config . gnu . exe . debug . 699705174 . 209325129 " name = " Debug64 " parent = " cdt . managedbuild . config . gnu . exe . debug " postannouncebuildStep = " " postbuildStep = " " preannouncebuildStep = " " prebuildStep = " mkdir - p bin " > <nl> + < folderInfo id = " cdt . managedbuild . config . gnu . exe . debug . 699705174 . 209325129 . " name = " / " resourcePath = " " > <nl> + < toolChain errorParsers = " " id = " cdt . managedbuild . toolchain . gnu . exe . debug . 487201197 " name = " Linux GCC " superClass = " cdt . managedbuild . toolchain . gnu . exe . debug " > <nl> + < targetPlatform binaryParser = " org . eclipse . cdt . core . ELF " id = " cdt . managedbuild . target . gnu . platform . exe . debug . 844135706 " name = " Debug Platform " superClass = " cdt . managedbuild . target . gnu . platform . exe . debug " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Debug } " errorParsers = " org . eclipse . cdt . core . GmakeErrorParser ; org . eclipse . cdt . core . CWDLocator " id = " cdt . managedbuild . target . gnu . builder . exe . debug . 485437818 " keepEnvironmentInBuildfile = " false " managedBuildOn = " true " name = " Gnu Make Builder " superClass = " cdt . managedbuild . target . gnu . builder . exe . debug " > <nl> + < outputEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH | RESOLVED " kind = " outputPath " name = " Debug " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH | RESOLVED " kind = " outputPath " name = " Release " / > <nl> + < / outputEntries > <nl> + < / builder > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / third_party / fmod / api / lib " id = " cdt . managedbuild . tool . gnu . archiver . base . 144612393 " name = " GCC Archiver " superClass = " cdt . managedbuild . tool . gnu . archiver . base " / > <nl> + < tool command = " g + + " commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } " errorParsers = " org . eclipse . cdt . core . GCCErrorParser " id = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug . 1785395288 " name = " GCC C + + Compiler " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug " > <nl> + < option id = " gnu . cpp . compiler . exe . debug . option . optimization . level . 1866381090 " name = " Optimization Level " superClass = " gnu . cpp . compiler . exe . debug . option . optimization . level " value = " gnu . cpp . compiler . optimization . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . exe . debug . option . debugging . level . 185497944 " name = " Debug Level " superClass = " gnu . cpp . compiler . exe . debug . option . debugging . level " value = " gnu . cpp . compiler . debugging . level . max " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . option . include . paths . 1407722055 " name = " Include paths ( - I ) " superClass = " gnu . cpp . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / linux / include64 " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . compiler . option . preprocessor . def . 1397402419 " name = " Defined symbols ( - D ) " superClass = " gnu . cpp . compiler . option . preprocessor . def " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . compiler . input . 1880061794 " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . input " / > <nl> + < / tool > <nl> + < tool command = " gcc " commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } " errorParsers = " org . eclipse . cdt . core . GCCErrorParser " id = " cdt . managedbuild . tool . gnu . c . compiler . exe . debug . 219380601 " name = " GCC C Compiler " superClass = " cdt . managedbuild . tool . gnu . c . compiler . exe . debug " > <nl> + < option defaultValue = " gnu . c . optimization . level . none " id = " gnu . c . compiler . exe . debug . option . optimization . level . 493787467 " name = " Optimization Level " superClass = " gnu . c . compiler . exe . debug . option . optimization . level " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . exe . debug . option . debugging . level . 1055645821 " name = " Debug Level " superClass = " gnu . c . compiler . exe . debug . option . debugging . level " value = " gnu . c . debugging . level . max " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . option . include . paths . 389614171 " name = " Include paths ( - I ) " superClass = " gnu . c . compiler . option . include . paths " / > <nl> + < option id = " gnu . c . compiler . option . preprocessor . def . symbols . 985816570 " name = " Defined symbols ( - D ) " superClass = " gnu . c . compiler . option . preprocessor . def . symbols " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . c . compiler . input . 806213730 " superClass = " cdt . managedbuild . tool . gnu . c . compiler . input " / > <nl> + < / tool > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / third_party / fmod / api / lib " id = " cdt . managedbuild . tool . gnu . c . linker . exe . debug . 1349694383 " name = " GCC C Linker " superClass = " cdt . managedbuild . tool . gnu . c . linker . exe . debug " / > <nl> + < tool command = " g + + " commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } bin / $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib - Wl , - rpath , . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib " errorParsers = " org . eclipse . cdt . core . GLDErrorParser " id = " cdt . managedbuild . tool . gnu . cpp . linker . exe . debug . 940220230 " name = " GCC C + + Linker " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . exe . debug " > <nl> + < option id = " gnu . cpp . link . option . libs . 1907501762 " name = " Libraries ( - l ) " superClass = " gnu . cpp . link . option . libs " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2d " / > <nl> + < listOptionValue builtIn = " false " value = " GLEW " / > <nl> + < listOptionValue builtIn = " false " value = " fmodex64 " / > <nl> + < listOptionValue builtIn = " false " value = " rt " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < listOptionValue builtIn = " false " value = " cocosdenshion " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . paths . 150149413 " name = " Library search path ( - L ) " superClass = " gnu . cpp . link . option . paths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . userobjs . 300798233 " name = " Other objects " superClass = " gnu . cpp . link . option . userobjs " valueType = " userObjs " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . linux / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . linux / $ { ConfigName } / libBox2D . a " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . linker . input . 2085515512 " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . input " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool command = " as " commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } " errorParsers = " org . eclipse . cdt . core . GASErrorParser " id = " cdt . managedbuild . tool . gnu . assembler . exe . debug . 897361146 " name = " GCC Assembler " superClass = " cdt . managedbuild . tool . gnu . assembler . exe . debug " > <nl> + < option id = " gnu . both . asm . option . include . paths . 1835372864 " name = " Include paths ( - I ) " superClass = " gnu . both . asm . option . include . paths " / > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . assembler . input . 575940461 " superClass = " cdt . managedbuild . tool . gnu . assembler . input " / > <nl> + < / tool > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry excluding = " extensions | Classes " flags = " VALUE_WORKSPACE_PATH | RESOLVED " kind = " sourcePath " name = " " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " extensions " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < storageModule moduleId = " org . eclipse . cdt . internal . ui . text . commentOwnerProjectMappings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " cdt . managedbuild . config . gnu . exe . release . 1345370861 . 1992170578 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " cdt . managedbuild . config . gnu . exe . release . 1345370861 . 1992170578 " moduleId = " org . eclipse . cdt . core . settings " name = " Release64 " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " org . eclipse . cdt . core . ELF " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GmakeErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . CWDLocator " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GASErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . release , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " cleanCommand = " rm - rf " description = " " errorParsers = " org . eclipse . cdt . core . GmakeErrorParser ; org . eclipse . cdt . core . CWDLocator ; org . eclipse . cdt . core . GCCErrorParser ; org . eclipse . cdt . core . GASErrorParser ; org . eclipse . cdt . core . GLDErrorParser " id = " cdt . managedbuild . config . gnu . exe . release . 1345370861 . 1992170578 " name = " Release64 " parent = " cdt . managedbuild . config . gnu . exe . release " postannouncebuildStep = " " postbuildStep = " " preannouncebuildStep = " " prebuildStep = " mkdir - p bin " > <nl> + < folderInfo id = " cdt . managedbuild . config . gnu . exe . release . 1345370861 . 1992170578 . " name = " / " resourcePath = " " > <nl> + < toolChain errorParsers = " " id = " cdt . managedbuild . toolchain . gnu . exe . release . 577709172 " name = " Linux GCC " superClass = " cdt . managedbuild . toolchain . gnu . exe . release " > <nl> + < targetPlatform id = " cdt . managedbuild . target . gnu . platform . exe . release . 125385625 " name = " Debug Platform " superClass = " cdt . managedbuild . target . gnu . platform . exe . release " / > <nl> + < builder buildPath = " $ { workspace_loc : / HelloCpp / Release } " errorParsers = " org . eclipse . cdt . core . GmakeErrorParser ; org . eclipse . cdt . core . CWDLocator " id = " cdt . managedbuild . target . gnu . builder . exe . release . 621332234 " keepEnvironmentInBuildfile = " false " managedBuildOn = " true " name = " Gnu Make Builder " superClass = " cdt . managedbuild . target . gnu . builder . exe . release " / > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / third_party / fmod / api / lib " id = " cdt . managedbuild . tool . gnu . archiver . base . 874569349 " name = " GCC Archiver " superClass = " cdt . managedbuild . tool . gnu . archiver . base " / > <nl> + < tool errorParsers = " org . eclipse . cdt . core . GCCErrorParser " id = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . release . 1302416020 " name = " GCC C + + Compiler " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . release " > <nl> + < option id = " gnu . cpp . compiler . exe . release . option . optimization . level . 1818703376 " name = " Optimization Level " superClass = " gnu . cpp . compiler . exe . release . option . optimization . level " value = " gnu . cpp . compiler . optimization . level . most " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . exe . release . option . debugging . level . 337012577 " name = " Debug Level " superClass = " gnu . cpp . compiler . exe . release . option . debugging . level " value = " gnu . cpp . compiler . debugging . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . option . include . paths . 1687973966 " name = " Include paths ( - I ) " superClass = " gnu . cpp . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / extensions " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / platform / third_party / linux / include64 " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / include / chipmunk " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . compiler . option . preprocessor . def . 2031321093 " name = " Defined symbols ( - D ) " superClass = " gnu . cpp . compiler . option . preprocessor . def " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < listOptionValue builtIn = " false " value = " CC_ENABLE_CHIPMUNK_INTEGRATION = 1 " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . compiler . input . 716751530 " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . input " / > <nl> + < / tool > <nl> + < tool errorParsers = " org . eclipse . cdt . core . GCCErrorParser " id = " cdt . managedbuild . tool . gnu . c . compiler . exe . release . 1869052171 " name = " GCC C Compiler " superClass = " cdt . managedbuild . tool . gnu . c . compiler . exe . release " > <nl> + < option defaultValue = " gnu . c . optimization . level . most " id = " gnu . c . compiler . exe . release . option . optimization . level . 510069750 " name = " Optimization Level " superClass = " gnu . c . compiler . exe . release . option . optimization . level " value = " gnu . c . optimization . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . exe . release . option . debugging . level . 334858869 " name = " Debug Level " superClass = " gnu . c . compiler . exe . release . option . debugging . level " value = " gnu . c . debugging . level . max " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . option . include . paths . 2144275928 " name = " Include paths ( - I ) " superClass = " gnu . c . compiler . option . include . paths " / > <nl> + < option id = " gnu . c . compiler . option . preprocessor . def . symbols . 103771537 " name = " Defined symbols ( - D ) " superClass = " gnu . c . compiler . option . preprocessor . def . symbols " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . c . compiler . input . 1196514567 " superClass = " cdt . managedbuild . tool . gnu . c . compiler . input " / > <nl> + < / tool > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / CocosDenshion / third_party / fmod / api / lib " id = " cdt . managedbuild . tool . gnu . c . linker . exe . release . 1613941884 " name = " GCC C Linker " superClass = " cdt . managedbuild . tool . gnu . c . linker . exe . release " / > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } bin / $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib - Wl , - rpath , . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib " errorParsers = " org . eclipse . cdt . core . GLDErrorParser " id = " cdt . managedbuild . tool . gnu . cpp . linker . exe . release . 174804381 " name = " GCC C + + Linker " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . exe . release " > <nl> + < option id = " gnu . cpp . link . option . libs . 1843271674 " name = " Libraries ( - l ) " superClass = " gnu . cpp . link . option . libs " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2d " / > <nl> + < listOptionValue builtIn = " false " value = " GLEW " / > <nl> + < listOptionValue builtIn = " false " value = " fmodex64 " / > <nl> + < listOptionValue builtIn = " false " value = " rt " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < listOptionValue builtIn = " false " value = " cocosdenshion " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . paths . 565843462 " name = " Library search path ( - L ) " superClass = " gnu . cpp . link . option . paths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . userobjs . 521099390 " name = " Other objects " superClass = " gnu . cpp . link . option . userobjs " valueType = " userObjs " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / chipmunk / proj . linux / $ { ConfigName } / libchipmunk . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / external / Box2D / proj . linux / $ { ConfigName } / libBox2D . a " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . linker . input . 1681032616 " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . input " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool errorParsers = " org . eclipse . cdt . core . GASErrorParser " id = " cdt . managedbuild . tool . gnu . assembler . exe . release . 1421749480 " name = " GCC Assembler " superClass = " cdt . managedbuild . tool . gnu . assembler . exe . release " > <nl> + < option id = " gnu . both . asm . option . include . paths . 1984781069 " name = " Include paths ( - I ) " superClass = " gnu . both . asm . option . include . paths " / > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . assembler . input . 605094815 " superClass = " cdt . managedbuild . tool . gnu . assembler . input " / > <nl> + < / tool > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH | RESOLVED " kind = " sourcePath " name = " " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < storageModule moduleId = " org . eclipse . cdt . internal . ui . text . commentOwnerProjectMappings " / > <nl> + < / cconfiguration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < project id = " HelloCpp . cdt . managedbuild . target . gnu . exe . 944553697 " name = " Executable " projectType = " cdt . managedbuild . target . gnu . exe " / > <nl> + < / storageModule > <nl> + < storageModule moduleId = " refreshScope " versionNumber = " 2 " > <nl> + < configuration configurationName = " Release " > <nl> + < resource resourceType = " PROJECT " workspacePath = " / HelloCpp " / > <nl> + < / configuration > <nl> + < configuration configurationName = " Debug64 " > <nl> + < resource resourceType = " PROJECT " workspacePath = " / HelloCpp " / > <nl> + < / configuration > <nl> + < configuration configurationName = " Release64 " / > <nl> + < configuration configurationName = " Debug " > <nl> + < resource resourceType = " PROJECT " workspacePath = " / HelloCpp " / > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . internal . ui . text . commentOwnerProjectMappings " / > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . LanguageSettingsProviders " / > <nl> + < storageModule moduleId = " scannerConfiguration " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " " / > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . release . 1345370861 . 1992170578 ; cdt . managedbuild . config . gnu . exe . release . 1345370861 . 1992170578 . ; cdt . managedbuild . tool . gnu . cpp . compiler . exe . release . 1302416020 ; cdt . managedbuild . tool . gnu . cpp . compiler . input . 716751530 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " org . eclipse . cdt . managedbuilder . core . GCCManagedMakePerProjectProfileCPP " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . release . 1345370861 ; cdt . managedbuild . config . gnu . exe . release . 1345370861 . ; cdt . managedbuild . tool . gnu . c . compiler . exe . release . 1494845250 ; cdt . managedbuild . tool . gnu . c . compiler . input . 558791653 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " org . eclipse . cdt . managedbuilder . core . GCCManagedMakePerProjectProfileC " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . debug . 699705174 ; cdt . managedbuild . config . gnu . exe . debug . 699705174 . ; cdt . managedbuild . tool . gnu . c . compiler . exe . debug . 2041247495 ; cdt . managedbuild . tool . gnu . c . compiler . input . 1712401455 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " org . eclipse . cdt . managedbuilder . core . GCCManagedMakePerProjectProfileC " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . release . 1345370861 . 1992170578 ; cdt . managedbuild . config . gnu . exe . release . 1345370861 . 1992170578 . ; cdt . managedbuild . tool . gnu . c . compiler . exe . release . 1869052171 ; cdt . managedbuild . tool . gnu . c . compiler . input . 1196514567 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " org . eclipse . cdt . managedbuilder . core . GCCManagedMakePerProjectProfileC " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . debug . 699705174 ; cdt . managedbuild . config . gnu . exe . debug . 699705174 . ; cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug . 405614352 ; cdt . managedbuild . tool . gnu . cpp . compiler . input . 2029444877 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " org . eclipse . cdt . managedbuilder . core . GCCManagedMakePerProjectProfileCPP " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . debug . 699705174 . 209325129 ; cdt . managedbuild . config . gnu . exe . debug . 699705174 . 209325129 . ; cdt . managedbuild . tool . gnu . c . compiler . exe . debug . 219380601 ; cdt . managedbuild . tool . gnu . c . compiler . input . 806213730 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " org . eclipse . cdt . managedbuilder . core . GCCManagedMakePerProjectProfileC " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . release . 1345370861 ; cdt . managedbuild . config . gnu . exe . release . 1345370861 . ; cdt . managedbuild . tool . gnu . cpp . compiler . exe . release . 1754241599 ; cdt . managedbuild . tool . gnu . cpp . compiler . input . 1960450905 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " org . eclipse . cdt . managedbuilder . core . GCCManagedMakePerProjectProfileCPP " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . debug . 699705174 . 209325129 ; cdt . managedbuild . config . gnu . exe . debug . 699705174 . 209325129 . ; cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug . 1785395288 ; cdt . managedbuild . tool . gnu . cpp . compiler . input . 1880061794 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " org . eclipse . cdt . managedbuilder . core . GCCManagedMakePerProjectProfileCPP " / > <nl> + < / scannerConfigBuildInfo > <nl> + < / storageModule > <nl> + < / cproject > <nl> new file mode 100644 <nl> index 000000000000 . . e71b46c0e1e5 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . linux / . project <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < projectDescription > <nl> + < name > HelloCpp < / name > <nl> + < comment > < / comment > <nl> + < projects > <nl> + < project > libcocos2d < / project > <nl> + < project > libCocosDenshion < / project > <nl> + < project > libBox2D < / project > <nl> + < project > libChipmunk < / project > <nl> + < / projects > <nl> + < buildSpec > <nl> + < buildCommand > <nl> + < name > org . eclipse . cdt . managedbuilder . core . genmakebuilder < / name > <nl> + < triggers > clean , full , incremental , < / triggers > <nl> + < arguments > <nl> + < dictionary > <nl> + < key > ? children ? < / key > <nl> + < value > ? name ? = outputEntries \ | ? children ? = ? name ? = entry \ \ \ \ \ \ \ | \ \ \ | ? name ? = entry \ \ \ \ \ \ \ | \ \ \ | \ | | < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > ? name ? < / key > <nl> + < value > < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . append_environment < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . autoBuildTarget < / key > <nl> + < value > all < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . buildArguments < / key > <nl> + < value > < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . buildCommand < / key > <nl> + < value > make < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . buildLocation < / key > <nl> + < value > $ { workspace_loc : / HelloCpp / Debug } < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . cleanBuildTarget < / key > <nl> + < value > clean < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . contents < / key > <nl> + < value > org . eclipse . cdt . make . core . activeConfigSettings < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . enableAutoBuild < / key > <nl> + < value > false < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . enableCleanBuild < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . enableFullBuild < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . fullBuildTarget < / key > <nl> + < value > all < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . stopOnError < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . useDefaultBuildCmd < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > org . eclipse . cdt . managedbuilder . core . ScannerConfigBuilder < / name > <nl> + < triggers > full , incremental , < / triggers > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < / buildSpec > <nl> + < natures > <nl> + < nature > org . eclipse . cdt . core . cnature < / nature > <nl> + < nature > org . eclipse . cdt . core . ccnature < / nature > <nl> + < nature > org . eclipse . cdt . managedbuilder . core . managedBuildNature < / nature > <nl> + < nature > org . eclipse . cdt . managedbuilder . core . ScannerConfigNature < / nature > <nl> + < / natures > <nl> + < linkedResources > <nl> + < link > <nl> + < name > Classes < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 1 - PROJECT_LOC / Classes < / locationURI > <nl> + < / link > <nl> + < link > <nl> + < name > extensions < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 4 - PROJECT_LOC / extensions < / locationURI > <nl> + < / link > <nl> + < / linkedResources > <nl> + < filteredResources > <nl> + < filter > <nl> + < id > 1345105423456 < / id > <nl> + < name > extensions < / name > <nl> + < type > 10 < / type > <nl> + < matcher > <nl> + < id > org . eclipse . ui . ide . multiFilter < / id > <nl> + < arguments > 1 . 0 - name - matches - true - false - proj . win32 < / arguments > <nl> + < / matcher > <nl> + < / filter > <nl> + < filter > <nl> + < id > 1345106176896 < / id > <nl> + < name > Classes / ExtensionsTest < / name > <nl> + < type > 10 < / type > <nl> + < matcher > <nl> + < id > org . eclipse . ui . ide . multiFilter < / id > <nl> + < arguments > 1 . 0 - name - matches - true - false - EditBoxTest < / arguments > <nl> + < / matcher > <nl> + < / filter > <nl> + < filter > <nl> + < id > 1345105383081 < / id > <nl> + < name > extensions / GUI < / name > <nl> + < type > 10 < / type > <nl> + < matcher > <nl> + < id > org . eclipse . ui . ide . multiFilter < / id > <nl> + < arguments > 1 . 0 - name - matches - true - false - CCEditBox < / arguments > <nl> + < / matcher > <nl> + < / filter > <nl> + < / filteredResources > <nl> + < / projectDescription > <nl> new file mode 100644 <nl> index 000000000000 . . 3603da7c84f0 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . linux / Makefile <nl> <nl> + CC = gcc <nl> + CXX = g + + <nl> + TARGET = HelloCpp <nl> + CCFLAGS = - Wall <nl> + CXXFLAGS = - Wall <nl> + VISIBILITY = <nl> + LIBS = <nl> + <nl> + COCOS2DX_PATH = . . / . . / . . / cocos2dx <nl> + INCLUDES = - I . . / \ <nl> + - I . . / . . / \ <nl> + - I . . / Classes \ <nl> + - I $ ( COCOS2DX_PATH ) \ <nl> + - I $ ( COCOS2DX_PATH ) / platform / third_party / linux / libfreetype2 \ <nl> + - I $ ( COCOS2DX_PATH ) / cocoa \ <nl> + - I $ ( COCOS2DX_PATH ) / include \ <nl> + - I $ ( COCOS2DX_PATH ) / kazmath / include \ <nl> + - I $ ( COCOS2DX_PATH ) / platform \ <nl> + - I $ ( COCOS2DX_PATH ) / platform / linux \ <nl> + - I $ ( COCOS2DX_PATH ) / platform / third_party / linux / libxml2 \ <nl> + - I $ ( COCOS2DX_PATH ) / platform / third_party / linux / libjpeg \ <nl> + - I . . / . . / . . / CocosDenshion / include \ <nl> + - I . . / . . / . . / extensions / \ <nl> + - I . . / . . / . . / external / \ <nl> + - I . . / . . / . . / external / chipmunk / include / chipmunk \ <nl> + <nl> + <nl> + LBITS : = $ ( shell getconf LONG_BIT ) <nl> + ifeq ( $ ( LBITS ) , 64 ) <nl> + INCLUDES + = - I $ ( COCOS2DX_PATH ) / platform / third_party / linux / include64 <nl> + else <nl> + INCLUDES + = - I $ ( COCOS2DX_PATH ) / platform / third_party / linux <nl> + endif <nl> + <nl> + <nl> + # CCFLAGS + = - fno - tree - scev - cprop <nl> + # CXXFLAGS = - fno - tree - scev - cprop <nl> + <nl> + DEFINES = - DLINUX <nl> + # DEFINES + = - D__LP64__ <nl> + <nl> + OBJECTS = . . / Classes / AccelerometerTest / AccelerometerTest . o \ <nl> + . . / Classes / ActionManagerTest / ActionManagerTest . o \ <nl> + . . / Classes / ActionsEaseTest / ActionsEaseTest . o \ <nl> + . . / Classes / ActionsProgressTest / ActionsProgressTest . o \ <nl> + . . / Classes / ActionsTest / ActionsTest . o \ <nl> + . . / Classes / Box2DTest / Box2dTest . o \ <nl> + . . / Classes / Box2DTestBed / Box2dView . o \ <nl> + . . / Classes / Box2DTestBed / GLES - Render . o \ <nl> + . . / Classes / Box2DTestBed / Test . o \ <nl> + . . / Classes / Box2DTestBed / TestEntries . o \ <nl> + . . / Classes / BugsTest / Bug - 1159 . o \ <nl> + . . / Classes / BugsTest / Bug - 1174 . o \ <nl> + . . / Classes / BugsTest / Bug - 350 . o \ <nl> + . . / Classes / BugsTest / Bug - 422 . o \ <nl> + . . / Classes / BugsTest / Bug - 458 / Bug - 458 . o \ <nl> + . . / Classes / BugsTest / Bug - 458 / QuestionContainerSprite . o \ <nl> + . . / Classes / BugsTest / Bug - 624 . o \ <nl> + . . / Classes / BugsTest / Bug - 886 . o \ <nl> + . . / Classes / BugsTest / Bug - 899 . o \ <nl> + . . / Classes / BugsTest / Bug - 914 . o \ <nl> + . . / Classes / BugsTest / BugsTest . o \ <nl> + . . / Classes / ChipmunkTest / ChipmunkTest . o \ <nl> + . . / Classes / ClickAndMoveTest / ClickAndMoveTest . o \ <nl> + . . / Classes / ClippingNodeTest / ClippingNodeTest . o \ <nl> + . . / Classes / CocosDenshionTest / CocosDenshionTest . o \ <nl> + . . / Classes / CurlTest / CurlTest . o \ <nl> + . . / Classes / CurrentLanguageTest / CurrentLanguageTest . o \ <nl> + . . / Classes / DrawPrimitivesTest / DrawPrimitivesTest . o \ <nl> + . . / Classes / EffectsAdvancedTest / EffectsAdvancedTest . o \ <nl> + . . / Classes / EffectsTest / EffectsTest . o \ <nl> + . . / Classes / ExtensionsTest / CocosBuilderTest / ButtonTest / ButtonTestLayer . o \ <nl> + . . / Classes / ExtensionsTest / CocosBuilderTest / CocosBuilderTest . o \ <nl> + . . / Classes / ExtensionsTest / CocosBuilderTest / HelloCocosBuilder / HelloCocosBuilderLayer . o \ <nl> + . . / Classes / ExtensionsTest / CocosBuilderTest / AnimationsTest / AnimationsTestLayer . o \ <nl> + . . / Classes / ExtensionsTest / CocosBuilderTest / MenuTest / MenuTestLayer . o \ <nl> + . . / Classes / ExtensionsTest / CocosBuilderTest / TestHeader / TestHeaderLayer . o \ <nl> + . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlButtonTest / CCControlButtonTest . o \ <nl> + . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlColourPicker / CCControlColourPickerTest . o \ <nl> + . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlScene . o \ <nl> + . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlSceneManager . o \ <nl> + . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlSliderTest / CCControlSliderTest . o \ <nl> + . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlSwitchTest / CCControlSwitchTest . o \ <nl> + . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlPotentiometerTest / CCControlPotentiometerTest . o \ <nl> + . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlStepperTest / CCControlStepperTest . o \ <nl> + . . / Classes / ExtensionsTest / TableViewTest / TableViewTestScene . o \ <nl> + . . / Classes / ExtensionsTest / TableViewTest / CustomTableViewCell . o \ <nl> + . . / Classes / ExtensionsTest / ExtensionsTest . o \ <nl> + . . / Classes / ExtensionsTest / NotificationCenterTest / NotificationCenterTest . o \ <nl> + . . / Classes / ExtensionsTest / NetworkTest / HttpClientTest . o \ <nl> + . . / Classes / FontTest / FontTest . o \ <nl> + . . / Classes / IntervalTest / IntervalTest . o \ <nl> + . . / Classes / KeypadTest / KeypadTest . o \ <nl> + . . / Classes / LabelTest / LabelTest . o \ <nl> + . . / Classes / LayerTest / LayerTest . o \ <nl> + . . / Classes / MenuTest / MenuTest . o \ <nl> + . . / Classes / MotionStreakTest / MotionStreakTest . o \ <nl> + . . / Classes / MutiTouchTest / MutiTouchTest . o \ <nl> + . . / Classes / NodeTest / NodeTest . o \ <nl> + . . / Classes / ParallaxTest / ParallaxTest . o \ <nl> + . . / Classes / ParticleTest / ParticleTest . o \ <nl> + . . / Classes / PerformanceTest / PerformanceNodeChildrenTest . o \ <nl> + . . / Classes / PerformanceTest / PerformanceParticleTest . o \ <nl> + . . / Classes / PerformanceTest / PerformanceSpriteTest . o \ <nl> + . . / Classes / PerformanceTest / PerformanceTest . o \ <nl> + . . / Classes / PerformanceTest / PerformanceTextureTest . o \ <nl> + . . / Classes / PerformanceTest / PerformanceTouchesTest . o \ <nl> + . . / Classes / RenderTextureTest / RenderTextureTest . o \ <nl> + . . / Classes / RotateWorldTest / RotateWorldTest . o \ <nl> + . . / Classes / SceneTest / SceneTest . o \ <nl> + . . / Classes / SchedulerTest / SchedulerTest . o \ <nl> + . . / Classes / ShaderTest / ShaderTest . o \ <nl> + . . / Classes / SpriteTest / SpriteTest . o \ <nl> + . . / Classes / TextInputTest / TextInputTest . o \ <nl> + . . / Classes / Texture2dTest / Texture2dTest . o \ <nl> + . . / Classes / TextureCacheTest / TextureCacheTest . o \ <nl> + . . / Classes / TileMapTest / TileMapTest . o \ <nl> + . . / Classes / TouchesTest / Ball . o \ <nl> + . . / Classes / TouchesTest / Paddle . o \ <nl> + . . / Classes / TouchesTest / TouchesTest . o \ <nl> + . . / Classes / TransitionsTest / TransitionsTest . o \ <nl> + . . / Classes / UserDefaultTest / UserDefaultTest . o \ <nl> + . . / Classes / ZwoptexTest / ZwoptexTest . o \ <nl> + . . / Classes / FileUtilsTest / FileUtilsTest . o \ <nl> + . . / Classes / controller . o \ <nl> + . . / Classes / testBasic . o \ <nl> + . . / Classes / AppDelegate . o \ <nl> + . . / Classes / VisibleRect . o \ <nl> + . / main . o <nl> + <nl> + include $ ( COCOS2DX_PATH ) / . . / extensions / proj . linux / Makefile <nl> + OBJECTS + = $ ( addprefix . . / . . / . . / extensions / proj . linux / , $ ( EXTENSIONS_OBJECTS ) ) <nl> + <nl> + ifeq ( $ ( LBITS ) , 64 ) <nl> + STATICLIBS_DIR = . . / . . / . . / cocos2dx / platform / third_party / linux / libraries / lib64 <nl> + else <nl> + STATICLIBS_DIR = . . / . . / . . / cocos2dx / platform / third_party / linux / libraries <nl> + endif <nl> + STATICLIBS = <nl> + STATICLIBS = $ ( STATICLIBS_DIR ) / libfreetype . a \ <nl> + $ ( STATICLIBS_DIR ) / libcurl . a \ <nl> + $ ( STATICLIBS_DIR ) / libxml2 . a \ <nl> + $ ( STATICLIBS_DIR ) / libpng . a \ <nl> + $ ( STATICLIBS_DIR ) / libjpeg . a \ <nl> + $ ( STATICLIBS_DIR ) / libtiff . a \ <nl> + . . / . . / . . / lib / linux / Debug / libbox2d . a \ <nl> + . . / . . / . . / lib / linux / Debug / libchipmunk . a \ <nl> + <nl> + SHAREDLIBS = <nl> + ifeq ( $ ( LBITS ) , 64 ) <nl> + SHAREDLIBS_DIR = . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib <nl> + SHAREDLIBS = - L $ ( SHAREDLIBS_DIR ) - lfmodex64 <nl> + else <nl> + SHAREDLIBS_DIR = . . / . . / . . / CocosDenshion / third_party / fmod / api / lib <nl> + SHAREDLIBS = - L $ ( SHAREDLIBS_DIR ) - lfmodex <nl> + endif <nl> + <nl> + SHAREDLIBS + = - lglfw <nl> + # SHAREDLIBS + = - L . . / . . / . . / lib / linux / Debug - lcocos2d - lrt - lz - lcocosdenshion - Wl , - rpath , . . / . . / . . / . . / lib / linux / Debug / <nl> + SHAREDLIBS + = - Wl , - rpath , . . / . . / $ ( SHAREDLIBS_DIR ) <nl> + # SHAREDLIBS + = - Wl , - rpath , . . / . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib <nl> + SHAREDLIBS + = - L . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib - lGLEW <nl> + SHAREDLIBS + = - Wl , - rpath , . . / . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib <nl> + <nl> + <nl> + SHAREDLIBS + = - Wl , - rpath , . . / $ ( STATICLIBS_DIR ) <nl> + SHAREDLIBS + = - lcurl <nl> + <nl> + BIN_DIR_ROOT = bin <nl> + BIN_DIR = BIN_DIR_ROOT <nl> + <nl> + debug : SHAREDLIBS + = - L . . / . . / . . / lib / linux / Debug - lcocos2d - lrt - lz - lcocosdenshion - Wl , - rpath , . . / . . / . . / . . / lib / linux / Debug <nl> + debug : CCFLAGS + = - g3 - O0 <nl> + debug : CXXFLAGS + = - g3 - O0 <nl> + debug : DEFINES + = - DDEBUG - DCC_ENABLE_CHIPMUNK_INTEGRATION - DCOCOS2D_DEBUG = 1 <nl> + debug : BIN_DIR = $ ( BIN_DIR_ROOT ) / debug <nl> + debug : $ ( TARGET ) <nl> + <nl> + release : SHAREDLIBS + = - L . . / . . / . . / lib / linux / Release - lcocos2d - lrt - lz - lcocosdenshion - Wl , - rpath , . . / . . / . . / . . / lib / linux / Release <nl> + release : CCFLAGS + = - O3 <nl> + release : CXXFLAGS + = - O3 <nl> + release : DEFINES + = - DNDEBUG - DCC_ENABLE_CHIPMUNK_INTEGRATION <nl> + release : BIN_DIR = $ ( BIN_DIR_ROOT ) / release <nl> + release : $ ( TARGET ) <nl> + <nl> + # # # # # # # Build rules <nl> + $ ( TARGET ) : $ ( OBJECTS ) <nl> + mkdir - p $ ( BIN_DIR ) <nl> + $ ( CXX ) $ ( CXXFLAGS ) $ ( INCLUDES ) $ ( DEFINES ) $ ( OBJECTS ) - o $ ( BIN_DIR ) / $ ( TARGET ) $ ( SHAREDLIBS ) $ ( STATICLIBS ) $ ( LIBS ) <nl> + <nl> + <nl> + # # # # # # # Compile <nl> + % . o : % . cpp <nl> + $ ( CXX ) $ ( CXXFLAGS ) $ ( INCLUDES ) $ ( DEFINES ) $ ( VISIBILITY ) - c $ < - o $ @ <nl> + <nl> + % . o : % . c <nl> + $ ( CC ) $ ( CCFLAGS ) $ ( INCLUDES ) $ ( DEFINES ) $ ( VISIBILITY ) - c $ < - o $ @ <nl> + <nl> + <nl> + clean : <nl> + rm - f $ ( OBJECTS ) $ ( TARGET ) core <nl> new file mode 100644 <nl> index 000000000000 . . 21e3fc5d5c1b <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . linux / main . cpp <nl> <nl> + # include " main . h " <nl> + <nl> + # include " . . / Classes / AppDelegate . h " <nl> + # include " cocos2d . h " <nl> + # include " CCEGLView . h " <nl> + <nl> + # include < stdlib . h > <nl> + # include < stdio . h > <nl> + # include < unistd . h > <nl> + # include < string > <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + int main ( int argc , char * * argv ) <nl> + { <nl> + / / create the application instance <nl> + AppDelegate app ; <nl> + CCEGLView * eglView = CCEGLView : : sharedOpenGLView ( ) ; <nl> + eglView - > setFrameSize ( 800 , 480 ) ; <nl> + return CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . 86022e430a67 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . linux / main . h <nl> <nl> + # ifndef __MAIN_H__ <nl> + # define __MAIN_H__ <nl> + <nl> + # define WIN32_LEAN_AND_MEAN / / Exclude rarely - used stuff from Windows headers <nl> + <nl> + / / Windows Header Files : <nl> + / / # include < windows . h > <nl> + / / # include < tchar . h > <nl> + <nl> + / / C RunTime Header Files <nl> + # include " CCStdC . h " <nl> + <nl> + # endif / / __MAIN_H__ <nl> new file mode 100644 <nl> index 000000000000 . . d671ffdc238d <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . mac / AppController . h <nl> <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + Copyright ( c ) 2010 cocos2d - x . org <nl> + <nl> + http : / / www . cocos2d - x . org <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + <nl> + # pragma once <nl> + <nl> + # import " cocos2d . h " <nl> + # import " EAGLView . h " <nl> + <nl> + @ interface AppController : NSObject < NSApplicationDelegate > <nl> + { <nl> + NSWindow * window ; <nl> + EAGLView * glView ; <nl> + } <nl> + <nl> + @ property ( nonatomic , assign ) IBOutlet NSWindow * window ; <nl> + @ property ( nonatomic , assign ) IBOutlet EAGLView * glView ; <nl> + <nl> + - ( IBAction ) toggleFullScreen : ( id ) sender ; <nl> + - ( IBAction ) exitFullScreen : ( id ) sender ; <nl> + <nl> + @ end <nl> new file mode 100644 <nl> index 000000000000 . . 5159995106f2 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . mac / AppController . mm <nl> <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + Copyright ( c ) 2010 cocos2d - x . org <nl> + <nl> + http : / / www . cocos2d - x . org <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + <nl> + # import " AppController . h " <nl> + # import " AppDelegate . h " <nl> + <nl> + @ implementation AppController <nl> + <nl> + static AppDelegate s_sharedApplication ; <nl> + <nl> + @ synthesize window , glView ; <nl> + <nl> + - ( void ) applicationDidFinishLaunching : ( NSNotification * ) aNotification <nl> + { <nl> + / / create the window <nl> + / / note that using NSResizableWindowMask causes the window to be a little <nl> + / / smaller and therefore ipad graphics are not loaded <nl> + NSRect rect = NSMakeRect ( 200 , 200 , 480 , 320 ) ; <nl> + window = [ [ NSWindow alloc ] initWithContentRect : rect <nl> + styleMask : ( NSClosableWindowMask | NSTitledWindowMask ) <nl> + backing : NSBackingStoreBuffered <nl> + defer : YES ] ; <nl> + <nl> + NSOpenGLPixelFormatAttribute attributes [ ] = { <nl> + NSOpenGLPFADoubleBuffer , <nl> + NSOpenGLPFADepthSize , 24 , <nl> + NSOpenGLPFAStencilSize , 8 , <nl> + 0 <nl> + } ; <nl> + <nl> + NSOpenGLPixelFormat * pixelFormat = [ [ [ NSOpenGLPixelFormat alloc ] initWithAttributes : attributes ] autorelease ] ; <nl> + <nl> + / / allocate our GL view <nl> + / / ( isn ' t there already a shared EAGLView ? ) <nl> + glView = [ [ EAGLView alloc ] initWithFrame : rect pixelFormat : pixelFormat ] ; <nl> + <nl> + / / set window parameters <nl> + [ window becomeFirstResponder ] ; <nl> + [ window setContentView : glView ] ; <nl> + [ window setTitle : @ " HelloCpp " ] ; <nl> + [ window makeKeyAndOrderFront : self ] ; <nl> + [ window setAcceptsMouseMovedEvents : NO ] ; <nl> + <nl> + cocos2d : : CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + } <nl> + <nl> + - ( BOOL ) applicationShouldTerminateAfterLastWindowClosed : ( NSApplication * ) theApplication <nl> + { <nl> + return YES ; <nl> + } <nl> + <nl> + - ( void ) dealloc <nl> + { <nl> + cocos2d : : CCDirector : : sharedDirector ( ) - > end ( ) ; <nl> + [ super dealloc ] ; <nl> + } <nl> + <nl> + # pragma mark - <nl> + # pragma mark IB Actions <nl> + <nl> + - ( IBAction ) toggleFullScreen : ( id ) sender <nl> + { <nl> + EAGLView * pView = [ EAGLView sharedEGLView ] ; <nl> + [ pView setFullScreen : ! pView . isFullScreen ] ; <nl> + } <nl> + <nl> + - ( IBAction ) exitFullScreen : ( id ) sender <nl> + { <nl> + [ [ EAGLView sharedEGLView ] setFullScreen : NO ] ; <nl> + } <nl> + <nl> + @ end <nl> new file mode 100644 <nl> index 000000000000 . . d6fed5e62e69 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . mac / HelloCpp . xcodeproj / project . pbxproj . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 8fd8cb8320c117fb58d55e4a97a20eb042b60195 <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 285dee82b3d3 <nl> Binary files / dev / null and b / template / multi - platform - cpp / proj . mac / Icon . icns differ <nl> new file mode 100644 <nl> index 000000000000 . . 46c36a7e99f1 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . mac / Test_Prefix . pch <nl> <nl> + / / <nl> + / / Prefix header for all source files of the ' Paralaxer ' target in the ' Paralaxer ' project <nl> + / / <nl> + <nl> + # ifdef __OBJC__ <nl> + # import < Cocoa / Cocoa . h > <nl> + # endif <nl> new file mode 100644 <nl> index 000000000000 . . 477b28ff8f86 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . mac / en . lproj / InfoPlist . strings <nl> <nl> + / * Localized versions of Info . plist keys * / <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 34048390350b <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . mac / en . lproj / MainMenu . xib <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < archive type = " com . apple . InterfaceBuilder3 . Cocoa . XIB " version = " 7 . 10 " > <nl> + < data > <nl> + < int key = " IBDocument . SystemTarget " > 1060 < / int > <nl> + < string key = " IBDocument . SystemVersion " > 10K549 < / string > <nl> + < string key = " IBDocument . InterfaceBuilderVersion " > 1938 < / string > <nl> + < string key = " IBDocument . AppKitVersion " > 1038 . 36 < / string > <nl> + < string key = " IBDocument . HIToolboxVersion " > 461 . 00 < / string > <nl> + < object class = " NSMutableDictionary " key = " IBDocument . PluginVersions " > <nl> + < string key = " NS . key . 0 " > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string key = " NS . object . 0 " > 1938 < / string > <nl> + < / object > <nl> + < object class = " NSArray " key = " IBDocument . IntegratedClassDependencies " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > NSMenuItem < / string > <nl> + < string > NSCustomObject < / string > <nl> + < string > NSMenu < / string > <nl> + < / object > <nl> + < object class = " NSArray " key = " IBDocument . PluginDependencies " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < / object > <nl> + < object class = " NSMutableDictionary " key = " IBDocument . Metadata " > <nl> + < string key = " NS . key . 0 " > PluginDependencyRecalculationVersion < / string > <nl> + < integer value = " 1 " key = " NS . object . 0 " / > <nl> + < / object > <nl> + < object class = " NSMutableArray " key = " IBDocument . RootObjects " id = " 1048 " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSCustomObject " id = " 1021 " > <nl> + < string key = " NSClassName " > NSApplication < / string > <nl> + < / object > <nl> + < object class = " NSCustomObject " id = " 1014 " > <nl> + < string key = " NSClassName " > FirstResponder < / string > <nl> + < / object > <nl> + < object class = " NSCustomObject " id = " 1050 " > <nl> + < string key = " NSClassName " > NSApplication < / string > <nl> + < / object > <nl> + < object class = " NSMenu " id = " 649796088 " > <nl> + < string key = " NSTitle " > AMainMenu < / string > <nl> + < object class = " NSMutableArray " key = " NSMenuItems " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSMenuItem " id = " 694149608 " > <nl> + < reference key = " NSMenu " ref = " 649796088 " / > <nl> + < string key = " NSTitle " > HelloCpp < / string > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < object class = " NSCustomResource " key = " NSOnImage " id = " 35465992 " > <nl> + < string key = " NSClassName " > NSImage < / string > <nl> + < string key = " NSResourceName " > NSMenuCheckmark < / string > <nl> + < / object > <nl> + < object class = " NSCustomResource " key = " NSMixedImage " id = " 502551668 " > <nl> + < string key = " NSClassName " > NSImage < / string > <nl> + < string key = " NSResourceName " > NSMenuMixedState < / string > <nl> + < / object > <nl> + < string key = " NSAction " > submenuAction : < / string > <nl> + < object class = " NSMenu " key = " NSSubmenu " id = " 110575045 " > <nl> + < string key = " NSTitle " > HelloCpp < / string > <nl> + < object class = " NSMutableArray " key = " NSMenuItems " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSMenuItem " id = " 238522557 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < string key = " NSTitle " > About HelloCpp < / string > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 304266470 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < bool key = " NSIsDisabled " > YES < / bool > <nl> + < bool key = " NSIsSeparator " > YES < / bool > <nl> + < string key = " NSTitle " / > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 609285721 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < string key = " NSTitle " > Preferences … < / string > <nl> + < string key = " NSKeyEquiv " > , < / string > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 481834944 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < bool key = " NSIsDisabled " > YES < / bool > <nl> + < bool key = " NSIsSeparator " > YES < / bool > <nl> + < string key = " NSTitle " / > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 1046388886 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < string key = " NSTitle " > Services < / string > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < string key = " NSAction " > submenuAction : < / string > <nl> + < object class = " NSMenu " key = " NSSubmenu " id = " 752062318 " > <nl> + < string key = " NSTitle " > Services < / string > <nl> + < object class = " NSMutableArray " key = " NSMenuItems " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < / object > <nl> + < string key = " NSName " > _NSServicesMenu < / string > <nl> + < / object > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 646227648 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < bool key = " NSIsDisabled " > YES < / bool > <nl> + < bool key = " NSIsSeparator " > YES < / bool > <nl> + < string key = " NSTitle " / > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 755159360 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < string key = " NSTitle " > Hide HelloCpp < / string > <nl> + < string key = " NSKeyEquiv " > h < / string > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 342932134 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < string key = " NSTitle " > Hide Others < / string > <nl> + < string key = " NSKeyEquiv " > h < / string > <nl> + < int key = " NSKeyEquivModMask " > 1572864 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 908899353 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < string key = " NSTitle " > Show All < / string > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 1056857174 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < bool key = " NSIsDisabled " > YES < / bool > <nl> + < bool key = " NSIsSeparator " > YES < / bool > <nl> + < string key = " NSTitle " / > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 632727374 " > <nl> + < reference key = " NSMenu " ref = " 110575045 " / > <nl> + < string key = " NSTitle " > Quit HelloCpp < / string > <nl> + < string key = " NSKeyEquiv " > q < / string > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < / object > <nl> + < string key = " NSName " > _NSAppleMenu < / string > <nl> + < / object > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 586577488 " > <nl> + < reference key = " NSMenu " ref = " 649796088 " / > <nl> + < string key = " NSTitle " > View < / string > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < string key = " NSAction " > submenuAction : < / string > <nl> + < object class = " NSMenu " key = " NSSubmenu " id = " 466310130 " > <nl> + < string key = " NSTitle " > View < / string > <nl> + < object class = " NSMutableArray " key = " NSMenuItems " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSMenuItem " id = " 204933491 " > <nl> + < reference key = " NSMenu " ref = " 466310130 " / > <nl> + < string key = " NSTitle " > Toggle Fullscreen < / string > <nl> + < string key = " NSKeyEquiv " > f < / string > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < / object > <nl> + < / object > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 713487014 " > <nl> + < reference key = " NSMenu " ref = " 649796088 " / > <nl> + < string key = " NSTitle " > Window < / string > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < string key = " NSAction " > submenuAction : < / string > <nl> + < object class = " NSMenu " key = " NSSubmenu " id = " 835318025 " > <nl> + < string key = " NSTitle " > Window < / string > <nl> + < object class = " NSMutableArray " key = " NSMenuItems " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSMenuItem " id = " 1011231497 " > <nl> + < reference key = " NSMenu " ref = " 835318025 " / > <nl> + < string key = " NSTitle " > Minimize < / string > <nl> + < string key = " NSKeyEquiv " > m < / string > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 575023229 " > <nl> + < reference key = " NSMenu " ref = " 835318025 " / > <nl> + < string key = " NSTitle " > Zoom < / string > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 299356726 " > <nl> + < reference key = " NSMenu " ref = " 835318025 " / > <nl> + < bool key = " NSIsDisabled " > YES < / bool > <nl> + < bool key = " NSIsSeparator " > YES < / bool > <nl> + < string key = " NSTitle " / > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 625202149 " > <nl> + < reference key = " NSMenu " ref = " 835318025 " / > <nl> + < string key = " NSTitle " > Bring All to Front < / string > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < / object > <nl> + < string key = " NSName " > _NSWindowsMenu < / string > <nl> + < / object > <nl> + < / object > <nl> + < object class = " NSMenuItem " id = " 448692316 " > <nl> + < reference key = " NSMenu " ref = " 649796088 " / > <nl> + < string key = " NSTitle " > Help < / string > <nl> + < string key = " NSKeyEquiv " / > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < string key = " NSAction " > submenuAction : < / string > <nl> + < object class = " NSMenu " key = " NSSubmenu " id = " 992780483 " > <nl> + < string key = " NSTitle " > Help < / string > <nl> + < object class = " NSMutableArray " key = " NSMenuItems " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSMenuItem " id = " 105068016 " > <nl> + < reference key = " NSMenu " ref = " 992780483 " / > <nl> + < string key = " NSTitle " > HelloCpp Help < / string > <nl> + < string key = " NSKeyEquiv " > ? < / string > <nl> + < int key = " NSKeyEquivModMask " > 1048576 < / int > <nl> + < int key = " NSMnemonicLoc " > 2147483647 < / int > <nl> + < reference key = " NSOnImage " ref = " 35465992 " / > <nl> + < reference key = " NSMixedImage " ref = " 502551668 " / > <nl> + < / object > <nl> + < / object > <nl> + < string key = " NSName " > _NSHelpMenu < / string > <nl> + < / object > <nl> + < / object > <nl> + < / object > <nl> + < string key = " NSName " > _NSMainMenu < / string > <nl> + < / object > <nl> + < object class = " NSCustomObject " id = " 976324537 " > <nl> + < string key = " NSClassName " > AppController < / string > <nl> + < / object > <nl> + < object class = " NSCustomObject " id = " 755631768 " > <nl> + < string key = " NSClassName " > NSFontManager < / string > <nl> + < / object > <nl> + < / object > <nl> + < object class = " IBObjectContainer " key = " IBDocument . Objects " > <nl> + < object class = " NSMutableArray " key = " connectionRecords " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBActionConnection " key = " connection " > <nl> + < string key = " label " > terminate : < / string > <nl> + < reference key = " source " ref = " 1050 " / > <nl> + < reference key = " destination " ref = " 632727374 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 449 < / int > <nl> + < / object > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBActionConnection " key = " connection " > <nl> + < string key = " label " > orderFrontStandardAboutPanel : < / string > <nl> + < reference key = " source " ref = " 1021 " / > <nl> + < reference key = " destination " ref = " 238522557 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 142 < / int > <nl> + < / object > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBOutletConnection " key = " connection " > <nl> + < string key = " label " > delegate < / string > <nl> + < reference key = " source " ref = " 1021 " / > <nl> + < reference key = " destination " ref = " 976324537 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 495 < / int > <nl> + < / object > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBActionConnection " key = " connection " > <nl> + < string key = " label " > performMiniaturize : < / string > <nl> + < reference key = " source " ref = " 1014 " / > <nl> + < reference key = " destination " ref = " 1011231497 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 37 < / int > <nl> + < / object > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBActionConnection " key = " connection " > <nl> + < string key = " label " > arrangeInFront : < / string > <nl> + < reference key = " source " ref = " 1014 " / > <nl> + < reference key = " destination " ref = " 625202149 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 39 < / int > <nl> + < / object > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBActionConnection " key = " connection " > <nl> + < string key = " label " > performZoom : < / string > <nl> + < reference key = " source " ref = " 1014 " / > <nl> + < reference key = " destination " ref = " 575023229 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 240 < / int > <nl> + < / object > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBActionConnection " key = " connection " > <nl> + < string key = " label " > hide : < / string > <nl> + < reference key = " source " ref = " 1014 " / > <nl> + < reference key = " destination " ref = " 755159360 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 367 < / int > <nl> + < / object > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBActionConnection " key = " connection " > <nl> + < string key = " label " > hideOtherApplications : < / string > <nl> + < reference key = " source " ref = " 1014 " / > <nl> + < reference key = " destination " ref = " 342932134 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 368 < / int > <nl> + < / object > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBActionConnection " key = " connection " > <nl> + < string key = " label " > unhideAllApplications : < / string > <nl> + < reference key = " source " ref = " 1014 " / > <nl> + < reference key = " destination " ref = " 908899353 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 370 < / int > <nl> + < / object > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBActionConnection " key = " connection " > <nl> + < string key = " label " > showHelp : < / string > <nl> + < reference key = " source " ref = " 1014 " / > <nl> + < reference key = " destination " ref = " 105068016 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 493 < / int > <nl> + < / object > <nl> + < object class = " IBConnectionRecord " > <nl> + < object class = " IBActionConnection " key = " connection " > <nl> + < string key = " label " > toggleFullScreen : < / string > <nl> + < reference key = " source " ref = " 976324537 " / > <nl> + < reference key = " destination " ref = " 204933491 " / > <nl> + < / object > <nl> + < int key = " connectionID " > 537 < / int > <nl> + < / object > <nl> + < / object > <nl> + < object class = " IBMutableOrderedSet " key = " objectRecords " > <nl> + < object class = " NSArray " key = " orderedObjects " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 0 < / int > <nl> + < object class = " NSArray " key = " object " id = " 0 " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < / object > <nl> + < reference key = " children " ref = " 1048 " / > <nl> + < nil key = " parent " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > - 2 < / int > <nl> + < reference key = " object " ref = " 1021 " / > <nl> + < reference key = " parent " ref = " 0 " / > <nl> + < string key = " objectName " > File ' s Owner < / string > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > - 1 < / int > <nl> + < reference key = " object " ref = " 1014 " / > <nl> + < reference key = " parent " ref = " 0 " / > <nl> + < string key = " objectName " > First Responder < / string > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > - 3 < / int > <nl> + < reference key = " object " ref = " 1050 " / > <nl> + < reference key = " parent " ref = " 0 " / > <nl> + < string key = " objectName " > Application < / string > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 29 < / int > <nl> + < reference key = " object " ref = " 649796088 " / > <nl> + < object class = " NSMutableArray " key = " children " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference ref = " 713487014 " / > <nl> + < reference ref = " 694149608 " / > <nl> + < reference ref = " 586577488 " / > <nl> + < reference ref = " 448692316 " / > <nl> + < / object > <nl> + < reference key = " parent " ref = " 0 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 19 < / int > <nl> + < reference key = " object " ref = " 713487014 " / > <nl> + < object class = " NSMutableArray " key = " children " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference ref = " 835318025 " / > <nl> + < / object > <nl> + < reference key = " parent " ref = " 649796088 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 56 < / int > <nl> + < reference key = " object " ref = " 694149608 " / > <nl> + < object class = " NSMutableArray " key = " children " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference ref = " 110575045 " / > <nl> + < / object > <nl> + < reference key = " parent " ref = " 649796088 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 57 < / int > <nl> + < reference key = " object " ref = " 110575045 " / > <nl> + < object class = " NSMutableArray " key = " children " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference ref = " 238522557 " / > <nl> + < reference ref = " 755159360 " / > <nl> + < reference ref = " 908899353 " / > <nl> + < reference ref = " 632727374 " / > <nl> + < reference ref = " 646227648 " / > <nl> + < reference ref = " 609285721 " / > <nl> + < reference ref = " 481834944 " / > <nl> + < reference ref = " 304266470 " / > <nl> + < reference ref = " 1046388886 " / > <nl> + < reference ref = " 1056857174 " / > <nl> + < reference ref = " 342932134 " / > <nl> + < / object > <nl> + < reference key = " parent " ref = " 694149608 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 58 < / int > <nl> + < reference key = " object " ref = " 238522557 " / > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 134 < / int > <nl> + < reference key = " object " ref = " 755159360 " / > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 150 < / int > <nl> + < reference key = " object " ref = " 908899353 " / > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 136 < / int > <nl> + < reference key = " object " ref = " 632727374 " / > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 144 < / int > <nl> + < reference key = " object " ref = " 646227648 " / > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 129 < / int > <nl> + < reference key = " object " ref = " 609285721 " / > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 143 < / int > <nl> + < reference key = " object " ref = " 481834944 " / > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 236 < / int > <nl> + < reference key = " object " ref = " 304266470 " / > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 131 < / int > <nl> + < reference key = " object " ref = " 1046388886 " / > <nl> + < object class = " NSMutableArray " key = " children " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference ref = " 752062318 " / > <nl> + < / object > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 149 < / int > <nl> + < reference key = " object " ref = " 1056857174 " / > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 145 < / int > <nl> + < reference key = " object " ref = " 342932134 " / > <nl> + < reference key = " parent " ref = " 110575045 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 130 < / int > <nl> + < reference key = " object " ref = " 752062318 " / > <nl> + < reference key = " parent " ref = " 1046388886 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 24 < / int > <nl> + < reference key = " object " ref = " 835318025 " / > <nl> + < object class = " NSMutableArray " key = " children " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference ref = " 299356726 " / > <nl> + < reference ref = " 625202149 " / > <nl> + < reference ref = " 575023229 " / > <nl> + < reference ref = " 1011231497 " / > <nl> + < / object > <nl> + < reference key = " parent " ref = " 713487014 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 92 < / int > <nl> + < reference key = " object " ref = " 299356726 " / > <nl> + < reference key = " parent " ref = " 835318025 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 5 < / int > <nl> + < reference key = " object " ref = " 625202149 " / > <nl> + < reference key = " parent " ref = " 835318025 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 239 < / int > <nl> + < reference key = " object " ref = " 575023229 " / > <nl> + < reference key = " parent " ref = " 835318025 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 23 < / int > <nl> + < reference key = " object " ref = " 1011231497 " / > <nl> + < reference key = " parent " ref = " 835318025 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 295 < / int > <nl> + < reference key = " object " ref = " 586577488 " / > <nl> + < object class = " NSMutableArray " key = " children " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference ref = " 466310130 " / > <nl> + < / object > <nl> + < reference key = " parent " ref = " 649796088 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 296 < / int > <nl> + < reference key = " object " ref = " 466310130 " / > <nl> + < object class = " NSMutableArray " key = " children " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference ref = " 204933491 " / > <nl> + < / object > <nl> + < reference key = " parent " ref = " 586577488 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 420 < / int > <nl> + < reference key = " object " ref = " 755631768 " / > <nl> + < reference key = " parent " ref = " 0 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 490 < / int > <nl> + < reference key = " object " ref = " 448692316 " / > <nl> + < object class = " NSMutableArray " key = " children " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference ref = " 992780483 " / > <nl> + < / object > <nl> + < reference key = " parent " ref = " 649796088 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 491 < / int > <nl> + < reference key = " object " ref = " 992780483 " / > <nl> + < object class = " NSMutableArray " key = " children " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference ref = " 105068016 " / > <nl> + < / object > <nl> + < reference key = " parent " ref = " 448692316 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 492 < / int > <nl> + < reference key = " object " ref = " 105068016 " / > <nl> + < reference key = " parent " ref = " 992780483 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 494 < / int > <nl> + < reference key = " object " ref = " 976324537 " / > <nl> + < reference key = " parent " ref = " 0 " / > <nl> + < / object > <nl> + < object class = " IBObjectRecord " > <nl> + < int key = " objectID " > 536 < / int > <nl> + < reference key = " object " ref = " 204933491 " / > <nl> + < reference key = " parent " ref = " 466310130 " / > <nl> + < / object > <nl> + < / object > <nl> + < / object > <nl> + < object class = " NSMutableDictionary " key = " flattenedProperties " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSArray " key = " dict . sortedKeys " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > - 1 . IBPluginDependency < / string > <nl> + < string > - 2 . IBPluginDependency < / string > <nl> + < string > - 3 . IBPluginDependency < / string > <nl> + < string > 129 . IBPluginDependency < / string > <nl> + < string > 130 . IBPluginDependency < / string > <nl> + < string > 131 . IBPluginDependency < / string > <nl> + < string > 134 . IBPluginDependency < / string > <nl> + < string > 136 . IBPluginDependency < / string > <nl> + < string > 143 . IBPluginDependency < / string > <nl> + < string > 144 . IBPluginDependency < / string > <nl> + < string > 145 . IBPluginDependency < / string > <nl> + < string > 149 . IBPluginDependency < / string > <nl> + < string > 150 . IBPluginDependency < / string > <nl> + < string > 19 . IBPluginDependency < / string > <nl> + < string > 23 . IBPluginDependency < / string > <nl> + < string > 236 . IBPluginDependency < / string > <nl> + < string > 239 . IBPluginDependency < / string > <nl> + < string > 24 . IBPluginDependency < / string > <nl> + < string > 29 . IBPluginDependency < / string > <nl> + < string > 295 . IBPluginDependency < / string > <nl> + < string > 296 . IBPluginDependency < / string > <nl> + < string > 420 . IBPluginDependency < / string > <nl> + < string > 490 . IBPluginDependency < / string > <nl> + < string > 491 . IBPluginDependency < / string > <nl> + < string > 492 . IBPluginDependency < / string > <nl> + < string > 494 . IBPluginDependency < / string > <nl> + < string > 5 . IBPluginDependency < / string > <nl> + < string > 536 . IBPluginDependency < / string > <nl> + < string > 56 . IBPluginDependency < / string > <nl> + < string > 57 . IBPluginDependency < / string > <nl> + < string > 58 . IBPluginDependency < / string > <nl> + < string > 92 . IBPluginDependency < / string > <nl> + < / object > <nl> + < object class = " NSMutableArray " key = " dict . values " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < string > com . apple . InterfaceBuilder . CocoaPlugin < / string > <nl> + < / object > <nl> + < / object > <nl> + < object class = " NSMutableDictionary " key = " unlocalizedProperties " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference key = " dict . sortedKeys " ref = " 0 " / > <nl> + < reference key = " dict . values " ref = " 0 " / > <nl> + < / object > <nl> + < nil key = " activeLocalization " / > <nl> + < object class = " NSMutableDictionary " key = " localizations " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < reference key = " dict . sortedKeys " ref = " 0 " / > <nl> + < reference key = " dict . values " ref = " 0 " / > <nl> + < / object > <nl> + < nil key = " sourceID " / > <nl> + < int key = " maxID " > 541 < / int > <nl> + < / object > <nl> + < object class = " IBClassDescriber " key = " IBDocument . Classes " > <nl> + < object class = " NSMutableArray " key = " referencedPartialClassDescriptions " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " IBPartialClassDescription " > <nl> + < string key = " className " > AppController < / string > <nl> + < string key = " superclassName " > NSObject < / string > <nl> + < object class = " NSMutableDictionary " key = " actions " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSArray " key = " dict . sortedKeys " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > exitFullScreen : < / string > <nl> + < string > toggleFullScreen : < / string > <nl> + < / object > <nl> + < object class = " NSMutableArray " key = " dict . values " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > id < / string > <nl> + < string > id < / string > <nl> + < / object > <nl> + < / object > <nl> + < object class = " NSMutableDictionary " key = " actionInfosByName " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSArray " key = " dict . sortedKeys " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > exitFullScreen : < / string > <nl> + < string > toggleFullScreen : < / string > <nl> + < / object > <nl> + < object class = " NSMutableArray " key = " dict . values " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " IBActionInfo " > <nl> + < string key = " name " > exitFullScreen : < / string > <nl> + < string key = " candidateClassName " > id < / string > <nl> + < / object > <nl> + < object class = " IBActionInfo " > <nl> + < string key = " name " > toggleFullScreen : < / string > <nl> + < string key = " candidateClassName " > id < / string > <nl> + < / object > <nl> + < / object > <nl> + < / object > <nl> + < object class = " NSMutableDictionary " key = " outlets " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSArray " key = " dict . sortedKeys " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > glView < / string > <nl> + < string > window < / string > <nl> + < / object > <nl> + < object class = " NSMutableArray " key = " dict . values " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > EAGLView < / string > <nl> + < string > NSWindow < / string > <nl> + < / object > <nl> + < / object > <nl> + < object class = " NSMutableDictionary " key = " toOneOutletInfosByName " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSArray " key = " dict . sortedKeys " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > glView < / string > <nl> + < string > window < / string > <nl> + < / object > <nl> + < object class = " NSMutableArray " key = " dict . values " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " IBToOneOutletInfo " > <nl> + < string key = " name " > glView < / string > <nl> + < string key = " candidateClassName " > EAGLView < / string > <nl> + < / object > <nl> + < object class = " IBToOneOutletInfo " > <nl> + < string key = " name " > window < / string > <nl> + < string key = " candidateClassName " > NSWindow < / string > <nl> + < / object > <nl> + < / object > <nl> + < / object > <nl> + < object class = " IBClassDescriptionSource " key = " sourceIdentifier " > <nl> + < string key = " majorKey " > IBProjectSource < / string > <nl> + < string key = " minorKey " > . / Classes / AppController . h < / string > <nl> + < / object > <nl> + < / object > <nl> + < object class = " IBPartialClassDescription " > <nl> + < string key = " className " > EAGLView < / string > <nl> + < string key = " superclassName " > NSOpenGLView < / string > <nl> + < object class = " IBClassDescriptionSource " key = " sourceIdentifier " > <nl> + < string key = " majorKey " > IBProjectSource < / string > <nl> + < string key = " minorKey " > . / Classes / EAGLView . h < / string > <nl> + < / object > <nl> + < / object > <nl> + < / object > <nl> + < / object > <nl> + < int key = " IBDocument . localizationMode " > 0 < / int > <nl> + < string key = " IBDocument . TargetRuntimeIdentifier " > IBCocoaFramework < / string > <nl> + < object class = " NSMutableDictionary " key = " IBDocument . PluginDeclaredDevelopmentDependencies " > <nl> + < string key = " NS . key . 0 " > com . apple . InterfaceBuilder . CocoaPlugin . InterfaceBuilder3 < / string > <nl> + < integer value = " 3000 " key = " NS . object . 0 " / > <nl> + < / object > <nl> + < bool key = " IBDocument . PluginDeclaredDependenciesTrackSystemTargetVersion " > YES < / bool > <nl> + < int key = " IBDocument . defaultPropertyAccessControl " > 3 < / int > <nl> + < object class = " NSMutableDictionary " key = " IBDocument . LastKnownImageSizes " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < object class = " NSArray " key = " dict . sortedKeys " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > NSMenuCheckmark < / string > <nl> + < string > NSMenuMixedState < / string > <nl> + < / object > <nl> + < object class = " NSMutableArray " key = " dict . values " > <nl> + < bool key = " EncodedWithXMLCoder " > YES < / bool > <nl> + < string > { 9 , 8 } < / string > <nl> + < string > { 7 , 2 } < / string > <nl> + < / object > <nl> + < / object > <nl> + < / data > <nl> + < / archive > <nl> new file mode 100644 <nl> index 000000000000 . . 97d9b73282aa <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . mac / main . m <nl> <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + Copyright ( c ) 2010 cocos2d - x . org <nl> + <nl> + http : / / www . cocos2d - x . org <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + <nl> + # import < Cocoa / Cocoa . h > <nl> + <nl> + int main ( int argc , char * argv [ ] ) <nl> + { <nl> + return NSApplicationMain ( argc , ( const char * * ) argv ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . d476d32abb45 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . marmalade / HelloCpp . mkb <nl> <nl> + options <nl> + { <nl> + module_path = " . . / . . / . . / cocos2dx / proj . marmalade / ; . . / . . / . . / CocosDenshion / proj . marmalade / ; . . / . . / . . / extensions / proj . marmalade / ; . . / . . / . . / external / chipmunk / proj . marmalade / ; . . / . . / . . / external / Box2D / proj . marmalade / " <nl> + s3e - data - dir = " . . / Resources / " <nl> + } <nl> + <nl> + includepaths <nl> + { <nl> + . . / Classes <nl> + } <nl> + subprojects <nl> + { <nl> + IwGL <nl> + cocos2dx <nl> + cocos2dx - ext <nl> + Box2D <nl> + CocosDenshion <nl> + # chipmunk <nl> + } <nl> + <nl> + defines <nl> + { <nl> + CC_ENABLE_BOX2D_INTEGRATION = 1 <nl> + } <nl> + assets <nl> + { <nl> + ( . . / Resources ) <nl> + } <nl> + <nl> + files <nl> + { <nl> + [ Main ] <nl> + ( src ) <nl> + Main . h <nl> + Main . cpp <nl> + <nl> + ( . . / Classes ) <nl> + AppDelegate . cpp <nl> + AppDelegate . h <nl> + controller . cpp <nl> + controller . h <nl> + testBasic . cpp <nl> + testBasic . h <nl> + testResource . h <nl> + tests . h <nl> + VisibleRect . cpp <nl> + VisibleRect . h <nl> + <nl> + [ Test / AccelerometerTest ] <nl> + ( . . / Classes / AccelerometerTest ) <nl> + AccelerometerTest . cpp <nl> + AccelerometerTest . h <nl> + <nl> + [ Test / ActionManagerTest ] <nl> + ( . . / Classes / ActionManagerTest ) <nl> + ActionManagerTest . cpp <nl> + ActionManagerTest . h <nl> + <nl> + [ Test / ActionsEaseTest ] <nl> + ( . . / Classes / ActionsEaseTest ) <nl> + ActionsEaseTest . cpp <nl> + ActionsEaseTest . h <nl> + <nl> + [ Test / ActionsProgressTest ] <nl> + ( . . / Classes / ActionsProgressTest ) <nl> + ActionsProgressTest . cpp <nl> + ActionsProgressTest . h <nl> + <nl> + [ Test / ActionsTest ] <nl> + ( . . / Classes / ActionsTest ) <nl> + ActionsTest . cpp <nl> + ActionsTest . h <nl> + <nl> + [ Test / Box2DTest ] <nl> + ( . . / Classes / Box2DTest ) <nl> + Box2dTest . cpp <nl> + Box2dTest . h <nl> + <nl> + [ Test / Box2DTestBed ] <nl> + ( . . / Classes / Box2DTestBed ) <nl> + Box2dView . cpp <nl> + Box2dView . h <nl> + GLES - Render . cpp <nl> + GLES - Render . h <nl> + Test . cpp <nl> + Test . h <nl> + TestEntries . cpp <nl> + <nl> + [ Test / Box2DTestBed / Tests ] <nl> + ( . . / Classes / Box2DTestBed / Tests ) <nl> + AddPair . h <nl> + ApplyForce . h <nl> + BodyTypes . h <nl> + Breakable . h <nl> + Bridge . h <nl> + BulletTest . h <nl> + Cantilever . h <nl> + Car . h <nl> + Chain . h <nl> + CharacterCollision . h <nl> + CollisionFiltering . h <nl> + CollisionProcessing . h <nl> + CompoundShapes . h <nl> + Confined . h <nl> + ContinuousTest . h <nl> + DistanceTest . h <nl> + Dominos . h <nl> + DumpShell . h <nl> + DynamicTreeTest . h <nl> + EdgeShapes . h <nl> + EdgeTest . h <nl> + Gears . h <nl> + OneSidedPlatform . h <nl> + Pinball . h <nl> + PolyCollision . h <nl> + PolyShapes . h <nl> + Prismatic . h <nl> + Pulleys . h <nl> + Pyramid . h <nl> + RayCast . h <nl> + Revolute . h <nl> + Rope . h <nl> + RopeJoint . h <nl> + SensorTest . h <nl> + ShapeEditing . h <nl> + SliderCrank . h <nl> + SphereStack . h <nl> + TheoJansen . h <nl> + Tiles . h <nl> + TimeOfImpact . h <nl> + Tumbler . h <nl> + VaryingFriction . h <nl> + VaryingRestitution . h <nl> + VerticalStack . h <nl> + Web . h <nl> + <nl> + [ Test / BugsTest ] <nl> + ( . . / Classes / BugsTest ) <nl> + Bug - 1159 . cpp <nl> + Bug - 1159 . h <nl> + Bug - 1174 . cpp <nl> + Bug - 1174 . h <nl> + Bug - 350 . cpp <nl> + Bug - 350 . h <nl> + Bug - 422 . cpp <nl> + Bug - 422 . h <nl> + Bug - 624 . cpp <nl> + Bug - 624 . h <nl> + Bug - 886 . cpp <nl> + Bug - 886 . h <nl> + Bug - 899 . cpp <nl> + Bug - 899 . h <nl> + Bug - 914 . cpp <nl> + Bug - 914 . h <nl> + BugsTest . cpp <nl> + BugsTest . h <nl> + <nl> + [ Test / BugsTest / Bug - 458 ] <nl> + ( . . / Classes / BugsTest / Bug - 458 ) <nl> + Bug - 458 . cpp <nl> + Bug - 458 . h <nl> + QuestionContainerSprite . cpp <nl> + QuestionContainerSprite . h <nl> + <nl> + # [ Test / ChipmunkAccelTouchTest ] <nl> + # ( . . / Classes / ChipmunkAccelTouchTest ) <nl> + # ChipmunkAccelTouchTest . cpp <nl> + # ChipmunkAccelTouchTest . h <nl> + <nl> + [ Test / ClickAndMoveTest ] <nl> + ( . . / Classes / ClickAndMoveTest ) <nl> + ClickAndMoveTest . cpp <nl> + ClickAndMoveTest . h <nl> + <nl> + [ Test / CocosDenshionTest ] <nl> + ( . . / Classes / CocosDenshionTest ) <nl> + CocosDenshionTest . cpp <nl> + CocosDenshionTest . h <nl> + <nl> + # [ Test / CurlTest ] <nl> + # ( . . / Classes / CurlTest ) <nl> + # CurlTest . cpp <nl> + # CurlTest . h <nl> + <nl> + [ Test / CurrentLanguageTest ] <nl> + ( . . / Classes / CurrentLanguageTest ) <nl> + CurrentLanguageTest . cpp <nl> + CurrentLanguageTest . h <nl> + <nl> + [ Test / DrawPrimitivesTest ] <nl> + ( . . / Classes / DrawPrimitivesTest ) <nl> + DrawPrimitivesTest . cpp <nl> + DrawPrimitivesTest . h <nl> + <nl> + [ Test / EffectsAdvancedTest ] <nl> + ( . . / Classes / EffectsAdvancedTest ) <nl> + EffectsAdvancedTest . cpp <nl> + EffectsAdvancedTest . h <nl> + <nl> + [ Test / EffectsTest ] <nl> + ( . . / Classes / EffectsTest ) <nl> + EffectsTest . cpp <nl> + EffectsTest . h <nl> + <nl> + [ Test / ExtensionsTest ] <nl> + ( . . / Classes / ExtensionsTest ) <nl> + ExtensionsTest . cpp <nl> + ExtensionsTest . h <nl> + <nl> + # [ Test / ExtensionsTest / CocosBuilderTest ] <nl> + # ( . . / Classes / ExtensionsTest / CocosBuilderTest ) <nl> + # CocosBuilderTest . cpp <nl> + # CocosBuilderTest . h <nl> + # <nl> + # [ Test / ExtensionsTest / CocosBuilderTest / AnimationsTest ] <nl> + # ( . . / Classes / ExtensionsTest / CocosBuilderTest / AnimationsTest ) <nl> + # AnimationsLayerLoader . h <nl> + # AnimationsTestLayer . cpp <nl> + # AnimationsTestLayer . h <nl> + # <nl> + # [ Test / ExtensionsTest / CocosBuilderTest / ButtonTest ] <nl> + # ( . . / Classes / ExtensionsTest / CocosBuilderTest / ButtonTest ) <nl> + # ButtonTestLayer . cpp <nl> + # ButtonTestLayer . h <nl> + # ButtonTestLayerLoader . h <nl> + # <nl> + # [ Test / ExtensionsTest / CocosBuilderTest / HelloCocosBuilder ] <nl> + # ( . . / Classes / ExtensionsTest / CocosBuilderTest / HelloCocosBuilder ) <nl> + # HelloCocosBuilderLayer . cpp <nl> + # HelloCocosBuilderLayer . h <nl> + # HelloCocosBuilderLayerLoader . h <nl> + # <nl> + # [ Test / ExtensionsTest / CocosBuilderTest / LabelTest ] <nl> + # ( . . / Classes / ExtensionsTest / CocosBuilderTest / LabelTest ) <nl> + # LabelTestLayer . h <nl> + # LabelTestLayerLoader . h <nl> + # <nl> + # [ Test / ExtensionsTest / CocosBuilderTest / MenuTest ] <nl> + # ( . . / Classes / ExtensionsTest / CocosBuilderTest / MenuTest ) <nl> + # MenuTestLayer . cpp <nl> + # MenuTestLayer . h <nl> + # MenuTestLayerLoader . h <nl> + # <nl> + # [ Test / ExtensionsTest / CocosBuilderTest / ParticleSystemTest ] <nl> + # ( . . / Classes / ExtensionsTest / CocosBuilderTest / ParticleSystemTest ) <nl> + # ParticleSystemTestLayer . h <nl> + # ParticleSystemTestLayerLoader . h <nl> + # <nl> + # [ Test / ExtensionsTest / CocosBuilderTest / ScrollViewTest ] <nl> + # ( . . / Classes / ExtensionsTest / CocosBuilderTest / ScrollViewTest ) <nl> + # ScrollViewTestLayer . h <nl> + # ScrollViewTestLayerLoader . h <nl> + # <nl> + # [ Test / ExtensionsTest / CocosBuilderTest / SpriteTest ] <nl> + # ( . . / Classes / ExtensionsTest / CocosBuilderTest / SpriteTest ) <nl> + # SpriteTestLayer . h <nl> + # SpriteTestLayerLoader . h <nl> + # <nl> + # [ Test / ExtensionsTest / CocosBuilderTest / TestHeader ] <nl> + # ( . . / Classes / ExtensionsTest / CocosBuilderTest / TestHeader ) <nl> + # TestHeaderLayer . cpp <nl> + # TestHeaderLayer . h <nl> + # TestHeaderLayerLoader . h <nl> + <nl> + [ Test / ExtensionsTest / ControlExtensionTest ] <nl> + ( . . / Classes / ExtensionsTest / ControlExtensionTest ) <nl> + CCControlScene . cpp <nl> + CCControlScene . h <nl> + CCControlSceneManager . cpp <nl> + CCControlSceneManager . h <nl> + <nl> + [ Test / ExtensionsTest / ControlExtensionTest / CCControlButtonTest ] <nl> + ( . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlButtonTest ) <nl> + CCControlButtonTest . cpp <nl> + CCControlButtonTest . h <nl> + <nl> + [ Test / ExtensionsTest / ControlExtensionTest / CCControlColourPicker ] <nl> + ( . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlColourPicker ) <nl> + CCControlColourPickerTest . cpp <nl> + CCControlColourPickerTest . h <nl> + <nl> + [ Test / ExtensionsTest / ControlExtensionTest / CCControlPotentiometerTest ] <nl> + ( . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlPotentiometerTest ) <nl> + CCControlPotentiometerTest . cpp <nl> + CCControlPotentiometerTest . h <nl> + <nl> + [ Test / ExtensionsTest / ControlExtensionTest / CCControlSliderTest ] <nl> + ( . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlSliderTest ) <nl> + CCControlSliderTest . cpp <nl> + CCControlSliderTest . h <nl> + <nl> + [ Test / ExtensionsTest / ControlExtensionTest / CCControlStepperTest ] <nl> + ( . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlStepperTest ) <nl> + CCControlStepperTest . cpp <nl> + CCControlStepperTest . h <nl> + <nl> + [ Test / ExtensionsTest / ControlExtensionTest / CCControlSwitchTest ] <nl> + ( . . / Classes / ExtensionsTest / ControlExtensionTest / CCControlSwitchTest ) <nl> + CCControlSwitchTest . cpp <nl> + CCControlSwitchTest . h <nl> + <nl> + # [ Test / ExtensionsTest / EditBoxTest ] <nl> + # ( . . / Classes / ExtensionsTest / EditBoxTest ) <nl> + # EditBoxTest . cpp <nl> + # EditBoxTest . h <nl> + <nl> + # [ Test / ExtensionsTest / NetworkTest ] <nl> + # ( . . / Classes / ExtensionsTest / NetworkTest ) <nl> + # HttpClientTest . cpp <nl> + # HttpClientTest . h <nl> + <nl> + # [ Test / ExtensionsTest / NotificationCenterTest ] <nl> + # ( . . / Classes / ExtensionsTest / NotificationCenterTest ) <nl> + # NotificationCenterTest . cpp <nl> + # NotificationCenterTest . h <nl> + <nl> + [ Test / ExtensionsTest / TableViewTest ] <nl> + ( . . / Classes / ExtensionsTest / TableViewTest ) <nl> + CustomTableViewCell . cpp <nl> + CustomTableViewCell . h <nl> + TableViewTestScene . cpp <nl> + TableViewTestScene . h <nl> + <nl> + [ Test / FontTest ] <nl> + ( . . / Classes / FontTest ) <nl> + FontTest . cpp <nl> + FontTest . h <nl> + <nl> + [ Test / IntervalTest ] <nl> + ( . . / Classes / IntervalTest ) <nl> + IntervalTest . cpp <nl> + IntervalTest . h <nl> + <nl> + [ Test / KeypadTest ] <nl> + ( . . / Classes / KeypadTest ) <nl> + KeypadTest . cpp <nl> + KeypadTest . h <nl> + <nl> + [ Test / LabelTest ] <nl> + ( . . / Classes / LabelTest ) <nl> + LabelTest . cpp <nl> + LabelTest . h <nl> + <nl> + [ Test / LayerTest ] <nl> + ( . . / Classes / LayerTest ) <nl> + LayerTest . cpp <nl> + LayerTest . h <nl> + <nl> + [ Test / MenuTest ] <nl> + ( . . / Classes / MenuTest ) <nl> + MenuTest . cpp <nl> + MenuTest . h <nl> + <nl> + [ Test / MotionStreakTest ] <nl> + ( . . / Classes / MotionStreakTest ) <nl> + MotionStreakTest . cpp <nl> + MotionStreakTest . h <nl> + <nl> + [ Test / MutiTouchTest ] <nl> + ( . . / Classes / MutiTouchTest ) <nl> + MutiTouchTest . cpp <nl> + MutiTouchTest . h <nl> + <nl> + [ Test / NodeTest ] <nl> + ( . . / Classes / NodeTest ) <nl> + NodeTest . cpp <nl> + NodeTest . h <nl> + <nl> + [ Test / ParallaxTest ] <nl> + ( . . / Classes / ParallaxTest ) <nl> + ParallaxTest . cpp <nl> + ParallaxTest . h <nl> + <nl> + [ Test / ParticleTest ] <nl> + ( . . / Classes / ParticleTest ) <nl> + ParticleTest . cpp <nl> + ParticleTest . h <nl> + <nl> + [ Test / PerformanceTest ] <nl> + ( . . / Classes / PerformanceTest ) <nl> + PerformanceNodeChildrenTest . cpp <nl> + PerformanceNodeChildrenTest . h <nl> + PerformanceParticleTest . cpp <nl> + PerformanceParticleTest . h <nl> + PerformanceSpriteTest . cpp <nl> + PerformanceSpriteTest . h <nl> + PerformanceTest . cpp <nl> + PerformanceTest . h <nl> + PerformanceTextureTest . cpp <nl> + PerformanceTextureTest . h <nl> + PerformanceTouchesTest . cpp <nl> + PerformanceTouchesTest . h <nl> + <nl> + [ Test / RenderTextureTest ] <nl> + ( . . / Classes / RenderTextureTest ) <nl> + RenderTextureTest . cpp <nl> + RenderTextureTest . h <nl> + <nl> + [ Test / RotateWorldTest ] <nl> + ( . . / Classes / RotateWorldTest ) <nl> + RotateWorldTest . cpp <nl> + RotateWorldTest . h <nl> + <nl> + [ Test / SceneTest ] <nl> + ( . . / Classes / SceneTest ) <nl> + SceneTest . cpp <nl> + SceneTest . h <nl> + <nl> + [ Test / SchedulerTest ] <nl> + ( . . / Classes / SchedulerTest ) <nl> + SchedulerTest . cpp <nl> + SchedulerTest . h <nl> + <nl> + [ Test / ShaderTest ] <nl> + ( . . / Classes / ShaderTest ) <nl> + ShaderTest . cpp <nl> + ShaderTest . h <nl> + <nl> + [ Test / SpriteTest ] <nl> + ( . . / Classes / SpriteTest ) <nl> + SpriteTest . cpp <nl> + SpriteTest . h <nl> + <nl> + [ Test / TextInputTest ] <nl> + ( . . / Classes / TextInputTest ) <nl> + TextInputTest . cpp <nl> + TextInputTest . h <nl> + <nl> + [ Test / Texture2dTest ] <nl> + ( . . / Classes / Texture2dTest ) <nl> + Texture2dTest . cpp <nl> + Texture2dTest . h <nl> + <nl> + [ Test / TextureCacheTest ] <nl> + ( . . / Classes / TextureCacheTest ) <nl> + TextureCacheTest . cpp <nl> + TextureCacheTest . h <nl> + <nl> + [ Test / TileMapTest ] <nl> + ( . . / Classes / TileMapTest ) <nl> + TileMapTest . cpp <nl> + TileMapTest . h <nl> + <nl> + [ Test / TouchesTest ] <nl> + ( . . / Classes / TouchesTest ) <nl> + Ball . cpp <nl> + Ball . h <nl> + Paddle . cpp <nl> + Paddle . h <nl> + TouchesTest . cpp <nl> + TouchesTest . h <nl> + <nl> + [ Test / TransitionsTest ] <nl> + ( . . / Classes / TransitionsTest ) <nl> + TransitionsTest . cpp <nl> + TransitionsTest . h <nl> + <nl> + [ Test / UserDefaultTest ] <nl> + ( . . / Classes / UserDefaultTest ) <nl> + UserDefaultTest . cpp <nl> + UserDefaultTest . h <nl> + <nl> + [ Test / ZwoptexTest ] <nl> + ( . . / Classes / ZwoptexTest ) <nl> + ZwoptexTest . cpp <nl> + ZwoptexTest . h <nl> + <nl> + [ Test / FileUtilsTest ] <nl> + ( . . / Classes / FileUtilsTest ) <nl> + FileUtilsTest . cpp <nl> + FileUtilsTest . h <nl> + } <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 39cca44b6151 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . marmalade / src / Main . cpp <nl> <nl> + / / Application main file . <nl> + <nl> + # include " Main . h " <nl> + # include " . . / Classes / AppDelegate . h " <nl> + <nl> + / / Cocos2dx headers <nl> + # include " cocos2d . h " <nl> + <nl> + / / Marmaladeheaders <nl> + # include " IwGL . h " <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + int main ( ) <nl> + { <nl> + AppDelegate app ; <nl> + <nl> + return cocos2d : : CCApplication : : sharedApplication ( ) - > Run ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . ebfa484e727d <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . marmalade / src / Main . h <nl> <nl> + # ifndef MAIN_H <nl> + # define MAIN_H <nl> + <nl> + # endif <nl> new file mode 100644 <nl> index 000000000000 . . e10a3a6c5112 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . win32 / HelloCpp . vcxproj <nl> <nl> +  < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project DefaultTargets = " Build " ToolsVersion = " 4 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < ItemGroup Label = " ProjectConfigurations " > <nl> + < ProjectConfiguration Include = " Debug | Win32 " > <nl> + < Configuration > Debug < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release | Win32 " > <nl> + < Configuration > Release < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < / ItemGroup > <nl> + < PropertyGroup Label = " Globals " > <nl> + < ProjectGuid > { 76A39BB2 - 9B84 - 4C65 - 98A5 - 654D86B86F2A } < / ProjectGuid > <nl> + < RootNamespace > test_win32 < / RootNamespace > <nl> + < Keyword > Win32Proj < / Keyword > <nl> + < / PropertyGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . Default . props " / > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " Label = " Configuration " > <nl> + < ConfigurationType > Application < / ConfigurationType > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < WholeProgramOptimization > true < / WholeProgramOptimization > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 10 . 0 ' " > v100 < / PlatformToolset > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 11 . 0 ' " > v110 < / PlatformToolset > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 11 . 0 ' and exists ( ' $ ( MSBuildProgramFiles32 ) \ Microsoft SDKs \ Windows \ v7 . 1A ' ) " > v110_xp < / PlatformToolset > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " Label = " Configuration " > <nl> + < ConfigurationType > Application < / ConfigurationType > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 10 . 0 ' " > v100 < / PlatformToolset > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 11 . 0 ' " > v110 < / PlatformToolset > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 11 . 0 ' and exists ( ' $ ( MSBuildProgramFiles32 ) \ Microsoft SDKs \ Windows \ v7 . 1A ' ) " > v110_xp < / PlatformToolset > <nl> + < / PropertyGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . props " / > <nl> + < ImportGroup Label = " ExtensionSettings " > <nl> + < / ImportGroup > <nl> + < ImportGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " Label = " PropertySheets " > <nl> + < Import Project = " $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props " Condition = " exists ( ' $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props ' ) " Label = " LocalAppDataPlatform " / > <nl> + < / ImportGroup > <nl> + < ImportGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " Label = " PropertySheets " > <nl> + < Import Project = " $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props " Condition = " exists ( ' $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props ' ) " Label = " LocalAppDataPlatform " / > <nl> + < / ImportGroup > <nl> + < PropertyGroup Label = " UserMacros " / > <nl> + < PropertyGroup > <nl> + < _ProjectFileVersion > 10 . 0 . 40219 . 1 < / _ProjectFileVersion > <nl> + < OutDir Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > $ ( SolutionDir ) $ ( Configuration ) . win32 \ < / OutDir > <nl> + < IntDir Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > $ ( Configuration ) . win32 \ < / IntDir > <nl> + < LinkIncremental Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > true < / LinkIncremental > <nl> + < OutDir Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > $ ( SolutionDir ) $ ( Configuration ) . win32 \ < / OutDir > <nl> + < IntDir Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > $ ( Configuration ) . win32 \ < / IntDir > <nl> + < LinkIncremental Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > false < / LinkIncremental > <nl> + < CodeAnalysisRuleSet Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > AllRules . ruleset < / CodeAnalysisRuleSet > <nl> + < CodeAnalysisRules Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " / > <nl> + < CodeAnalysisRuleAssemblies Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " / > <nl> + < CodeAnalysisRuleSet Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > AllRules . ruleset < / CodeAnalysisRuleSet > <nl> + < CodeAnalysisRules Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " / > <nl> + < CodeAnalysisRuleAssemblies Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " / > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < LibraryPath > $ ( MSBuildProgramFiles32 ) \ Microsoft SDKs \ Windows \ v7 . 1A \ lib ; $ ( LibraryPath ) < / LibraryPath > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < LibraryPath > $ ( MSBuildProgramFiles32 ) \ Microsoft SDKs \ Windows \ v7 . 1A \ lib ; $ ( LibraryPath ) < / LibraryPath > <nl> + < / PropertyGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < ClCompile > <nl> + < Optimization > Disabled < / Optimization > <nl> + < AdditionalIncludeDirectories > $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx ; $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx \ include ; $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx \ kazmath \ include ; $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx \ platform \ win32 ; $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx \ platform \ third_party \ win32 ; $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx \ platform \ third_party \ win32 \ OGLES ; $ ( ProjectDir ) . . \ . . \ . . \ external ; $ ( ProjectDir ) . . \ . . \ . . \ external \ chipmunk \ include \ chipmunk ; $ ( ProjectDir ) . . \ . . \ . . \ CocosDenshion \ include ; $ ( ProjectDir ) . . \ . . \ . . \ extensions ; . . \ Classes ; . . ; % ( AdditionalIncludeDirectories ) < / AdditionalIncludeDirectories > <nl> + < PreprocessorDefinitions > WIN32 ; _DEBUG ; _WINDOWS ; _USE_MATH_DEFINES ; GL_GLEXT_PROTOTYPES ; CC_ENABLE_CHIPMUNK_INTEGRATION = 1 ; COCOS2D_DEBUG = 1 ; _CRT_SECURE_NO_WARNINGS ; _SCL_SECURE_NO_WARNINGS ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < MinimalRebuild > true < / MinimalRebuild > <nl> + < BasicRuntimeChecks > EnableFastChecks < / BasicRuntimeChecks > <nl> + < RuntimeLibrary > MultiThreadedDebugDLL < / RuntimeLibrary > <nl> + < PrecompiledHeader > <nl> + < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < DebugInformationFormat > EditAndContinue < / DebugInformationFormat > <nl> + < DisableSpecificWarnings > 4267 ; 4251 ; 4244 ; % ( DisableSpecificWarnings ) < / DisableSpecificWarnings > <nl> + < / ClCompile > <nl> + < Link > <nl> + < AdditionalDependencies > libExtensions . lib ; libcocos2d . lib ; libCocosDenshion . lib ; opengl32 . lib ; glew32 . lib ; libBox2d . lib ; libchipmunk . lib ; libcurl_imp . lib ; pthreadVCE2 . lib ; % ( AdditionalDependencies ) < / AdditionalDependencies > <nl> + < OutputFile > $ ( OutDir ) $ ( ProjectName ) . exe < / OutputFile > <nl> + < AdditionalLibraryDirectories > $ ( OutDir ) ; % ( AdditionalLibraryDirectories ) < / AdditionalLibraryDirectories > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < TargetMachine > MachineX86 < / TargetMachine > <nl> + < / Link > <nl> + < PostBuildEvent > <nl> + < Command > <nl> + < / Command > <nl> + < / PostBuildEvent > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < ClCompile > <nl> + < Optimization > MaxSpeed < / Optimization > <nl> + < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> + < AdditionalIncludeDirectories > $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx ; $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx \ include ; $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx \ kazmath \ include ; $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx \ platform \ win32 ; $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx \ platform \ third_party \ win32 ; $ ( ProjectDir ) . . \ . . \ . . \ cocos2dx \ platform \ third_party \ win32 \ OGLES ; $ ( ProjectDir ) . . \ . . \ . . \ external ; $ ( ProjectDir ) . . \ . . \ . . \ external \ chipmunk \ include \ chipmunk ; $ ( ProjectDir ) . . \ . . \ . . \ CocosDenshion \ include ; $ ( ProjectDir ) . . \ . . \ . . \ extensions ; . . \ Classes ; . . ; % ( AdditionalIncludeDirectories ) < / AdditionalIncludeDirectories > <nl> + < PreprocessorDefinitions > WIN32 ; NDEBUG ; _WINDOWS ; _USE_MATH_DEFINES ; GL_GLEXT_PROTOTYPES ; CC_ENABLE_CHIPMUNK_INTEGRATION = 1 ; _CRT_SECURE_NO_WARNINGS ; _SCL_SECURE_NO_WARNINGS ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < RuntimeLibrary > MultiThreadedDLL < / RuntimeLibrary > <nl> + < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> + < PrecompiledHeader > <nl> + < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < DebugInformationFormat > ProgramDatabase < / DebugInformationFormat > <nl> + < DisableSpecificWarnings > 4267 ; 4251 ; 4244 ; % ( DisableSpecificWarnings ) < / DisableSpecificWarnings > <nl> + < / ClCompile > <nl> + < Link > <nl> + < AdditionalDependencies > libcocos2d . lib ; libCocosDenshion . lib ; opengl32 . lib ; glew32 . lib ; libBox2d . lib ; libchipmunk . lib ; libcurl_imp . lib ; libExtensions . lib ; pthreadVCE2 . lib ; % ( AdditionalDependencies ) < / AdditionalDependencies > <nl> + < OutputFile > $ ( OutDir ) $ ( ProjectName ) . exe < / OutputFile > <nl> + < AdditionalLibraryDirectories > $ ( OutDir ) ; % ( AdditionalLibraryDirectories ) < / AdditionalLibraryDirectories > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < OptimizeReferences > true < / OptimizeReferences > <nl> + < EnableCOMDATFolding > true < / EnableCOMDATFolding > <nl> + < TargetMachine > MachineX86 < / TargetMachine > <nl> + < / Link > <nl> + < PostBuildEvent > <nl> + < Command > <nl> + < / Command > <nl> + < / PostBuildEvent > <nl> + < / ItemDefinitionGroup > <nl> + < ItemGroup > <nl> + < ClCompile Include = " . . \ Classes \ ChipmunkTest \ ChipmunkTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ClippingNodeTest \ ClippingNodeTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ AnimationsTest \ AnimationsTestLayer . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlPotentiometerTest \ CCControlPotentiometerTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlStepperTest \ CCControlStepperTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ EditBoxTest \ EditBoxTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ NetworkTest \ HttpClientTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ TableViewTest \ CustomTableViewCell . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ TableViewTest \ TableViewTestScene . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ FileUtilsTest \ FileUtilsTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ VisibleRect . cpp " / > <nl> + < ClCompile Include = " main . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ AppDelegate . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ controller . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ testBasic . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ActionsTest \ ActionsTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ TransitionsTest \ TransitionsTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ EffectsTest \ EffectsTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ClickAndMoveTest \ ClickAndMoveTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ RotateWorldTest \ RotateWorldTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ParticleTest \ ParticleTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ActionsEaseTest \ ActionsEaseTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ MotionStreakTest \ MotionStreakTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ DrawPrimitivesTest \ DrawPrimitivesTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ShaderTest \ ShaderTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ TouchesTest \ Ball . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ TouchesTest \ Paddle . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ TouchesTest \ TouchesTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ MenuTest \ MenuTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ActionManagerTest \ ActionManagerTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ LayerTest \ LayerTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ SceneTest \ SceneTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ParallaxTest \ ParallaxTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ TileMapTest \ TileMapTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ IntervalTest \ IntervalTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ LabelTest \ LabelTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ SpriteTest \ SpriteTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ SchedulerTest \ SchedulerTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ RenderTextureTest \ RenderTextureTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ EffectsAdvancedTest \ EffectsAdvancedTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ KeypadTest \ KeypadTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ CocosDenshionTest \ CocosDenshionTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceNodeChildrenTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceParticleTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceSpriteTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceTextureTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceTouchesTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ZwoptexTest \ ZwoptexTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ CurlTest \ CurlTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ TextInputTest \ TextInputTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ UserDefaultTest \ UserDefaultTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 1159 . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 1174 . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 350 . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 422 . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 624 . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 886 . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 899 . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 914 . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ BugsTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 458 \ Bug - 458 . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 458 \ QuestionContainerSprite . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ Texture2dTest \ Texture2dTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ FontTest \ FontTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ CurrentLanguageTest \ CurrentLanguageTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ TextureCacheTest \ TextureCacheTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ AccelerometerTest \ AccelerometerTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ExtensionsTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlScene . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSceneManager . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlButtonTest \ CCControlButtonTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlColourPicker \ CCControlColourPickerTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSliderTest \ CCControlSliderTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSwitchTest \ CCControlSwitchTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ NotificationCenterTest \ NotificationCenterTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ CocosBuilderTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ButtonTest \ ButtonTestLayer . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ HelloCocosBuilder \ HelloCocosBuilderLayer . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ MenuTest \ MenuTestLayer . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ TestHeader \ TestHeaderLayer . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ NodeTest \ NodeTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ ActionsProgressTest \ ActionsProgressTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ Box2DTest \ Box2dTest . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ Box2DTestBed \ Box2dView . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ Box2DTestBed \ GLES - Render . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ Box2DTestBed \ Test . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ Box2DTestBed \ TestEntries . cpp " / > <nl> + < ClCompile Include = " . . \ Classes \ MutiTouchTest \ MutiTouchTest . cpp " / > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ Classes \ ChipmunkTest \ ChipmunkTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ClippingNodeTest \ ClippingNodeTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ AnimationsTest \ AnimationsLayerLoader . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ AnimationsTest \ AnimationsTestLayer . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlPotentiometerTest \ CCControlPotentiometerTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlStepperTest \ CCControlStepperTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ EditBoxTest \ EditBoxTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ NetworkTest \ HttpClientTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ TableViewTest \ CustomTableViewCell . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ TableViewTest \ TableViewTestScene . h " / > <nl> + < ClInclude Include = " . . \ Classes \ FileUtilsTest \ FileUtilsTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ VisibleRect . h " / > <nl> + < ClInclude Include = " main . h " / > <nl> + < ClInclude Include = " . . \ Classes \ AppDelegate . h " / > <nl> + < ClInclude Include = " . . \ Classes \ controller . h " / > <nl> + < ClInclude Include = " . . \ Classes \ testBasic . h " / > <nl> + < ClInclude Include = " . . \ Classes \ testResource . h " / > <nl> + < ClInclude Include = " . . \ Classes \ tests . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ActionsTest \ ActionsTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ TransitionsTest \ TransitionsTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ EffectsTest \ EffectsTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ClickAndMoveTest \ ClickAndMoveTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ RotateWorldTest \ RotateWorldTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ParticleTest \ ParticleTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ActionsEaseTest \ ActionsEaseTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ MotionStreakTest \ MotionStreakTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ DrawPrimitivesTest \ DrawPrimitivesTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ShaderTest \ ShaderTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ TouchesTest \ Ball . h " / > <nl> + < ClInclude Include = " . . \ Classes \ TouchesTest \ Paddle . h " / > <nl> + < ClInclude Include = " . . \ Classes \ TouchesTest \ TouchesTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ MenuTest \ MenuTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ActionManagerTest \ ActionManagerTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ LayerTest \ LayerTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ SceneTest \ SceneTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ParallaxTest \ ParallaxTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ TileMapTest \ TileMapTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ IntervalTest \ IntervalTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ LabelTest \ LabelTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ SpriteTest \ SpriteTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ SchedulerTest \ SchedulerTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ RenderTextureTest \ RenderTextureTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ EffectsAdvancedTest \ EffectsAdvancedTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ KeypadTest \ KeypadTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ CocosDenshionTest \ CocosDenshionTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceNodeChildrenTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceParticleTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceSpriteTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceTextureTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceTouchesTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ZwoptexTest \ ZwoptexTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ CurlTest \ CurlTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ TextInputTest \ TextInputTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ UserDefaultTest \ UserDefaultTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 1159 . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 1174 . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 350 . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 422 . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 624 . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 886 . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 899 . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 914 . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ BugsTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 458 \ Bug - 458 . h " / > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 458 \ QuestionContainerSprite . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Texture2dTest \ Texture2dTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ FontTest \ FontTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ CurrentLanguageTest \ CurrentLanguageTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ TextureCacheTest \ TextureCacheTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ AccelerometerTest \ AccelerometerTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ExtensionsTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlScene . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSceneManager . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlButtonTest \ CCControlButtonTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlColourPicker \ CCControlColourPickerTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSliderTest \ CCControlSliderTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSwitchTest \ CCControlSwitchTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ NotificationCenterTest \ NotificationCenterTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ CocosBuilderTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ButtonTest \ ButtonTestLayer . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ButtonTest \ ButtonTestLayerLoader . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ HelloCocosBuilder \ HelloCocosBuilderLayer . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ HelloCocosBuilder \ HelloCocosBuilderLayerLoader . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ LabelTest \ LabelTestLayer . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ LabelTest \ LabelTestLayerLoader . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ MenuTest \ MenuTestLayer . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ MenuTest \ MenuTestLayerLoader . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ParticleSystemTest \ ParticleSystemTestLayer . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ParticleSystemTest \ ParticleSystemTestLayerLoader . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ SpriteTest \ SpriteTestLayer . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ SpriteTest \ SpriteTestLayerLoader . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ TestHeader \ TestHeaderLayer . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ TestHeader \ TestHeaderLayerLoader . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ScrollViewTest \ ScrollViewTestLayer . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ScrollViewTest \ ScrollViewTestLayerLoader . h " / > <nl> + < ClInclude Include = " . . \ Classes \ NodeTest \ NodeTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ ActionsProgressTest \ ActionsProgressTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTest \ Box2dTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Box2dView . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ GLES - Render . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Test . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ AddPair . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ ApplyForce . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ BodyTypes . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Breakable . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Bridge . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ BulletTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Cantilever . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Car . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Chain . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ CharacterCollision . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ CollisionFiltering . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ CollisionProcessing . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ CompoundShapes . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Confined . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ ContinuousTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ DistanceTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Dominos . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ DumpShell . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ DynamicTreeTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ EdgeShapes . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ EdgeTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Gears . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ OneSidedPlatform . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Pinball . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ PolyCollision . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ PolyShapes . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Prismatic . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Pulleys . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Pyramid . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ RayCast . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Revolute . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Rope . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ RopeJoint . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ SensorTest . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ ShapeEditing . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ SliderCrank . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ SphereStack . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ TheoJansen . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Tiles . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ TimeOfImpact . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Tumbler . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ VaryingFriction . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ VaryingRestitution . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ VerticalStack . h " / > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Web . h " / > <nl> + < ClInclude Include = " . . \ Classes \ MutiTouchTest \ MutiTouchTest . h " / > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ProjectReference Include = " . . \ . . \ . . \ cocos2dx \ proj . win32 \ cocos2d . vcxproj " > <nl> + < Project > { 98a51ba8 - fc3a - 415b - ac8f - 8c7bd464e93e } < / Project > <nl> + < ReferenceOutputAssembly > false < / ReferenceOutputAssembly > <nl> + < / ProjectReference > <nl> + < ProjectReference Include = " . . \ . . \ . . \ CocosDenshion \ proj . win32 \ CocosDenshion . vcxproj " > <nl> + < Project > { f8edd7fa - 9a51 - 4e80 - baeb - 860825d2eac6 } < / Project > <nl> + < ReferenceOutputAssembly > false < / ReferenceOutputAssembly > <nl> + < / ProjectReference > <nl> + < ProjectReference Include = " . . \ . . \ . . \ extensions \ proj . win32 \ libExtensions . vcxproj " > <nl> + < Project > { 21b2c324 - 891f - 48ea - ad1a - 5ae13de12e28 } < / Project > <nl> + < ReferenceOutputAssembly > false < / ReferenceOutputAssembly > <nl> + < / ProjectReference > <nl> + < ProjectReference Include = " . . \ . . \ . . \ external \ Box2D \ proj . win32 \ Box2D . vcxproj " > <nl> + < Project > { 929480e7 - 23c0 - 4df6 - 8456 - 096d71547116 } < / Project > <nl> + < ReferenceOutputAssembly > false < / ReferenceOutputAssembly > <nl> + < / ProjectReference > <nl> + < ProjectReference Include = " . . \ . . \ . . \ external \ chipmunk \ proj . win32 \ chipmunk . vcxproj " > <nl> + < Project > { 207bc7a9 - ccf1 - 4f2f - a04d - 45f72242ae25 } < / Project > <nl> + < ReferenceOutputAssembly > false < / ReferenceOutputAssembly > <nl> + < / ProjectReference > <nl> + < / ItemGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . targets " / > <nl> + < ImportGroup Label = " ExtensionTargets " > <nl> + < / ImportGroup > <nl> + < / Project > <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 9a393214d1e1 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . win32 / HelloCpp . vcxproj . filters <nl> <nl> +  < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project ToolsVersion = " 4 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < ItemGroup > <nl> + < Filter Include = " win32 " > <nl> + < UniqueIdentifier > { 84a8ebd7 - 7cf0 - 47f6 - b75e - d441df67da40 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes " > <nl> + < UniqueIdentifier > { bb6c862e - 70e9 - 49d9 - 81b7 - 3829a6f50471 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ActionsTest " > <nl> + < UniqueIdentifier > { 3268b622 - 4a28 - 47bd - b9f0 - 2adefbc776aa } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ TransitionsTest " > <nl> + < UniqueIdentifier > { fc7ad25e - 4776 - 41a9 - bbd0 - a6754065bf1a } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ EffectsTest " > <nl> + < UniqueIdentifier > { ce4cea9b - 77e2 - 4c61 - 9d73 - 17bfac7b901d } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ClickAndMoveTest " > <nl> + < UniqueIdentifier > { f3b74bc8 - ac04 - 4441 - 8302 - 4faea4476164 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ RotateWorldTest " > <nl> + < UniqueIdentifier > { ab08059e - 6970 - 412b - 8806 - e6209793cbf3 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ParticleTest " > <nl> + < UniqueIdentifier > { 09e77100 - 49e9 - 4a50 - 82ad - b95e618d4cf0 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ActionsEaseTest " > <nl> + < UniqueIdentifier > { 59114e2d - 2034 - 48e4 - 8a08 - 38fb2555a99b } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ MotionStreakTest " > <nl> + < UniqueIdentifier > { 31a5d34e - 5f46 - 40e9 - 9d9c - f4b7bf5ad501 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ DrawPrimitivesTest " > <nl> + < UniqueIdentifier > { ee46e8fa - 9658 - 4cc2 - 9cb4 - 35c85ca23d0b } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ShaderTest " > <nl> + < UniqueIdentifier > { 964fdbe8 - 9573 - 4bff - 8a8f - 8c2c0ce24d6f } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ TouchesTest " > <nl> + < UniqueIdentifier > { aa804242 - 766a - 4fec - 87c8 - 58045adeca9e } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ MenuTest " > <nl> + < UniqueIdentifier > { 430d407a - c55c - 4ae9 - 9951 - 0ee78301d30e } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ActionManagerTest " > <nl> + < UniqueIdentifier > { b50ed360 - a894 - 4416 - ac6e - c6003b3ce9c5 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ LayerTest " > <nl> + < UniqueIdentifier > { ce855efc - 30b4 - 4a13 - 8ee3 - 9fb3636de7a5 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ SceneTest " > <nl> + < UniqueIdentifier > { f3284734 - 423f - 435b - af70 - 4c2d29dded5e } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ParallaxTest " > <nl> + < UniqueIdentifier > { 525c4381 - 0aa6 - 4cc3 - aeb4 - c2d7348af831 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ TileMapTest " > <nl> + < UniqueIdentifier > { 5fe4e8bb - fa91 - 4fde - bacd - 58ce9682b375 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ IntervalTest " > <nl> + < UniqueIdentifier > { 7886aba8 - 80dc - 4196 - 93d1 - 10f5f58aa1bf } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ LabelTest " > <nl> + < UniqueIdentifier > { f4cf91c1 - 7de0 - 4bef - 9950 - d5fedc823350 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ SpriteTest " > <nl> + < UniqueIdentifier > { 3c1f5bbc - a48b - 42d6 - 900f - da7ba3e2e885 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ SchedulerTest " > <nl> + < UniqueIdentifier > { 66f44cbe - 74cb - 4e30 - 8230 - a4991e274f52 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ RenderTextureTest " > <nl> + < UniqueIdentifier > { 5e825b03 - 67b5 - 4bb0 - a8f7 - ad1fe860165d } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ EffectsAdvancedTest " > <nl> + < UniqueIdentifier > { 6eeb2da8 - 4ecb - 4602 - 9ac5 - 80caabe39ee6 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ KeypadTest " > <nl> + < UniqueIdentifier > { 34e82723 - 7a60 - 4bed - ba19 - de427c04d212 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ CocosDenshionTest " > <nl> + < UniqueIdentifier > { a786a2de - 3545 - 4fdc - 9884 - 5a8c68bf8eb8 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ PerformanceTest " > <nl> + < UniqueIdentifier > { 2013787a - dc87 - 456f - bf75 - 33c4cac37af3 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ZwoptexTest " > <nl> + < UniqueIdentifier > { 4505301c - 1a9d - 46e4 - 8362 - 7f5572c7a7e6 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ CurlTest " > <nl> + < UniqueIdentifier > { 6a365fa7 - 888d - 46bf - 9c63 - 0f1dd507339e } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ TextInputTest " > <nl> + < UniqueIdentifier > { 9c6d3e16 - 37f6 - 47b1 - 9729 - 847b7fcf3316 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ UserDefaultTest " > <nl> + < UniqueIdentifier > { ee5dc87f - 91dc - 4c57 - a46c - 049029a23a4e } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ BugsTest " > <nl> + < UniqueIdentifier > { 33d3a425 - 5956 - 4faa - b582 - 56cf7e900fe9 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ BugsTest \ Bug - 458 " > <nl> + < UniqueIdentifier > { 0aa8d144 - 25b7 - 4782 - 9b2e - 703eb2f2f7ed } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ Texture2dTest " > <nl> + < UniqueIdentifier > { 9d82adbc - 4931 - 4e09 - 9ced - 14330f1df797 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ FontTest " > <nl> + < UniqueIdentifier > { 04b21bb0 - 6735 - 40f6 - 9b95 - 90cdf4b3b2d1 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ CurrentLanguageTest " > <nl> + < UniqueIdentifier > { 2c810374 - bc6e - 47c1 - 83af - 502d65a318cd } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ TextureCacheTest " > <nl> + < UniqueIdentifier > { 1cf546eb - abc6 - 4b66 - a85e - 66a68f82b536 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ AccelerometerTest " > <nl> + < UniqueIdentifier > { 0a4490ab - a3f5 - 4ccf - 9b5d - ce03d80d4004 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest " > <nl> + < UniqueIdentifier > { 897838bb - 90e6 - 492d - adcb - e719415c37b0 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ ControlExtensionTest " > <nl> + < UniqueIdentifier > { 54bf5401 - 2f85 - 482c - b272 - 1af67facaed5 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlButtonTest " > <nl> + < UniqueIdentifier > { bdb14357 - 5f6b - 4eae - 8004 - af6539f5d71b } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlColourPicker " > <nl> + < UniqueIdentifier > { c4c3ece6 - 16a2 - 4795 - a04f - ef5f34502695 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSliderTest " > <nl> + < UniqueIdentifier > { decc4f82 - 255c - 4607 - b837 - ddebfca7e96a } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSwitchTest " > <nl> + < UniqueIdentifier > { 8eaa1432 - 0ee2 - 46d9 - 9717 - 40a71efb3fb1 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ NotificationCenterTest " > <nl> + < UniqueIdentifier > { 73050120 - a703 - 4a41 - a797 - 54b3fe4c6997 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ CocosBuilderTest " > <nl> + < UniqueIdentifier > { 2a3d945a - 4162 - 4f91 - 8178 - 47f4608b4932 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ CocosBuilderTest \ ButtonTest " > <nl> + < UniqueIdentifier > { 084ad29d - 9eac - 4f8e - 8910 - 5279a6d9b0b2 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ CocosBuilderTest \ HelloCocosBuilder " > <nl> + < UniqueIdentifier > { fb280225 - 2a4a - 4192 - b30f - 46b9d4fcb65b } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ CocosBuilderTest \ LabelTest " > <nl> + < UniqueIdentifier > { 262bbe18 - e1f5 - 4b56 - b933 - cd8090bc274c } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ CocosBuilderTest \ MenuTest " > <nl> + < UniqueIdentifier > { 7a4ffce0 - ab4c - 438f - a6ae - b1133f5ebac1 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ CocosBuilderTest \ ParticleSystemTest " > <nl> + < UniqueIdentifier > { 354a7552 - e7c8 - 43c0 - 8290 - 56e85127e4c2 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ CocosBuilderTest \ SpriteTest " > <nl> + < UniqueIdentifier > { b4e53419 - 9636 - 415c - af0b - 5454bb147769 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ CocosBuilderTest \ TestHeader " > <nl> + < UniqueIdentifier > { becce610 - 4d2e - 4263 - bbef - 168b9c644de0 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ CocosBuilderTest \ ScrollViewTest " > <nl> + < UniqueIdentifier > { 232a0aa0 - fa5a - 45b3 - 9b01 - ffb5687acf49 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ NodeTest " > <nl> + < UniqueIdentifier > { 74b8b965 - 89eb - 43a5 - 9996 - 856a9e4b6326 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ActionsProgressTest " > <nl> + < UniqueIdentifier > { d7f1c4af - 37e8 - 441a - bbe0 - dc63f64a0403 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ Box2DTest " > <nl> + < UniqueIdentifier > { 5fa4bd78 - 0a13 - 41c1 - 84f7 - f84e3997da9e } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ Box2DTestBed " > <nl> + < UniqueIdentifier > { c6700e2e - 5837 - 4051 - 8de8 - 6ccf6e580402 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ Box2DTestBed \ Tests " > <nl> + < UniqueIdentifier > { 17c1844a - dd68 - 4ed5 - a368 - 383253473518 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ MutiTouchTest " > <nl> + < UniqueIdentifier > { b3be049f - 74ff - 44a5 - 8895 - 0766e4807671 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ NetworkTest " > <nl> + < UniqueIdentifier > { 28e8af6a - 0e73 - 4069 - bdf4 - 735138ed886d } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ TableViewTest " > <nl> + < UniqueIdentifier > { 2603ae57 - b062 - 4281 - 9daf - c925634eaeb4 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlPotentiometerTest " > <nl> + < UniqueIdentifier > { 08850f9d - e7e5 - 4bca - ae90 - cf8df391479f } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlStepperTest " > <nl> + < UniqueIdentifier > { 7e809230 - 9bb5 - 45bb - a26c - b5cdd1390914 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ChipmunkTest " > <nl> + < UniqueIdentifier > { 0a728d21 - a3d4 - 4d32 - 9d6d - f0fd078cbaa0 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ClippingNodeTest " > <nl> + < UniqueIdentifier > { b79f4701 - 6fe2 - 4996 - 83c5 - 0567bcf90287 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ CocosBuilderTest \ AnimationsTest " > <nl> + < UniqueIdentifier > { e8752620 - 8414 - 4f43 - a572 - 5fa82650f223 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ FileUtilsTest " > <nl> + < UniqueIdentifier > { a4c2111f - cf9f - 492c - 884d - 3de24715adce } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " Classes \ ExtensionsTest \ EditBoxTest " > <nl> + < UniqueIdentifier > { 18a69e7e - 8ca7 - 475a - bfbb - 7296baab16ce } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClCompile Include = " main . cpp " > <nl> + < Filter > win32 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ AppDelegate . cpp " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ controller . cpp " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ testBasic . cpp " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ActionsTest \ ActionsTest . cpp " > <nl> + < Filter > Classes \ ActionsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ TransitionsTest \ TransitionsTest . cpp " > <nl> + < Filter > Classes \ TransitionsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ EffectsTest \ EffectsTest . cpp " > <nl> + < Filter > Classes \ EffectsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ClickAndMoveTest \ ClickAndMoveTest . cpp " > <nl> + < Filter > Classes \ ClickAndMoveTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ RotateWorldTest \ RotateWorldTest . cpp " > <nl> + < Filter > Classes \ RotateWorldTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ParticleTest \ ParticleTest . cpp " > <nl> + < Filter > Classes \ ParticleTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ActionsEaseTest \ ActionsEaseTest . cpp " > <nl> + < Filter > Classes \ ActionsEaseTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ MotionStreakTest \ MotionStreakTest . cpp " > <nl> + < Filter > Classes \ MotionStreakTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ DrawPrimitivesTest \ DrawPrimitivesTest . cpp " > <nl> + < Filter > Classes \ DrawPrimitivesTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ShaderTest \ ShaderTest . cpp " > <nl> + < Filter > Classes \ ShaderTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ TouchesTest \ Ball . cpp " > <nl> + < Filter > Classes \ TouchesTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ TouchesTest \ Paddle . cpp " > <nl> + < Filter > Classes \ TouchesTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ TouchesTest \ TouchesTest . cpp " > <nl> + < Filter > Classes \ TouchesTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ MenuTest \ MenuTest . cpp " > <nl> + < Filter > Classes \ MenuTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ActionManagerTest \ ActionManagerTest . cpp " > <nl> + < Filter > Classes \ ActionManagerTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ LayerTest \ LayerTest . cpp " > <nl> + < Filter > Classes \ LayerTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ SceneTest \ SceneTest . cpp " > <nl> + < Filter > Classes \ SceneTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ParallaxTest \ ParallaxTest . cpp " > <nl> + < Filter > Classes \ ParallaxTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ TileMapTest \ TileMapTest . cpp " > <nl> + < Filter > Classes \ TileMapTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ IntervalTest \ IntervalTest . cpp " > <nl> + < Filter > Classes \ IntervalTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ LabelTest \ LabelTest . cpp " > <nl> + < Filter > Classes \ LabelTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ SpriteTest \ SpriteTest . cpp " > <nl> + < Filter > Classes \ SpriteTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ SchedulerTest \ SchedulerTest . cpp " > <nl> + < Filter > Classes \ SchedulerTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ RenderTextureTest \ RenderTextureTest . cpp " > <nl> + < Filter > Classes \ RenderTextureTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ EffectsAdvancedTest \ EffectsAdvancedTest . cpp " > <nl> + < Filter > Classes \ EffectsAdvancedTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ KeypadTest \ KeypadTest . cpp " > <nl> + < Filter > Classes \ KeypadTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ CocosDenshionTest \ CocosDenshionTest . cpp " > <nl> + < Filter > Classes \ CocosDenshionTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceNodeChildrenTest . cpp " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceParticleTest . cpp " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceSpriteTest . cpp " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceTest . cpp " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceTextureTest . cpp " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ PerformanceTest \ PerformanceTouchesTest . cpp " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ZwoptexTest \ ZwoptexTest . cpp " > <nl> + < Filter > Classes \ ZwoptexTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ CurlTest \ CurlTest . cpp " > <nl> + < Filter > Classes \ CurlTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ TextInputTest \ TextInputTest . cpp " > <nl> + < Filter > Classes \ TextInputTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ UserDefaultTest \ UserDefaultTest . cpp " > <nl> + < Filter > Classes \ UserDefaultTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 1159 . cpp " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 1174 . cpp " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 350 . cpp " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 422 . cpp " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 624 . cpp " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 886 . cpp " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 899 . cpp " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 914 . cpp " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ BugsTest . cpp " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 458 \ Bug - 458 . cpp " > <nl> + < Filter > Classes \ BugsTest \ Bug - 458 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ BugsTest \ Bug - 458 \ QuestionContainerSprite . cpp " > <nl> + < Filter > Classes \ BugsTest \ Bug - 458 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ Texture2dTest \ Texture2dTest . cpp " > <nl> + < Filter > Classes \ Texture2dTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ FontTest \ FontTest . cpp " > <nl> + < Filter > Classes \ FontTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ CurrentLanguageTest \ CurrentLanguageTest . cpp " > <nl> + < Filter > Classes \ CurrentLanguageTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ TextureCacheTest \ TextureCacheTest . cpp " > <nl> + < Filter > Classes \ TextureCacheTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ AccelerometerTest \ AccelerometerTest . cpp " > <nl> + < Filter > Classes \ AccelerometerTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ExtensionsTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlScene . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSceneManager . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlButtonTest \ CCControlButtonTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlButtonTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlColourPicker \ CCControlColourPickerTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlColourPicker < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSliderTest \ CCControlSliderTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSliderTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSwitchTest \ CCControlSwitchTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSwitchTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ NotificationCenterTest \ NotificationCenterTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ NotificationCenterTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ CocosBuilderTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ButtonTest \ ButtonTestLayer . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ ButtonTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ HelloCocosBuilder \ HelloCocosBuilderLayer . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ HelloCocosBuilder < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ MenuTest \ MenuTestLayer . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ MenuTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ TestHeader \ TestHeaderLayer . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ TestHeader < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ NodeTest \ NodeTest . cpp " > <nl> + < Filter > Classes \ NodeTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ActionsProgressTest \ ActionsProgressTest . cpp " > <nl> + < Filter > Classes \ ActionsProgressTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ Box2DTest \ Box2dTest . cpp " > <nl> + < Filter > Classes \ Box2DTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ Box2DTestBed \ Box2dView . cpp " > <nl> + < Filter > Classes \ Box2DTestBed < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ Box2DTestBed \ GLES - Render . cpp " > <nl> + < Filter > Classes \ Box2DTestBed < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ Box2DTestBed \ Test . cpp " > <nl> + < Filter > Classes \ Box2DTestBed < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ Box2DTestBed \ TestEntries . cpp " > <nl> + < Filter > Classes \ Box2DTestBed < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ MutiTouchTest \ MutiTouchTest . cpp " > <nl> + < Filter > Classes \ MutiTouchTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ NetworkTest \ HttpClientTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ NetworkTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ TableViewTest \ CustomTableViewCell . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ TableViewTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ TableViewTest \ TableViewTestScene . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ TableViewTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ AnimationsTest \ AnimationsTestLayer . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ AnimationsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlPotentiometerTest \ CCControlPotentiometerTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlPotentiometerTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlStepperTest \ CCControlStepperTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlStepperTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ VisibleRect . cpp " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ChipmunkTest \ ChipmunkTest . cpp " > <nl> + < Filter > Classes \ ChipmunkTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ClippingNodeTest \ ClippingNodeTest . cpp " > <nl> + < Filter > Classes \ ClippingNodeTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ FileUtilsTest \ FileUtilsTest . cpp " > <nl> + < Filter > Classes \ FileUtilsTest < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ Classes \ ExtensionsTest \ EditBoxTest \ EditBoxTest . cpp " > <nl> + < Filter > Classes \ ExtensionsTest \ EditBoxTest < / Filter > <nl> + < / ClCompile > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " main . h " > <nl> + < Filter > win32 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ AppDelegate . h " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ controller . h " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ testBasic . h " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ testResource . h " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ tests . h " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ActionsTest \ ActionsTest . h " > <nl> + < Filter > Classes \ ActionsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ TransitionsTest \ TransitionsTest . h " > <nl> + < Filter > Classes \ TransitionsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ EffectsTest \ EffectsTest . h " > <nl> + < Filter > Classes \ EffectsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ClickAndMoveTest \ ClickAndMoveTest . h " > <nl> + < Filter > Classes \ ClickAndMoveTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ RotateWorldTest \ RotateWorldTest . h " > <nl> + < Filter > Classes \ RotateWorldTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ParticleTest \ ParticleTest . h " > <nl> + < Filter > Classes \ ParticleTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ActionsEaseTest \ ActionsEaseTest . h " > <nl> + < Filter > Classes \ ActionsEaseTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ MotionStreakTest \ MotionStreakTest . h " > <nl> + < Filter > Classes \ MotionStreakTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ DrawPrimitivesTest \ DrawPrimitivesTest . h " > <nl> + < Filter > Classes \ DrawPrimitivesTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ShaderTest \ ShaderTest . h " > <nl> + < Filter > Classes \ ShaderTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ TouchesTest \ Ball . h " > <nl> + < Filter > Classes \ TouchesTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ TouchesTest \ Paddle . h " > <nl> + < Filter > Classes \ TouchesTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ TouchesTest \ TouchesTest . h " > <nl> + < Filter > Classes \ TouchesTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ MenuTest \ MenuTest . h " > <nl> + < Filter > Classes \ MenuTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ActionManagerTest \ ActionManagerTest . h " > <nl> + < Filter > Classes \ ActionManagerTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ LayerTest \ LayerTest . h " > <nl> + < Filter > Classes \ LayerTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ SceneTest \ SceneTest . h " > <nl> + < Filter > Classes \ SceneTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ParallaxTest \ ParallaxTest . h " > <nl> + < Filter > Classes \ ParallaxTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ TileMapTest \ TileMapTest . h " > <nl> + < Filter > Classes \ TileMapTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ IntervalTest \ IntervalTest . h " > <nl> + < Filter > Classes \ IntervalTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ LabelTest \ LabelTest . h " > <nl> + < Filter > Classes \ LabelTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ SpriteTest \ SpriteTest . h " > <nl> + < Filter > Classes \ SpriteTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ SchedulerTest \ SchedulerTest . h " > <nl> + < Filter > Classes \ SchedulerTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ RenderTextureTest \ RenderTextureTest . h " > <nl> + < Filter > Classes \ RenderTextureTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ EffectsAdvancedTest \ EffectsAdvancedTest . h " > <nl> + < Filter > Classes \ EffectsAdvancedTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ KeypadTest \ KeypadTest . h " > <nl> + < Filter > Classes \ KeypadTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ CocosDenshionTest \ CocosDenshionTest . h " > <nl> + < Filter > Classes \ CocosDenshionTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceNodeChildrenTest . h " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceParticleTest . h " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceSpriteTest . h " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceTest . h " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceTextureTest . h " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ PerformanceTest \ PerformanceTouchesTest . h " > <nl> + < Filter > Classes \ PerformanceTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ZwoptexTest \ ZwoptexTest . h " > <nl> + < Filter > Classes \ ZwoptexTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ CurlTest \ CurlTest . h " > <nl> + < Filter > Classes \ CurlTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ TextInputTest \ TextInputTest . h " > <nl> + < Filter > Classes \ TextInputTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ UserDefaultTest \ UserDefaultTest . h " > <nl> + < Filter > Classes \ UserDefaultTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 1159 . h " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 1174 . h " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 350 . h " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 422 . h " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 624 . h " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 886 . h " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 899 . h " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 914 . h " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ BugsTest . h " > <nl> + < Filter > Classes \ BugsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 458 \ Bug - 458 . h " > <nl> + < Filter > Classes \ BugsTest \ Bug - 458 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ BugsTest \ Bug - 458 \ QuestionContainerSprite . h " > <nl> + < Filter > Classes \ BugsTest \ Bug - 458 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Texture2dTest \ Texture2dTest . h " > <nl> + < Filter > Classes \ Texture2dTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ FontTest \ FontTest . h " > <nl> + < Filter > Classes \ FontTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ CurrentLanguageTest \ CurrentLanguageTest . h " > <nl> + < Filter > Classes \ CurrentLanguageTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ TextureCacheTest \ TextureCacheTest . h " > <nl> + < Filter > Classes \ TextureCacheTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ AccelerometerTest \ AccelerometerTest . h " > <nl> + < Filter > Classes \ AccelerometerTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ExtensionsTest . h " > <nl> + < Filter > Classes \ ExtensionsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlScene . h " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSceneManager . h " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlButtonTest \ CCControlButtonTest . h " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlButtonTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlColourPicker \ CCControlColourPickerTest . h " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlColourPicker < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSliderTest \ CCControlSliderTest . h " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSliderTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSwitchTest \ CCControlSwitchTest . h " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlSwitchTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ NotificationCenterTest \ NotificationCenterTest . h " > <nl> + < Filter > Classes \ ExtensionsTest \ NotificationCenterTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ CocosBuilderTest . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ButtonTest \ ButtonTestLayer . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ ButtonTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ButtonTest \ ButtonTestLayerLoader . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ ButtonTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ HelloCocosBuilder \ HelloCocosBuilderLayer . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ HelloCocosBuilder < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ HelloCocosBuilder \ HelloCocosBuilderLayerLoader . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ HelloCocosBuilder < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ LabelTest \ LabelTestLayer . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ LabelTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ LabelTest \ LabelTestLayerLoader . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ LabelTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ MenuTest \ MenuTestLayer . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ MenuTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ MenuTest \ MenuTestLayerLoader . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ MenuTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ParticleSystemTest \ ParticleSystemTestLayer . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ ParticleSystemTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ParticleSystemTest \ ParticleSystemTestLayerLoader . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ ParticleSystemTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ SpriteTest \ SpriteTestLayer . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ SpriteTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ SpriteTest \ SpriteTestLayerLoader . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ SpriteTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ TestHeader \ TestHeaderLayer . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ TestHeader < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ TestHeader \ TestHeaderLayerLoader . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ TestHeader < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ScrollViewTest \ ScrollViewTestLayer . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ ScrollViewTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ ScrollViewTest \ ScrollViewTestLayerLoader . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ ScrollViewTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ NodeTest \ NodeTest . h " > <nl> + < Filter > Classes \ NodeTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ActionsProgressTest \ ActionsProgressTest . h " > <nl> + < Filter > Classes \ ActionsProgressTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTest \ Box2dTest . h " > <nl> + < Filter > Classes \ Box2DTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Box2dView . h " > <nl> + < Filter > Classes \ Box2DTestBed < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ GLES - Render . h " > <nl> + < Filter > Classes \ Box2DTestBed < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Test . h " > <nl> + < Filter > Classes \ Box2DTestBed < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ AddPair . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ ApplyForce . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ BodyTypes . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Breakable . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Bridge . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ BulletTest . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Cantilever . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Car . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Chain . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ CharacterCollision . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ CollisionFiltering . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ CollisionProcessing . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ CompoundShapes . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Confined . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ ContinuousTest . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ DistanceTest . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Dominos . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ DumpShell . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ DynamicTreeTest . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ EdgeShapes . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ EdgeTest . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Gears . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ OneSidedPlatform . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Pinball . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ PolyCollision . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ PolyShapes . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Prismatic . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Pulleys . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Pyramid . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ RayCast . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Revolute . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Rope . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ RopeJoint . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ SensorTest . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ ShapeEditing . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ SliderCrank . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ SphereStack . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ TheoJansen . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Tiles . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ TimeOfImpact . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Tumbler . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ VaryingFriction . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ VaryingRestitution . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ VerticalStack . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ Box2DTestBed \ Tests \ Web . h " > <nl> + < Filter > Classes \ Box2DTestBed \ Tests < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ MutiTouchTest \ MutiTouchTest . h " > <nl> + < Filter > Classes \ MutiTouchTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ NetworkTest \ HttpClientTest . h " > <nl> + < Filter > Classes \ ExtensionsTest \ NetworkTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ TableViewTest \ CustomTableViewCell . h " > <nl> + < Filter > Classes \ ExtensionsTest \ TableViewTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ TableViewTest \ TableViewTestScene . h " > <nl> + < Filter > Classes \ ExtensionsTest \ TableViewTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ AnimationsTest \ AnimationsLayerLoader . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ AnimationsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ CocosBuilderTest \ AnimationsTest \ AnimationsTestLayer . h " > <nl> + < Filter > Classes \ ExtensionsTest \ CocosBuilderTest \ AnimationsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlPotentiometerTest \ CCControlPotentiometerTest . h " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlPotentiometerTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlStepperTest \ CCControlStepperTest . h " > <nl> + < Filter > Classes \ ExtensionsTest \ ControlExtensionTest \ CCControlStepperTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ VisibleRect . h " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ChipmunkTest \ ChipmunkTest . h " > <nl> + < Filter > Classes \ ChipmunkTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ClippingNodeTest \ ClippingNodeTest . h " > <nl> + < Filter > Classes \ ClippingNodeTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ FileUtilsTest \ FileUtilsTest . h " > <nl> + < Filter > Classes \ FileUtilsTest < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ Classes \ ExtensionsTest \ EditBoxTest \ EditBoxTest . h " > <nl> + < Filter > Classes \ ExtensionsTest \ EditBoxTest < / Filter > <nl> + < / ClInclude > <nl> + < / ItemGroup > <nl> + < / Project > <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 314a27ae4df1 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . win32 / HelloCpp . vcxproj . user <nl> <nl> +  < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project ToolsVersion = " 4 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < LocalDebuggerWorkingDirectory > $ ( ProjectDir ) . . \ Resources < / LocalDebuggerWorkingDirectory > <nl> + < DebuggerFlavor > WindowsLocalDebugger < / DebuggerFlavor > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < LocalDebuggerWorkingDirectory > $ ( ProjectDir ) . . \ Resources < / LocalDebuggerWorkingDirectory > <nl> + < DebuggerFlavor > WindowsLocalDebugger < / DebuggerFlavor > <nl> + < / PropertyGroup > <nl> + < / Project > <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . e2c6d95f1fbd <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . win32 / main . cpp <nl> <nl> + # include " main . h " <nl> + # include " AppDelegate . h " <nl> + # include " CCEGLView . h " <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + int APIENTRY _tWinMain ( HINSTANCE hInstance , <nl> + HINSTANCE hPrevInstance , <nl> + LPTSTR lpCmdLine , <nl> + int nCmdShow ) <nl> + { <nl> + UNREFERENCED_PARAMETER ( hPrevInstance ) ; <nl> + UNREFERENCED_PARAMETER ( lpCmdLine ) ; <nl> + <nl> + / / create the application instance <nl> + AppDelegate app ; <nl> + CCEGLView * eglView = CCEGLView : : sharedOpenGLView ( ) ; <nl> + eglView - > setViewName ( " HelloCpp " ) ; <nl> + eglView - > setFrameSize ( 480 , 320 ) ; <nl> + return CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . e74708bdf25a <nl> mmm / dev / null <nl> ppp b / template / multi - platform - cpp / proj . win32 / main . h <nl> <nl> + # ifndef __MAIN_H__ <nl> + # define __MAIN_H__ <nl> + <nl> + # define WIN32_LEAN_AND_MEAN / / Exclude rarely - used stuff from Windows headers <nl> + <nl> + / / Windows Header Files : <nl> + # include < windows . h > <nl> + # include < tchar . h > <nl> + <nl> + / / C RunTime Header Files <nl> + # include " CCStdC . h " <nl> + <nl> + # endif / / __MAIN_H__ <nl> new file mode 100644 <nl> index 000000000000 . . abd0e6c9cc4c <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / Classes / AppDelegate . cpp <nl> <nl> + # include " cocos2d . h " <nl> + # include " CCEGLView . h " <nl> + # include " AppDelegate . h " <nl> + # include " CCLuaEngine . h " <nl> + # include " SimpleAudioEngine . h " <nl> + <nl> + using namespace CocosDenshion ; <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + AppDelegate : : AppDelegate ( ) <nl> + { <nl> + } <nl> + <nl> + AppDelegate : : ~ AppDelegate ( ) <nl> + { <nl> + SimpleAudioEngine : : end ( ) ; <nl> + } <nl> + <nl> + bool AppDelegate : : applicationDidFinishLaunching ( ) <nl> + { <nl> + / / initialize director <nl> + CCDirector * pDirector = CCDirector : : sharedDirector ( ) ; <nl> + pDirector - > setOpenGLView ( CCEGLView : : sharedOpenGLView ( ) ) ; <nl> + <nl> + / / turn on display FPS <nl> + pDirector - > setDisplayStats ( true ) ; <nl> + <nl> + / / set FPS . the default value is 1 . 0 / 60 if you don ' t call this <nl> + pDirector - > setAnimationInterval ( 1 . 0 / 60 ) ; <nl> + <nl> + / / register lua engine <nl> + CCLuaEngine * pEngine = CCLuaEngine : : defaultEngine ( ) ; <nl> + CCScriptEngineManager : : sharedManager ( ) - > setScriptEngine ( pEngine ) ; <nl> + <nl> + std : : string dirPath = " luaScript " ; <nl> + # if ( CC_TARGET_PLATFORM = = CC_PLATFORM_ANDROID ) <nl> + CCString * pstrFileContent = CCString : : createWithContentsOfFile ( ( dirPath + " / controller . lua " ) . c_str ( ) ) ; <nl> + if ( pstrFileContent ) <nl> + { <nl> + pEngine - > executeString ( pstrFileContent - > getCString ( ) ) ; <nl> + } <nl> + # else <nl> + std : : string path = CCFileUtils : : sharedFileUtils ( ) - > fullPathForFilename ( ( dirPath + " / controller . lua " ) . c_str ( ) ) ; <nl> + pEngine - > addSearchPath ( path . substr ( 0 , path . find_last_of ( " / " ) - dirPath . length ( ) ) . c_str ( ) ) ; <nl> + pEngine - > executeScriptFile ( path . c_str ( ) ) ; <nl> + # endif <nl> + return true ; <nl> + } <nl> + <nl> + / / This function will be called when the app is inactive . When comes a phone call , it ' s be invoked too <nl> + void AppDelegate : : applicationDidEnterBackground ( ) <nl> + { <nl> + CCDirector : : sharedDirector ( ) - > stopAnimation ( ) ; <nl> + <nl> + SimpleAudioEngine : : sharedEngine ( ) - > pauseBackgroundMusic ( ) ; <nl> + } <nl> + <nl> + / / this function will be called when the app is active again <nl> + void AppDelegate : : applicationWillEnterForeground ( ) <nl> + { <nl> + CCDirector : : sharedDirector ( ) - > startAnimation ( ) ; <nl> + <nl> + SimpleAudioEngine : : sharedEngine ( ) - > resumeBackgroundMusic ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . bcbd54a019ea <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / Classes / AppDelegate . h <nl> <nl> + # ifndef __APP_DELEGATE_H__ <nl> + # define __APP_DELEGATE_H__ <nl> + <nl> + # include " cocos2d . h " <nl> + <nl> + / * * <nl> + @ brief The cocos2d Application . <nl> + <nl> + The reason for implement as private inheritance is to hide some interface call by CCDirector . <nl> + * / <nl> + class AppDelegate : private cocos2d : : CCApplication <nl> + { <nl> + public : <nl> + AppDelegate ( ) ; <nl> + virtual ~ AppDelegate ( ) ; <nl> + <nl> + / * * <nl> + @ brief Implement CCDirector and CCScene init code here . <nl> + @ return true Initialize success , app continue . <nl> + @ return false Initialize failed , app terminate . <nl> + * / <nl> + virtual bool applicationDidFinishLaunching ( ) ; <nl> + <nl> + / * * <nl> + @ brief The function be called when the application enter background <nl> + @ param the pointer of the application <nl> + * / <nl> + virtual void applicationDidEnterBackground ( ) ; <nl> + <nl> + / * * <nl> + @ brief The function be called when the application enter foreground <nl> + @ param the pointer of the application <nl> + * / <nl> + virtual void applicationWillEnterForeground ( ) ; <nl> + } ; <nl> + <nl> + # endif / / __APP_DELEGATE_H__ <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . cfc16a8a4e19 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / Resources / background . mp3 . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + aec1c0a8c8068377fddca5ddd32084d8c3c3c419 <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 4609f3cf0258 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / Resources / farm . jpg . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + d7290c34702d1c6bdb368acb060d93b42d5deff8 <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 25bcd1aa230c <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / Resources / hello . lua <nl> <nl> + <nl> + - - for CCLuaEngine traceback <nl> + function __G__TRACKBACK__ ( msg ) <nl> + print ( " mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - " ) <nl> + print ( " LUA ERROR : " . . tostring ( msg ) . . " \ n " ) <nl> + print ( debug . traceback ( ) ) <nl> + print ( " mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - " ) <nl> + end <nl> + <nl> + local function main ( ) <nl> + - - avoid memory leak <nl> + collectgarbage ( " setpause " , 100 ) <nl> + collectgarbage ( " setstepmul " , 5000 ) <nl> + <nl> + local cclog = function ( . . . ) <nl> + print ( string . format ( . . . ) ) <nl> + end <nl> + <nl> + require " hello2 " <nl> + cclog ( " result is " . . myadd ( 3 , 5 ) ) <nl> + <nl> + mmmmmmmmmmmmmmm <nl> + <nl> + local visibleSize = CCDirector : sharedDirector ( ) : getVisibleSize ( ) <nl> + local origin = CCDirector : sharedDirector ( ) : getVisibleOrigin ( ) <nl> + <nl> + - - add the moving dog <nl> + local function creatDog ( ) <nl> + local frameWidth = 105 <nl> + local frameHeight = 95 <nl> + <nl> + - - create dog animate <nl> + local textureDog = CCTextureCache : sharedTextureCache ( ) : addImage ( " dog . png " ) <nl> + local rect = CCRectMake ( 0 , 0 , frameWidth , frameHeight ) <nl> + local frame0 = CCSpriteFrame : createWithTexture ( textureDog , rect ) <nl> + rect = CCRectMake ( frameWidth , 0 , frameWidth , frameHeight ) <nl> + local frame1 = CCSpriteFrame : createWithTexture ( textureDog , rect ) <nl> + <nl> + local spriteDog = CCSprite : createWithSpriteFrame ( frame0 ) <nl> + spriteDog . isPaused = false <nl> + spriteDog : setPosition ( origin . x , origin . y + visibleSize . height / 4 * 3 ) <nl> + <nl> + local animFrames = CCArray : create ( ) <nl> + <nl> + animFrames : addObject ( frame0 ) <nl> + animFrames : addObject ( frame1 ) <nl> + <nl> + local animation = CCAnimation : createWithSpriteFrames ( animFrames , 0 . 5 ) <nl> + local animate = CCAnimate : create ( animation ) ; <nl> + spriteDog : runAction ( CCRepeatForever : create ( animate ) ) <nl> + <nl> + - - moving dog at every frame <nl> + local function tick ( ) <nl> + if spriteDog . isPaused then return end <nl> + local x , y = spriteDog : getPosition ( ) <nl> + if x > origin . x + visibleSize . width then <nl> + x = origin . x <nl> + else <nl> + x = x + 1 <nl> + end <nl> + <nl> + spriteDog : setPositionX ( x ) <nl> + end <nl> + <nl> + CCDirector : sharedDirector ( ) : getScheduler ( ) : scheduleScriptFunc ( tick , 0 , false ) <nl> + <nl> + return spriteDog <nl> + end <nl> + <nl> + - - create farm <nl> + local function createLayerFarm ( ) <nl> + local layerFarm = CCLayer : create ( ) <nl> + <nl> + - - add in farm background <nl> + local bg = CCSprite : create ( " farm . jpg " ) <nl> + bg : setPosition ( origin . x + visibleSize . width / 2 + 80 , origin . y + visibleSize . height / 2 ) <nl> + layerFarm : addChild ( bg ) <nl> + <nl> + - - add land sprite <nl> + for i = 0 , 3 do <nl> + for j = 0 , 1 do <nl> + local spriteLand = CCSprite : create ( " land . png " ) <nl> + spriteLand : setPosition ( 200 + j * 180 - i % 2 * 90 , 10 + i * 95 / 2 ) <nl> + layerFarm : addChild ( spriteLand ) <nl> + end <nl> + end <nl> + <nl> + - - add crop <nl> + local frameCrop = CCSpriteFrame : create ( " crop . png " , CCRectMake ( 0 , 0 , 105 , 95 ) ) <nl> + for i = 0 , 3 do <nl> + for j = 0 , 1 do <nl> + local spriteCrop = CCSprite : createWithSpriteFrame ( frameCrop ) ; <nl> + spriteCrop : setPosition ( 10 + 200 + j * 180 - i % 2 * 90 , 30 + 10 + i * 95 / 2 ) <nl> + layerFarm : addChild ( spriteCrop ) <nl> + end <nl> + end <nl> + <nl> + - - add moving dog <nl> + local spriteDog = creatDog ( ) <nl> + layerFarm : addChild ( spriteDog ) <nl> + <nl> + - - handing touch events <nl> + local touchBeginPoint = nil <nl> + <nl> + local function onTouchBegan ( x , y ) <nl> + cclog ( " onTouchBegan : % 0 . 2f , % 0 . 2f " , x , y ) <nl> + touchBeginPoint = { x = x , y = y } <nl> + spriteDog . isPaused = true <nl> + - - CCTOUCHBEGAN event must return true <nl> + return true <nl> + end <nl> + <nl> + local function onTouchMoved ( x , y ) <nl> + - - cclog ( " onTouchMoved : % 0 . 2f , % 0 . 2f " , x , y ) <nl> + if touchBeginPoint then <nl> + local cx , cy = layerFarm : getPosition ( ) <nl> + layerFarm : setPosition ( cx + x - touchBeginPoint . x , <nl> + cy + y - touchBeginPoint . y ) <nl> + touchBeginPoint = { x = x , y = y } <nl> + end <nl> + end <nl> + <nl> + local function onTouchEnded ( x , y ) <nl> + cclog ( " onTouchEnded : % 0 . 2f , % 0 . 2f " , x , y ) <nl> + touchBeginPoint = nil <nl> + spriteDog . isPaused = false <nl> + end <nl> + <nl> + local function onTouch ( eventType , x , y ) <nl> + if eventType = = CCTOUCHBEGAN then <nl> + return onTouchBegan ( x , y ) <nl> + elseif eventType = = CCTOUCHMOVED then <nl> + return onTouchMoved ( x , y ) <nl> + else <nl> + return onTouchEnded ( x , y ) <nl> + end <nl> + end <nl> + <nl> + layerFarm : registerScriptTouchHandler ( onTouch ) <nl> + layerFarm : setTouchEnabled ( true ) <nl> + <nl> + return layerFarm <nl> + end <nl> + <nl> + <nl> + - - create menu <nl> + local function createLayerMenu ( ) <nl> + local layerMenu = CCLayer : create ( ) <nl> + <nl> + local menuPopup , menuTools , effectID <nl> + <nl> + local function menuCallbackClosePopup ( ) <nl> + - - stop test sound effect <nl> + SimpleAudioEngine : sharedEngine ( ) : stopEffect ( effectID ) <nl> + menuPopup : setVisible ( false ) <nl> + end <nl> + <nl> + local function menuCallbackOpenPopup ( ) <nl> + - - loop test sound effect <nl> + local effectPath = CCFileUtils : sharedFileUtils ( ) : fullPathForFilename ( " effect1 . wav " ) <nl> + effectID = SimpleAudioEngine : sharedEngine ( ) : playEffect ( effectPath ) <nl> + menuPopup : setVisible ( true ) <nl> + end <nl> + <nl> + - - add a popup menu <nl> + local menuPopupItem = CCMenuItemImage : create ( " menu2 . png " , " menu2 . png " ) <nl> + menuPopupItem : setPosition ( 0 , 0 ) <nl> + menuPopupItem : registerScriptTapHandler ( menuCallbackClosePopup ) <nl> + menuPopup = CCMenu : createWithItem ( menuPopupItem ) <nl> + menuPopup : setPosition ( origin . x + visibleSize . width / 2 , origin . y + visibleSize . height / 2 ) <nl> + menuPopup : setVisible ( false ) <nl> + layerMenu : addChild ( menuPopup ) <nl> + <nl> + - - add the left - bottom " tools " menu to invoke menuPopup <nl> + local menuToolsItem = CCMenuItemImage : create ( " menu1 . png " , " menu1 . png " ) <nl> + menuToolsItem : setPosition ( 0 , 0 ) <nl> + menuToolsItem : registerScriptTapHandler ( menuCallbackOpenPopup ) <nl> + menuTools = CCMenu : createWithItem ( menuToolsItem ) <nl> + local itemWidth = menuToolsItem : getContentSize ( ) . width <nl> + local itemHeight = menuToolsItem : getContentSize ( ) . height <nl> + menuTools : setPosition ( origin . x + itemWidth / 2 , origin . y + itemHeight / 2 ) <nl> + layerMenu : addChild ( menuTools ) <nl> + <nl> + return layerMenu <nl> + end <nl> + <nl> + - - play background music , preload effect <nl> + <nl> + - - uncomment below for the BlackBerry version <nl> + - - local bgMusicPath = CCFileUtils : sharedFileUtils ( ) : fullPathForFilename ( " background . ogg " ) <nl> + local bgMusicPath = CCFileUtils : sharedFileUtils ( ) : fullPathForFilename ( " background . mp3 " ) <nl> + SimpleAudioEngine : sharedEngine ( ) : playBackgroundMusic ( bgMusicPath , true ) <nl> + local effectPath = CCFileUtils : sharedFileUtils ( ) : fullPathForFilename ( " effect1 . wav " ) <nl> + SimpleAudioEngine : sharedEngine ( ) : preloadEffect ( effectPath ) <nl> + <nl> + - - run <nl> + local sceneGame = CCScene : create ( ) <nl> + sceneGame : addChild ( createLayerFarm ( ) ) <nl> + sceneGame : addChild ( createLayerMenu ( ) ) <nl> + CCDirector : sharedDirector ( ) : runWithScene ( sceneGame ) <nl> + end <nl> + <nl> + xpcall ( main , __G__TRACKBACK__ ) <nl> new file mode 100644 <nl> index 000000000000 . . 27158aa788db <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / Resources / hello2 . lua <nl> <nl> + function myadd ( x , y ) <nl> + return x + y <nl> + end <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . a4763d1eeced <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / . classpath <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < classpath > <nl> + < classpathentry kind = " src " path = " src " / > <nl> + < classpathentry kind = " src " path = " gen " / > <nl> + < classpathentry kind = " con " path = " com . android . ide . eclipse . adt . ANDROID_FRAMEWORK " / > <nl> + < classpathentry kind = " con " path = " com . android . ide . eclipse . adt . LIBRARIES " / > <nl> + < classpathentry kind = " output " path = " bin / classes " / > <nl> + < / classpath > <nl> new file mode 100644 <nl> index 000000000000 . . 4169f5e5d9a2 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / . project <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < projectDescription > <nl> + < name > TestLua < / name > <nl> + < comment > < / comment > <nl> + < projects > <nl> + < / projects > <nl> + < buildSpec > <nl> + < buildCommand > <nl> + < name > com . android . ide . eclipse . adt . ResourceManagerBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > com . android . ide . eclipse . adt . PreCompilerBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > org . eclipse . jdt . core . javabuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > com . android . ide . eclipse . adt . ApkBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < / buildSpec > <nl> + < natures > <nl> + < nature > com . android . ide . eclipse . adt . AndroidNature < / nature > <nl> + < nature > org . eclipse . jdt . core . javanature < / nature > <nl> + < / natures > <nl> + < linkedResources > <nl> + < link > <nl> + < name > src_common < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 3 - PROJECT_LOC / cocos2dx / platform / android / java / src_common < / locationURI > <nl> + < / link > <nl> + < / linkedResources > <nl> + < / projectDescription > <nl> new file mode 100644 <nl> index 000000000000 . . 09f574425fd2 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / AndroidManifest . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < manifest xmlns : android = " http : / / schemas . android . com / apk / res / android " <nl> + package = " org . cocos2dx . testlua " <nl> + android : versionCode = " 1 " <nl> + android : versionName = " 1 . 0 " > <nl> + <nl> + < uses - sdk android : minSdkVersion = " 8 " android : targetSdkVersion = " 8 " / > <nl> + < uses - feature android : glEsVersion = " 0x00020000 " / > <nl> + <nl> + < application android : label = " @ string / app_name " <nl> + android : icon = " @ drawable / icon " > <nl> + <nl> + < activity android : name = " . TestLua " <nl> + android : label = " @ string / app_name " <nl> + android : screenOrientation = " landscape " <nl> + android : theme = " @ android : style / Theme . NoTitleBar . Fullscreen " <nl> + android : configChanges = " orientation " > <nl> + < intent - filter > <nl> + < action android : name = " android . intent . action . MAIN " / > <nl> + < category android : name = " android . intent . category . LAUNCHER " / > <nl> + < / intent - filter > <nl> + < / activity > <nl> + < / application > <nl> + < supports - screens android : largeScreens = " true " <nl> + android : smallScreens = " true " <nl> + android : anyDensity = " true " <nl> + android : normalScreens = " true " / > <nl> + < / manifest > <nl> new file mode 100644 <nl> index 000000000000 . . b0971e891efd <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / ant . properties <nl> <nl> + # This file is used to override default values used by the Ant build system . <nl> + # <nl> + # This file must be checked into Version Control Systems , as it is <nl> + # integral to the build system of your project . <nl> + <nl> + # This file is only used by the Ant script . <nl> + <nl> + # You can use this to override default values such as <nl> + # ' source . dir ' for the location of your java source folder and <nl> + # ' out . dir ' for the location of your output folder . <nl> + <nl> + # You can also use it define how the release builds are signed by declaring <nl> + # the following properties : <nl> + # ' key . store ' for the location of your keystore and <nl> + # ' key . alias ' for the name of the key to use . <nl> + # The password will be asked during the build when you use the ' release ' target . <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 0d99a1f0fc14 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / build . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < project name = " TestLua " default = " help " > <nl> + <nl> + < ! - - The local . properties file is created and updated by the ' android ' tool . <nl> + It contains the path to the SDK . It should * NOT * be checked into <nl> + Version Control Systems . - - > <nl> + < property file = " local . properties " / > <nl> + <nl> + < ! - - The ant . properties file can be created by you . It is only edited by the <nl> + ' android ' tool to add properties to it . <nl> + This is the place to change some Ant specific build properties . <nl> + Here are some properties you may want to change / update : <nl> + <nl> + source . dir <nl> + The name of the source directory . Default is ' src ' . <nl> + out . dir <nl> + The name of the output directory . Default is ' bin ' . <nl> + <nl> + For other overridable properties , look at the beginning of the rules <nl> + files in the SDK , at tools / ant / build . xml <nl> + <nl> + Properties related to the SDK location or the project target should <nl> + be updated using the ' android ' tool with the ' update ' action . <nl> + <nl> + This file is an integral part of the build system for your <nl> + application and should be checked into Version Control Systems . <nl> + <nl> + - - > <nl> + < property file = " ant . properties " / > <nl> + <nl> + < ! - - The project . properties file is created and updated by the ' android ' <nl> + tool , as well as ADT . <nl> + <nl> + This contains project specific properties such as project target , and library <nl> + dependencies . Lower level build properties are stored in ant . properties <nl> + ( or in . classpath for Eclipse projects ) . <nl> + <nl> + This file is an integral part of the build system for your <nl> + application and should be checked into Version Control Systems . - - > <nl> + < loadproperties srcFile = " project . properties " / > <nl> + <nl> + < ! - - quick check on sdk . dir - - > <nl> + < fail <nl> + message = " sdk . dir is missing . Make sure to generate local . properties using ' android update project ' or to inject it through an env var " <nl> + unless = " sdk . dir " <nl> + / > <nl> + <nl> + < ! - - <nl> + Import per project custom build rules if present at the root of the project . <nl> + This is the place to put custom intermediary targets such as : <nl> + - pre - build <nl> + - pre - compile <nl> + - post - compile ( This is typically used for code obfuscation . <nl> + Compiled code location : $ { out . classes . absolute . dir } <nl> + If this is not done in place , override $ { out . dex . input . absolute . dir } ) <nl> + - post - package <nl> + - post - build <nl> + - pre - clean <nl> + - - > <nl> + < import file = " custom_rules . xml " optional = " true " / > <nl> + <nl> + < ! - - Import the actual build file . <nl> + <nl> + To customize existing targets , there are two options : <nl> + - Customize only one target : <nl> + - copy / paste the target into this file , * before * the <nl> + < import > task . <nl> + - customize it to your needs . <nl> + - Customize the whole content of build . xml <nl> + - copy / paste the content of the rules files ( minus the top node ) <nl> + into this file , replacing the < import > task . <nl> + - customize to your needs . <nl> + <nl> + * * * * * * * * * * * * * * * * * * * * * * * <nl> + * * * * * * IMPORTANT * * * * * * <nl> + * * * * * * * * * * * * * * * * * * * * * * * <nl> + In all cases you must update the value of version - tag below to read ' custom ' instead of an integer , <nl> + in order to avoid having your file be overridden by tools such as " android update project " <nl> + - - > <nl> + < ! - - version - tag : 1 - - > <nl> + < import file = " $ { sdk . dir } / tools / ant / build . xml " / > <nl> + <nl> + < / project > <nl> new file mode 100755 <nl> index 000000000000 . . d918e10c90f3 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / build_native . sh <nl> <nl> + APPNAME = " TestLua " <nl> + <nl> + # options <nl> + <nl> + buildexternalsfromsource = <nl> + <nl> + usage ( ) { <nl> + cat < < EOF <nl> + usage : $ 0 [ options ] <nl> + <nl> + Build C / C + + code for $ APPNAME using Android NDK <nl> + <nl> + OPTIONS : <nl> + - s Build externals from source <nl> + - h this help <nl> + EOF <nl> + } <nl> + <nl> + while getopts " sh " OPTION ; do <nl> + case " $ OPTION " in <nl> + s ) <nl> + buildexternalsfromsource = 1 <nl> + ; ; <nl> + h ) <nl> + usage <nl> + exit 0 <nl> + ; ; <nl> + esac <nl> + done <nl> + <nl> + # paths <nl> + <nl> + if [ - z " $ { NDK_ROOT + aaa } " ] ; then <nl> + # . . . if NDK_ROOT is not set , use " $ HOME / bin / android - ndk " <nl> + NDK_ROOT = " $ HOME / bin / android - ndk " <nl> + fi <nl> + <nl> + if [ - z " $ { COCOS2DX_ROOT + aaa } " ] ; then <nl> + # . . . if COCOS2DX_ROOT is not set <nl> + # . . . find current working directory <nl> + DIR = " $ ( cd " $ ( dirname " $ { BASH_SOURCE [ 0 ] } " ) " & & pwd ) " <nl> + # . . . use paths relative to current directory <nl> + COCOS2DX_ROOT = " $ DIR / . . / . . / . . / . . " <nl> + APP_ROOT = " $ DIR / . . " <nl> + APP_ANDROID_ROOT = " $ DIR " <nl> + else <nl> + APP_ROOT = " $ COCOS2DX_ROOT " / samples / Lua / " $ APPNAME " <nl> + APP_ANDROID_ROOT = " $ COCOS2DX_ROOT " / samples / Lua / " $ APPNAME " / proj . android <nl> + fi <nl> + <nl> + echo " NDK_ROOT = $ NDK_ROOT " <nl> + echo " COCOS2DX_ROOT = $ COCOS2DX_ROOT " <nl> + echo " APP_ROOT = $ APP_ROOT " <nl> + echo " APP_ANDROID_ROOT = $ APP_ANDROID_ROOT " <nl> + <nl> + # make sure assets is exist <nl> + if [ - d " $ APP_ANDROID_ROOT " / assets ] ; then <nl> + rm - rf " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + <nl> + mkdir " $ APP_ANDROID_ROOT " / assets <nl> + <nl> + # copy resources <nl> + for file in " $ APP_ROOT " / . . / . . / Cpp / TestCpp / Resources / * <nl> + do <nl> + if [ - d " $ file " ] ; then <nl> + cp - rf " $ file " " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + <nl> + if [ - f " $ file " ] ; then <nl> + cp " $ file " " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + done <nl> + <nl> + # copy luaScript <nl> + for file in " $ APP_ROOT " / Resources / * <nl> + do <nl> + if [ - d " $ file " ] ; then <nl> + cp - rf " $ file " " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + <nl> + if [ - f " $ file " ] ; then <nl> + cp " $ file " " $ APP_ANDROID_ROOT " / assets <nl> + fi <nl> + done <nl> + <nl> + # remove test_image_rgba4444 . pvr . gz <nl> + rm - f " $ APP_ANDROID_ROOT " / assets / Images / test_image_rgba4444 . pvr . gz <nl> + rm - f " $ APP_ANDROID_ROOT " / assets / Images / test_1021x1024_rgba8888 . pvr . gz <nl> + rm - f " $ APP_ANDROID_ROOT " / assets / Images / test_1021x1024_rgb888 . pvr . gz <nl> + rm - f " $ APP_ANDROID_ROOT " / assets / Images / test_1021x1024_rgba4444 . pvr . gz <nl> + rm - f " $ APP_ANDROID_ROOT " / assets / Images / test_1021x1024_a8 . pvr . gz <nl> + <nl> + if [ [ " $ buildexternalsfromsource " ] ] ; then <nl> + echo " Building external dependencies from source " <nl> + " $ NDK_ROOT " / ndk - build - C " $ APP_ANDROID_ROOT " $ * \ <nl> + " NDK_MODULE_PATH = $ { COCOS2DX_ROOT } : $ { COCOS2DX_ROOT } / cocos2dx / platform / third_party / android / source " <nl> + else <nl> + echo " Using prebuilt externals " <nl> + " $ NDK_ROOT " / ndk - build - C " $ APP_ANDROID_ROOT " $ * \ <nl> + " NDK_MODULE_PATH = $ { COCOS2DX_ROOT } : $ { COCOS2DX_ROOT } / cocos2dx / platform / third_party / android / prebuilt " <nl> + fi <nl> new file mode 100644 <nl> index 000000000000 . . 8ca12ef02f98 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / jni / Android . mk <nl> <nl> + LOCAL_PATH : = $ ( call my - dir ) <nl> + <nl> + include $ ( CLEAR_VARS ) <nl> + <nl> + LOCAL_MODULE : = testlua_shared <nl> + <nl> + LOCAL_MODULE_FILENAME : = libtestlua <nl> + <nl> + LOCAL_SRC_FILES : = testlua / main . cpp \ <nl> + . . / . . / Classes / AppDelegate . cpp <nl> + <nl> + <nl> + LOCAL_C_INCLUDES : = $ ( LOCAL_PATH ) / . . / . . / Classes <nl> + <nl> + LOCAL_STATIC_LIBRARIES : = curl_static_prebuilt <nl> + <nl> + LOCAL_WHOLE_STATIC_LIBRARIES : = cocos2dx_static <nl> + LOCAL_WHOLE_STATIC_LIBRARIES + = cocosdenshion_static <nl> + LOCAL_WHOLE_STATIC_LIBRARIES + = cocos_lua_static <nl> + LOCAL_WHOLE_STATIC_LIBRARIES + = box2d_static <nl> + LOCAL_WHOLE_STATIC_LIBRARIES + = chipmunk_static <nl> + LOCAL_WHOLE_STATIC_LIBRARIES + = cocos_extension_static <nl> + <nl> + include $ ( BUILD_SHARED_LIBRARY ) <nl> + <nl> + $ ( call import - module , cocos2dx ) <nl> + $ ( call import - module , CocosDenshion / android ) <nl> + $ ( call import - module , scripting / lua / proj . android / jni ) <nl> + $ ( call import - module , cocos2dx / platform / third_party / android / prebuilt / libcurl ) <nl> + $ ( call import - module , extensions ) <nl> + $ ( call import - module , external / Box2D ) <nl> + $ ( call import - module , external / chipmunk ) <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . cb0c388b4a85 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / jni / Application . mk <nl> <nl> + APP_STL : = gnustl_static <nl> + APP_CPPFLAGS : = - frtti - DCOCOS2D_DEBUG = 1 <nl> + APP_CPPFLAGS + = - fexceptions <nl> new file mode 100644 <nl> index 000000000000 . . 50e7abdf305d <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / jni / testlua / main . cpp <nl> <nl> + # include " AppDelegate . h " <nl> + # include " cocos2d . h " <nl> + # include " CCEventType . h " <nl> + # include " platform / android / jni / JniHelper . h " <nl> + # include < jni . h > <nl> + # include < android / log . h > <nl> + <nl> + # define LOG_TAG " main " <nl> + # define LOGD ( . . . ) __android_log_print ( ANDROID_LOG_DEBUG , LOG_TAG , __VA_ARGS__ ) <nl> + <nl> + using namespace cocos2d ; <nl> + <nl> + extern " C " <nl> + { <nl> + <nl> + jint JNI_OnLoad ( JavaVM * vm , void * reserved ) <nl> + { <nl> + JniHelper : : setJavaVM ( vm ) ; <nl> + <nl> + return JNI_VERSION_1_4 ; <nl> + } <nl> + <nl> + void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit ( JNIEnv * env , jobject thiz , jint w , jint h ) <nl> + { <nl> + if ( ! CCDirector : : sharedDirector ( ) - > getOpenGLView ( ) ) <nl> + { <nl> + CCEGLView * view = CCEGLView : : sharedOpenGLView ( ) ; <nl> + view - > setFrameSize ( w , h ) ; <nl> + <nl> + AppDelegate * pAppDelegate = new AppDelegate ( ) ; <nl> + CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + } <nl> + else <nl> + { <nl> + ccDrawInit ( ) ; <nl> + ccGLInvalidateStateCache ( ) ; <nl> + <nl> + CCShaderCache : : sharedShaderCache ( ) - > reloadDefaultShaders ( ) ; <nl> + CCTextureCache : : reloadAllTextures ( ) ; <nl> + CCNotificationCenter : : sharedNotificationCenter ( ) - > postNotification ( EVNET_COME_TO_FOREGROUND , NULL ) ; <nl> + CCDirector : : sharedDirector ( ) - > setGLDefaultValues ( ) ; <nl> + } <nl> + } <nl> + <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . f2fe1559a217 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / proguard - project . txt <nl> <nl> + # To enable ProGuard in your project , edit project . properties <nl> + # to define the proguard . config property as described in that file . <nl> + # <nl> + # Add project specific ProGuard rules here . <nl> + # By default , the flags in this file are appended to flags specified <nl> + # in $ { sdk . dir } / tools / proguard / proguard - android . txt <nl> + # You can edit the include path and order by changing the ProGuard <nl> + # include property in project . properties . <nl> + # <nl> + # For more details , see <nl> + # http : / / developer . android . com / guide / developing / tools / proguard . html <nl> + <nl> + # Add any project specific keep options here : <nl> + <nl> + # If your project uses WebView with JS , uncomment the following <nl> + # and specify the fully qualified class name to the JavaScript interface <nl> + # class : <nl> + # - keepclassmembers class fqcn . of . javascript . interface . for . webview { <nl> + # public * ; <nl> + # } <nl> new file mode 100644 <nl> index 000000000000 . . 2482d70f38c3 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / project . properties <nl> <nl> + # This file is automatically generated by Android Tools . <nl> + # Do not modify this file - - YOUR CHANGES WILL BE ERASED ! <nl> + # <nl> + # This file must be checked in Version Control Systems . <nl> + # <nl> + # To customize properties used by the Ant build system use , <nl> + # " ant . properties " , and override values to adapt the script to your <nl> + # project structure . <nl> + <nl> + # Project target . <nl> + target = android - 8 <nl> + <nl> + android . library . reference . 1 = . . / . . / . . / . . / cocos2dx / platform / android / java <nl> new file mode 100644 <nl> index 000000000000 . . 0ad2cc48ff11 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / res / values / strings . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < resources > <nl> + < string name = " app_name " > TestLua < / string > <nl> + < / resources > <nl> new file mode 100644 <nl> index 000000000000 . . 1c9aa67ea689 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . android / src / org / cocos2dx / testlua / TestLua . java <nl> <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + Copyright ( c ) 2010 - 2012 cocos2d - x . org <nl> + <nl> + http : / / www . cocos2d - x . org <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + package org . cocos2dx . testlua ; <nl> + import org . cocos2dx . lib . Cocos2dxActivity ; <nl> + import org . cocos2dx . lib . Cocos2dxGLSurfaceView ; <nl> + <nl> + import android . content . Context ; <nl> + import android . os . Bundle ; <nl> + import android . view . KeyEvent ; <nl> + <nl> + public class TestLua extends Cocos2dxActivity { <nl> + protected void onCreate ( Bundle savedInstanceState ) { <nl> + super . onCreate ( savedInstanceState ) ; <nl> + } <nl> + <nl> + public Cocos2dxGLSurfaceView onCreateGLSurfaceView ( ) { <nl> + return new LuaGLSurfaceView ( this ) ; <nl> + } <nl> + <nl> + static { <nl> + System . loadLibrary ( " testlua " ) ; <nl> + } <nl> + } <nl> + <nl> + class LuaGLSurfaceView extends Cocos2dxGLSurfaceView { <nl> + <nl> + public LuaGLSurfaceView ( Context context ) { <nl> + super ( context ) ; <nl> + } <nl> + <nl> + public boolean onKeyDown ( int keyCode , KeyEvent event ) { <nl> + / / exit program when key back is entered <nl> + if ( keyCode = = KeyEvent . KEYCODE_BACK ) { <nl> + android . os . Process . killProcess ( android . os . Process . myPid ( ) ) ; <nl> + } <nl> + return super . onKeyDown ( keyCode , event ) ; <nl> + } <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . 2e8b5d33fd8c <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . blackberry / . cproject <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " standalone = " no " ? > <nl> + < ? fileVersion 4 . 0 . 0 ? > <nl> + <nl> + < cproject storage_type_id = " org . eclipse . cdt . core . XmlProjectDescriptionStorage " > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . settings " > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . debug . 446234419 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . debug . 446234419 " moduleId = " org . eclipse . cdt . core . settings " name = " Device - Debug " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . debug , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " " id = " com . qnx . qcc . configuration . exe . debug . 446234419 " name = " Device - Debug " parent = " com . qnx . qcc . configuration . exe . debug " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . debug . 446234419 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . debug . 2114985022 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < option id = " com . qnx . qcc . option . cpu . 476871357 " name = " Target CPU : " superClass = " com . qnx . qcc . option . cpu " value = " com . qnx . qcc . option . gen . cpu . armle - v7 " valueType = " enumerated " / > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 243174525 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Device - Debug } " id = " com . qnx . nto . 476715223 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 1144576773 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 477981148 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 950802078 " name = " Enhanced Security ( - fstack - protector - all ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 947876049 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 892081154 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; $ { workspace_loc : / cocos2dx } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . qccoptions . 1299872702 " name = " QCC Options " superClass = " com . qnx . qcc . option . compiler . qccoptions " / > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 1174705489 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 298372204 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 1245805836 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . assembler . includePath . 1902231095 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . assembler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; $ { workspace_loc : / cocos2dx } & quot ; " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 954888053 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 1869091739 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 2017324338 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 670245200 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1760958269 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 1794064552 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 1757627798 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; $ { workspace_loc : / cocos2dx / Device - Debug } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 1363839882 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / proj . blackberry / $ { ConfigName } / liblua . a " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . qccoptions . 1444329036 " name = " QCC Options " superClass = " com . qnx . qcc . option . linker . qccoptions " / > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 697035559 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 301444246 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . debug . 446234419 . 1188521308 " name = " / " resourcePath = " Resources " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . 1848846370 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " unusedChildren = " " > <nl> + < option id = " com . qnx . qcc . option . cpu . 476871357 . 1012248421 " name = " Target CPU : " superClass = " com . qnx . qcc . option . cpu . 476871357 " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 98537037 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler . 1144576773 " > <nl> + < option id = " com . qnx . qcc . option . compiler . optlevel . 1516975241 " superClass = " com . qnx . qcc . option . compiler . optlevel " value = " com . qnx . qcc . option . compiler . optlevel . 0 " valueType = " enumerated " / > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 1343144202 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 1708463214 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler . 298372204 " > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 1514503993 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 1657236236 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker . 1869091739 " / > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 363900746 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver . 301444246 " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " cocos2dx_support " / > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " > <nl> + < externalSettings containerId = " cocos2dx ; " factoryId = " org . eclipse . cdt . core . cfg . export . settings . sipplier " > <nl> + < externalSetting > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " includePath " name = " / cocos2dx " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " libraryPath " name = " / cocos2dx / Device - Debug " / > <nl> + < entry flags = " RESOLVED " kind = " libraryFile " name = " cocos2dx " / > <nl> + < / externalSetting > <nl> + < / externalSettings > <nl> + < / storageModule > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . release . 1265921422 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . release . 1265921422 " moduleId = " org . eclipse . cdt . core . settings " name = " Device - Release " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . release , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " " id = " com . qnx . qcc . configuration . exe . release . 1265921422 " name = " Device - Release " parent = " com . qnx . qcc . configuration . exe . release " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . release . 1265921422 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . release . 4046903 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < option id = " com . qnx . qcc . option . cpu . 49495308 " name = " Target CPU : " superClass = " com . qnx . qcc . option . cpu " value = " com . qnx . qcc . option . gen . cpu . armle - v7 " valueType = " enumerated " / > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 2115941098 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Device - Release } " id = " com . qnx . nto . 1079130834 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 489158604 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compiler . optlevel . 1816856148 " name = " Optimization Level " superClass = " com . qnx . qcc . option . compiler . optlevel " value = " com . qnx . qcc . option . compiler . optlevel . 2 " valueType = " enumerated " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 516815496 " name = " Enhanced Security ( - fstack - protector - all ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 1389762293 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . pie . 456946828 " name = " Position Independent Executable ( - fPIE ) " superClass = " com . qnx . qcc . option . compiler . pie " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 1777714844 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; $ { workspace_loc : / cocos2dx } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 1481914218 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 1981472408 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 1358975089 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 1460295121 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 1928031496 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1701813567 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 1061945690 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . pie . 2077677263 " name = " Position Independent Executable ( - pie ) " superClass = " com . qnx . qcc . option . linker . pie " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 1491934160 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 2141259757 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / proj . blackberry / $ { ConfigName } / liblua . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 1321710093 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 1156203201 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " cocos2dx_support " / > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . profile . 1761000041 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . profile . 1761000041 " moduleId = " org . eclipse . cdt . core . settings " name = " Device - Profile " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = com . qnx . buildType . profile , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " Build for Profiling " id = " com . qnx . qcc . configuration . exe . profile . 1761000041 " name = " Device - Profile " parent = " com . qnx . qcc . configuration . exe . profile " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . profile . 1761000041 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . profile . 1124526836 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < option id = " com . qnx . qcc . option . cpu . 463099906 " name = " Target CPU : " superClass = " com . qnx . qcc . option . cpu " value = " com . qnx . qcc . option . gen . cpu . armle - v7 " valueType = " enumerated " / > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 2119914966 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Device - Profile } " id = " com . qnx . nto . 375294946 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 1156975065 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 516699842 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . profile2 . 827918638 " name = " Build for Profiling ( Function Instrumentation ) ( - finstrument - functions ) " superClass = " com . qnx . qcc . option . compiler . profile2 " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 90830663 " name = " Enhanced Security ( - fstack - protector - all ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 2011249500 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 2118671865 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; $ { workspace_loc : / cocos2dx } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 949042507 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 204612102 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 1402394581 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 51504326 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 757736298 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 2002086963 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . profile2 . 1064338465 " name = " Build for Profiling ( Function Instrumentation ) ( - lprofiling ) " superClass = " com . qnx . qcc . option . linker . profile2 " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 1232550377 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1289108024 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 29518400 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 150600101 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 1370019185 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / proj . blackberry / $ { ConfigName } / liblua . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 1078171597 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 1781241255 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " cocos2dx_support " / > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . profile . coverage . 1771167181 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . profile . coverage . 1771167181 " moduleId = " org . eclipse . cdt . core . settings " name = " Device - Coverage " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = com . qnx . buildType . coverage , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " Build for Code Coverage " id = " com . qnx . qcc . configuration . exe . profile . coverage . 1771167181 " name = " Device - Coverage " parent = " com . qnx . qcc . configuration . exe . profile . coverage " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . profile . coverage . 1771167181 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . coverage . 1048447960 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < option id = " com . qnx . qcc . option . cpu . 1184616968 " name = " Target CPU : " superClass = " com . qnx . qcc . option . cpu " value = " com . qnx . qcc . option . gen . cpu . armle - v7 " valueType = " enumerated " / > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 617597973 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Device - Coverage } " id = " com . qnx . nto . 168144620 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 1214860716 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 1865580810 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . coverage . 417773989 " name = " Build for Code Coverage ( - Wc , - ftest - coverage - Wc , - fprofile - arcs ) " superClass = " com . qnx . qcc . option . compiler . coverage " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 2078595424 " name = " Enhanced Security ( - fstack - protector - all ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 2117581868 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 1766273669 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; $ { workspace_loc : / cocos2dx } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 901688047 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 1913823743 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 585829451 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 652294347 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 1367226426 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 1276383563 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . coverage . 390406687 " name = " Build for Code Coverage ( - ftest - coverage - fprofile - arcs - p ) " superClass = " com . qnx . qcc . option . linker . coverage " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 1160718760 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1736864271 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 1670627205 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 322375874 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 619637072 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / proj . blackberry / $ { ConfigName } / liblua . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 1438498440 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 30542244 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " cocos2dx_support " / > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . debug . 660208940 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . debug . 660208940 " moduleId = " org . eclipse . cdt . core . settings " name = " Simulator " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . debug , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " " id = " com . qnx . qcc . configuration . exe . debug . 660208940 " name = " Simulator " parent = " com . qnx . qcc . configuration . exe . debug " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . debug . 660208940 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . debug . 268891510 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 240715499 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Simulator } " id = " com . qnx . nto . 1270333356 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 431759757 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 2024008205 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 2119227735 " name = " Enhanced Security ( - fstack - protector - all ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 250718869 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 1838736665 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; $ { workspace_loc : / cocos2dx } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 1997773972 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 1469514654 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 1201110421 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 971190882 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 1378371763 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 1155728719 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 550638471 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1179286572 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 2014666509 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 927694704 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . objectFiles . 1451516298 " name = " Additional Object Files " superClass = " com . qnx . qcc . option . linker . objectFiles " / > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 526534847 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / proj . blackberry / $ { ConfigName } / liblua . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 439307041 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 1720091399 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " cocos2dx_support " / > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . profile . 1237484173 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . profile . 1237484173 " moduleId = " org . eclipse . cdt . core . settings " name = " Simulator - Profile " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = com . qnx . buildType . profile , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " Build for Profiling " id = " com . qnx . qcc . configuration . exe . profile . 1237484173 " name = " Simulator - Profile " parent = " com . qnx . qcc . configuration . exe . profile " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . profile . 1237484173 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . profile . 895301801 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 191826099 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Simulator - Profile } " id = " com . qnx . nto . 47902617 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 1309978635 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 347183646 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . profile2 . 53874439 " name = " Build for Profiling ( Function Instrumentation ) ( - finstrument - functions ) " superClass = " com . qnx . qcc . option . compiler . profile2 " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 728843003 " name = " Enhanced Security ( - fstack - protector - all ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 307652248 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 1315014042 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; $ { workspace_loc : / cocos2dx } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 1682829736 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 807410238 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 1290612958 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 1525407149 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 680182007 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 925450350 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . profile2 . 1569002848 " name = " Build for Profiling ( Function Instrumentation ) ( - lprofiling ) " superClass = " com . qnx . qcc . option . linker . profile2 " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 1840561937 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1031790004 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 931994389 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 681434121 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 536840311 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / proj . blackberry / $ { ConfigName } / liblua . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 2044213175 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 924511539 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " cocos2dx_support " / > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " com . qnx . qcc . configuration . exe . profile . coverage . 181538713 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " com . qnx . qcc . configuration . exe . profile . coverage . 181538713 " moduleId = " org . eclipse . cdt . core . settings " name = " Simulator - Coverage " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDEBynaryParser " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " com . qnx . tools . ide . qde . core . QDELinkerErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = com . qnx . buildType . coverage , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " description = " Build for Code Coverage " id = " com . qnx . qcc . configuration . exe . profile . coverage . 181538713 " name = " Simulator - Coverage " parent = " com . qnx . qcc . configuration . exe . profile . coverage " > <nl> + < folderInfo id = " com . qnx . qcc . configuration . exe . profile . coverage . 181538713 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " com . qnx . qcc . toolChain . exe . coverage . 2030436518 " name = " QNX QCC " superClass = " com . qnx . qcc . toolChain " > <nl> + < targetPlatform archList = " all " binaryParser = " com . qnx . tools . ide . qde . core . QDEBynaryParser " id = " com . qnx . qcc . targetPlatform . 538034305 " osList = " all " superClass = " com . qnx . qcc . targetPlatform " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Simulator - Coverage } " id = " com . qnx . nto . 411824448 " keepEnvironmentInBuildfile = " false " name = " CDT Internal Builder " superClass = " com . qnx . nto " / > <nl> + < tool id = " com . qnx . qcc . tool . compiler . 1856118712 " name = " QCC Compiler " superClass = " com . qnx . qcc . tool . compiler " > <nl> + < option id = " com . qnx . qcc . option . compile . debug . 367463903 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . compile . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . coverage . 2144541749 " name = " Build for Code Coverage ( - Wc , - ftest - coverage - Wc , - fprofile - arcs ) " superClass = " com . qnx . qcc . option . compiler . coverage " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . security . 2041278353 " name = " Enhanced Security ( - fstack - protector - all ) " superClass = " com . qnx . qcc . option . compiler . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . compiler . defines . 1008023515 " name = " Defines ( - D ) " superClass = " com . qnx . qcc . option . compiler . defines " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " _FORTIFY_SOURCE = 2 " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . compiler . includePath . 1142643875 " name = " Include Directories ( - I ) " superClass = " com . qnx . qcc . option . compiler . includePath " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; $ { workspace_loc : / cocos2dx } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / usr / include / freetype2 " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / usr / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / blackberry " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . compiler . 616747785 " superClass = " com . qnx . qcc . inputType . compiler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . assembler . 1686811724 " name = " QCC Assembler " superClass = " com . qnx . qcc . tool . assembler " > <nl> + < option id = " com . qnx . qcc . option . assembler . debug . 2086702984 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . assembler . debug " value = " true " valueType = " boolean " / > <nl> + < inputType id = " com . qnx . qcc . inputType . assembler . 111630752 " superClass = " com . qnx . qcc . inputType . assembler " / > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . linker . 35285082 " name = " QCC Linker " superClass = " com . qnx . qcc . tool . linker " > <nl> + < option id = " com . qnx . qcc . option . linker . debug . 1514682747 " name = " Debug ( - g ) " superClass = " com . qnx . qcc . option . linker . debug " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . coverage . 1881413807 " name = " Build for Code Coverage ( - ftest - coverage - fprofile - arcs - p ) " superClass = " com . qnx . qcc . option . linker . coverage " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . langcpp . 769428310 " name = " C + + ( - lang - c + + ) " superClass = " com . qnx . qcc . option . linker . langcpp " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraries . 1325336223 " name = " Libraries ( - l ) " superClass = " com . qnx . qcc . option . linker . libraries " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " CocosDenshion " / > <nl> + < listOptionValue builtIn = " false " value = " EGL " / > <nl> + < listOptionValue builtIn = " false " value = " GLESv2 " / > <nl> + < listOptionValue builtIn = " false " value = " bps " / > <nl> + < listOptionValue builtIn = " false " value = " curl " / > <nl> + < listOptionValue builtIn = " false " value = " xml2 " / > <nl> + < listOptionValue builtIn = " false " value = " tiff " / > <nl> + < listOptionValue builtIn = " false " value = " jpeg " / > <nl> + < listOptionValue builtIn = " false " value = " png " / > <nl> + < listOptionValue builtIn = " false " value = " freetype " / > <nl> + < listOptionValue builtIn = " false " value = " screen " / > <nl> + < listOptionValue builtIn = " false " value = " alut " / > <nl> + < listOptionValue builtIn = " false " value = " OpenAL " / > <nl> + < listOptionValue builtIn = " false " value = " asound " / > <nl> + < listOptionValue builtIn = " false " value = " m " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . security . 2136296969 " name = " Enhanced Security ( - Wl , - z , relro - Wl , - z , now ) " superClass = " com . qnx . qcc . option . linker . security " value = " true " valueType = " boolean " / > <nl> + < option id = " com . qnx . qcc . option . linker . libraryPaths . 1115848281 " name = " Library Paths ( - L ) " superClass = " com . qnx . qcc . option . linker . libraryPaths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / lib " / > <nl> + < listOptionValue builtIn = " false " value = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / blackberry / libraries / $ { CPUVARDIR } " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / proj . blackberry / $ { ConfigName } " / > <nl> + < / option > <nl> + < option id = " com . qnx . qcc . option . linker . ldoptions . 259366688 " name = " Linker Options ( - Wl , ) " superClass = " com . qnx . qcc . option . linker . ldoptions " valueType = " stringList " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / proj . blackberry / $ { ConfigName } / libcocos2dx . a " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / proj . blackberry / $ { ConfigName } / liblua . a " / > <nl> + < / option > <nl> + < inputType id = " com . qnx . qcc . inputType . linker . 780133405 " superClass = " com . qnx . qcc . inputType . linker " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < additionalInput kind = " additionaldependency " paths = " $ ( LIB_DEPS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " com . qnx . qcc . tool . archiver . 2108749298 " name = " QCC Archiver " superClass = " com . qnx . qcc . tool . archiver " / > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " cocos2dx_support " / > <nl> + < entry excluding = " Classes " flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < project id = " TestLua . null . 1273913276 " name = " TestLua " / > <nl> + < / storageModule > <nl> + < storageModule moduleId = " com . qnx . tools . ide . qde . core . QNXProjectProperties " / > <nl> + < storageModule moduleId = " refreshScope " versionNumber = " 1 " > <nl> + < resource resourceType = " PROJECT " workspacePath = " / TestLua " / > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . internal . ui . text . commentOwnerProjectMappings " / > <nl> + < storageModule moduleId = " scannerConfiguration " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . profile . 1761000041 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . profile . coverage . 181538713 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . debug . 660208940 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . profile . coverage . 1771167181 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . profile . 1237484173 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . debug . 446234419 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " com . qnx . qcc . configuration . exe . release . 1265921422 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " com . qnx . tools . ide . qde . managedbuilder . core . qccScannerInfo " / > <nl> + < / scannerConfigBuildInfo > <nl> + < / storageModule > <nl> + < / cproject > <nl> new file mode 100644 <nl> index 000000000000 . . a16330a0406d <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . blackberry / . project <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < projectDescription > <nl> + < name > TestLua < / name > <nl> + < comment > < / comment > <nl> + < projects > <nl> + < project > cocos2dx < / project > <nl> + < project > CocosDenshion < / project > <nl> + < project > lua < / project > <nl> + < / projects > <nl> + < buildSpec > <nl> + < buildCommand > <nl> + < name > org . eclipse . cdt . managedbuilder . core . genmakebuilder < / name > <nl> + < triggers > clean , full , incremental , < / triggers > <nl> + < arguments > <nl> + < dictionary > <nl> + < key > ? name ? < / key > <nl> + < value > < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . append_environment < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . buildArguments < / key > <nl> + < value > < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . buildCommand < / key > <nl> + < value > make < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . buildLocation < / key > <nl> + < value > $ { workspace_loc : / TestLua / Device - Debug } < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . contents < / key > <nl> + < value > org . eclipse . cdt . make . core . activeConfigSettings < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . enableAutoBuild < / key > <nl> + < value > false < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . enableCleanBuild < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . enableFullBuild < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . stopOnError < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < dictionary > <nl> + < key > org . eclipse . cdt . make . core . useDefaultBuildCmd < / key > <nl> + < value > true < / value > <nl> + < / dictionary > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > org . eclipse . cdt . managedbuilder . core . ScannerConfigBuilder < / name > <nl> + < triggers > full , incremental , < / triggers > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > com . qnx . tools . bbt . xml . core . bbtXMLValidationBuilder < / name > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < / buildSpec > <nl> + < natures > <nl> + < nature > org . eclipse . cdt . core . cnature < / nature > <nl> + < nature > org . eclipse . cdt . managedbuilder . core . managedBuildNature < / nature > <nl> + < nature > org . eclipse . cdt . managedbuilder . core . ScannerConfigNature < / nature > <nl> + < nature > com . qnx . tools . ide . bbt . core . bbtnature < / nature > <nl> + < nature > org . eclipse . cdt . core . ccnature < / nature > <nl> + < / natures > <nl> + < linkedResources > <nl> + < link > <nl> + < name > Classes < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 1 - PROJECT_LOC / Classes < / locationURI > <nl> + < / link > <nl> + < link > <nl> + < name > Resources < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 1 - PROJECT_LOC / Resources < / locationURI > <nl> + < / link > <nl> + < link > <nl> + < name > cocos2dx_support < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 4 - PROJECT_LOC / scripting / lua / cocos2dx_support < / locationURI > <nl> + < / link > <nl> + < / linkedResources > <nl> + < / projectDescription > <nl> new file mode 100644 <nl> index 000000000000 . . a5b0db495907 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . blackberry / bar - descriptor . xml <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " standalone = " no " ? > <nl> + < qnx xmlns = " http : / / www . qnx . com / schemas / application / 1 . 0 " > <nl> + <nl> + < ! - - BlackBerry Tablet OS application descriptor file . <nl> + <nl> + Specifies parameters for identifying , installing , and launching native applications on BlackBerry Tablet OS . <nl> + <nl> + - - > <nl> + <nl> + < ! - - A universally unique application identifier . Must be unique across all BlackBerry Tablet OS applications . <nl> + Using a reverse DNS - style name as the id is recommended . ( Eg . com . example . ExampleApplication . ) Required . - - > <nl> + < id > org . cocos2dx . TestLua < / id > <nl> + <nl> + < ! - - The name that is displayed in the BlackBerry Tablet OS application installer . <nl> + May have multiple values for each language . See samples or xsd schema file . Optional . - - > <nl> + < name > TestLua < / name > <nl> + <nl> + < ! - - A string value of the format < 0 - 999 > . < 0 - 999 > . < 0 - 999 > that represents application version which can be used to check for application upgrade . <nl> + Values can also be 1 - part or 2 - part . It is not necessary to have a 3 - part value . <nl> + An updated version of application must have a versionNumber value higher than the previous version . Required . - - > <nl> + < versionNumber > 1 . 0 . 0 < / versionNumber > <nl> + <nl> + < ! - - Fourth digit segment of the package version . First three segments are taken from the <nl> + < versionNumber > element . Must be an integer from 0 to 2 ^ 16 - 1 - - > <nl> + < buildId > 1 < / buildId > <nl> + <nl> + < ! - - A string value ( such as " v1 " , " 2 . 5 " , or " Alpha 1 " ) that represents the version of the application , as it should be shown to users . Optional . - - > <nl> + < ! - - < versionLabel > < / versionLabel > - - > <nl> + <nl> + < ! - - Description , displayed in the BlackBerry Tablet OS application installer . <nl> + May have multiple values for each language . See samples or xsd schema file . Optional . - - > <nl> + < description > The TestLua application < / description > <nl> + <nl> + < ! - - Copyright information . Optional . - - > <nl> + < ! - - < copyright > < / copyright > - - > <nl> + <nl> + < ! - - Name of author which is used for signing . Must match the developer name of your development certificate . - - > <nl> + < author > Example Inc . < / author > <nl> + < icon > <nl> + < image > icon . png < / image > <nl> + < / icon > <nl> + <nl> + < ! - - Unique author ID assigned by signing authority . Required if using debug tokens . - - > <nl> + < ! - - < authorId > ABC1234YjsnUk235h < / authorId > - - > <nl> + <nl> + < initialWindow > <nl> + < systemChrome > none < / systemChrome > <nl> + < transparent > false < / transparent > <nl> + < / initialWindow > <nl> + <nl> + < ! - - The category where the application appears . Either core . games or core . media . - - > <nl> + < category > core . games < / category > <nl> + < asset path = " icon . png " > icon . png < / asset > <nl> + <nl> + < ! - - the variable ' worksparce_loc ' is not supported in bbndk2 . 0 , so we create an empty folder to make the relative path work . - - > <nl> + < asset path = " . . / Resources " > Resources < / asset > <nl> + <nl> + < ! - - the path of the three shared libraries as follows in bbndk2 . 0 is different from bbndk1 . 0 , so if the version of bbndk you use is 1 . 0 , just uncomment the next three lines and comment the following three lines - - > <nl> + <nl> + < ! - - used for bbndk1 . 0 - - > <nl> + < ! - - < asset path = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib / libbps . so " type = " Qnx / Elf " > lib / libbps . so . 1 < / asset > - - > <nl> + < ! - - < asset path = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib / libOpenAL . so " type = " Qnx / Elf " > lib / libOpenAL . so . 1 < / asset > - - > <nl> + < ! - - < asset path = " $ { QNX_TARGET } / . . / target - override / $ { CPUVARDIR } / usr / lib / libalut . so " type = " Qnx / Elf " > lib / libalut . so . 1 < / asset > - - > <nl> + <nl> + < ! - - used for bbndk2 . 0 - - > <nl> + < asset path = " empty / . . / . . / . . / . . / . . / CocosDenshion / proj . blackberry / Device - Debug / libCocosDenshion . so " type = " Qnx / Elf " > lib / libCocosDenshion . so < / asset > <nl> + <nl> + < configuration id = " com . qnx . qcc . configuration . exe . debug . 446234419 " name = " Device - Debug " > <nl> + < platformArchitecture > armle - v7 < / platformArchitecture > <nl> + < asset path = " Device - Debug / TestLua " entry = " true " type = " Qnx / Elf " > TestLua < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . release . 1265921422 " name = " Device - Release " > <nl> + < platformArchitecture > armle - v7 < / platformArchitecture > <nl> + < asset path = " Device - Release / TestLua " entry = " true " type = " Qnx / Elf " > TestLua < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . profile . 1761000041 " name = " Device - Profile " > <nl> + < platformArchitecture > armle - v7 < / platformArchitecture > <nl> + < asset path = " Device - Profile / TestLua " entry = " true " type = " Qnx / Elf " > TestLua < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . profile . coverage . 1771167181 " name = " Device - Coverage " > <nl> + < platformArchitecture > armle - v7 < / platformArchitecture > <nl> + < asset path = " Device - Coverage / TestLua " entry = " true " type = " Qnx / Elf " > TestLua < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . debug . 660208940 " name = " Simulator " > <nl> + < platformArchitecture > x86 < / platformArchitecture > <nl> + < asset path = " Simulator / TestLua " entry = " true " type = " Qnx / Elf " > TestLua < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . profile . 1237484173 " name = " Simulator - Profile " > <nl> + < platformArchitecture > x86 < / platformArchitecture > <nl> + < asset path = " Simulator - Profile / TestLua " entry = " true " type = " Qnx / Elf " > TestLua < / asset > <nl> + < / configuration > <nl> + < configuration id = " com . qnx . qcc . configuration . exe . profile . coverage . 181538713 " name = " Simulator - Coverage " > <nl> + < platformArchitecture > x86 < / platformArchitecture > <nl> + < asset path = " Simulator - Coverage / TestLua " entry = " true " type = " Qnx / Elf " > TestLua < / asset > <nl> + < / configuration > <nl> + <nl> + < ! - - The icon for the application , which should be 86x86 . - - > <nl> + <nl> + < ! - - The splash screen that will appear when your application is launching . Should be 1024x600 . - - > <nl> + < ! - - < splashscreen > < / splashscreen > - - > <nl> + <nl> + < ! - - Request permission to execute native code . Required for native applications . - - > <nl> + < action system = " true " > run_native < / action > <nl> + <nl> + < ! - - The permissions requested by your application . - - > <nl> + < ! - - < action > access_shared < / action > - - > <nl> + < ! - - < action > record_audio < / action > - - > <nl> + < ! - - < action > read_geolocation < / action > - - > <nl> + < ! - - < action > use_camera < / action > - - > <nl> + < ! - - < action > access_internet < / action > - - > <nl> + < ! - - < action > play_audio < / action > - - > <nl> + < ! - - < action > post_notification < / action > - - > <nl> + < ! - - < action > set_audio_volume < / action > - - > <nl> + < ! - - < action > read_device_identifying_information < / action > - - > <nl> + <nl> + < ! - - Ensure that shared libraries in the package are found at run - time . - - > <nl> + < env var = " LD_LIBRARY_PATH " value = " app / native / lib " / > <nl> + <nl> + < / qnx > <nl> new file mode 100644 <nl> index 000000000000 . . 1c2b01d78790 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . blackberry / main . cpp <nl> <nl> + <nl> + # include " . . / Classes / AppDelegate . h " <nl> + # include " cocos2d . h " <nl> + <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + int main ( int argc , char * * argv ) <nl> + { <nl> + / / create the application instance <nl> + AppDelegate app ; <nl> + <nl> + int width , height ; <nl> + const char * width_str , * height_str ; <nl> + width_str = getenv ( " WIDTH " ) ; <nl> + height_str = getenv ( " HEIGHT " ) ; <nl> + if ( width_str & & height_str ) <nl> + { <nl> + width = atoi ( width_str ) ; <nl> + height = atoi ( height_str ) ; <nl> + } <nl> + else <nl> + { <nl> + width = 1024 ; <nl> + height = 600 ; <nl> + } <nl> + <nl> + CCEGLView * eglView = CCEGLView : : sharedOpenGLView ( ) ; <nl> + eglView - > setFrameSize ( width , height ) ; <nl> + <nl> + return CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . 3d51064ca086 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . ios / AppController . h <nl> <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + Copyright ( c ) 2010 cocos2d - x . org <nl> + <nl> + http : / / www . cocos2d - x . org <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + <nl> + @ class RootViewController ; <nl> + <nl> + @ interface AppController : NSObject < UIAccelerometerDelegate , UIAlertViewDelegate , UITextFieldDelegate , UIApplicationDelegate > { <nl> + UIWindow * window ; <nl> + RootViewController * viewController ; <nl> + } <nl> + <nl> + @ end <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . cbccc23254ce <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . ios / AppController . mm <nl> <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + Copyright ( c ) 2010 cocos2d - x . org <nl> + <nl> + http : / / www . cocos2d - x . org <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + # import < UIKit / UIKit . h > <nl> + # import " AppController . h " <nl> + # import " cocos2d . h " <nl> + # import " EAGLView . h " <nl> + # import " AppDelegate . h " <nl> + <nl> + # import " RootViewController . h " <nl> + <nl> + @ implementation AppController <nl> + <nl> + # pragma mark - <nl> + # pragma mark Application lifecycle <nl> + <nl> + / / cocos2d application instance <nl> + static AppDelegate s_sharedApplication ; <nl> + <nl> + - ( BOOL ) application : ( UIApplication * ) application didFinishLaunchingWithOptions : ( NSDictionary * ) launchOptions { <nl> + <nl> + / / Override point for customization after application launch . <nl> + <nl> + / / Add the view controller ' s view to the window and display . <nl> + window = [ [ UIWindow alloc ] initWithFrame : [ [ UIScreen mainScreen ] bounds ] ] ; <nl> + EAGLView * __glView = [ EAGLView viewWithFrame : [ window bounds ] <nl> + pixelFormat : kEAGLColorFormatRGBA8 <nl> + depthFormat : GL_DEPTH_COMPONENT16 <nl> + preserveBackbuffer : NO <nl> + sharegroup : nil <nl> + multiSampling : NO <nl> + numberOfSamples : 0 ] ; <nl> + <nl> + / / Use RootViewController manage EAGLView <nl> + viewController = [ [ RootViewController alloc ] initWithNibName : nil bundle : nil ] ; <nl> + viewController . wantsFullScreenLayout = YES ; <nl> + viewController . view = __glView ; <nl> + <nl> + / / Set RootViewController to window <nl> + if ( [ [ UIDevice currentDevice ] . systemVersion floatValue ] < 6 . 0 ) <nl> + { <nl> + / / warning : addSubView doesn ' t work on iOS6 <nl> + [ window addSubview : viewController . view ] ; <nl> + } <nl> + else <nl> + { <nl> + / / use this method on ios6 <nl> + [ window setRootViewController : viewController ] ; <nl> + } <nl> + <nl> + [ window makeKeyAndVisible ] ; <nl> + <nl> + [ [ UIApplication sharedApplication ] setStatusBarHidden : YES ] ; <nl> + <nl> + cocos2d : : CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + return YES ; <nl> + } <nl> + <nl> + <nl> + - ( void ) applicationWillResignActive : ( UIApplication * ) application { <nl> + / * <nl> + Sent when the application is about to move from active to inactive state . This can occur for certain types of temporary interruptions ( such as an incoming phone call or SMS message ) or when the user quits the application and it begins the transition to the background state . <nl> + Use this method to pause ongoing tasks , disable timers , and throttle down OpenGL ES frame rates . Games should use this method to pause the game . <nl> + * / <nl> + cocos2d : : CCDirector : : sharedDirector ( ) - > pause ( ) ; <nl> + } <nl> + <nl> + - ( void ) applicationDidBecomeActive : ( UIApplication * ) application { <nl> + / * <nl> + Restart any tasks that were paused ( or not yet started ) while the application was inactive . If the application was previously in the background , optionally refresh the user interface . <nl> + * / <nl> + cocos2d : : CCDirector : : sharedDirector ( ) - > resume ( ) ; <nl> + } <nl> + <nl> + - ( void ) applicationDidEnterBackground : ( UIApplication * ) application { <nl> + / * <nl> + Use this method to release shared resources , save user data , invalidate timers , and store enough application state information to restore your application to its current state in case it is terminated later . <nl> + If your application supports background execution , called instead of applicationWillTerminate : when the user quits . <nl> + * / <nl> + cocos2d : : CCApplication : : sharedApplication ( ) - > applicationDidEnterBackground ( ) ; <nl> + } <nl> + <nl> + - ( void ) applicationWillEnterForeground : ( UIApplication * ) application { <nl> + / * <nl> + Called as part of transition from the background to the inactive state : here you can undo many of the changes made on entering the background . <nl> + * / <nl> + cocos2d : : CCApplication : : sharedApplication ( ) - > applicationWillEnterForeground ( ) ; <nl> + } <nl> + <nl> + - ( void ) applicationWillTerminate : ( UIApplication * ) application { <nl> + / * <nl> + Called when the application is about to terminate . <nl> + See also applicationDidEnterBackground : . <nl> + * / <nl> + } <nl> + <nl> + <nl> + # pragma mark - <nl> + # pragma mark Memory management <nl> + <nl> + - ( void ) applicationDidReceiveMemoryWarning : ( UIApplication * ) application { <nl> + / * <nl> + Free up as much memory as possible by purging cached data objects that can be recreated ( or reloaded from disk ) later . <nl> + * / <nl> + cocos2d : : CCDirector : : sharedDirector ( ) - > purgeCachedData ( ) ; <nl> + } <nl> + <nl> + <nl> + - ( void ) dealloc { <nl> + [ super dealloc ] ; <nl> + } <nl> + <nl> + <nl> + @ end <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 8f5838f3a8cc <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . ios / Default - 568h @ 2x . png . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 66c6d1cead373b45218424f6a82f370897e443e4 <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 8843505b2088 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . ios / Default @ 2x . png . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + 84689888a14a2123d2b39f7f2f61be8c15207479 <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . a40c2edd28f8 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . ios / RootViewController . h <nl> <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + Copyright ( c ) 2010 - 2011 cocos2d - x . org <nl> + Copyright ( c ) 2010 Ricardo Quesada <nl> + <nl> + http : / / www . cocos2d - x . org <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + <nl> + # import < UIKit / UIKit . h > <nl> + <nl> + <nl> + @ interface RootViewController : UIViewController { <nl> + <nl> + } <nl> + <nl> + @ end <nl> new file mode 100644 <nl> index 000000000000 . . cccdbab91e1b <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . ios / RootViewController . mm <nl> <nl> + / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * <nl> + Copyright ( c ) 2010 - 2011 cocos2d - x . org <nl> + Copyright ( c ) 2010 Ricardo Quesada <nl> + <nl> + http : / / www . cocos2d - x . org <nl> + <nl> + Permission is hereby granted , free of charge , to any person obtaining a copy <nl> + of this software and associated documentation files ( the " Software " ) , to deal <nl> + in the Software without restriction , including without limitation the rights <nl> + to use , copy , modify , merge , publish , distribute , sublicense , and / or sell <nl> + copies of the Software , and to permit persons to whom the Software is <nl> + furnished to do so , subject to the following conditions : <nl> + <nl> + The above copyright notice and this permission notice shall be included in <nl> + all copies or substantial portions of the Software . <nl> + <nl> + THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR <nl> + IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , <nl> + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE <nl> + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER <nl> + LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , <nl> + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN <nl> + THE SOFTWARE . <nl> + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / <nl> + <nl> + # import " RootViewController . h " <nl> + <nl> + <nl> + @ implementation RootViewController <nl> + <nl> + / * <nl> + / / The designated initializer . Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad . <nl> + - ( id ) initWithNibName : ( NSString * ) nibNameOrNil bundle : ( NSBundle * ) nibBundleOrNil { <nl> + if ( ( self = [ super initWithNibName : nibNameOrNil bundle : nibBundleOrNil ] ) ) { <nl> + / / Custom initialization <nl> + } <nl> + return self ; <nl> + } <nl> + * / <nl> + <nl> + / * <nl> + / / Implement loadView to create a view hierarchy programmatically , without using a nib . <nl> + - ( void ) loadView { <nl> + } <nl> + * / <nl> + <nl> + / * <nl> + / / Implement viewDidLoad to do additional setup after loading the view , typically from a nib . <nl> + - ( void ) viewDidLoad { <nl> + [ super viewDidLoad ] ; <nl> + } <nl> + <nl> + * / <nl> + / / Override to allow orientations other than the default portrait orientation . <nl> + / / This method is deprecated on ios6 <nl> + - ( BOOL ) shouldAutorotateToInterfaceOrientation : ( UIInterfaceOrientation ) interfaceOrientation { <nl> + return UIInterfaceOrientationIsLandscape ( interfaceOrientation ) ; <nl> + } <nl> + <nl> + / / For ios6 , use supportedInterfaceOrientations & shouldAutorotate instead <nl> + - ( NSUInteger ) supportedInterfaceOrientations { <nl> + # ifdef __IPHONE_6_0 <nl> + return UIInterfaceOrientationMaskAllButUpsideDown ; <nl> + # endif <nl> + } <nl> + <nl> + - ( BOOL ) shouldAutorotate { <nl> + return YES ; <nl> + } <nl> + <nl> + - ( void ) didReceiveMemoryWarning { <nl> + / / Releases the view if it doesn ' t have a superview . <nl> + [ super didReceiveMemoryWarning ] ; <nl> + <nl> + / / Release any cached data , images , etc that aren ' t in use . <nl> + } <nl> + <nl> + - ( void ) viewDidUnload { <nl> + [ super viewDidUnload ] ; <nl> + / / Release any retained subviews of the main view . <nl> + / / e . g . self . myOutlet = nil ; <nl> + } <nl> + <nl> + <nl> + - ( void ) dealloc { <nl> + [ super dealloc ] ; <nl> + } <nl> + <nl> + <nl> + @ end <nl> new file mode 100644 <nl> index 000000000000 . . 63fa839bc2d7 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . ios / TestLua . xcodeproj / project . pbxproj . REMOVED . git - id <nl> @ @ - 0 , 0 + 1 @ @ <nl> + b20078e4c4c9f9a3f8e0cb55681970db7f7626d9 <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 4c4fc38a96e9 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . ios / TestLua_Prefix . pch <nl> <nl> + / / <nl> + / / Prefix header for all source files of the ' TestLua ' target in the ' TestLua ' project <nl> + / / <nl> + <nl> + # ifdef __OBJC__ <nl> + # import < Foundation / Foundation . h > <nl> + # import < UIKit / UIKit . h > <nl> + # endif <nl> new file mode 100644 <nl> index 000000000000 . . b657da133484 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . ios / main . m <nl> <nl> + / / <nl> + / / main . m <nl> + / / TestLua <nl> + / / <nl> + / / Copyright __MyCompanyName__ 2011 . All rights reserved . <nl> + / / <nl> + <nl> + # import < UIKit / UIKit . h > <nl> + <nl> + int main ( int argc , char * argv [ ] ) { <nl> + NSAutoreleasePool * pool = [ NSAutoreleasePool new ] ; <nl> + int retVal = UIApplicationMain ( argc , argv , nil , @ " AppController " ) ; <nl> + [ pool release ] ; <nl> + return retVal ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . 266300ddbe71 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . linux / . cproject <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " standalone = " no " ? > <nl> + < ? fileVersion 4 . 0 . 0 ? > <nl> + <nl> + < cproject storage_type_id = " org . eclipse . cdt . core . XmlProjectDescriptionStorage " > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . settings " > <nl> + < cconfiguration id = " cdt . managedbuild . config . gnu . exe . debug . 684675641 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " cdt . managedbuild . config . gnu . exe . debug . 684675641 " moduleId = " org . eclipse . cdt . core . settings " name = " Debug " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " org . eclipse . cdt . core . ELF " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GmakeErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . CWDLocator " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GASErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . debug , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " cleanCommand = " rm - rf " description = " " id = " cdt . managedbuild . config . gnu . exe . debug . 684675641 " name = " Debug " parent = " cdt . managedbuild . config . gnu . exe . debug " prebuildStep = " mkdir - p bin & amp ; & amp ; cp - R - n . . / . . / . . / . . / . . / samples / Cpp / TestCpp / Resources . . / . . / . . / . . / . . / samples / Lua / TestLua / " > <nl> + < folderInfo id = " cdt . managedbuild . config . gnu . exe . debug . 684675641 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " cdt . managedbuild . toolchain . gnu . exe . debug . 1168665521 " name = " Linux GCC " superClass = " cdt . managedbuild . toolchain . gnu . exe . debug " > <nl> + < targetPlatform id = " cdt . managedbuild . target . gnu . platform . exe . debug . 2039781202 " name = " Debug Platform " superClass = " cdt . managedbuild . target . gnu . platform . exe . debug " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Debug } " id = " cdt . managedbuild . target . gnu . builder . exe . debug . 102570384 " keepEnvironmentInBuildfile = " false " managedBuildOn = " true " name = " Gnu Make Builder " superClass = " cdt . managedbuild . target . gnu . builder . exe . debug " / > <nl> + < tool id = " cdt . managedbuild . tool . gnu . archiver . base . 751250359 " name = " GCC Archiver " superClass = " cdt . managedbuild . tool . gnu . archiver . base " / > <nl> + < tool id = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug . 889157849 " name = " GCC C + + Compiler " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug " > <nl> + < option id = " gnu . cpp . compiler . exe . debug . option . optimization . level . 267147213 " name = " Optimization Level " superClass = " gnu . cpp . compiler . exe . debug . option . optimization . level " value = " gnu . cpp . compiler . optimization . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . exe . debug . option . debugging . level . 1198800325 " name = " Debug Level " superClass = " gnu . cpp . compiler . exe . debug . option . debugging . level " value = " gnu . cpp . compiler . debugging . level . max " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . option . preprocessor . def . 1970386575 " name = " Defined symbols ( - D ) " superClass = " gnu . cpp . compiler . option . preprocessor . def " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . compiler . option . include . paths . 1761931224 " name = " Include paths ( - I ) " superClass = " gnu . cpp . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . compiler . input . 103685015 " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . input " / > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . c . compiler . exe . debug . 1377495991 " name = " GCC C Compiler " superClass = " cdt . managedbuild . tool . gnu . c . compiler . exe . debug " > <nl> + < option defaultValue = " gnu . c . optimization . level . none " id = " gnu . c . compiler . exe . debug . option . optimization . level . 868044462 " name = " Optimization Level " superClass = " gnu . c . compiler . exe . debug . option . optimization . level " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . exe . debug . option . debugging . level . 234553092 " name = " Debug Level " superClass = " gnu . c . compiler . exe . debug . option . debugging . level " value = " gnu . c . debugging . level . max " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . option . include . paths . 2130120472 " name = " Include paths ( - I ) " superClass = " gnu . c . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . c . compiler . input . 1540019914 " superClass = " cdt . managedbuild . tool . gnu . c . compiler . input " / > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . c . linker . exe . debug . 1450392108 " name = " GCC C Linker " superClass = " cdt . managedbuild . tool . gnu . c . linker . exe . debug " / > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } bin / $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / CocosDenshion / third_party / fmod / api / lib - Wl , - rpath , . . / . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / scripting / lua / proj . linux / $ { ConfigName } " id = " cdt . managedbuild . tool . gnu . cpp . linker . exe . debug . 127674845 " name = " GCC C + + Linker " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . exe . debug " > <nl> + < option id = " gnu . cpp . link . option . libs . 1672912039 " name = " Libraries ( - l ) " superClass = " gnu . cpp . link . option . libs " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2d " / > <nl> + < listOptionValue builtIn = " false " value = " cocosdenshion " / > <nl> + < listOptionValue builtIn = " false " value = " GLEW " / > <nl> + < listOptionValue builtIn = " false " value = " rt " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < listOptionValue builtIn = " false " value = " lua " / > <nl> + < listOptionValue builtIn = " false " value = " fmodex " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . paths . 1982163393 " name = " Library search path ( - L ) " superClass = " gnu . cpp . link . option . paths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / scripting / lua / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / third_party / fmod / api / lib " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . linker . input . 154309798 " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . input " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . assembler . exe . debug . 172675447 " name = " GCC Assembler " superClass = " cdt . managedbuild . tool . gnu . assembler . exe . debug " > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . assembler . input . 2124631163 " superClass = " cdt . managedbuild . tool . gnu . assembler . input " / > <nl> + < / tool > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry excluding = " cocos2dx_support | Classes " flags = " VALUE_WORKSPACE_PATH | RESOLVED " kind = " sourcePath " name = " " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " cocos2dx_support " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " cdt . managedbuild . config . gnu . exe . release . 890968076 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " cdt . managedbuild . config . gnu . exe . release . 890968076 " moduleId = " org . eclipse . cdt . core . settings " name = " Release " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " org . eclipse . cdt . core . ELF " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GmakeErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . CWDLocator " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GASErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . release , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " cleanCommand = " rm - rf " description = " " id = " cdt . managedbuild . config . gnu . exe . release . 890968076 " name = " Release " parent = " cdt . managedbuild . config . gnu . exe . release " prebuildStep = " mkdir - p bin & amp ; & amp ; cp - R - n . . / . . / . . / . . / . . / samples / Cpp / TestCpp / Resources . . / . . / . . / . . / . . / samples / Lua / TestLua / " > <nl> + < folderInfo id = " cdt . managedbuild . config . gnu . exe . release . 890968076 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " cdt . managedbuild . toolchain . gnu . exe . release . 720811514 " name = " Linux GCC " superClass = " cdt . managedbuild . toolchain . gnu . exe . release " > <nl> + < targetPlatform id = " cdt . managedbuild . target . gnu . platform . exe . release . 962949232 " name = " Debug Platform " superClass = " cdt . managedbuild . target . gnu . platform . exe . release " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Release } " id = " cdt . managedbuild . target . gnu . builder . exe . release . 1121553297 " keepEnvironmentInBuildfile = " false " managedBuildOn = " true " name = " Gnu Make Builder " superClass = " cdt . managedbuild . target . gnu . builder . exe . release " / > <nl> + < tool id = " cdt . managedbuild . tool . gnu . archiver . base . 25255351 " name = " GCC Archiver " superClass = " cdt . managedbuild . tool . gnu . archiver . base " / > <nl> + < tool id = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . release . 317133341 " name = " GCC C + + Compiler " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . release " > <nl> + < option id = " gnu . cpp . compiler . exe . release . option . optimization . level . 1020508288 " name = " Optimization Level " superClass = " gnu . cpp . compiler . exe . release . option . optimization . level " value = " gnu . cpp . compiler . optimization . level . most " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . exe . release . option . debugging . level . 200368394 " name = " Debug Level " superClass = " gnu . cpp . compiler . exe . release . option . debugging . level " value = " gnu . cpp . compiler . debugging . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . option . include . paths . 717016654 " name = " Include paths ( - I ) " superClass = " gnu . cpp . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . compiler . option . preprocessor . def . 48956079 " name = " Defined symbols ( - D ) " superClass = " gnu . cpp . compiler . option . preprocessor . def " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . compiler . input . 1669186843 " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . input " / > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . c . compiler . exe . release . 279374166 " name = " GCC C Compiler " superClass = " cdt . managedbuild . tool . gnu . c . compiler . exe . release " > <nl> + < option defaultValue = " gnu . c . optimization . level . most " id = " gnu . c . compiler . exe . release . option . optimization . level . 513797541 " name = " Optimization Level " superClass = " gnu . c . compiler . exe . release . option . optimization . level " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . exe . release . option . debugging . level . 1785407921 " name = " Debug Level " superClass = " gnu . c . compiler . exe . release . option . debugging . level " value = " gnu . c . debugging . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . option . include . paths . 606181663 " name = " Include paths ( - I ) " superClass = " gnu . c . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . c . compiler . input . 1951510828 " superClass = " cdt . managedbuild . tool . gnu . c . compiler . input " / > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . c . linker . exe . release . 1196338383 " name = " GCC C Linker " superClass = " cdt . managedbuild . tool . gnu . c . linker . exe . release " / > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } bin / $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / CocosDenshion / third_party / fmod / api / lib - Wl , - rpath , . . / . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / scripting / lua / proj . linux / $ { ConfigName } " id = " cdt . managedbuild . tool . gnu . cpp . linker . exe . release . 968523880 " name = " GCC C + + Linker " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . exe . release " > <nl> + < option id = " gnu . cpp . link . option . libs . 841434875 " name = " Libraries ( - l ) " superClass = " gnu . cpp . link . option . libs " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2d " / > <nl> + < listOptionValue builtIn = " false " value = " cocosdenshion " / > <nl> + < listOptionValue builtIn = " false " value = " GLEW " / > <nl> + < listOptionValue builtIn = " false " value = " rt " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < listOptionValue builtIn = " false " value = " lua " / > <nl> + < listOptionValue builtIn = " false " value = " fmodex " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . paths . 815635762 " name = " Library search path ( - L ) " superClass = " gnu . cpp . link . option . paths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / scripting / lua / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / third_party / fmod / api / lib " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . linker . input . 760339141 " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . input " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . assembler . exe . release . 1526892084 " name = " GCC Assembler " superClass = " cdt . managedbuild . tool . gnu . assembler . exe . release " > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . assembler . input . 569443221 " superClass = " cdt . managedbuild . tool . gnu . assembler . input " / > <nl> + < / tool > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " cdt . managedbuild . config . gnu . exe . debug . 684675641 . 877862202 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " cdt . managedbuild . config . gnu . exe . debug . 684675641 . 877862202 " moduleId = " org . eclipse . cdt . core . settings " name = " Debug64 " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " org . eclipse . cdt . core . ELF " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GmakeErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . CWDLocator " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GASErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . debug , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " cleanCommand = " rm - rf " description = " " id = " cdt . managedbuild . config . gnu . exe . debug . 684675641 . 877862202 " name = " Debug64 " parent = " cdt . managedbuild . config . gnu . exe . debug " prebuildStep = " mkdir - p bin & amp ; & amp ; cp - R - n . . / . . / . . / . . / . . / samples / Cpp / TestCpp / Resources . . / . . / . . / . . / . . / samples / Lua / TestLua / " > <nl> + < folderInfo id = " cdt . managedbuild . config . gnu . exe . debug . 684675641 . 877862202 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " cdt . managedbuild . toolchain . gnu . exe . debug . 1546937154 " name = " Linux GCC " superClass = " cdt . managedbuild . toolchain . gnu . exe . debug " > <nl> + < targetPlatform id = " cdt . managedbuild . target . gnu . platform . exe . debug . 1457614998 " name = " Debug Platform " superClass = " cdt . managedbuild . target . gnu . platform . exe . debug " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Debug } " id = " cdt . managedbuild . target . gnu . builder . exe . debug . 1642448091 " keepEnvironmentInBuildfile = " false " managedBuildOn = " true " name = " Gnu Make Builder " superClass = " cdt . managedbuild . target . gnu . builder . exe . debug " / > <nl> + < tool id = " cdt . managedbuild . tool . gnu . archiver . base . 1085994279 " name = " GCC Archiver " superClass = " cdt . managedbuild . tool . gnu . archiver . base " / > <nl> + < tool id = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug . 1579483265 " name = " GCC C + + Compiler " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug " > <nl> + < option id = " gnu . cpp . compiler . exe . debug . option . optimization . level . 1548210708 " name = " Optimization Level " superClass = " gnu . cpp . compiler . exe . debug . option . optimization . level " value = " gnu . cpp . compiler . optimization . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . exe . debug . option . debugging . level . 1171461588 " name = " Debug Level " superClass = " gnu . cpp . compiler . exe . debug . option . debugging . level " value = " gnu . cpp . compiler . debugging . level . max " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . option . preprocessor . def . 1238945763 " name = " Defined symbols ( - D ) " superClass = " gnu . cpp . compiler . option . preprocessor . def " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . compiler . option . include . paths . 258605402 " name = " Include paths ( - I ) " superClass = " gnu . cpp . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . compiler . input . 601282888 " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . input " / > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . c . compiler . exe . debug . 470861430 " name = " GCC C Compiler " superClass = " cdt . managedbuild . tool . gnu . c . compiler . exe . debug " > <nl> + < option defaultValue = " gnu . c . optimization . level . none " id = " gnu . c . compiler . exe . debug . option . optimization . level . 827823720 " name = " Optimization Level " superClass = " gnu . c . compiler . exe . debug . option . optimization . level " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . exe . debug . option . debugging . level . 930288569 " name = " Debug Level " superClass = " gnu . c . compiler . exe . debug . option . debugging . level " value = " gnu . c . debugging . level . max " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . option . include . paths . 813300398 " name = " Include paths ( - I ) " superClass = " gnu . c . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . c . compiler . input . 1965017009 " superClass = " cdt . managedbuild . tool . gnu . c . compiler . input " / > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . c . linker . exe . debug . 816162891 " name = " GCC C Linker " superClass = " cdt . managedbuild . tool . gnu . c . linker . exe . debug " / > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } bin / $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib - Wl , - rpath , . . / . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / scripting / lua / proj . linux / $ { ConfigName } " id = " cdt . managedbuild . tool . gnu . cpp . linker . exe . debug . 1045882812 " name = " GCC C + + Linker " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . exe . debug " > <nl> + < option id = " gnu . cpp . link . option . libs . 67248046 " name = " Libraries ( - l ) " superClass = " gnu . cpp . link . option . libs " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2d " / > <nl> + < listOptionValue builtIn = " false " value = " cocosdenshion " / > <nl> + < listOptionValue builtIn = " false " value = " GLEW " / > <nl> + < listOptionValue builtIn = " false " value = " rt " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < listOptionValue builtIn = " false " value = " lua " / > <nl> + < listOptionValue builtIn = " false " value = " fmodex64 " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . paths . 668737399 " name = " Library search path ( - L ) " superClass = " gnu . cpp . link . option . paths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / scripting / lua / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . linker . input . 1332538227 " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . input " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . assembler . exe . debug . 946129111 " name = " GCC Assembler " superClass = " cdt . managedbuild . tool . gnu . assembler . exe . debug " > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . assembler . input . 1555200269 " superClass = " cdt . managedbuild . tool . gnu . assembler . input " / > <nl> + < / tool > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < sourceEntries > <nl> + < entry excluding = " cocos2dx_support | Classes " flags = " VALUE_WORKSPACE_PATH | RESOLVED " kind = " sourcePath " name = " " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " Classes " / > <nl> + < entry flags = " VALUE_WORKSPACE_PATH " kind = " sourcePath " name = " cocos2dx_support " / > <nl> + < / sourceEntries > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < cconfiguration id = " cdt . managedbuild . config . gnu . exe . release . 890968076 . 613854536 " > <nl> + < storageModule buildSystemId = " org . eclipse . cdt . managedbuilder . core . configurationDataProvider " id = " cdt . managedbuild . config . gnu . exe . release . 890968076 . 613854536 " moduleId = " org . eclipse . cdt . core . settings " name = " Release64 " > <nl> + < externalSettings / > <nl> + < extensions > <nl> + < extension id = " org . eclipse . cdt . core . ELF " point = " org . eclipse . cdt . core . BinaryParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GmakeErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . CWDLocator " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GCCErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GASErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < extension id = " org . eclipse . cdt . core . GLDErrorParser " point = " org . eclipse . cdt . core . ErrorParser " / > <nl> + < / extensions > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < configuration artifactName = " $ { ProjName } " buildArtefactType = " org . eclipse . cdt . build . core . buildArtefactType . exe " buildProperties = " org . eclipse . cdt . build . core . buildType = org . eclipse . cdt . build . core . buildType . release , org . eclipse . cdt . build . core . buildArtefactType = org . eclipse . cdt . build . core . buildArtefactType . exe " cleanCommand = " rm - rf " description = " " id = " cdt . managedbuild . config . gnu . exe . release . 890968076 . 613854536 " name = " Release64 " parent = " cdt . managedbuild . config . gnu . exe . release " prebuildStep = " mkdir - p bin & amp ; & amp ; cp - R - n . . / . . / . . / . . / . . / samples / Cpp / TestCpp / Resources . . / . . / . . / . . / . . / samples / Lua / TestLua / " > <nl> + < folderInfo id = " cdt . managedbuild . config . gnu . exe . release . 890968076 . 613854536 . " name = " / " resourcePath = " " > <nl> + < toolChain id = " cdt . managedbuild . toolchain . gnu . exe . release . 965057447 " name = " Linux GCC " superClass = " cdt . managedbuild . toolchain . gnu . exe . release " > <nl> + < targetPlatform id = " cdt . managedbuild . target . gnu . platform . exe . release . 864921619 " name = " Debug Platform " superClass = " cdt . managedbuild . target . gnu . platform . exe . release " / > <nl> + < builder buildPath = " $ { workspace_loc : / TestLua / Release } " id = " cdt . managedbuild . target . gnu . builder . exe . release . 1213155948 " keepEnvironmentInBuildfile = " false " managedBuildOn = " true " name = " Gnu Make Builder " superClass = " cdt . managedbuild . target . gnu . builder . exe . release " / > <nl> + < tool id = " cdt . managedbuild . tool . gnu . archiver . base . 384004806 " name = " GCC Archiver " superClass = " cdt . managedbuild . tool . gnu . archiver . base " / > <nl> + < tool id = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . release . 1425682468 " name = " GCC C + + Compiler " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . exe . release " > <nl> + < option id = " gnu . cpp . compiler . exe . release . option . optimization . level . 275939898 " name = " Optimization Level " superClass = " gnu . cpp . compiler . exe . release . option . optimization . level " value = " gnu . cpp . compiler . optimization . level . most " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . exe . release . option . debugging . level . 875155814 " name = " Debug Level " superClass = " gnu . cpp . compiler . exe . release . option . debugging . level " value = " gnu . cpp . compiler . debugging . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . cpp . compiler . option . include . paths . 469853764 " name = " Include paths ( - I ) " superClass = " gnu . cpp . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . compiler . option . preprocessor . def . 1576260448 " name = " Defined symbols ( - D ) " superClass = " gnu . cpp . compiler . option . preprocessor . def " valueType = " definedSymbols " > <nl> + < listOptionValue builtIn = " false " value = " LINUX " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . compiler . input . 1170792696 " superClass = " cdt . managedbuild . tool . gnu . cpp . compiler . input " / > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . c . compiler . exe . release . 1319721895 " name = " GCC C Compiler " superClass = " cdt . managedbuild . tool . gnu . c . compiler . exe . release " > <nl> + < option defaultValue = " gnu . c . optimization . level . most " id = " gnu . c . compiler . exe . release . option . optimization . level . 1298061509 " name = " Optimization Level " superClass = " gnu . c . compiler . exe . release . option . optimization . level " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . exe . release . option . debugging . level . 512643130 " name = " Debug Level " superClass = " gnu . c . compiler . exe . release . option . debugging . level " value = " gnu . c . debugging . level . none " valueType = " enumerated " / > <nl> + < option id = " gnu . c . compiler . option . include . paths . 310752920 " name = " Include paths ( - I ) " superClass = " gnu . c . compiler . option . include . paths " valueType = " includePath " > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / Classes " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / kazmath / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / cocos2dx / platform / third_party / linux " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / include " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / cocos2dx_support " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / lua " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / scripting / lua / tolua " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . c . compiler . input . 1641154835 " superClass = " cdt . managedbuild . tool . gnu . c . compiler . input " / > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . c . linker . exe . release . 244210697 " name = " GCC C Linker " superClass = " cdt . managedbuild . tool . gnu . c . linker . exe . release " / > <nl> + < tool commandLinePattern = " $ { COMMAND } $ { FLAGS } $ { OUTPUT_FLAG } bin / $ { OUTPUT_PREFIX } $ { OUTPUT } $ { INPUTS } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib - Wl , - rpath , . . / . . / . . / . . / cocos2dx / platform / third_party / linux / glew - 1 . 7 . 0 / glew - 1 . 7 . 0 / lib - Wl , - rpath , $ { ProjDirPath } / . . / . . / . . / . . / scripting / lua / proj . linux / $ { ConfigName } " id = " cdt . managedbuild . tool . gnu . cpp . linker . exe . release . 517803425 " name = " GCC C + + Linker " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . exe . release " > <nl> + < option id = " gnu . cpp . link . option . libs . 966243361 " name = " Libraries ( - l ) " superClass = " gnu . cpp . link . option . libs " valueType = " libs " > <nl> + < listOptionValue builtIn = " false " value = " cocos2d " / > <nl> + < listOptionValue builtIn = " false " value = " cocosdenshion " / > <nl> + < listOptionValue builtIn = " false " value = " GLEW " / > <nl> + < listOptionValue builtIn = " false " value = " rt " / > <nl> + < listOptionValue builtIn = " false " value = " z " / > <nl> + < listOptionValue builtIn = " false " value = " lua " / > <nl> + < listOptionValue builtIn = " false " value = " fmodex64 " / > <nl> + < / option > <nl> + < option id = " gnu . cpp . link . option . paths . 1908709804 " name = " Library search path ( - L ) " superClass = " gnu . cpp . link . option . paths " valueType = " libPaths " > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / cocos2dx / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / CocosDenshion / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " & quot ; . . / . . / . . / . . / . . / scripting / lua / proj . linux / $ { ConfigName } & quot ; " / > <nl> + < listOptionValue builtIn = " false " value = " . . / . . / . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib " / > <nl> + < / option > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . cpp . linker . input . 479170088 " superClass = " cdt . managedbuild . tool . gnu . cpp . linker . input " > <nl> + < additionalInput kind = " additionalinputdependency " paths = " $ ( USER_OBJS ) " / > <nl> + < additionalInput kind = " additionalinput " paths = " $ ( LIBS ) " / > <nl> + < / inputType > <nl> + < / tool > <nl> + < tool id = " cdt . managedbuild . tool . gnu . assembler . exe . release . 1304966385 " name = " GCC Assembler " superClass = " cdt . managedbuild . tool . gnu . assembler . exe . release " > <nl> + < inputType id = " cdt . managedbuild . tool . gnu . assembler . input . 2085068310 " superClass = " cdt . managedbuild . tool . gnu . assembler . input " / > <nl> + < / tool > <nl> + < / toolChain > <nl> + < / folderInfo > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . externalSettings " / > <nl> + < / cconfiguration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " cdtBuildSystem " version = " 4 . 0 . 0 " > <nl> + < project id = " TestLua . cdt . managedbuild . target . gnu . exe . 1639529943 " name = " Executable " projectType = " cdt . managedbuild . target . gnu . exe " / > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . core . LanguageSettingsProviders " / > <nl> + < storageModule moduleId = " refreshScope " versionNumber = " 2 " > <nl> + < configuration configurationName = " Release " > <nl> + < resource resourceType = " PROJECT " workspacePath = " / TestLua " / > <nl> + < / configuration > <nl> + < configuration configurationName = " Debug64 " > <nl> + < resource resourceType = " PROJECT " workspacePath = " / TestLua " / > <nl> + < / configuration > <nl> + < configuration configurationName = " Release64 " / > <nl> + < configuration configurationName = " Debug " > <nl> + < resource resourceType = " PROJECT " workspacePath = " / TestLua " / > <nl> + < / configuration > <nl> + < / storageModule > <nl> + < storageModule moduleId = " org . eclipse . cdt . internal . ui . text . commentOwnerProjectMappings " / > <nl> + < storageModule moduleId = " scannerConfiguration " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " " / > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . debug . 684675641 ; cdt . managedbuild . config . gnu . exe . debug . 684675641 . ; cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug . 889157849 ; cdt . managedbuild . tool . gnu . cpp . compiler . input . 103685015 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . debug . 684675641 . 877862202 ; cdt . managedbuild . config . gnu . exe . debug . 684675641 . 877862202 . ; cdt . managedbuild . tool . gnu . cpp . compiler . exe . debug . 1579483265 ; cdt . managedbuild . tool . gnu . cpp . compiler . input . 601282888 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " org . eclipse . cdt . managedbuilder . core . GCCManagedMakePerProjectProfileCPP " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . release . 890968076 ; cdt . managedbuild . config . gnu . exe . release . 890968076 . ; cdt . managedbuild . tool . gnu . cpp . compiler . exe . release . 317133341 ; cdt . managedbuild . tool . gnu . cpp . compiler . input . 1669186843 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . release . 890968076 ; cdt . managedbuild . config . gnu . exe . release . 890968076 . ; cdt . managedbuild . tool . gnu . c . compiler . exe . release . 279374166 ; cdt . managedbuild . tool . gnu . c . compiler . input . 1951510828 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . debug . 684675641 . 877862202 ; cdt . managedbuild . config . gnu . exe . debug . 684675641 . 877862202 . ; cdt . managedbuild . tool . gnu . c . compiler . exe . debug . 470861430 ; cdt . managedbuild . tool . gnu . c . compiler . input . 1965017009 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " org . eclipse . cdt . managedbuilder . core . GCCManagedMakePerProjectProfileC " / > <nl> + < / scannerConfigBuildInfo > <nl> + < scannerConfigBuildInfo instanceId = " cdt . managedbuild . config . gnu . exe . debug . 684675641 ; cdt . managedbuild . config . gnu . exe . debug . 684675641 . ; cdt . managedbuild . tool . gnu . c . compiler . exe . debug . 1377495991 ; cdt . managedbuild . tool . gnu . c . compiler . input . 1540019914 " > <nl> + < autodiscovery enabled = " true " problemReportingEnabled = " true " selectedProfileId = " " / > <nl> + < / scannerConfigBuildInfo > <nl> + < / storageModule > <nl> + < / cproject > <nl> new file mode 100644 <nl> index 000000000000 . . ffdd86c367d7 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . linux / . project <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " UTF - 8 " ? > <nl> + < projectDescription > <nl> + < name > TestLua < / name > <nl> + < comment > < / comment > <nl> + < projects > <nl> + < project > libBox2D < / project > <nl> + < project > libChipmunk < / project > <nl> + < project > libcocos2d < / project > <nl> + < project > libCocosDenshion < / project > <nl> + < project > liblua < / project > <nl> + < / projects > <nl> + < buildSpec > <nl> + < buildCommand > <nl> + < name > org . eclipse . cdt . managedbuilder . core . genmakebuilder < / name > <nl> + < triggers > clean , full , incremental , < / triggers > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < buildCommand > <nl> + < name > org . eclipse . cdt . managedbuilder . core . ScannerConfigBuilder < / name > <nl> + < triggers > full , incremental , < / triggers > <nl> + < arguments > <nl> + < / arguments > <nl> + < / buildCommand > <nl> + < / buildSpec > <nl> + < natures > <nl> + < nature > org . eclipse . cdt . core . cnature < / nature > <nl> + < nature > org . eclipse . cdt . core . ccnature < / nature > <nl> + < nature > org . eclipse . cdt . managedbuilder . core . managedBuildNature < / nature > <nl> + < nature > org . eclipse . cdt . managedbuilder . core . ScannerConfigNature < / nature > <nl> + < / natures > <nl> + < linkedResources > <nl> + < link > <nl> + < name > Classes < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 1 - PROJECT_LOC / Classes < / locationURI > <nl> + < / link > <nl> + < link > <nl> + < name > cocos2dx_support < / name > <nl> + < type > 2 < / type > <nl> + < locationURI > PARENT - 4 - PROJECT_LOC / scripting / lua / cocos2dx_support < / locationURI > <nl> + < / link > <nl> + < / linkedResources > <nl> + < / projectDescription > <nl> new file mode 100644 <nl> index 000000000000 . . b19518356094 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . linux / Makefile <nl> <nl> + CC = gcc <nl> + CXX = g + + <nl> + TARGET = TestLua <nl> + CCFLAGS = - Wall <nl> + CXXFLAGS = - Wall <nl> + VISIBILITY = <nl> + <nl> + COCOS2DX_PATH = . . / . . / . . / . . / cocos2dx <nl> + INCLUDES = - I . . / \ <nl> + - I . . / Classes \ <nl> + - I $ ( COCOS2DX_PATH ) \ <nl> + - I $ ( COCOS2DX_PATH ) / platform / third_party / linux \ <nl> + - I $ ( COCOS2DX_PATH ) / platform / third_party / linux / libfreetype2 \ <nl> + - I $ ( COCOS2DX_PATH ) / cocoa \ <nl> + - I $ ( COCOS2DX_PATH ) / include \ <nl> + - I $ ( COCOS2DX_PATH ) / platform \ <nl> + - I $ ( COCOS2DX_PATH ) / platform / linux \ <nl> + - I $ ( COCOS2DX_PATH ) / kazmath / include \ <nl> + - I $ ( COCOS2DX_PATH ) / platform / third_party / linux / libxml2 \ <nl> + - I $ ( COCOS2DX_PATH ) / platform / third_party / linux / libjpeg \ <nl> + - I . . / . . / . . / . . / CocosDenshion / include \ <nl> + - I . . / . . / . . / . . / scripting / lua / lua \ <nl> + - I . . / . . / . . / . . / scripting / lua / tolua \ <nl> + - I . . / . . / . . / . . / scripting / lua / cocos2dx_support <nl> + <nl> + <nl> + DEFINES = - DLINUX <nl> + <nl> + OBJECTS = . / main . o \ <nl> + . . / Classes / AppDelegate . o <nl> + <nl> + LBITS : = $ ( shell getconf LONG_BIT ) <nl> + ifeq ( $ ( LBITS ) , 64 ) <nl> + STATICLIBS_DIR = . . / . . / . . / . . / cocos2dx / platform / third_party / linux / libraries / lib64 <nl> + else <nl> + STATICLIBS_DIR = . . / . . / . . / . . / cocos2dx / platform / third_party / linux / libraries <nl> + endif <nl> + <nl> + STATICLIBS = $ ( STATICLIBS_DIR ) / libfreetype . a \ <nl> + $ ( STATICLIBS_DIR ) / libcurl . a \ <nl> + $ ( STATICLIBS_DIR ) / libxml2 . a \ <nl> + $ ( STATICLIBS_DIR ) / libpng . a \ <nl> + $ ( STATICLIBS_DIR ) / libjpeg . a \ <nl> + $ ( STATICLIBS_DIR ) / libtiff . a \ <nl> + # $ ( STATICLIBS_DIR ) / libGLEW . a \ <nl> + . . / . . / . . / . . / lib / linux / Debug / libbox2d . a \ <nl> + . . / . . / . . / . . / lib / linux / Debug / libchipmunk . a <nl> + <nl> + SHAREDLIBS + = - lglfw - lcurl - llua - lGLEW <nl> + SHAREDLIBS + = - Wl , - rpath , . . / . . / . . / . . / . . / . . / lib / linux / Debug <nl> + <nl> + ifeq ( $ ( LBITS ) , 64 ) <nl> + SHAREDLIBS + = - L . . / . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib - lfmodex64 - Wl , - rpath , . . / . . / . . / . . / . . / . . / CocosDenshion / third_party / fmod / lib64 / api / lib <nl> + else <nl> + SHAREDLIBS + = - L . . / . . / . . / . . / CocosDenshion / third_party / fmod / api / lib - lfmodex - Wl , - rpath , . . / . . / . . / . . / . . / . . / CocosDenshion / third_party / fmod / api / lib <nl> + endif <nl> + <nl> + # $ ( shell . . / . . / build - linux . sh $ < ) <nl> + <nl> + BIN_DIR_ROOT = bin <nl> + BIN_DIR = $ ( BIN_DIR_ROOT ) <nl> + <nl> + debug : BIN_DIR = $ ( BIN_DIR_ROOT ) / debug <nl> + debug : CCFLAGS + = - g3 - O0 <nl> + debug : CXXFLAGS + = - g3 - O0 <nl> + debug : SHAREDLIBS + = - L . . / . . / . . / . . / lib / linux / Debug - lcocos2d - lrt - lz - lcocosdenshion <nl> + debug : SHAREDLIBS + = - Wl , - rpath , . . / . . / . . / . . / . . / . . / lib / linux / Debug / <nl> + debug : DEFINES + = - DDEBUG <nl> + debug : $ ( TARGET ) <nl> + <nl> + release : BIN_DIR = $ ( BIN_DIR_ROOT ) / release <nl> + release : CCFLAGS + = - O3 <nl> + release : CXXFLAGS + = - O3 <nl> + release : SHAREDLIBS + = - L . . / . . / . . / . . / lib / linux / Release - lcocos2d - lrt - lz - lcocosdenshion <nl> + release : SHAREDLIBS + = - Wl , - rpath , . . / . . / . . / . . / . . / . . / lib / linux / Release / <nl> + release : DEFINES + = - DNDEBUG <nl> + release : $ ( TARGET ) <nl> + <nl> + # # # # # # # Build rules <nl> + $ ( TARGET ) : $ ( OBJECTS ) <nl> + mkdir - p $ ( BIN_DIR ) <nl> + cp - R - n . . / . . / . . / . . / samples / Cpp / TestCpp / Resources . . / . . / . . / . . / samples / Lua / TestLua <nl> + $ ( CXX ) $ ( CXXFLAGS ) $ ( INCLUDES ) $ ( DEFINES ) $ ( OBJECTS ) - o $ ( BIN_DIR ) / $ ( TARGET ) $ ( SHAREDLIBS ) $ ( STATICLIBS ) <nl> + <nl> + # # # # # # # Compile <nl> + % . o : % . cpp <nl> + $ ( CXX ) $ ( CXXFLAGS ) $ ( INCLUDES ) $ ( DEFINES ) $ ( VISIBILITY ) - c $ < - o $ @ <nl> + <nl> + % . o : % . c <nl> + $ ( CC ) $ ( CCFLAGS ) $ ( INCLUDES ) $ ( DEFINES ) $ ( VISIBILITY ) - c $ < - o $ @ <nl> + <nl> + clean : <nl> + rm - f $ ( OBJECTS ) $ ( TARGET ) core <nl> new file mode 100644 <nl> index 000000000000 . . c1ce114a4e1b <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . linux / main . cpp <nl> <nl> + # include " main . h " <nl> + <nl> + # include " . . / Classes / AppDelegate . h " <nl> + # include " cocos2d . h " <nl> + # include " CCEGLView . h " <nl> + <nl> + # include < stdlib . h > <nl> + # include < stdio . h > <nl> + # include < unistd . h > <nl> + # include < string > <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + int main ( int argc , char * * argv ) <nl> + { <nl> + / / create the application instance <nl> + AppDelegate app ; <nl> + CCEGLView * eglView = CCEGLView : : sharedOpenGLView ( ) ; <nl> + eglView - > setFrameSize ( 800 , 480 ) ; <nl> + return CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . 86022e430a67 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . linux / main . h <nl> <nl> + # ifndef __MAIN_H__ <nl> + # define __MAIN_H__ <nl> + <nl> + # define WIN32_LEAN_AND_MEAN / / Exclude rarely - used stuff from Windows headers <nl> + <nl> + / / Windows Header Files : <nl> + / / # include < windows . h > <nl> + / / # include < tchar . h > <nl> + <nl> + / / C RunTime Header Files <nl> + # include " CCStdC . h " <nl> + <nl> + # endif / / __MAIN_H__ <nl> new file mode 100644 <nl> index 000000000000 . . 70e3a0634db3 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . marmalade / TestLua . mkb <nl> <nl> + options <nl> + { <nl> + module_path = " . . / . . / . . / . . / cocos2dx / proj . marmalade / ; . . / . . / . . / . . / CocosDenshion / proj . marmalade / ; . . / . . / . . / . . / scripting / lua / proj . marmalade / ; . . / . . / . . / . . / extensions / proj . marmalade / ; . . / . . / . . / . . / external / chipmunk / proj . marmalade / ; . . / . . / . . / . . / external / Box2D / proj . marmalade / " <nl> + s3e - data - dir = " . . / Resources " <nl> + } <nl> + <nl> + includepaths <nl> + { <nl> + . . / Classes <nl> + } <nl> + subprojects <nl> + { <nl> + IwGL <nl> + cocos2dx <nl> + CocosDenshion <nl> + cocos2dx - ext <nl> + Box2D <nl> + lua <nl> + } <nl> + <nl> + defines <nl> + { <nl> + CC_ENABLE_BOX2D_INTEGRATION = 1 <nl> + } <nl> + <nl> + assets <nl> + { <nl> + ( . . / Resources ) <nl> + . <nl> + } <nl> + <nl> + <nl> + files <nl> + { <nl> + [ Main ] <nl> + ( src ) <nl> + Main . h <nl> + Main . cpp <nl> + <nl> + ( . . / Classes ) <nl> + AppDelegate . h <nl> + AppDelegate . cpp <nl> + } <nl> + <nl> + postbuild " $ { MARMALADE_ROOT } / s3e / python / python . / cccopy . py - s . . / . . / . . / . . / samples / Cpp / TestCpp / Resources / - d . . / . . / . . / . . / samples / Lua / TestLua / Resources / " <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . e6f6f009c978 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . marmalade / cccopy . py <nl> <nl> + import os <nl> + import shutil <nl> + from optparse import OptionParser <nl> + <nl> + def cccopy ( sourcePath , destPath ) : <nl> + for root , dirs , files in os . walk ( sourcePath ) : <nl> + # figure out where we ' re going <nl> + dest = destPath + root . replace ( sourcePath , ' ' ) <nl> + destAbsPath = os . path . abspath ( destPath ) <nl> + # if we ' re in a directory that doesn ' t exist in the destination folder then create a new folder <nl> + if not os . path . isdir ( dest ) : <nl> + os . mkdir ( dest ) <nl> + print os . path . abspath ( dest ) . replace ( destAbsPath , ' ' ) [ 1 : ] + ' directory created . ' <nl> + <nl> + # loop through all files in the directory <nl> + for f in files : <nl> + # compute current ( old ) & new file locations <nl> + oldLoc = root + " / " + f <nl> + newLoc = dest + " / " + f <nl> + <nl> + if not os . path . isfile ( newLoc ) : <nl> + try : <nl> + shutil . copy2 ( oldLoc , newLoc ) <nl> + print os . path . abspath ( newLoc ) . replace ( destAbsPath , ' ' ) [ 1 : ] + ' copied . ' <nl> + except IOError : <nl> + print os . path . abspath ( newLoc ) . replace ( destAbsPath , ' ' ) [ 1 : ] + ' already exists . ' <nl> + <nl> + <nl> + <nl> + # main <nl> + def main ( ) : <nl> + # parse options <nl> + parser = OptionParser ( usage = " % prog [ options ] " ) <nl> + parser . add_option ( " - s " , " - - sourcePath " , action = " store " , help = " Source path " , dest = " sourcePath " ) <nl> + parser . add_option ( " - d " , " - - destPath " , action = " store " , help = " Destination path " , dest = " destPath " ) <nl> + <nl> + ( options , args ) = parser . parse_args ( ) <nl> + <nl> + if options . sourcePath and options . destPath : <nl> + cccopy ( options . sourcePath , options . destPath ) <nl> + else : <nl> + parser . error ( " " ) <nl> + <nl> + # # entry <nl> + if __name__ = = " __main__ " : <nl> + main ( ) <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 80b1f11641c6 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . marmalade / src / Main . cpp <nl> <nl> + / / Application main file . <nl> + <nl> + # include " Main . h " <nl> + # include " . . / Classes / AppDelegate . h " <nl> + <nl> + / / Cocos2dx headers <nl> + # include " cocos2d . h " <nl> + <nl> + / / Marmalade headers <nl> + # include " IwGL . h " <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + int main ( ) <nl> + { <nl> + AppDelegate app ; <nl> + <nl> + return cocos2d : : CCApplication : : sharedApplication ( ) - > Run ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . ebfa484e727d <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . marmalade / src / Main . h <nl> <nl> + # ifndef MAIN_H <nl> + # define MAIN_H <nl> + <nl> + # endif <nl> new file mode 100644 <nl> index 000000000000 . . 8b155d0f9abc <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . win32 / TestLua . rc <nl> <nl> + / / Microsoft Visual C + + generated resource script . <nl> + / / <nl> + # include " resource . h " <nl> + <nl> + # define APSTUDIO_READONLY_SYMBOLS <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / <nl> + / / Generated from the TEXTINCLUDE 2 resource . <nl> + / / <nl> + # define APSTUDIO_HIDDEN_SYMBOLS <nl> + # include " windows . h " <nl> + # undef APSTUDIO_HIDDEN_SYMBOLS <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + # undef APSTUDIO_READONLY_SYMBOLS <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / English ( U . S . ) resources <nl> + <nl> + # if ! defined ( AFX_RESOURCE_DLL ) | | defined ( AFX_TARG_ENU ) <nl> + # ifdef _WIN32 <nl> + LANGUAGE LANG_ENGLISH , SUBLANG_ENGLISH_US <nl> + # pragma code_page ( 1252 ) <nl> + # endif / / _WIN32 <nl> + <nl> + # ifdef APSTUDIO_INVOKED <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / <nl> + / / TEXTINCLUDE <nl> + / / <nl> + <nl> + 1 TEXTINCLUDE <nl> + BEGIN <nl> + " resource . h \ 0 " <nl> + END <nl> + <nl> + # endif / / APSTUDIO_INVOKED <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / <nl> + / / Icon <nl> + / / <nl> + <nl> + / / Icon with lowest ID value placed first to ensure application icon <nl> + / / remains consistent on all systems . <nl> + IDR_MAINFRAME ICON " res \ \ TestLua . ico " <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + / / <nl> + / / Version <nl> + / / <nl> + <nl> + VS_VERSION_INFO VERSIONINFO <nl> + FILEVERSION 1 , 0 , 0 , 1 <nl> + PRODUCTVERSION 1 , 0 , 0 , 1 <nl> + FILEFLAGSMASK 0x3fL <nl> + # ifdef _DEBUG <nl> + FILEFLAGS 0x1L <nl> + # else <nl> + FILEFLAGS 0x0L <nl> + # endif <nl> + FILEOS 0x4L <nl> + FILETYPE 0x2L <nl> + FILESUBTYPE 0x0L <nl> + BEGIN <nl> + BLOCK " StringFileInfo " <nl> + BEGIN <nl> + BLOCK " 040904B0 " <nl> + BEGIN <nl> + VALUE " CompanyName " , " \ 0 " <nl> + VALUE " FileDescription " , " TestLua Module \ 0 " <nl> + VALUE " FileVersion " , " 1 , 0 , 0 , 1 \ 0 " <nl> + VALUE " InternalName " , " TestLua \ 0 " <nl> + VALUE " LegalCopyright " , " Copyright \ 0 " <nl> + VALUE " OriginalFilename " , " TestLua . exe \ 0 " <nl> + VALUE " ProductName " , " TestLua Module \ 0 " <nl> + VALUE " ProductVersion " , " 1 , 0 , 0 , 1 \ 0 " <nl> + END <nl> + END <nl> + BLOCK " VarFileInfo " <nl> + BEGIN <nl> + VALUE " Translation " , 0x0409 , 0x04B0 <nl> + END <nl> + END <nl> + <nl> + / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> + # endif / / ! defined ( AFX_RESOURCE_DLL ) | | defined ( AFX_TARG_ENU ) <nl> new file mode 100644 <nl> index 000000000000 . . 423e49fa9476 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . win32 / TestLua . win32 . vcxproj <nl> <nl> +  < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project DefaultTargets = " Build " ToolsVersion = " 4 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < ItemGroup Label = " ProjectConfigurations " > <nl> + < ProjectConfiguration Include = " Debug | Win32 " > <nl> + < Configuration > Debug < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release | Win32 " > <nl> + < Configuration > Release < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < / ItemGroup > <nl> + < PropertyGroup Label = " Globals " > <nl> + < ProjectGuid > { 4E6A7A0E - DDD8 - 4BAA - 8B22 - C964069364ED } < / ProjectGuid > <nl> + < ProjectName > TestLua < / ProjectName > <nl> + < / PropertyGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . Default . props " / > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " Label = " Configuration " > <nl> + < ConfigurationType > Application < / ConfigurationType > <nl> + < UseDebugLibraries > true < / UseDebugLibraries > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 10 . 0 ' " > v100 < / PlatformToolset > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 11 . 0 ' " > v110 < / PlatformToolset > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 11 . 0 ' and exists ( ' $ ( MSBuildProgramFiles32 ) \ Microsoft SDKs \ Windows \ v7 . 1A ' ) " > v110_xp < / PlatformToolset > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " Label = " Configuration " > <nl> + < ConfigurationType > Application < / ConfigurationType > <nl> + < UseDebugLibraries > false < / UseDebugLibraries > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 10 . 0 ' " > v100 < / PlatformToolset > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 11 . 0 ' " > v110 < / PlatformToolset > <nl> + < PlatformToolset Condition = " ' $ ( VisualStudioVersion ) ' = = ' 11 . 0 ' and exists ( ' $ ( MSBuildProgramFiles32 ) \ Microsoft SDKs \ Windows \ v7 . 1A ' ) " > v110_xp < / PlatformToolset > <nl> + < / PropertyGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . props " / > <nl> + < ImportGroup Label = " ExtensionSettings " > <nl> + < / ImportGroup > <nl> + < ImportGroup Label = " PropertySheets " Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < Import Project = " $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props " Condition = " exists ( ' $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props ' ) " Label = " LocalAppDataPlatform " / > <nl> + < / ImportGroup > <nl> + < ImportGroup Label = " PropertySheets " Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < Import Project = " $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props " Condition = " exists ( ' $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props ' ) " Label = " LocalAppDataPlatform " / > <nl> + < / ImportGroup > <nl> + < PropertyGroup Label = " UserMacros " / > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < OutDir > $ ( SolutionDir ) $ ( Configuration ) . win32 \ < / OutDir > <nl> + < IntDir > $ ( Configuration ) . win32 \ < / IntDir > <nl> + < LinkIncremental > true < / LinkIncremental > <nl> + < IncludePath > $ ( IncludePath ) < / IncludePath > <nl> + < SourcePath > $ ( SourcePath ) ; < / SourcePath > <nl> + < CodeAnalysisRuleSet > AllRules . ruleset < / CodeAnalysisRuleSet > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < OutDir > $ ( SolutionDir ) $ ( Configuration ) . win32 \ < / OutDir > <nl> + < IntDir > $ ( Configuration ) . win32 \ < / IntDir > <nl> + < LinkIncremental > false < / LinkIncremental > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < LibraryPath > $ ( MSBuildProgramFiles32 ) \ Microsoft SDKs \ Windows \ v7 . 1A \ lib ; $ ( LibraryPath ) < / LibraryPath > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < LibraryPath > $ ( MSBuildProgramFiles32 ) \ Microsoft SDKs \ Windows \ v7 . 1A \ lib ; $ ( LibraryPath ) < / LibraryPath > <nl> + < / PropertyGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < ClCompile > <nl> + < AdditionalIncludeDirectories > $ ( ProjectDir ) . . \ Classes ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ lua ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ tolua ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ src ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx \ include ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx \ kazmath \ include ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx \ platform \ win32 ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx \ platform \ third_party \ win32 ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx \ platform \ third_party \ win32 \ OGLES ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ external ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ external \ chipmunk \ include \ chipmunk ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ CocosDenshion \ include ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ tolua ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ lua ; % ( AdditionalIncludeDirectories ) < / AdditionalIncludeDirectories > <nl> + < PrecompiledHeader > <nl> + < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < RuntimeLibrary > MultiThreadedDebugDLL < / RuntimeLibrary > <nl> + < MinimalRebuild > true < / MinimalRebuild > <nl> + < DebugInformationFormat > EditAndContinue < / DebugInformationFormat > <nl> + < BasicRuntimeChecks > EnableFastChecks < / BasicRuntimeChecks > <nl> + < Optimization > Disabled < / Optimization > <nl> + < PreprocessorDefinitions > WIN32 ; _WINDOWS ; STRICT ; _CRT_SECURE_NO_WARNINGS ; _SCL_SECURE_NO_WARNINGS_DEBUG ; COCOS2D_DEBUG = 1 ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < DisableSpecificWarnings > 4267 ; 4251 ; 4244 ; % ( DisableSpecificWarnings ) < / DisableSpecificWarnings > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < TargetMachine > MachineX86 < / TargetMachine > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < AdditionalLibraryDirectories > $ ( OutDir ) ; % ( AdditionalLibraryDirectories ) < / AdditionalLibraryDirectories > <nl> + < AdditionalDependencies > libcocos2d . lib ; libExtensions . lib ; opengl32 . lib ; glew32 . lib ; libBox2d . lib ; libchipmunk . lib ; libCocosDenshion . lib ; liblua . lib ; % ( AdditionalDependencies ) < / AdditionalDependencies > <nl> + < / Link > <nl> + < ResourceCompile > <nl> + < Culture > 0x0409 < / Culture > <nl> + < AdditionalIncludeDirectories > $ ( MSBuildProgramFiles32 ) \ Microsoft SDKs \ Windows \ v7 . 1A \ include ; $ ( IntDir ) ; % ( AdditionalIncludeDirectories ) < / AdditionalIncludeDirectories > <nl> + < PreprocessorDefinitions > _DEBUG ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < / ResourceCompile > <nl> + < Midl > <nl> + < MkTypLibCompatible > false < / MkTypLibCompatible > <nl> + < TargetEnvironment > Win32 < / TargetEnvironment > <nl> + < PreprocessorDefinitions > _DEBUG ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < HeaderFileName > TestLua . h < / HeaderFileName > <nl> + < InterfaceIdentifierFileName > TestLua_i . c < / InterfaceIdentifierFileName > <nl> + < ProxyFileName > TestLua_p . c < / ProxyFileName > <nl> + < GenerateStublessProxies > true < / GenerateStublessProxies > <nl> + < TypeLibraryName > $ ( IntDir ) / TestLua . tlb < / TypeLibraryName > <nl> + < DllDataFileName > <nl> + < / DllDataFileName > <nl> + < / Midl > <nl> + < PreBuildEvent > <nl> + < Command > xcopy " $ ( ProjectDir ) . . \ . . \ . . \ Cpp \ TestCpp \ Resources " " $ ( ProjectDir ) . . \ . . \ TestLua \ Resources " / e / Y < / Command > <nl> + < Message > copy files from TestCpp to TestLua < / Message > <nl> + < / PreBuildEvent > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < ClCompile > <nl> + < AdditionalIncludeDirectories > $ ( ProjectDir ) . . \ Classes ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ lua ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ tolua ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ src ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx \ include ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx \ kazmath \ include ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx \ platform \ win32 ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx \ platform \ third_party \ win32 ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ cocos2dx \ platform \ third_party \ win32 \ OGLES ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ external ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ external \ chipmunk \ include \ chipmunk ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ CocosDenshion \ include ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ tolua ; $ ( ProjectDir ) . . \ . . \ . . \ . . \ scripting \ lua \ lua ; % ( AdditionalIncludeDirectories ) < / AdditionalIncludeDirectories > <nl> + < PrecompiledHeader > <nl> + < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < RuntimeLibrary > MultiThreadedDLL < / RuntimeLibrary > <nl> + < ExceptionHandling > <nl> + < / ExceptionHandling > <nl> + < DebugInformationFormat > <nl> + < / DebugInformationFormat > <nl> + < PreprocessorDefinitions > WIN32 ; _WINDOWS ; STRICT ; _CRT_SECURE_NO_WARNINGS ; _SCL_SECURE_NO_WARNINGSNDEBUG ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < DisableSpecificWarnings > 4267 ; 4251 ; 4244 ; % ( DisableSpecificWarnings ) < / DisableSpecificWarnings > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < TargetMachine > MachineX86 < / TargetMachine > <nl> + < AdditionalLibraryDirectories > $ ( OutDir ) ; % ( AdditionalLibraryDirectories ) < / AdditionalLibraryDirectories > <nl> + < AdditionalDependencies > libcocos2d . lib ; libExtensions . lib ; opengl32 . lib ; glew32 . lib ; libBox2d . lib ; libchipmunk . lib ; libCocosDenshion . lib ; liblua . lib ; % ( AdditionalDependencies ) < / AdditionalDependencies > <nl> + < / Link > <nl> + < ResourceCompile > <nl> + < Culture > 0x0409 < / Culture > <nl> + < AdditionalIncludeDirectories > $ ( MSBuildProgramFiles32 ) \ Microsoft SDKs \ Windows \ v7 . 1A \ include ; $ ( IntDir ) ; % ( AdditionalIncludeDirectories ) < / AdditionalIncludeDirectories > <nl> + < PreprocessorDefinitions > NDEBUG ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < / ResourceCompile > <nl> + < Midl > <nl> + < MkTypLibCompatible > false < / MkTypLibCompatible > <nl> + < TargetEnvironment > Win32 < / TargetEnvironment > <nl> + < PreprocessorDefinitions > NDEBUG ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < HeaderFileName > TestLua . h < / HeaderFileName > <nl> + < InterfaceIdentifierFileName > TestLua_i . c < / InterfaceIdentifierFileName > <nl> + < ProxyFileName > TestLua_p . c < / ProxyFileName > <nl> + < GenerateStublessProxies > true < / GenerateStublessProxies > <nl> + < TypeLibraryName > $ ( IntDir ) / TestLua . tlb < / TypeLibraryName > <nl> + < DllDataFileName > <nl> + < / DllDataFileName > <nl> + < / Midl > <nl> + < PreBuildEvent > <nl> + < Command > xcopy " $ ( ProjectDir ) . . \ . . \ . . \ Cpp \ TestCpp \ Resources " " $ ( ProjectDir ) . . \ . . \ TestLua \ Resources " / e / Y < / Command > <nl> + < Message > copy files from TestCpp to TestLua < / Message > <nl> + < / PreBuildEvent > <nl> + < / ItemDefinitionGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ CCLuaEngine . h " / > <nl> + < ClInclude Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ Cocos2dxLuaLoader . h " / > <nl> + < ClInclude Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ LuaCocos2d . h " / > <nl> + < ClInclude Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ tolua_fix . h " / > <nl> + < ClInclude Include = " . . \ Classes \ AppDelegate . h " / > <nl> + < ClInclude Include = " main . h " / > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClCompile Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ CCLuaEngine . cpp " / > <nl> + < ClCompile Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ Cocos2dxLuaLoader . cpp " / > <nl> + < ClCompile Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ LuaCocos2d . cpp " / > <nl> + < ClCompile Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ tolua_fix . c " / > <nl> + < ClCompile Include = " . . \ Classes \ AppDelegate . cpp " / > <nl> + < ClCompile Include = " main . cpp " / > <nl> + < / ItemGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . targets " / > <nl> + < ImportGroup Label = " ExtensionTargets " > <nl> + < / ImportGroup > <nl> + < / Project > <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 6393ce42e83a <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . win32 / TestLua . win32 . vcxproj . filters <nl> <nl> +  < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project ToolsVersion = " 4 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < ItemGroup > <nl> + < Filter Include = " Classes " > <nl> + < UniqueIdentifier > { fc5cb953 - 2953 - 4968 - 83b3 - 39e3ff951754 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " win32 " > <nl> + < UniqueIdentifier > { 037a9a02 - b906 - 4cc5 - ad98 - 304acd4e25ee } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ Classes \ AppDelegate . h " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " main . h " > <nl> + < Filter > win32 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ CCLuaEngine . h " / > <nl> + < ClInclude Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ Cocos2dxLuaLoader . h " / > <nl> + < ClInclude Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ LuaCocos2d . h " / > <nl> + < ClInclude Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ tolua_fix . h " / > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClCompile Include = " . . \ Classes \ AppDelegate . cpp " > <nl> + < Filter > Classes < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " main . cpp " > <nl> + < Filter > win32 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ CCLuaEngine . cpp " / > <nl> + < ClCompile Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ Cocos2dxLuaLoader . cpp " / > <nl> + < ClCompile Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ LuaCocos2d . cpp " / > <nl> + < ClCompile Include = " . . \ . . \ . . \ . . \ scripting \ lua \ cocos2dx_support \ tolua_fix . c " / > <nl> + < / ItemGroup > <nl> + < / Project > <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 62b0b77aebb5 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . win32 / TestLua . win32 . vcxproj . user <nl> <nl> +  < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project ToolsVersion = " 4 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < PropertyGroup > <nl> + < ShowAllFiles > false < / ShowAllFiles > <nl> + < LocalDebuggerWorkingDirectory Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > $ ( ProjectDir ) . . \ Resources < / LocalDebuggerWorkingDirectory > <nl> + < LocalDebuggerWorkingDirectory Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > $ ( ProjectDir ) . . \ Resources < / LocalDebuggerWorkingDirectory > <nl> + < DebuggerFlavor Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > WindowsLocalDebugger < / DebuggerFlavor > <nl> + < DebuggerFlavor Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > WindowsLocalDebugger < / DebuggerFlavor > <nl> + < / PropertyGroup > <nl> + < / Project > <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 000000000000 . . 5a4c215749e8 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . win32 / main . cpp <nl> <nl> + # include " main . h " <nl> + # include " AppDelegate . h " <nl> + # include " cocos2d . h " <nl> + <nl> + USING_NS_CC ; <nl> + <nl> + / / uncomment below line , open debug console <nl> + # define USE_WIN32_CONSOLE <nl> + <nl> + int APIENTRY _tWinMain ( HINSTANCE hInstance , <nl> + HINSTANCE hPrevInstance , <nl> + LPTSTR lpCmdLine , <nl> + int nCmdShow ) <nl> + { <nl> + UNREFERENCED_PARAMETER ( hPrevInstance ) ; <nl> + UNREFERENCED_PARAMETER ( lpCmdLine ) ; <nl> + <nl> + # ifdef USE_WIN32_CONSOLE <nl> + AllocConsole ( ) ; <nl> + freopen ( " CONIN $ " , " r " , stdin ) ; <nl> + freopen ( " CONOUT $ " , " w " , stdout ) ; <nl> + freopen ( " CONOUT $ " , " w " , stderr ) ; <nl> + # endif <nl> + <nl> + / / create the application instance <nl> + AppDelegate app ; <nl> + CCEGLView * eglView = CCEGLView : : sharedOpenGLView ( ) ; <nl> + eglView - > setViewName ( " TestLua " ) ; <nl> + eglView - > setFrameSize ( 480 , 320 ) ; <nl> + <nl> + int ret = CCApplication : : sharedApplication ( ) - > run ( ) ; <nl> + <nl> + # ifdef USE_WIN32_CONSOLE <nl> + FreeConsole ( ) ; <nl> + # endif <nl> + <nl> + return ret ; <nl> + } <nl> new file mode 100644 <nl> index 000000000000 . . d756fd1e5789 <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . win32 / main . h <nl> <nl> + # ifndef __MAIN_H__ <nl> + # define __MAIN_H__ <nl> + <nl> + # define WIN32_LEAN_AND_MEAN / / Exclude rarely - used stuff from Windows headers <nl> + <nl> + / / Windows Header Files : <nl> + # include < windows . h > <nl> + # include < tchar . h > <nl> + <nl> + # endif / / __WINMAIN_H__ <nl> new file mode 100644 <nl> index 000000000000 . . feaf932a7465 <nl> Binary files / dev / null and b / template / multi - platform - lua / proj . win32 / res / TestLua . ico differ <nl> new file mode 100644 <nl> index 000000000000 . . b64c0b240f1c <nl> mmm / dev / null <nl> ppp b / template / multi - platform - lua / proj . win32 / resource . h <nl> <nl> + / / { { NO_DEPENDENCIES } } <nl> + / / Microsoft Visual C + + generated include file . <nl> + / / Used by TestLua . RC <nl> + / / <nl> + <nl> + # define IDS_PROJNAME 100 <nl> + # define IDR_TESTLUA 100 <nl> + <nl> + # define ID_FILE_NEW_WINDOW 32771 <nl> + <nl> + / / Next default values for new objects <nl> + / / <nl> + # ifdef APSTUDIO_INVOKED <nl> + # ifndef APSTUDIO_READONLY_SYMBOLS <nl> + # define _APS_NEXT_RESOURCE_VALUE 201 <nl> + # define _APS_NEXT_CONTROL_VALUE 1000 <nl> + # define _APS_NEXT_SYMED_VALUE 101 <nl> + # define _APS_NEXT_COMMAND_VALUE 32775 <nl> + # endif <nl> + # endif <nl>
issue : Adding " multi - platform - cpp " and " multi - platform - lua " projects to template folder .
cocos2d/cocos2d-x
a54edec0e3be93f11c4e73f8b340765f85d36368
2013-02-19T07:38:30Z
mmm a / src / compiler / escape - analysis . cc <nl> ppp b / src / compiler / escape - analysis . cc <nl> class EscapeAnalysisTracker : public ZoneObject { <nl> replacement_ = replacement ; <nl> vobject_ = <nl> replacement ? tracker_ - > virtual_objects_ . Get ( replacement ) : nullptr ; <nl> - TRACE ( " Set % s # % d as replacement . \ n " , replacement - > op ( ) - > mnemonic ( ) , <nl> - replacement - > id ( ) ) ; <nl> + if ( replacement ) { <nl> + TRACE ( " Set % s # % d as replacement . \ n " , replacement - > op ( ) - > mnemonic ( ) , <nl> + replacement - > id ( ) ) ; <nl> + } else { <nl> + TRACE ( " Set nullptr as replacement . \ n " ) ; <nl> + } <nl> } <nl> <nl> void MarkForDeletion ( ) { SetReplacement ( tracker_ - > jsgraph_ - > Dead ( ) ) ; } <nl> class EscapeAnalysisTracker : public ZoneObject { <nl> Node * GetReplacementOf ( Node * node ) { return replacements_ [ node ] ; } <nl> Node * ResolveReplacement ( Node * node ) { <nl> if ( Node * replacement = GetReplacementOf ( node ) ) { <nl> - / / Replacements cannot have replacements . This is important to ensure <nl> - / / re - visitation : If a replacement is replaced , then all nodes accessing <nl> - / / the replacement have to be updated . <nl> - DCHECK_NULL ( GetReplacementOf ( replacement ) ) ; <nl> return replacement ; <nl> } <nl> return node ; <nl> EscapeAnalysis : : EscapeAnalysis ( JSGraph * jsgraph , Zone * zone ) <nl> jsgraph_ ( jsgraph ) { } <nl> <nl> Node * EscapeAnalysisResult : : GetReplacementOf ( Node * node ) { <nl> - return tracker_ - > GetReplacementOf ( node ) ; <nl> + Node * replacement = tracker_ - > GetReplacementOf ( node ) ; <nl> + / / Replacements cannot have replacements . This is important to ensure <nl> + / / re - visitation : If a replacement is replaced , then all nodes accessing <nl> + / / the replacement have to be updated . <nl> + if ( replacement ) DCHECK_NULL ( tracker_ - > GetReplacementOf ( replacement ) ) ; <nl> + return replacement ; <nl> } <nl> <nl> Node * EscapeAnalysisResult : : GetVirtualObjectField ( const VirtualObject * vobject , <nl>
[ turbofan ] escape analysis : check replacement invariant only after fixed - point is reached
v8/v8
4b94959101fd7266d28cf643e06ab9eac6f584ac
2017-12-11T14:59:15Z
mmm a / include / swift / IDE / RefactoringKinds . def <nl> ppp b / include / swift / IDE / RefactoringKinds . def <nl> RANGE_REFACTORING ( ConvertIfLetExprToGuardExpr , " Convert To Guard Expression " , co <nl> <nl> RANGE_REFACTORING ( ConvertGuardExprToIfLetExpr , " Convert To IfLet Expression " , convert . to . iflet . expr ) <nl> <nl> + RANGE_REFACTORING ( ConvertToComputedProperty , " Convert To Computed Property " , convert . to . computed . property ) <nl> + <nl> / / These internal refactorings are designed to be helpful for working on <nl> / / the compiler / standard library , etc . , but are likely to be just confusing and <nl> / / noise for general development . <nl> mmm a / lib / IDE / Refactoring . cpp <nl> ppp b / lib / IDE / Refactoring . cpp <nl> static bool rangeStartMayNeedRename ( ResolvedRangeInfo Info ) { <nl> } <nl> llvm_unreachable ( " unhandled kind " ) ; <nl> } <nl> + <nl> + bool RefactoringActionConvertToComputedProperty : : <nl> + isApplicable ( ResolvedRangeInfo Info , DiagnosticEngine & Diag ) { <nl> + if ( Info . Kind ! = RangeKind : : SingleDecl ) { <nl> + return false ; <nl> + } <nl> + <nl> + if ( Info . ContainedNodes . size ( ) ! = 1 ) { <nl> + return false ; <nl> + } <nl> + <nl> + auto D = Info . ContainedNodes [ 0 ] . dyn_cast < Decl * > ( ) ; <nl> + if ( ! D ) { <nl> + return false ; <nl> + } <nl> + <nl> + auto Binding = dyn_cast < PatternBindingDecl > ( D ) ; <nl> + if ( ! Binding ) { <nl> + return false ; <nl> + } <nl> + <nl> + auto SV = Binding - > getSingleVar ( ) ; <nl> + if ( ! SV ) { <nl> + return false ; <nl> + } <nl> + <nl> + / / willSet , didSet cannot be provided together with a getter <nl> + for ( auto AD : SV - > getAllAccessors ( ) ) { <nl> + if ( AD - > isObservingAccessor ( ) ) { <nl> + return false ; <nl> + } <nl> + } <nl> + <nl> + / / ' lazy ' must not be used on a computed property <nl> + / / NSCopying and IBOutlet attribute requires property to be mutable <nl> + auto Attributies = SV - > getAttrs ( ) ; <nl> + if ( Attributies . hasAttribute < LazyAttr > ( ) | | <nl> + Attributies . hasAttribute < NSCopyingAttr > ( ) | | <nl> + Attributies . hasAttribute < IBOutletAttr > ( ) ) { <nl> + return false ; <nl> + } <nl> + <nl> + / / Property wrapper cannot be applied to a computed property <nl> + if ( SV - > hasAttachedPropertyWrapper ( ) ) { <nl> + return false ; <nl> + } <nl> + <nl> + / / has an initializer <nl> + return Binding - > hasInitStringRepresentation ( 0 ) ; <nl> + } <nl> + <nl> + bool RefactoringActionConvertToComputedProperty : : performChange ( ) { <nl> + / / Get an initialization <nl> + auto D = RangeInfo . ContainedNodes [ 0 ] . dyn_cast < Decl * > ( ) ; <nl> + auto Binding = dyn_cast < PatternBindingDecl > ( D ) ; <nl> + SmallString < 128 > scratch ; <nl> + auto Init = Binding - > getInitStringRepresentation ( 0 , scratch ) ; <nl> + <nl> + / / Get type <nl> + auto SV = Binding - > getSingleVar ( ) ; <nl> + auto SVType = SV - > getType ( ) ; <nl> + auto TR = SV - > getTypeReprOrParentPatternTypeRepr ( ) ; <nl> + <nl> + llvm : : SmallString < 64 > DeclBuffer ; <nl> + llvm : : raw_svector_ostream OS ( DeclBuffer ) ; <nl> + llvm : : StringRef Space = " " ; <nl> + llvm : : StringRef NewLine = " \ n " ; <nl> + <nl> + OS < < tok : : kw_var < < Space ; <nl> + / / Add var name <nl> + OS < < SV - > getNameStr ( ) . str ( ) < < " : " < < Space ; <nl> + / / For computed property must write a type of var <nl> + if ( TR ) { <nl> + OS < < Lexer : : getCharSourceRangeFromSourceRange ( SM , TR - > getSourceRange ( ) ) . str ( ) ; <nl> + } else { <nl> + SVType . print ( OS ) ; <nl> + } <nl> + <nl> + OS < < Space < < tok : : l_brace < < NewLine ; <nl> + / / Add an initialization <nl> + OS < < tok : : kw_return < < Space < < Init . str ( ) < < NewLine ; <nl> + OS < < tok : : r_brace ; <nl> + <nl> + / / Replace initializer to computed property <nl> + auto ReplaceStartLoc = Binding - > getLoc ( ) ; <nl> + auto ReplaceEndLoc = Binding - > getSourceRange ( ) . End ; <nl> + auto ReplaceRange = SourceRange ( ReplaceStartLoc , ReplaceEndLoc ) ; <nl> + auto ReplaceCharSourceRange = Lexer : : getCharSourceRangeFromSourceRange ( SM , ReplaceRange ) ; <nl> + EditConsumer . accept ( SM , ReplaceCharSourceRange , DeclBuffer . str ( ) ) ; <nl> + return false ; / / success <nl> + } <nl> } / / end of anonymous namespace <nl> <nl> StringRef swift : : ide : : <nl> new file mode 100644 <nl> index 000000000000 . . e8eda6da2ee8 <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / Outputs / basic / L10 - 3 . swift . expected <nl> <nl> + struct S { <nl> + var field1 = 2 <nl> + var field2 = " 2 " <nl> + var field3 = String ( ) <nl> + static var field4 = 4 <nl> + var y : Int ! = 45 <nl> + } <nl> + <nl> + class C { <nl> + static var field1 : S { <nl> + return S ( ) <nl> + } <nl> + public var field2 = 2 <nl> + private dynamic var field3 = 5 <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 = 4 <nl> + let field5 = 5 <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 6c0e0427aa9f <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / Outputs / basic / L11 - 3 . swift . expected <nl> <nl> + struct S { <nl> + var field1 = 2 <nl> + var field2 = " 2 " <nl> + var field3 = String ( ) <nl> + static var field4 = 4 <nl> + var y : Int ! = 45 <nl> + } <nl> + <nl> + class C { <nl> + static var field1 = S ( ) <nl> + public var field2 : Int { <nl> + return 2 <nl> + } <nl> + private dynamic var field3 = 5 <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 = 4 <nl> + let field5 = 5 <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 8e0490865331 <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / Outputs / basic / L12 - 3 . swift . expected <nl> <nl> + struct S { <nl> + var field1 = 2 <nl> + var field2 = " 2 " <nl> + var field3 = String ( ) <nl> + static var field4 = 4 <nl> + var y : Int ! = 45 <nl> + } <nl> + <nl> + class C { <nl> + static var field1 = S ( ) <nl> + public var field2 = 2 <nl> + private dynamic var field3 : Int { <nl> + return 5 <nl> + } <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 = 4 <nl> + let field5 = 5 <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . b85ee87f7471 <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / Outputs / basic / L13 - 3 . swift . expected <nl> <nl> + struct S { <nl> + var field1 = 2 <nl> + var field2 = " 2 " <nl> + var field3 = String ( ) <nl> + static var field4 = 4 <nl> + var y : Int ! = 45 <nl> + } <nl> + <nl> + class C { <nl> + static var field1 = S ( ) <nl> + public var field2 = 2 <nl> + private dynamic var field3 = 5 <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 : Int { <nl> + return 4 <nl> + } <nl> + let field5 = 5 <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . d909eca08cfc <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / Outputs / basic / L14 - 3 . swift . expected <nl> <nl> + struct S { <nl> + var field1 = 2 <nl> + var field2 = " 2 " <nl> + var field3 = String ( ) <nl> + static var field4 = 4 <nl> + var y : Int ! = 45 <nl> + } <nl> + <nl> + class C { <nl> + static var field1 = S ( ) <nl> + public var field2 = 2 <nl> + private dynamic var field3 = 5 <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 = 4 <nl> + var field5 : Int { <nl> + return 5 <nl> + } <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 87f15cfc7bbf <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / Outputs / basic / L2 - 3 . swift . expected <nl> <nl> + struct S { <nl> + var field1 : Int { <nl> + return 2 <nl> + } <nl> + var field2 = " 2 " <nl> + var field3 = String ( ) <nl> + static var field4 = 4 <nl> + var y : Int ! = 45 <nl> + } <nl> + <nl> + class C { <nl> + static var field1 = S ( ) <nl> + public var field2 = 2 <nl> + private dynamic var field3 = 5 <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 = 4 <nl> + let field5 = 5 <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 09b7fb68a5eb <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / Outputs / basic / L3 - 3 . swift . expected <nl> <nl> + struct S { <nl> + var field1 = 2 <nl> + var field2 : String { <nl> + return " 2 " <nl> + } <nl> + var field3 = String ( ) <nl> + static var field4 = 4 <nl> + var y : Int ! = 45 <nl> + } <nl> + <nl> + class C { <nl> + static var field1 = S ( ) <nl> + public var field2 = 2 <nl> + private dynamic var field3 = 5 <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 = 4 <nl> + let field5 = 5 <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 2702ab0a321d <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / Outputs / basic / L4 - 3 . swift . expected <nl> <nl> + struct S { <nl> + var field1 = 2 <nl> + var field2 = " 2 " <nl> + var field3 : String { <nl> + return String ( ) <nl> + } <nl> + static var field4 = 4 <nl> + var y : Int ! = 45 <nl> + } <nl> + <nl> + class C { <nl> + static var field1 = S ( ) <nl> + public var field2 = 2 <nl> + private dynamic var field3 = 5 <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 = 4 <nl> + let field5 = 5 <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 2d53bc984c39 <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / Outputs / basic / L5 - 3 . swift . expected <nl> <nl> + struct S { <nl> + var field1 = 2 <nl> + var field2 = " 2 " <nl> + var field3 = String ( ) <nl> + static var field4 : Int { <nl> + return 4 <nl> + } <nl> + var y : Int ! = 45 <nl> + } <nl> + <nl> + class C { <nl> + static var field1 = S ( ) <nl> + public var field2 = 2 <nl> + private dynamic var field3 = 5 <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 = 4 <nl> + let field5 = 5 <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . f31ba4658f4c <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / Outputs / basic / L6 - 3 . swift . expected <nl> <nl> + struct S { <nl> + var field1 = 2 <nl> + var field2 = " 2 " <nl> + var field3 = String ( ) <nl> + static var field4 = 4 <nl> + var y : Int ! { <nl> + return 45 <nl> + } <nl> + } <nl> + <nl> + class C { <nl> + static var field1 = S ( ) <nl> + public var field2 = 2 <nl> + private dynamic var field3 = 5 <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 = 4 <nl> + let field5 = 5 <nl> + } <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> + <nl> new file mode 100644 <nl> index 000000000000 . . 1a9f11929028 <nl> mmm / dev / null <nl> ppp b / test / refactoring / ConvertToComputedProperty / basic . swift <nl> <nl> + struct S { <nl> + var field1 = 2 <nl> + var field2 = " 2 " <nl> + var field3 = String ( ) <nl> + static var field4 = 4 <nl> + var y : Int ! = 45 <nl> + } <nl> + <nl> + class C { <nl> + static var field1 = S ( ) <nl> + public var field2 = 2 <nl> + private dynamic var field3 = 5 <nl> + @ available ( macOS 10 . 12 , * ) private static dynamic var field4 = 4 <nl> + let field5 = 5 <nl> + } <nl> + <nl> + / / RUN : % empty - directory ( % t . result ) <nl> + <nl> + / / RUN : % refactor - convert - to - computed - property - source - filename % s - pos = 2 : 3 - end - pos = 2 : 17 > % t . result / L2 - 3 . swift <nl> + / / RUN : diff - u % S / Outputs / basic / L2 - 3 . swift . expected % t . result / L2 - 3 . swift <nl> + <nl> + / / RUN : % refactor - convert - to - computed - property - source - filename % s - pos = 3 : 3 - end - pos = 3 : 19 > % t . result / L3 - 3 . swift <nl> + / / RUN : diff - u % S / Outputs / basic / L3 - 3 . swift . expected % t . result / L3 - 3 . swift <nl> + <nl> + / / RUN : % refactor - convert - to - computed - property - source - filename % s - pos = 4 : 3 - end - pos = 4 : 24 > % t . result / L4 - 3 . swift <nl> + / / RUN : diff - u % S / Outputs / basic / L4 - 3 . swift . expected % t . result / L4 - 3 . swift <nl> + <nl> + / / RUN : % refactor - convert - to - computed - property - source - filename % s - pos = 5 : 3 - end - pos = 5 : 24 > % t . result / L5 - 3 . swift <nl> + / / RUN : diff - u % S / Outputs / basic / L5 - 3 . swift . expected % t . result / L5 - 3 . swift <nl> + <nl> + / / RUN : % refactor - convert - to - computed - property - source - filename % s - pos = 6 : 3 - end - pos = 6 : 19 > % t . result / L6 - 3 . swift <nl> + / / RUN : diff - u % S / Outputs / basic / L6 - 3 . swift . expected % t . result / L6 - 3 . swift <nl> + <nl> + / / RUN : % refactor - convert - to - computed - property - source - filename % s - pos = 10 : 3 - end - pos = 10 : 26 > % t . result / L10 - 3 . swift <nl> + / / RUN : diff - u % S / Outputs / basic / L10 - 3 . swift . expected % t . result / L10 - 3 . swift <nl> + <nl> + / / RUN : % refactor - convert - to - computed - property - source - filename % s - pos = 11 : 3 - end - pos = 11 : 24 > % t . result / L11 - 3 . swift <nl> + / / RUN : diff - u % S / Outputs / basic / L11 - 3 . swift . expected % t . result / L11 - 3 . swift <nl> + <nl> + / / RUN : % refactor - convert - to - computed - property - source - filename % s - pos = 12 : 3 - end - pos = 12 : 33 > % t . result / L12 - 3 . swift <nl> + / / RUN : diff - u % S / Outputs / basic / L12 - 3 . swift . expected % t . result / L12 - 3 . swift <nl> + <nl> + / / RUN : % refactor - convert - to - computed - property - source - filename % s - pos = 13 : 3 - end - pos = 13 : 67 > % t . result / L13 - 3 . swift <nl> + / / RUN : diff - u % S / Outputs / basic / L13 - 3 . swift . expected % t . result / L13 - 3 . swift <nl> + <nl> + / / RUN : % refactor - convert - to - computed - property - source - filename % s - pos = 14 : 3 - end - pos = 14 : 17 > % t . result / L14 - 3 . swift <nl> + / / RUN : diff - u % S / Outputs / basic / L14 - 3 . swift . expected % t . result / L14 - 3 . swift <nl> mmm a / test / refactoring / RefactoringKind / basic . swift <nl> ppp b / test / refactoring / RefactoringKind / basic . swift <nl> func testConvertToIfLetExpr ( idxOpt : Int ? ) { <nl> print ( idx ) <nl> } <nl> <nl> + @ propertyWrapper <nl> + struct TwelveOrLess { <nl> + private var number = 0 <nl> + var wrappedValue : Int { <nl> + get { return number } <nl> + set { number = min ( newValue , 12 ) } <nl> + } <nl> + } <nl> + <nl> + struct S { <nl> + var field = 2 <nl> + let ( x , y ) = ( 2 , 4 ) <nl> + @ TwelveOrLess var height : Int <nl> + lazy var z = 42 <nl> + var totalSteps : Int = 0 { <nl> + willSet ( newTotalSteps ) { <nl> + print ( " About to set totalSteps to \ ( newTotalSteps ) " ) <nl> + } <nl> + } <nl> + } <nl> <nl> / / RUN : % refactor - source - filename % s - pos = 2 : 1 - end - pos = 5 : 13 | % FileCheck % s - check - prefix = CHECK1 <nl> / / RUN : % refactor - source - filename % s - pos = 3 : 1 - end - pos = 5 : 13 | % FileCheck % s - check - prefix = CHECK1 <nl> / / RUN : % refactor - source - filename % s - pos = 4 : 1 - end - pos = 5 : 13 | % FileCheck % s - check - prefix = CHECK1 <nl> / / RUN : % refactor - source - filename % s - pos = 5 : 1 - end - pos = 5 : 13 | % FileCheck % s - check - prefix = CHECK1 <nl> <nl> - / / RUN : % refactor - source - filename % s - pos = 2 : 1 - end - pos = 2 : 18 | % FileCheck % s - check - prefix = CHECK2 <nl> + / / RUN : % refactor - source - filename % s - pos = 2 : 1 - end - pos = 2 : 18 | % FileCheck % s - check - prefix = CHECK - CONVERT - TO - COMPUTED - PROPERTY <nl> / / RUN : % refactor - source - filename % s - pos = 2 : 1 - end - pos = 3 : 16 | % FileCheck % s - check - prefix = CHECK2 <nl> / / RUN : % refactor - source - filename % s - pos = 2 : 1 - end - pos = 4 : 26 | % FileCheck % s - check - prefix = CHECK2 <nl> <nl> func testConvertToIfLetExpr ( idxOpt : Int ? ) { <nl> <nl> / / RUN : % refactor - source - filename % s - pos = 251 : 3 - end - pos = 251 : 24 | % FileCheck % s - check - prefix = CHECK - EXPAND - TERNARY - EXPRESSEXPRESSION <nl> <nl> - / / RUN : % refactor - source - filename % s - pos = 257 : 3 - end - pos = 262 : 4 | % FileCheck % s - check - prefix = CHECK - CONVERT - TO - TERNARY - EXPRESSEXPRESSION <nl> - <nl> / / RUN : % refactor - source - filename % s - pos = 266 : 3 - end - pos = 268 : 4 | % FileCheck % s - check - prefix = CHECK - CONVERT - TO - GUARD - EXPRESSION <nl> <nl> / / RUN : % refactor - source - filename % s - pos = 272 : 3 - end - pos = 275 : 13 | % FileCheck % s - check - prefix = CHECK - CONVERT - TO - IFLET - EXPRESSION <nl> <nl> + / / RUN : % refactor - source - filename % s - pos = 288 : 3 - end - pos = 288 : 16 | % FileCheck % s - check - prefix = CHECK - CONVERT - TO - COMPUTED - PROPERTY <nl> + / / RUN : % refactor - source - filename % s - pos = 289 : 3 - end - pos = 289 : 22 | % FileCheck % s - check - prefix = CHECK - NONE <nl> + / / RUN : % refactor - source - filename % s - pos = 290 : 3 - end - pos = 290 : 32 | % FileCheck % s - check - prefix = CHECK - CONVERT - TO - COMPUTED - PROPERTY2 <nl> + / / RUN : % refactor - source - filename % s - pos = 291 : 3 - end - pos = 291 : 18 | % FileCheck % s - check - prefix = CHECK - CONVERT - TO - COMPUTED - PROPERTY2 <nl> + / / RUN : % refactor - source - filename % s - pos = 292 : 3 - end - pos = 296 : 4 | % FileCheck % s - check - prefix = CHECK - NONE <nl> + <nl> / / CHECK1 : Action begins <nl> / / CHECK1 - NEXT : Extract Method <nl> / / CHECK1 - NEXT : Action ends <nl> func testConvertToIfLetExpr ( idxOpt : Int ? ) { <nl> / / CHECK - CONVERT - TO - GUARD - EXPRESSION : Convert To Guard Expression <nl> <nl> / / CHECK - CONVERT - TO - IFLET - EXPRESSION : Convert To IfLet Expression <nl> + <nl> + / / CHECK - CONVERT - TO - COMPUTED - PROPERTY : Convert To Computed Property <nl> + <nl> + / / CHECK - CONVERT - TO - COMPUTED - PROPERTY2 : Action begins <nl> + / / CHECK - CONVERT - TO - COMPUTED - PROPERTY2 - NEXT : Move To Extension <nl> + / / CHECK - CONVERT - TO - COMPUTED - PROPERTY2 - NEXT : Action ends <nl> \ No newline at end of file <nl> mmm a / tools / swift - refactor / swift - refactor . cpp <nl> ppp b / tools / swift - refactor / swift - refactor . cpp <nl> Action ( llvm : : cl : : desc ( " kind : " ) , llvm : : cl : : init ( RefactoringKind : : None ) , <nl> " trailingclosure " , " Perform trailing closure refactoring " ) , <nl> clEnumValN ( RefactoringKind : : ReplaceBodiesWithFatalError , <nl> " replace - bodies - with - fatalError " , " Perform trailing closure refactoring " ) , <nl> - clEnumValN ( RefactoringKind : : MemberwiseInitLocalRefactoring , " memberwise - init " , " Generate member wise initializer " ) ) ) ; <nl> + clEnumValN ( RefactoringKind : : MemberwiseInitLocalRefactoring , " memberwise - init " , " Generate member wise initializer " ) , <nl> + clEnumValN ( RefactoringKind : : ConvertToComputedProperty , <nl> + " convert - to - computed - property " , " Convert from field initialization to computed property " ) ) ) ; <nl> <nl> <nl> static llvm : : cl : : opt < std : : string > <nl>
Merge pull request from Regno / feature / vlasov / SR - 5741
apple/swift
49b49f325007f6b574cda1e30e66d9f2dd0c345b
2020-01-07T18:34:05Z
mmm a / src / python / src / grpc / _adapter / _c / utility . c <nl> ppp b / src / python / src / grpc / _adapter / _c / utility . c <nl> <nl> # include < grpc / support / alloc . h > <nl> # include < grpc / support / slice . h > <nl> # include < grpc / support / time . h > <nl> + # include < grpc / support / string_util . h > <nl> <nl> # include " grpc / _adapter / _c / types . h " <nl> <nl> int pygrpc_produce_op ( PyObject * op , grpc_op * result ) { <nl> return 0 ; <nl> } <nl> if ( PyTuple_Size ( op ) ! = OP_TUPLE_SIZE ) { <nl> - char buf [ 64 ] ; <nl> - snprintf ( buf , sizeof ( buf ) , " expected tuple op of length % d " , OP_TUPLE_SIZE ) ; <nl> + char * buf ; <nl> + gpr_asprintf ( & buf , " expected tuple op of length % d " , OP_TUPLE_SIZE ) ; <nl> PyErr_SetString ( PyExc_ValueError , buf ) ; <nl> + gpr_free ( buf ) ; <nl> return 0 ; <nl> } <nl> type = PyInt_AsLong ( PyTuple_GET_ITEM ( op , TYPE_INDEX ) ) ; <nl> double pygrpc_cast_gpr_timespec_to_double ( gpr_timespec timespec ) { <nl> return timespec . tv_sec + 1e - 9 * timespec . tv_nsec ; <nl> } <nl> <nl> + / * Because C89 doesn ' t have a way to check for infinity . . . * / <nl> + static int pygrpc_isinf ( double x ) { <nl> + return x * 0 ! = 0 ; <nl> + } <nl> + <nl> gpr_timespec pygrpc_cast_double_to_gpr_timespec ( double seconds ) { <nl> gpr_timespec result ; <nl> - if isinf ( seconds ) { <nl> + if ( pygrpc_isinf ( seconds ) ) { <nl> result = seconds > 0 . 0 ? gpr_inf_future : gpr_inf_past ; <nl> } else { <nl> result . tv_sec = ( time_t ) seconds ; <nl> mmm a / tools / run_tests / build_python . sh <nl> ppp b / tools / run_tests / build_python . sh <nl> rm - rf python2 . 7_virtual_environment <nl> virtualenv - p / usr / bin / python2 . 7 python2 . 7_virtual_environment <nl> source python2 . 7_virtual_environment / bin / activate <nl> pip install - r src / python / requirements . txt <nl> - CFLAGS = - I $ root / include LDFLAGS = - L $ root / libs / $ CONFIG pip install src / python / src <nl> + CFLAGS = " - I $ root / include - std = c89 " LDFLAGS = - L $ root / libs / $ CONFIG pip install src / python / src <nl> pip install src / python / interop <nl>
Merge pull request from soltanmm / pip89
grpc/grpc
f3e4aa2c7c48530e15eb1e1ac6cceb3ae731a52e
2015-06-11T13:39:55Z
mmm a / benchmarks / fastrnns / bench . py <nl> ppp b / benchmarks / fastrnns / bench . py <nl> def bench_group ( model_list , bench_name , bench_group , bench_args ) : <nl> parser . add_argument ( ' - - group ' , nargs = ' * ' , default = default_groups , help = ' Which group to run . cnns , rnns , etc . ' ) <nl> <nl> args = parser . parse_args ( ) <nl> - rnns = args . rnns or [ ' cudnn ' , ' aten ' , ' jit ' , ' jit_premul ' , ' jit_simple ' , <nl> + rnns = args . rnns or [ ' cudnn ' , ' aten ' , ' jit ' , ' jit_premul ' , ' jit_premul_bias ' , ' jit_simple ' , <nl> ' jit_multilayer ' , ' py ' ] <nl> cnns = args . cnns or [ ' resnet18 ' , ' resnet18_jit ' , ' resnet50 ' , ' resnet50_jit ' ] <nl> # TODO : Maybe add a separate section for the layernorm / dropout lstms <nl> mmm a / benchmarks / fastrnns / cells . py <nl> ppp b / benchmarks / fastrnns / cells . py <nl> def premul_lstm_cell ( igates , hidden , w_hh , b_ih , b_hh ) : <nl> return hy , cy <nl> <nl> <nl> + def premul_lstm_cell_no_bias ( igates , hidden , w_hh , b_hh ) : <nl> + # type : ( Tensor , Tuple [ Tensor , Tensor ] , Tensor , Tensor ) - > Tuple [ Tensor , Tensor ] <nl> + hx , cx = hidden <nl> + gates = igates + torch . mm ( hx , w_hh . t ( ) ) + b_hh <nl> + <nl> + ingate , forgetgate , cellgate , outgate = gates . chunk ( 4 , 1 ) <nl> + <nl> + ingate = torch . sigmoid ( ingate ) <nl> + forgetgate = torch . sigmoid ( forgetgate ) <nl> + cellgate = torch . tanh ( cellgate ) <nl> + outgate = torch . sigmoid ( outgate ) <nl> + <nl> + cy = ( forgetgate * cx ) + ( ingate * cellgate ) <nl> + hy = outgate * torch . tanh ( cy ) <nl> + <nl> + return hy , cy <nl> + <nl> + <nl> def gru_cell ( input , hidden , w_ih , w_hh , b_ih , b_hh ) : <nl> gi = torch . mm ( input , w_ih . t ( ) ) + b_ih <nl> gh = torch . mm ( hidden , w_hh . t ( ) ) + b_hh <nl> mmm a / benchmarks / fastrnns / factory . py <nl> ppp b / benchmarks / fastrnns / factory . py <nl> <nl> <nl> from collections import namedtuple <nl> <nl> - from . cells import lstm_cell , premul_lstm_cell , flat_lstm_cell <nl> + from . cells import lstm_cell , premul_lstm_cell , premul_lstm_cell_no_bias , flat_lstm_cell <nl> <nl> <nl> # list [ list [ T ] ] - > list [ T ] <nl> def lstm_premul_creator ( script = True , * * kwargs ) : <nl> backward = simple_backward ) <nl> <nl> <nl> + def lstm_premul_bias_creator ( script = True , * * kwargs ) : <nl> + input , hidden , params , _ = lstm_inputs ( return_module = False , * * kwargs ) <nl> + inputs = [ input , hidden ] + params [ 0 ] <nl> + return ModelDef ( <nl> + inputs = inputs , <nl> + params = flatten_list ( params ) , <nl> + forward = lstm_factory_premul_bias ( premul_lstm_cell_no_bias , script ) , <nl> + backward_setup = lstm_backward_setup , <nl> + backward = simple_backward ) <nl> + <nl> + <nl> def lstm_simple_creator ( script = True , * * kwargs ) : <nl> input , hidden , params , _ = lstm_inputs ( return_module = False , * * kwargs ) <nl> inputs = [ input ] + [ h [ 0 ] for h in hidden ] + params [ 0 ] <nl> def dynamic_rnn ( input , hidden , wih , whh , bih , bhh ) : <nl> return dynamic_rnn <nl> <nl> <nl> + # premul : we ' re going to premultiply the inputs & weights , and add bias <nl> + def lstm_factory_premul_bias ( premul_cell , script ) : <nl> + def dynamic_rnn ( input , hidden , wih , whh , bih , bhh ) : <nl> + # type : ( Tensor , Tuple [ Tensor , Tensor ] , Tensor , Tensor , Tensor , Tensor ) - > Tuple [ Tensor , Tuple [ Tensor , Tensor ] ] <nl> + hx , cx = hidden <nl> + outputs = [ ] <nl> + inpSize = input . size ( ) <nl> + # add bias for all timesteps instead of going step - by - step , results in a single reduction kernel in the backward <nl> + # FIXME matmul ( x , y ) + bias currently goes through jit AD , and backward formula in AD is not optimized for this <nl> + # case . Workaround with mm and views . <nl> + inpSize = input . size ( ) <nl> + inputs = torch . mm ( input . view ( - 1 , inpSize [ 2 ] ) , wih . t ( ) ) + bih <nl> + inputs = inputs . view ( inpSize [ 0 ] , inpSize [ 1 ] , - 1 ) . unbind ( 0 ) <nl> + hy , cy = hx [ 0 ] , cx [ 0 ] <nl> + for seq_idx in range ( len ( inputs ) ) : <nl> + hy , cy = premul_cell ( inputs [ seq_idx ] , ( hy , cy ) , whh , bhh ) <nl> + outputs + = [ hy ] <nl> + return torch . stack ( outputs ) , ( hy . unsqueeze ( 0 ) , cy . unsqueeze ( 0 ) ) <nl> + <nl> + if script : <nl> + premul_cell = torch . jit . script ( premul_cell ) <nl> + dynamic_rnn = torch . jit . script ( dynamic_rnn ) <nl> + <nl> + return dynamic_rnn <nl> + <nl> + <nl> # simple : flat inputs ( no tuples ) , no list to accumulate outputs <nl> # useful mostly for benchmarking older JIT versions <nl> def lstm_factory_simple ( cell , script ) : <nl> mmm a / benchmarks / fastrnns / runner . py <nl> ppp b / benchmarks / fastrnns / runner . py <nl> def get_nn_runners ( * names ) : <nl> ' aten ' : RNNRunner ( ' aten ' , pytorch_lstm_creator , DisableCuDNN ) , <nl> ' jit ' : RNNRunner ( ' jit ' , lstm_creator , DummyContext ) , <nl> ' jit_premul ' : RNNRunner ( ' jit_premul ' , lstm_premul_creator , DummyContext ) , <nl> + ' jit_premul_bias ' : RNNRunner ( ' jit_premul_bias ' , lstm_premul_bias_creator , DummyContext ) , <nl> ' jit_simple ' : RNNRunner ( ' jit_simple ' , lstm_simple_creator , DummyContext ) , <nl> ' jit_multilayer ' : RNNRunner ( ' jit_multilayer ' , lstm_multilayer_creator , DummyContext ) , <nl> ' jit_layernorm ' : RNNRunner ( ' jit_layernorm ' , lnlstm_creator , DummyContext ) , <nl> mmm a / torch / csrc / jit / passes / batch_mm . cpp <nl> ppp b / torch / csrc / jit / passes / batch_mm . cpp <nl> static constexpr size_t min_fusion_size = 4 ; <nl> <nl> bool have_same_shape ( at : : TensorList inputs ) { <nl> auto expected_sizes = inputs [ 0 ] . sizes ( ) ; <nl> - return std : : all_of ( <nl> + return ( std : : all_of ( <nl> inputs . begin ( ) , inputs . end ( ) , [ expected_sizes ] ( const at : : Tensor & t ) { <nl> return t . sizes ( ) = = expected_sizes ; <nl> - } ) ; <nl> + } ) ) ; <nl> + } <nl> + <nl> + bool should_be_transposed ( at : : TensorList inputs ) { <nl> + return ( std : : all_of ( <nl> + inputs . begin ( ) , inputs . end ( ) , [ ] ( const at : : Tensor & t ) { <nl> + return t . stride ( 0 ) = = 1 & & t . stride ( 1 ) = = t . size ( 0 ) ; <nl> + } ) ) ; <nl> + } <nl> + <nl> + std : : vector < at : : Tensor > transpose_inputs ( at : : TensorList inputs ) { <nl> + return fmap ( inputs , [ ] ( const at : : Tensor & i ) { return i . t ( ) ; } ) ; <nl> } <nl> <nl> bool shape_is_fast_for_reduce ( const at : : Tensor & lhs , const at : : Tensor & rhs ) { <nl> RegisterOperators mm_tree_reduction_reg ( <nl> / / failing <nl> if ( have_same_shape ( lhs_inputs ) & & have_same_shape ( rhs_inputs ) & & <nl> shape_is_fast_for_reduce ( lhs_inputs [ 0 ] , rhs_inputs [ 0 ] ) ) { <nl> - auto lhs = at : : cat ( lhs_inputs , / * dim = * / 1 ) ; <nl> - auto rhs = at : : cat ( rhs_inputs , / * dim = * / 0 ) ; <nl> + / / sometimes lhs_inputs or rhs_inputs are not contiguous , and that causes at : : cat to go through slow path <nl> + / / view them as contiguous if possible by transposing <nl> + bool lhs_input_transposed = should_be_transposed ( lhs_inputs ) ; <nl> + bool rhs_input_transposed = should_be_transposed ( rhs_inputs ) ; <nl> + at : : Tensor lhs , rhs ; <nl> + if ( lhs_input_transposed ) { <nl> + std : : vector < at : : Tensor > lhs_contig_inputs = transpose_inputs ( lhs_inputs ) ; <nl> + lhs = at : : cat ( lhs_contig_inputs , / * dim * / 0 ) ; <nl> + lhs = lhs . t ( ) ; <nl> + } else { <nl> + lhs = at : : cat ( lhs_inputs , / * dim = * / 1 ) ; <nl> + } <nl> + if ( rhs_input_transposed ) { <nl> + std : : vector < at : : Tensor > rhs_contig_inputs = transpose_inputs ( rhs_inputs ) ; <nl> + rhs = at : : cat ( rhs_contig_inputs , / * dim * / 1 ) ; <nl> + rhs = rhs . t ( ) ; <nl> + } else { <nl> + rhs = at : : cat ( rhs_inputs , / * dim = * / 0 ) ; <nl> + } <nl> push ( stack , at : : mm ( lhs , rhs ) ) ; <nl> } else { <nl> auto acc = at : : mm ( inputs [ 0 ] , inputs [ side_num_elems ] ) ; <nl>
try to make at : : cat in mm_tree_reduction operate on contig tensors ( )
pytorch/pytorch
3875e1ba45ae180ae4c37249d229b1e1db41e2ee
2019-04-25T06:44:25Z
mmm a / tools / interop_matrix / client_matrix . py <nl> ppp b / tools / interop_matrix / client_matrix . py <nl> def get_github_repo ( lang ) : <nl> return { <nl> ' go ' : ' git @ github . com : grpc / grpc - go . git ' , <nl> ' java ' : ' git @ github . com : grpc / grpc - java . git ' , <nl> + ' node ' : ' git @ github . com : grpc / grpc - node . git ' , <nl> # all other languages use the grpc . git repo . <nl> } . get ( lang , ' git @ github . com : grpc / grpc . git ' ) <nl> <nl> def get_github_repo ( lang ) : <nl> ' v1 . 3 . 9 ' , <nl> ' v1 . 4 . 2 ' , <nl> ' v1 . 6 . 6 ' , <nl> + ' v1 . 7 . 2 ' , <nl> ] , <nl> ' go ' : [ <nl> ' v1 . 0 . 5 ' , <nl> def get_github_repo ( lang ) : <nl> ' v1 . 4 . 2 ' , <nl> ' v1 . 6 . 6 ' , <nl> ] , <nl> + ' python ' : [ <nl> + ' v1 . 0 . x ' , <nl> + ' v1 . 1 . 4 ' , <nl> + ' v1 . 2 . 5 ' , <nl> + ' v1 . 3 . 9 ' , <nl> + ' v1 . 4 . 2 ' , <nl> + ' v1 . 6 . 6 ' , <nl> + ' v1 . 7 . 2 ' , <nl> + ] , <nl> ' node ' : [ <nl> ' v1 . 0 . 1 ' , <nl> ' v1 . 1 . 4 ' , <nl> def get_github_repo ( lang ) : <nl> ' v1 . 3 . 9 ' , <nl> ' v1 . 4 . 2 ' , <nl> ' v1 . 6 . 6 ' , <nl> + ' v1 . 7 . 1 ' , <nl> ] , <nl> ' ruby ' : [ <nl> # Ruby v1 . 0 . x doesn ' t have the fix # 8914 , therefore not supported . <nl> def get_github_repo ( lang ) : <nl> ' v1 . 3 . 9 ' , <nl> ' v1 . 4 . 2 ' , <nl> ' v1 . 6 . 6 ' , <nl> + ' v1 . 7 . 2 ' , <nl> ] , <nl> ' php ' : [ <nl> ' v1 . 0 . 1 ' , <nl> def get_github_repo ( lang ) : <nl> ' v1 . 3 . 9 ' , <nl> ' v1 . 4 . 2 ' , <nl> ' v1 . 6 . 6 ' , <nl> + ' v1 . 7 . 2 ' , <nl> ] , <nl> ' csharp ' : [ <nl> # ' v1 . 0 . 1 ' , <nl> def get_github_repo ( lang ) : <nl> ' v1 . 3 . 9 ' , <nl> ' v1 . 4 . 2 ' , <nl> ' v1 . 6 . 6 ' , <nl> + ' v1 . 7 . 2 ' , <nl> ] , <nl> } <nl>
fix
grpc/grpc
99986d76a5b7183b9a6f8142169b145ae77c5290
2017-11-22T19:08:58Z
mmm a / emcc <nl> ppp b / emcc <nl> def is_minus_s_for_emcc ( newargs , i ) : <nl> CONFIGURE_CONFIG = ( os . environ . get ( ' EMMAKEN_JUST_CONFIGURE ' ) or ' conftest . c ' in sys . argv ) and not os . environ . get ( ' EMMAKEN_JUST_CONFIGURE_RECURSE ' ) <nl> CMAKE_CONFIG = ' CMakeFiles / cmTryCompileExec . dir ' in ' ' . join ( sys . argv ) # or ' CMakeCCompilerId ' in ' ' . join ( sys . argv ) <nl> if CONFIGURE_CONFIG or CMAKE_CONFIG : <nl> + debug_configure = False # XXX use this to debug configure stuff . . / configure ' s generally hide our normal output including stderr so we write to a file <nl> use_clang = True # whether we fake configure tests using clang - the local , native compiler - or not . if not , we generate JS and use node with a shebang <nl> # neither approach is perfect , you can try both , but may need to edit configure scripts in some cases <nl> # XXX False is not fully tested yet <nl> + <nl> + if debug_configure : <nl> + tempout = ' / tmp / emscripten_temp / out ' <nl> + if not os . path . exists ( tempout ) : <nl> + open ( tempout , ' w ' ) . write ( ' / / \ n ' ) <nl> + <nl> + src = None <nl> + for i in range ( len ( sys . argv ) ) : <nl> + if sys . argv [ i ] . endswith ( ' . c ' ) : <nl> + try : <nl> + src = open ( sys . argv [ i ] ) . read ( ) <nl> + except : <nl> + pass <nl> + <nl> + if src : <nl> + if debug_configure : open ( tempout , ' a ' ) . write ( ' = = = = = = = = = = = = = \ n ' + src + ' \ n = = = = = = = = = = = = = \ n \ n ' ) <nl> + if ' fopen ' in src and ' " w " ' in src : <nl> + use_clang = True # we cannot write to files from js ! <nl> + if debug_configure : open ( tempout , ' a ' ) . write ( ' Forcing clang since uses fopen to write \ n ' ) <nl> + <nl> compiler = os . environ . get ( ' CONFIGURE_CC ' ) or ( shared . CLANG if use_clang else shared . EMCC ) # if CONFIGURE_CC is defined , use that . let ' s you use local gcc etc . if you need that <nl> if not ( ' CXXCompiler ' in ' ' . join ( sys . argv ) or os . environ . get ( ' EMMAKEN_CXX ' ) ) : <nl> compiler = shared . to_cc ( compiler ) <nl> if CONFIGURE_CONFIG or CMAKE_CONFIG : <nl> if use_clang : cmd + = shared . EMSDK_OPTS + [ ' - DEMSCRIPTEN ' ] <nl> <nl> if DEBUG : print > > sys . stderr , ' emcc , just configuring : ' , ' ' . join ( cmd ) <nl> - if 0 : # XXX use this to debug non - clang configure ; . / configure ' s generally hide our normal output including stderr so we write to a file <nl> - tempout = ' / tmp / emscripten_temp / out ' <nl> - if not os . path . exists ( tempout ) : <nl> - open ( tempout , ' w ' ) . write ( ' / / \ n ' ) <nl> - open ( tempout , ' a ' ) . write ( ' emcc , just configuring : ' + ' ' . join ( cmd ) + ' \ n \ n ' ) <nl> - for i in range ( len ( sys . argv ) ) : <nl> - if sys . argv [ i ] . endswith ( ' . c ' ) : <nl> - open ( tempout , ' a ' ) . write ( ' = = = = = = = = = = = = = ' + sys . argv [ i ] + ' \ n ' + open ( sys . argv [ i ] ) . read ( ) + ' \ n = = = = = = = = = = = = = \ n \ n ' ) <nl> + if debug_configure : open ( tempout , ' a ' ) . write ( ' emcc , just configuring : ' + ' ' . join ( cmd ) + ' \ n \ n ' ) <nl> <nl> if use_clang : <nl> exit ( subprocess . call ( cmd ) ) <nl> if CONFIGURE_CONFIG or CMAKE_CONFIG : <nl> break <nl> if not target : <nl> target = ' a . out ' <nl> - if not os . path . exists ( target ) : exit ( 1 ) <nl> + if not os . path . exists ( target + ' . js ' ) : exit ( 1 ) <nl> shutil . copyfile ( target + ' . js ' , target ) <nl> else : <nl> if not os . path . exists ( target ) : exit ( 2 ) <nl>
more non - clang configure work and debugging tools
emscripten-core/emscripten
99fb6b9b81f453857b111452038cf4a182a2323e
2012-10-30T01:10:35Z
mmm a / src / core / surface / call . c <nl> ppp b / src / core / surface / call . c <nl> grpc_call_error grpc_call_start_write_status ( grpc_call * call , <nl> { <nl> grpc_mdelem * md ; <nl> char buffer [ 32 ] ; <nl> - sprintf ( buffer , " % d " , status ) ; <nl> + gpr_ltoa ( status , buffer ) ; <nl> md = <nl> grpc_mdelem_from_strings ( call - > metadata_context , " grpc - status " , buffer ) ; <nl> <nl>
Remove use of printf
grpc/grpc
4113ce75b1748c2853cc1ee82fa0bfe7a5b524c3
2015-01-23T19:22:28Z
mmm a / src / wasm / value - type . h <nl> ppp b / src / wasm / value - type . h <nl> class V8_EXPORT_PRIVATE ValueTypes { <nl> return kLocalS128 ; <nl> case kWasmAnyRef : <nl> return kLocalAnyRef ; <nl> + case kWasmAnyFunc : <nl> + return kLocalAnyFunc ; <nl> case kWasmExceptRef : <nl> return kLocalExceptRef ; <nl> case kWasmStmt : <nl>
[ wasm ] Add handling of anyfunc to ValueTypeCodeFor
v8/v8
d2fec28e22f652c934fbbc53e7b6638e10f04a1c
2019-03-25T10:15:21Z
mmm a / CMakeLists . txt <nl> ppp b / CMakeLists . txt <nl> else ( ) <nl> endif ( ) <nl> endif ( ) <nl> <nl> - project ( OSQUERY ) <nl> - <nl> if ( DEFINED ENV { DEBUG } ) <nl> set ( CMAKE_BUILD_TYPE " Debug " ) <nl> set ( CMAKE_C_FLAGS " $ { CMAKE_C_FLAGS } - g - DDEBUG - O0 " ) <nl> if ( DEFINED ENV { SANITIZE } ) <nl> endif ( ) <nl> endif ( ) <nl> <nl> + project ( OSQUERY ) <nl> + <nl> # Use osquery language to set platform / os <nl> execute_process ( <nl> COMMAND " $ { CMAKE_SOURCE_DIR } / tools / provision . sh " get_platform <nl> enable_testing ( ) <nl> <nl> include ( CMakeLibs ) <nl> add_subdirectory ( osquery ) <nl> - add_subdirectory ( tools / tests ) <nl> <nl> # make docs <nl> find_package ( Doxygen ) <nl> mmm a / include / osquery / config . h <nl> ppp b / include / osquery / config . h <nl> <nl> # include < vector > <nl> <nl> # include < osquery / flags . h > <nl> + # include < osquery / registry . h > <nl> # include < osquery / scheduler . h > <nl> # include < osquery / status . h > <nl> <nl> class Config { <nl> * / <nl> OsqueryConfig cfg_ ; <nl> } ; <nl> + <nl> + / * * <nl> + * @ brief Superclass for the pluggable config component . <nl> + * <nl> + * In order to make the distribution of configurations to hosts running <nl> + * osquery , we take advantage of a plugin interface which allows you to <nl> + * integrate osquery with your internal configuration distribution mechanisms . <nl> + * You may use ZooKeeper , files on disk , a custom solution , etc . In order to <nl> + * use your specific configuration distribution system , one simply needs to <nl> + * create a custom subclass of ConfigPlugin . That subclass should implement <nl> + * the ConfigPlugin : : genConfig method . <nl> + * <nl> + * Consider the following example : <nl> + * <nl> + * @ code { . cpp } <nl> + * class TestConfigPlugin : public ConfigPlugin { <nl> + * public : <nl> + * virtual std : : pair < osquery : : Status , std : : string > genConfig ( ) { <nl> + * std : : string config ; <nl> + * auto status = getMyConfig ( config ) ; <nl> + * return std : : make_pair ( status , config ) ; <nl> + * } <nl> + * } ; <nl> + * <nl> + * REGISTER ( TestConfigPlugin , " config " , " test " ) ; <nl> + * @ endcode <nl> + * / <nl> + class ConfigPlugin : public Plugin { <nl> + public : <nl> + / * * <nl> + * @ brief Virtual method which should implemented custom config retrieval <nl> + * <nl> + * ConfigPlugin : : genConfig should be implemented by a subclasses of <nl> + * ConfigPlugin which needs to retrieve config data in a custom way . <nl> + * <nl> + * @ return a pair such that pair . first is an osquery : : Status instance which <nl> + * indicates the success or failure of config retrieval . If pair . first <nl> + * indicates that config retrieval was successful , then the config data <nl> + * should be returned in pair . second . <nl> + * / <nl> + virtual std : : pair < osquery : : Status , std : : string > genConfig ( ) = 0 ; <nl> + Status call ( const PluginRequest & request , PluginResponse & response ) ; <nl> + } ; <nl> + <nl> + / * * <nl> + * @ brief Config plugin registry . <nl> + * <nl> + * This creates an osquery registry for " config " which may implement <nl> + * ConfigPlugin . A ConfigPlugin ' s call API should make use of a genConfig <nl> + * after reading JSON data in the plugin implementation . <nl> + * / <nl> + CREATE_REGISTRY ( ConfigPlugin , " config " ) ; <nl> } <nl> deleted file mode 100644 <nl> index be04a0cb70 . . 0000000000 <nl> mmm a / include / osquery / config / plugin . h <nl> ppp / dev / null <nl> <nl> - / * <nl> - * Copyright ( c ) 2014 , Facebook , Inc . <nl> - * All rights reserved . <nl> - * <nl> - * This source code is licensed under the BSD - style license found in the <nl> - * LICENSE file in the root directory of this source tree . An additional grant <nl> - * of patent rights can be found in the PATENTS file in the same directory . <nl> - * <nl> - * / <nl> - <nl> - # pragma once <nl> - <nl> - # include < future > <nl> - # include < utility > <nl> - <nl> - # include < osquery / registry . h > <nl> - # include < osquery / status . h > <nl> - <nl> - namespace osquery { <nl> - <nl> - / * * <nl> - * @ brief Superclass for the pluggable config component . <nl> - * <nl> - * In order to make the distribution of configurations to hosts running <nl> - * osquery , we take advantage of a plugin interface which allows you to <nl> - * integrate osquery with your internal configuration distribution mechanisms . <nl> - * You may use ZooKeeper , files on disk , a custom solution , etc . In order to <nl> - * use your specific configuration distribution system , one simply needs to <nl> - * create a custom subclass of ConfigPlugin . That subclass should implement <nl> - * the ConfigPlugin : : genConfig method . <nl> - * <nl> - * Consider the following example : <nl> - * <nl> - * @ code { . cpp } <nl> - * class TestConfigPlugin : public ConfigPlugin { <nl> - * public : <nl> - * virtual std : : pair < osquery : : Status , std : : string > genConfig ( ) { <nl> - * std : : string config ; <nl> - * auto status = getMyConfig ( config ) ; <nl> - * return std : : make_pair ( status , config ) ; <nl> - * } <nl> - * } ; <nl> - * <nl> - * REGISTER_CONFIG_PLUGIN ( <nl> - * " test " , std : : make_shared < osquery : : TestConfigPlugin > ( ) ) ; <nl> - * @ endcode <nl> - * / <nl> - class ConfigPlugin { <nl> - public : <nl> - / * * <nl> - * @ brief Virtual method which should implemented custom config retrieval <nl> - * <nl> - * ConfigPlugin : : genConfig should be implemented by a subclasses of <nl> - * ConfigPlugin which needs to retrieve config data in a custom way . <nl> - * <nl> - * @ return a pair such that pair . first is an osquery : : Status instance which <nl> - * indicates the success or failure of config retrieval . If pair . first <nl> - * indicates that config retrieval was successful , then the config data <nl> - * should be returned in pair . second . <nl> - * / <nl> - virtual std : : pair < osquery : : Status , std : : string > genConfig ( ) = 0 ; <nl> - <nl> - / / / Virtual destructor <nl> - virtual ~ ConfigPlugin ( ) { } <nl> - } ; <nl> - } <nl> - <nl> - DECLARE_REGISTRY ( ConfigPlugins , <nl> - std : : string , <nl> - std : : shared_ptr < osquery : : ConfigPlugin > ) <nl> - <nl> - # define REGISTERED_CONFIG_PLUGINS REGISTRY ( ConfigPlugins ) <nl> - <nl> - # define REGISTER_CONFIG_PLUGIN ( name , decorator ) \ <nl> - REGISTER ( ConfigPlugins , name , decorator ) <nl> mmm a / include / osquery / core . h <nl> ppp b / include / osquery / core . h <nl> sqlite3 * createDB ( ) ; <nl> * / <nl> void initOsquery ( int argc , char * argv [ ] , int tool = OSQUERY_TOOL_TEST ) ; <nl> <nl> + / * * <nl> + * @ brief Turns of various aspects of osquery such as event loops . <nl> + * <nl> + * / <nl> + void shutdownOsquery ( ) ; <nl> + <nl> / * * <nl> * @ brief Split a given string based on an optional delimiter . <nl> * <nl> mmm a / include / osquery / events . h <nl> ppp b / include / osquery / events . h <nl> extern const std : : vector < size_t > kEventTimeLists ; <nl> * / <nl> # define DECLARE_PUBLISHER ( TYPE ) \ <nl> public : \ <nl> - EventPublisherID type ( ) { return TYPE ; } <nl> + EventPublisherID type ( ) const { return TYPE ; } <nl> <nl> / * * <nl> * @ brief DECLARE_SUBSCRIBER supplies needed boilerplate code that applies a <nl> extern const std : : vector < size_t > kEventTimeLists ; <nl> * / <nl> # define DECLARE_SUBSCRIBER ( NAME ) \ <nl> public : \ <nl> - EventSubscriberID name ( ) { return NAME ; } <nl> + EventSubscriberID name ( ) const { return NAME ; } <nl> <nl> / * * <nl> * @ brief A Subscription is used to configure an EventPublisher and bind a <nl> struct Subscription { <nl> } <nl> } ; <nl> <nl> - class EventPublisherCore { <nl> + class EventPublisherPlugin : public Plugin { <nl> public : <nl> / * * <nl> * @ brief A new Subscription was added , potentially change state based on all <nl> class EventPublisherCore { <nl> void fire ( const EventContextRef & ec , EventTime time = 0 ) ; <nl> <nl> / / / Number of Subscription % s watching this EventPublisher . <nl> - size_t numSubscriptions ( ) { return subscriptions_ . size ( ) ; } <nl> + size_t numSubscriptions ( ) const { return subscriptions_ . size ( ) ; } <nl> <nl> / * * <nl> * @ brief The number of events fired by this EventPublisher . <nl> * <nl> * @ return The number of events . <nl> * / <nl> - size_t numEvents ( ) { return next_ec_id_ ; } <nl> + size_t numEvents ( ) const { return next_ec_id_ ; } <nl> <nl> / / / Overriding the EventPublisher constructor is not recommended . <nl> - EventPublisherCore ( ) : next_ec_id_ ( 0 ) , ending_ ( false ) { } ; <nl> - virtual ~ EventPublisherCore ( ) { } <nl> + EventPublisherPlugin ( ) : next_ec_id_ ( 0 ) , ending_ ( false ) , started_ ( false ) { } ; <nl> + virtual ~ EventPublisherPlugin ( ) { } <nl> <nl> / / / Return a string identifier associated with this EventPublisher . <nl> - virtual EventPublisherID type ( ) { return " publisher " ; } <nl> + virtual EventPublisherID type ( ) const { return " publisher " ; } <nl> <nl> - void shouldEnd ( bool should_end ) { ending_ = should_end ; } <nl> - bool isEnding ( ) { return ending_ ; } <nl> + bool isEnding ( ) const { return ending_ ; } <nl> + void isEnding ( bool ending ) { ending_ = ending ; } <nl> + bool hasStarted ( ) const { return started_ ; } <nl> + void hasStarted ( bool started ) { started_ = started ; } <nl> <nl> protected : <nl> / / / The internal fire method used by the typed EventPublisher . <nl> virtual void fireCallback ( const SubscriptionRef & sub , <nl> - const EventContextRef & ec ) = 0 ; <nl> + const EventContextRef & ec ) const = 0 ; <nl> <nl> / / / The EventPublisher will keep track of Subscription % s that contain callins . <nl> SubscriptionVector subscriptions_ ; <nl> class EventPublisherCore { <nl> / / / This is not used to store event date in the backing store . <nl> EventContextID next_ec_id_ ; <nl> <nl> + private : <nl> + EventPublisherPlugin ( EventPublisherPlugin const & ) ; <nl> + void operator = ( EventPublisherPlugin const & ) ; <nl> + <nl> private : <nl> / / / Set ending to True to cause event type run loops to finish . <nl> bool ending_ ; <nl> + / / / Set to indicate whether the event run loop ever started . <nl> + bool started_ ; <nl> <nl> / / / A lock for incrementing the next EventContextID . <nl> boost : : mutex ec_id_lock_ ; <nl> class EventPublisherCore { <nl> * ( thus event ) matches . <nl> * / <nl> template < typename SC , typename EC > <nl> - class EventPublisher : public EventPublisherCore { <nl> + class EventPublisher : public EventPublisherPlugin { <nl> public : <nl> / / / A nested helper typename for the templated SubscriptionContextRef . <nl> typedef typename std : : shared_ptr < SC > SCRef ; <nl> class EventPublisher : public EventPublisherCore { <nl> * @ param sub The SubscriptionContext and optional EventCallback . <nl> * @ param ec The event that was fired . <nl> * / <nl> - void fireCallback ( const SubscriptionRef & sub , const EventContextRef & ec ) { <nl> + void fireCallback ( const SubscriptionRef & sub , <nl> + const EventContextRef & ec ) const { <nl> auto pub_sc = getSubscriptionContext ( sub - > context ) ; <nl> auto pub_ec = getEventContext ( ec ) ; <nl> if ( shouldFire ( pub_sc , pub_ec ) & & sub - > callback ! = nullptr ) { <nl> class EventPublisher : public EventPublisherCore { <nl> * <nl> * @ return should the Subscription % ' s EventCallback be called for this event . <nl> * / <nl> - virtual bool shouldFire ( const SCRef & sc , const ECRef & ec ) { return true ; } <nl> + virtual bool shouldFire ( const SCRef & sc , const ECRef & ec ) const { <nl> + return true ; <nl> + } <nl> <nl> private : <nl> FRIEND_TEST ( EventsTests , test_event_sub_subscribe ) ; <nl> class EventFactory { <nl> / / / Access to the EventFactory instance . <nl> static EventFactory & getInstance ( ) ; <nl> <nl> - / / / A factory event publisher generator , simplify boilerplate code . <nl> - template < class PUB > <nl> - static EventPublisherRef createEventPublisher ( ) { <nl> - auto pub = std : : make_shared < PUB > ( ) ; <nl> - auto base_pub = reinterpret_cast < EventPublisherRef & > ( pub ) ; <nl> - return base_pub ; <nl> - } <nl> - <nl> - / / / A factory event subscriber generator , simplify boilerplate code . <nl> - template < class SUB > <nl> - static EventSubscriberRef createEventSubscriber ( ) { <nl> - auto sub = std : : make_shared < SUB > ( ) ; <nl> - auto base_sub = reinterpret_cast < EventSubscriberRef & > ( sub ) ; <nl> - return base_sub ; <nl> - } <nl> - <nl> - / * * <nl> - * @ brief Add an EventPublisher to the factory . <nl> - * <nl> - * The registration is mostly abstracted using osquery ' s registery . <nl> - * / <nl> - template < class T > <nl> - static Status registerEventPublisher ( ) { <nl> - auto pub = std : : make_shared < T > ( ) ; <nl> - return registerEventPublisher ( pub ) ; <nl> - } <nl> - <nl> / * * <nl> * @ brief Add an EventPublisher to the factory . <nl> * <nl> class EventFactory { <nl> * EventFactory ` getEventPublisher ` accessor is encouraged . <nl> * / <nl> template < class T > <nl> - static Status registerEventPublisher ( std : : shared_ptr < T > pub ) { <nl> - auto base_pub = reinterpret_cast < EventPublisherRef & > ( pub ) ; <nl> + static Status registerEventPublisher ( const std : : shared_ptr < T > & pub ) { <nl> + auto base_pub = reinterpret_cast < const EventPublisherRef & > ( pub ) ; <nl> return registerEventPublisher ( base_pub ) ; <nl> } <nl> <nl> class EventFactory { <nl> / / / Deregister an EventPublisher by EventPublisherID . <nl> static Status deregisterEventPublisher ( EventPublisherID & type_id ) ; <nl> <nl> - / / / Deregister all EventPublisher % s . <nl> - static Status deregisterEventPublishers ( ) ; <nl> - <nl> / / / Return an instance to a registered EventPublisher . <nl> static EventPublisherRef getEventPublisher ( EventPublisherID & pub ) ; <nl> <nl> / / / Return an instance to a registered EventSubscriber . <nl> static EventSubscriberRef getEventSubscriber ( EventSubscriberID & pub ) ; <nl> <nl> + static std : : vector < std : : string > publisherTypes ( ) ; <nl> + static std : : vector < std : : string > subscriberNames ( ) ; <nl> + <nl> public : <nl> / / / The dispatched event thread ' s entrypoint ( if needed ) . <nl> static Status run ( EventPublisherID & type_id ) ; <nl> class EventFactory { <nl> / / / An initializer ' s entrypoint for spawning all event type run loops . <nl> static void delay ( ) ; <nl> <nl> - public : <nl> / / / If a static EventPublisher callback wants to fire <nl> template < typename PUB > <nl> static void fire ( const EventContextRef & ec ) { <nl> class EventFactory { <nl> * <nl> * @ param should_end Reset the " is ending " state if False . <nl> * / <nl> - static void end ( bool should_end = true ) ; <nl> + static void end ( bool join = false ) ; <nl> <nl> private : <nl> / / / An EventFactory will exist for the lifetime of the application . <nl> EventFactory ( ) { } <nl> EventFactory ( EventFactory const & ) ; <nl> void operator = ( EventFactory const & ) ; <nl> + ~ EventFactory ( ) { } <nl> <nl> private : <nl> / / / Set of registered EventPublisher instances . <nl> class EventFactory { <nl> std : : vector < std : : shared_ptr < boost : : thread > > threads_ ; <nl> } ; <nl> <nl> - class EventSubscriberCore { <nl> + class EventSubscriberPlugin : public Plugin { <nl> protected : <nl> / * * <nl> * @ brief Store parsed event data from an EventCallback in a backing store . <nl> class EventSubscriberCore { <nl> * EventPublisher instances will have run ` setUp ` and initialized their run <nl> * loops . <nl> * / <nl> - EventSubscriberCore ( ) { <nl> + EventSubscriberPlugin ( ) { <nl> expire_events_ = true ; <nl> expire_time_ = 0 ; <nl> } <nl> - ~ EventSubscriberCore ( ) { } <nl> + virtual ~ EventSubscriberPlugin ( ) { } <nl> <nl> / * * <nl> * @ brief Suggested entrypoint for table generation . <nl> class EventSubscriberCore { <nl> } <nl> <nl> / / / The string name identifying this EventSubscriber . <nl> - virtual EventSubscriberID name ( ) { return " subscriber " ; } <nl> + virtual EventSubscriberID name ( ) const { return " subscriber " ; } <nl> <nl> protected : <nl> / / / Backing storage indexing namespace definition methods . <nl> - EventPublisherID dbNamespace ( ) { return type ( ) + " . " + name ( ) ; } <nl> + EventPublisherID dbNamespace ( ) const { return type ( ) + " . " + name ( ) ; } <nl> <nl> / / / The string EventPublisher identifying this EventSubscriber . <nl> - virtual EventPublisherID type ( ) = 0 ; <nl> + virtual EventPublisherID type ( ) const = 0 ; <nl> <nl> / / / Disable event expiration for this subscriber . <nl> void doNotExpire ( ) { expire_events_ = false ; } <nl> <nl> + private : <nl> + EventSubscriberPlugin ( EventSubscriberPlugin const & ) ; <nl> + void operator = ( EventSubscriberPlugin const & ) ; <nl> + <nl> private : <nl> / / / Do not respond to periodic / scheduled / triggered event expiration requests . <nl> bool expire_events_ ; <nl> class EventSubscriberCore { <nl> * Small overheads exist that help query - time indexing and lookups . <nl> * / <nl> template < class PUB > <nl> - class EventSubscriber : public EventSubscriberCore { <nl> + class EventSubscriber : public EventSubscriberPlugin { <nl> protected : <nl> typedef typename PUB : : SCRef SCRef ; <nl> typedef typename PUB : : ECRef ECRef ; <nl> <nl> public : <nl> - / / / Called after EventPublisher ` setUp ` . Add all Subscription % s here . <nl> / * * <nl> * @ brief Add Subscription % s to the EventPublisher this module will act on . <nl> * <nl> class EventSubscriber : public EventSubscriberCore { <nl> virtual void init ( ) { } <nl> <nl> / / / Helper function to call the publisher ' s templated subscription generator . <nl> - SCRef createSubscriptionContext ( ) { return PUB : : createSubscriptionContext ( ) ; } <nl> + SCRef createSubscriptionContext ( ) const { <nl> + return PUB : : createSubscriptionContext ( ) ; <nl> + } <nl> <nl> / * * <nl> * @ brief Bind a registered EventSubscriber member function to a Subscription . <nl> class EventSubscriber : public EventSubscriberCore { <nl> / / Down - cast the pointer to the member function . <nl> auto base_entry = <nl> reinterpret_cast < Status ( T : : * ) ( const EventContextRef & ) > ( entry ) ; <nl> - / / Create a callable to the member function using the instance of the <nl> + / / Create a callable theo the member function using the instance of the <nl> / / EventSubscriber and a single parameter placeholder ( the EventContext ) . <nl> auto cb = std : : bind ( base_entry , self , _1 ) ; <nl> / / Add a subscription using the callable and SubscriptionContext . <nl> class EventSubscriber : public EventSubscriberCore { <nl> } <nl> <nl> / / / Helper EventPublisher string type accessor . <nl> - EventPublisherID type ( ) { return BaseEventPublisher : : getType < PUB > ( ) ; } <nl> + EventPublisherID type ( ) const { return BaseEventPublisher : : getType < PUB > ( ) ; } <nl> <nl> private : <nl> FRIEND_TEST ( EventsTests , test_event_sub ) ; <nl> FRIEND_TEST ( EventsTests , test_event_sub_subscribe ) ; <nl> FRIEND_TEST ( EventsTests , test_event_sub_context ) ; <nl> } ; <nl> - } <nl> <nl> - / / / Expose a Plugin - like Registry for EventPublisher instances . <nl> - DECLARE_REGISTRY ( EventPublishers , std : : string , EventPublisherRef ) ; <nl> - # define REGISTERED_EVENTPUBLISHERS REGISTRY ( EventPublishers ) <nl> - # define REGISTER_EVENTPUBLISHER ( PUB ) \ <nl> - REGISTER ( EventPublishers , # PUB , EventFactory : : createEventPublisher < PUB > ( ) ) ; <nl> + / / / Iterate the event publisher registry and create run loops for each using <nl> + / / / the event factory . <nl> + void attachEvents ( ) ; <nl> <nl> - / * * <nl> - * @ brief Expose a Plugin - link Registry for EventSubscriber instances . <nl> - * <nl> - * In most cases the EventSubscriber class will organize itself to include <nl> - * an generator entry point for query - time table generation too . <nl> - * / <nl> - DECLARE_REGISTRY ( EventSubscribers , std : : string , EventSubscriberRef ) ; <nl> - # define REGISTERED_EVENTSUBSCRIBERS REGISTRY ( EventSubscribers ) <nl> - # define REGISTER_EVENTSUBSCRIBER ( SUB ) \ <nl> - REGISTER ( EventSubscribers , # SUB , EventFactory : : createEventSubscriber < SUB > ( ) ) ; <nl> - <nl> - namespace osquery { <nl> - namespace registries { <nl> - / * * <nl> - * @ brief A utility method for moving EventPublisher % s and EventSubscriber % s <nl> - * ( plugins ) into the EventFactory . <nl> - * <nl> - * To handle run - time and compile - time EventPublisher and EventSubscriber <nl> - * additions as plugins or extensions , the osquery Registry workflow is used . <nl> - * During application launch ( or within plugin load ) the EventFactory faucet <nl> - * moves managed instances of these types to the EventFactory . The <nl> - * EventPublisher and EventSubscriber lifecycle / developer workflow is unknown <nl> - * to the Registry . <nl> - * / <nl> - void faucet ( EventPublishers ets , EventSubscribers ems ) ; <nl> - } <nl> + CREATE_LAZY_REGISTRY ( EventPublisherPlugin , " event_publisher " ) ; <nl> + CREATE_REGISTRY ( EventSubscriberPlugin , " event_subscriber " ) ; <nl> } <nl> mmm a / include / osquery / flags . h <nl> ppp b / include / osquery / flags . h <nl> <nl> <nl> # pragma once <nl> <nl> + # include < map > <nl> + <nl> # define STRIP_FLAG_HELP 1 <nl> # include < gflags / gflags . h > <nl> <nl> - # include < osquery / registry . h > <nl> # include < osquery / status . h > <nl> <nl> # define __GFLAGS_NAMESPACE google <nl> mmm a / include / osquery / logger . h <nl> ppp b / include / osquery / logger . h <nl> <nl> <nl> # pragma once <nl> <nl> - # include < future > <nl> # include < string > <nl> # include < vector > <nl> <nl> # include < glog / logging . h > <nl> <nl> + # include < osquery / registry . h > <nl> # include < osquery / status . h > <nl> # include < osquery / scheduler . h > <nl> <nl> Status logScheduledQueryLogItem ( const ScheduledQueryLogItem & item ) ; <nl> * / <nl> Status logScheduledQueryLogItem ( const ScheduledQueryLogItem & item , <nl> const std : : string & receiver ) ; <nl> + <nl> + / * * <nl> + * @ brief Superclass for the pluggable config component . <nl> + * <nl> + * In order to make the logging of osquery results easy to integrate into your <nl> + * environment , we take advantage of a plugin interface which allows you to <nl> + * integrate osquery with your internal large - scale logging infrastructure . <nl> + * You may use flume , splunk , syslog , scribe , etc . In order to use your <nl> + * specific upstream logging systems , one simply needs to create a custom <nl> + * subclass of LoggerPlugin . That subclass should implement the <nl> + * LoggerPlugin : : logString method . <nl> + * <nl> + * Consider the following example : <nl> + * <nl> + * @ code { . cpp } <nl> + * class TestLoggerPlugin : public LoggerPlugin { <nl> + * public : <nl> + * virtual osquery : : Status logString ( const std : : string & s ) { <nl> + * int i = 0 ; <nl> + * internal : : logStringToFlume ( s , i ) ; <nl> + * std : : string message ; <nl> + * if ( i = = 0 ) { <nl> + * message = " OK " ; <nl> + * } else { <nl> + * message = " Failed " ; <nl> + * } <nl> + * return osquery : : Status ( i , message ) ; <nl> + * } <nl> + * } ; <nl> + * <nl> + * REGISTER ( TestLoggerPlugin , " logger " , " test " ) ; <nl> + * @ endcode <nl> + * / <nl> + <nl> + class LoggerPlugin : public Plugin { <nl> + public : <nl> + / * * @ brief Virtual method which should implement custom logging . <nl> + * <nl> + * LoggerPlugin : : logString should be implemented by a subclass of <nl> + * LoggerPlugin which needs to log a string in a custom way . <nl> + * <nl> + * @ return an instance of osquery : : Status which indicates the success or <nl> + * failure of the operation . <nl> + * / <nl> + virtual Status logString ( const std : : string & s ) = 0 ; <nl> + Status call ( const PluginRequest & request , PluginResponse & response ) ; <nl> + } ; <nl> + <nl> + / * * <nl> + * @ brief Logger plugin registry . <nl> + * <nl> + * This creates an osquery registry for " logger " which may implement <nl> + * LoggerPlugin . Only strings are logged in practice , and LoggerPlugin provides <nl> + * a helper member for transforming PluginRequest % s to strings . <nl> + * / <nl> + CREATE_REGISTRY ( LoggerPlugin , " logger " ) ; <nl> } <nl> deleted file mode 100644 <nl> index a25a4b3b17 . . 0000000000 <nl> mmm a / include / osquery / logger / plugin . h <nl> ppp / dev / null <nl> <nl> - / * <nl> - * Copyright ( c ) 2014 , Facebook , Inc . <nl> - * All rights reserved . <nl> - * <nl> - * This source code is licensed under the BSD - style license found in the <nl> - * LICENSE file in the root directory of this source tree . An additional grant <nl> - * of patent rights can be found in the PATENTS file in the same directory . <nl> - * <nl> - * / <nl> - <nl> - # pragma once <nl> - <nl> - # include < memory > <nl> - <nl> - # include < osquery / registry . h > <nl> - # include < osquery / status . h > <nl> - <nl> - namespace osquery { <nl> - <nl> - / * * <nl> - * @ brief Superclass for the pluggable config component . <nl> - * <nl> - * In order to make the logging of osquery results easy to integrate into your <nl> - * environment , we take advantage of a plugin interface which allows you to <nl> - * integrate osquery with your internal large - scale logging infrastructure . <nl> - * You may use flume , splunk , syslog , scribe , etc . In order to use your <nl> - * specific upstream logging systems , one simply needs to create a custom <nl> - * subclass of LoggerPlugin . That subclass should implement the <nl> - * LoggerPlugin : : logString method . <nl> - * <nl> - * Consider the following example : <nl> - * <nl> - * @ code { . cpp } <nl> - * class TestLoggerPlugin : public ConfigPlugin { <nl> - * public : <nl> - * virtual osquery : : Status logString ( const std : : string & s ) { <nl> - * int i = 0 ; <nl> - * internal : : logStringToFlume ( s , i ) ; <nl> - * std : : string message ; <nl> - * if ( i = = 0 ) { <nl> - * message = " OK " ; <nl> - * } else { <nl> - * message = " Failed " ; <nl> - * } <nl> - * return osquery : : Status ( i , message ) ; <nl> - * } <nl> - * } ; <nl> - * <nl> - * REGISTER_LOGGER_PLUGIN ( <nl> - * " test " , std : : make_shared < osquery : : TestLoggerPlugin > ( ) ) ; <nl> - * @ endcode <nl> - * / <nl> - class LoggerPlugin { <nl> - public : <nl> - / * * @ brief Virtual method which should implement custom logging . <nl> - * <nl> - * LoggerPlugin : : logString should be implemented by a subclass of <nl> - * LoggerPlugin which needs to log a string in a custom way . <nl> - * <nl> - * @ return an instance of osquery : : Status which indicates the success or <nl> - * failure of the operation . <nl> - * / <nl> - virtual osquery : : Status logString ( const std : : string & s ) = 0 ; <nl> - <nl> - / / / Virtual destructor <nl> - virtual ~ LoggerPlugin ( ) { } <nl> - } ; <nl> - } <nl> - <nl> - DECLARE_REGISTRY ( LoggerPlugins , <nl> - std : : string , <nl> - std : : shared_ptr < osquery : : LoggerPlugin > ) <nl> - <nl> - # define REGISTERED_LOGGER_PLUGINS REGISTRY ( LoggerPlugins ) <nl> - <nl> - # define REGISTER_LOGGER_PLUGIN ( name , decorator ) \ <nl> - REGISTER ( LoggerPlugins , name , decorator ) <nl> mmm a / include / osquery / registry . h <nl> ppp b / include / osquery / registry . h <nl> <nl> <nl> # pragma once <nl> <nl> - # include < functional > <nl> - # include < string > <nl> - # include < unordered_map > <nl> - # include < utility > <nl> + # include < map > <nl> + # include < mutex > <nl> + # include < vector > <nl> <nl> - # include < osquery / database / results . h > <nl> - # include < osquery / logger . h > <nl> + # include < boost / noncopyable . hpp > <nl> + # include < boost / property_tree / ptree . hpp > <nl> <nl> - # include " osquery / registry / init_registry . h " <nl> - # include " osquery / registry / singleton . h " <nl> + # include < osquery / status . h > <nl> <nl> namespace osquery { <nl> <nl> + # define CREATE_REGISTRY ( type , name ) \ <nl> + namespace registry { \ <nl> + const auto type # # Registry = Registry : : create < type > ( name ) ; \ <nl> + } <nl> + <nl> + # define CREATE_LAZY_REGISTRY ( type , name ) \ <nl> + namespace registry { \ <nl> + const auto type # # Registry = Registry : : create < type > ( name , false ) ; \ <nl> + } <nl> + <nl> + # define REGISTER ( type , registry , name ) \ <nl> + const auto type # # RegistryItem = Registry : : add < type > ( registry , name ) ; <nl> + <nl> + / / / A plugin ( registry item ) may return a custom key value map with its Route . <nl> + typedef std : : map < std : : string , std : : string > RouteInfo ; <nl> + / / / Registry routes are a map of item name to each optional RouteInfo . <nl> + typedef std : : map < std : : string , RouteInfo > RegistryRoutes ; <nl> + / / / An extension or core ' s broadcast includes routes from every Registry . <nl> + typedef std : : map < std : : string , RegistryRoutes > RegistryBroadcast ; <nl> + <nl> / * * <nl> - * @ brief A simple registry system for making values available by key across <nl> - * components . <nl> - * <nl> - * To use this registry , make a header like so : <nl> - * <nl> - * @ code { . cpp } <nl> - * # include < osquery / registry . h > <nl> + * @ brief The request part of a plugin ( registry item ' s ) call . <nl> * <nl> - * DECLARE_REGISTRY ( MathFuncs , int , std : : function < double ( double ) > ) <nl> - * # define REGISTERED_MATH_FUNCS REGISTRY ( MathFuncs ) <nl> - * # define REGISTER_MATH_FUNC ( id , func ) \ <nl> - * REGISTER ( MathFuncs , id , func ) <nl> - * @ endcode <nl> - * <nl> - * Client code may then advertise an entry from a . cpp like so : <nl> + * To use a plugin use Registry : : call with a request and response . <nl> + * The request portion is usually simple and normally includes an " action " <nl> + * key where the value is the action you want to perform on the plugin . <nl> + * Refer to the registry ' s documentation for the actions supported by <nl> + * each of its plugins . <nl> + * / <nl> + typedef std : : map < std : : string , std : : string > PluginRequest ; <nl> + / * * <nl> + * @ brief The reponse part of a plugin ( registry item ' s ) call . <nl> * <nl> - * @ code { . cpp } <nl> - * # include " my / registry / header . h " <nl> - * REGISTER_MATH_FUNC ( 1 , sqrt ) ; <nl> - * @ endcode <nl> + * If a Registry : : call succeeds it will fill in a PluginResponse . <nl> + * This reponse is a vector of key value maps . <nl> + * / <nl> + typedef std : : vector < PluginRequest > PluginResponse ; <nl> + <nl> + / * * <nl> + * @ brief The core interface for each registry type . <nl> * <nl> - * Server code may then access the set of registered values by using <nl> - * ` REGISTERED_MATH_FUNCS ` as a map , which will be populated after <nl> - * ` osquery : : InitRegistry : : get ( ) . run ( ) ` has been called . <nl> + * The osquery Registry is partitioned into types . These are literal types <nl> + * but use a canonical string key for lookups and actions . <nl> + * Registries are created using Registry : : create with a RegistryType and key . <nl> * / <nl> - template < class Key , class Value > <nl> - class Registry : public std : : unordered_map < Key , Value > { <nl> + template < class RegistryType > <nl> + class RegistryCore { <nl> + protected : <nl> + typedef std : : shared_ptr < RegistryType > RegistryTypeRef ; <nl> + virtual void type ( ) { } <nl> + <nl> public : <nl> + RegistryCore ( bool auto_setup = true ) : auto_setup_ ( auto_setup ) { } <nl> + virtual ~ RegistryCore ( ) { } <nl> + <nl> + / * * <nl> + * @ brief Add a plugin to this registry by allocating and indexing <nl> + * a type Item and a key identifier . <nl> + * <nl> + * @ param item_name An identifier for this registry plugin . <nl> + * @ return A success / failure status . <nl> + * / <nl> + template < class Item > <nl> + Status add ( const std : : string & item_name ) { <nl> + if ( items_ . count ( item_name ) > 0 ) { <nl> + return Status ( 1 , " Duplicate registry item exists : " + item_name ) ; <nl> + } <nl> + <nl> + / / Run the item ' s constructor , the setUp call will happen later . <nl> + auto item = new Item ( ) ; <nl> + item - > setName ( item_name ) ; <nl> + / / Cast the specific registry - type derived item as the API typ the registry <nl> + / / used when it was created using the registry factory . <nl> + auto base_item = reinterpret_cast < RegistryType * > ( item ) ; <nl> + std : : shared_ptr < RegistryType > shared_item ( base_item ) ; <nl> + items_ [ item_name ] = shared_item ; <nl> + return Status ( 0 , " OK " ) ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief A raw accessor for a registry plugin . <nl> + * <nl> + * If there is no plugin with an item_name identifier this will throw <nl> + * and out_of_range exception . <nl> + * <nl> + * @ param item_name An identifier for this registry plugin . <nl> + * @ return A std : : shared_ptr of type RegistryType . <nl> + * / <nl> + RegistryTypeRef get ( const std : : string & item_name ) { <nl> + return items_ . at ( item_name ) ; <nl> + } <nl> + <nl> / * * <nl> - * @ brief Register a value in the global registry <nl> + * @ brief Remove a registry item by its identifier . <nl> * <nl> - * This is used internally by the ` DECLARE_REGISTRY ` registration workflow . <nl> - * If you ' re calling this method directly , you ' re probably doing something <nl> - * incorrectly . <nl> + * @ param item_name An identifier for this registry plugin . <nl> * / <nl> - void registerValue ( const Key & key , <nl> - const Value & value , <nl> - const char * displayName = " registry " ) { <nl> - if ( this - > insert ( std : : make_pair ( key , value ) ) . second ) { <nl> - VLOG ( 1 ) < < displayName < < " [ " < < key < < " ] " <nl> - < < " registered " ; <nl> - } else { <nl> - LOG ( ERROR ) < < displayName < < " [ " < < key < < " ] " <nl> - < < " already registered " ; <nl> + void remove ( const std : : string & item_name ) { <nl> + if ( items_ . count ( item_name ) > 0 ) { <nl> + items_ [ item_name ] - > tearDown ( ) ; <nl> + items_ . erase ( item_name ) ; <nl> } <nl> } <nl> + <nl> + RegistryRoutes getRoutes ( ) { <nl> + RegistryRoutes route_table ; <nl> + for ( const auto & item : items_ ) { <nl> + route_table [ item . first ] = item . second - > routeInfo ( ) ; <nl> + } <nl> + return route_table ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief The only method a plugin user should call . <nl> + * <nl> + * Registry plugins are used internally and externally . They may belong <nl> + * to the process making the call or to an external process via a thrift <nl> + * transport . <nl> + * <nl> + * All plugin input and output must be serializable . The plugin types <nl> + * RegistryType usually exposes protected serialization methods for the <nl> + * data structures used by plugins ( registry items ) . <nl> + * <nl> + * @ param item_name The plugin identifier to call . <nl> + * @ param request The plugin request , usually containing an action request . <nl> + * @ param response If successful , the requested information . <nl> + * @ return Success if the plugin was called , and response was filled . <nl> + * / <nl> + Status call ( const std : : string & item_name , <nl> + const PluginRequest & request , <nl> + PluginResponse & response ) { <nl> + if ( items_ . count ( item_name ) > 0 ) { <nl> + return items_ [ item_name ] - > call ( request , response ) ; <nl> + } <nl> + return Status ( 1 , " Cannot call registry item : " + item_name ) ; <nl> + } <nl> + <nl> + const std : : map < std : : string , RegistryTypeRef > & all ( ) { return items_ ; } <nl> + <nl> + void setUp ( ) { <nl> + / / If this registry does not auto - setup do NOT setup the registry items . <nl> + if ( ! auto_setup_ ) { <nl> + return ; <nl> + } <nl> + <nl> + / / Try to set up each of the registry items . <nl> + / / If they fail , remove them from the registry . <nl> + std : : vector < std : : string > failed ; <nl> + for ( auto & item : items_ ) { <nl> + if ( ! item . second - > setUp ( ) . ok ( ) ) { <nl> + failed . push_back ( item . first ) ; <nl> + } <nl> + } <nl> + <nl> + for ( const auto & failed_item : failed ) { <nl> + remove ( failed_item ) ; <nl> + } <nl> + } <nl> + <nl> + / / / Facility method to check if a registry item exists . <nl> + bool exists ( const std : : string & item_name ) { <nl> + return ( items_ . count ( item_name ) > 0 ) ; <nl> + } <nl> + <nl> + / / / Facility method to list the registry item identifiers . <nl> + std : : vector < std : : string > names ( ) { <nl> + std : : vector < std : : string > names ; <nl> + for ( const auto & item : items_ ) { <nl> + names . push_back ( item . first ) ; <nl> + } <nl> + return names ; <nl> + } <nl> + <nl> + / / / Facility method to count the number of items in this registry . <nl> + size_t count ( ) { return items_ . size ( ) ; } <nl> + <nl> + / / / Allow the registry to introspect into the registered name ( for logging ) . <nl> + void setName ( const std : : string & name ) { name_ = name ; } <nl> + <nl> + private : <nl> + RegistryCore ( RegistryCore const & ) ; <nl> + void operator = ( RegistryCore const & ) ; <nl> + <nl> + private : <nl> + / / / The identifier for this registry , used to register items . <nl> + std : : string name_ ; <nl> + / / / A map of registered plugin instances to their registered identifier . <nl> + std : : map < std : : string , RegistryTypeRef > items_ ; <nl> + / / / Does this registry run setUp on each registry item at initialization . <nl> + bool auto_setup_ ; <nl> } ; <nl> - } <nl> <nl> - # define DECLARE_REGISTRY ( registryName , KeyType , ObjectType ) \ <nl> - namespace osquery { \ <nl> - namespace registries { \ <nl> - class registryName : public Registry < KeyType , ObjectType > { } ; \ <nl> - } \ <nl> + template < class TypeAPI > <nl> + class RegistryFactory : private boost : : noncopyable { <nl> + protected : <nl> + typedef RegistryCore < TypeAPI > RegistryTypeAPI ; <nl> + typedef std : : shared_ptr < TypeAPI > TypeAPIRef ; <nl> + typedef std : : shared_ptr < RegistryCore < TypeAPI > > RegistryTypeAPIRef ; <nl> + <nl> + public : <nl> + static RegistryFactory & instance ( ) { <nl> + static RegistryFactory instance ; <nl> + return instance ; <nl> + } <nl> + <nl> + / * * <nl> + * @ brief Create a registry using a plugin type and identifier . <nl> + * <nl> + * A short hard for allocating a new registry type a RegistryCore and <nl> + * plugin derived class Type or RegistryType . This shorthard performs <nl> + * the allocation and initialization of the Type and keeps the instance <nl> + * identified by registry_name . <nl> + * <nl> + * @ code { . cpp } <nl> + * / / / Instead of calling RegistryFactory : : create use : <nl> + * CREATE_REGISTRY ( Type , " registry_name " ) ; <nl> + * @ endcode <nl> + * <nl> + * @ param registry_name The canonical name for this registry . <nl> + * @ param auto_setup Optionally set false if the registry handles setup <nl> + * @ return A non - sense int that must be casted const . <nl> + * / <nl> + template < class Type > <nl> + static int create ( const std : : string & registry_name , bool auto_setup = true ) { <nl> + if ( instance ( ) . registries_ . count ( registry_name ) > 0 ) { <nl> + return 0 ; <nl> + } <nl> + <nl> + auto registry = <nl> + reinterpret_cast < RegistryTypeAPI * > ( new RegistryCore < Type > ( auto_setup ) ) ; <nl> + registry - > setName ( registry_name ) ; <nl> + std : : shared_ptr < RegistryTypeAPI > shared_registry ( registry ) ; <nl> + instance ( ) . registries_ [ registry_name ] = shared_registry ; <nl> + return 0 ; <nl> + } <nl> + <nl> + static RegistryTypeAPIRef registry ( const std : : string & registry_name ) { <nl> + return instance ( ) . registries_ . at ( registry_name ) ; <nl> + } <nl> + <nl> + template < class Item > <nl> + static Status add ( const std : : string & registry_name , <nl> + const std : : string & item_name ) { <nl> + auto registry = instance ( ) . registry ( registry_name ) ; <nl> + return registry - > template add < Item > ( item_name ) ; <nl> + } <nl> + <nl> + static const std : : map < std : : string , RegistryTypeAPIRef > & all ( ) { <nl> + return instance ( ) . registries_ ; <nl> + } <nl> + <nl> + static const std : : map < std : : string , TypeAPIRef > & all ( <nl> + const std : : string & registry_name ) { <nl> + return instance ( ) . registry ( registry_name ) - > all ( ) ; <nl> + } <nl> + <nl> + static TypeAPIRef get ( const std : : string & registry_name , <nl> + const std : : string & item_name ) { <nl> + return instance ( ) . registry ( registry_name ) - > get ( item_name ) ; <nl> + } <nl> + <nl> + static RegistryBroadcast getBroadcast ( ) { <nl> + RegistryBroadcast broadcast ; <nl> + for ( const auto & registry : instance ( ) . registries_ ) { <nl> + broadcast [ registry . first ] = registry . second - > getRoutes ( ) ; <nl> + } <nl> + return broadcast ; <nl> + } <nl> + <nl> + static Status call ( const std : : string & registry_name , <nl> + const std : : string item_name , <nl> + const PluginRequest & request , <nl> + PluginResponse & response ) { <nl> + if ( instance ( ) . registries_ . count ( registry_name ) > 0 ) { <nl> + return instance ( ) . registries_ [ registry_name ] - > call ( <nl> + item_name , request , response ) ; <nl> + } <nl> + return Status ( 1 , " Cannot call " + registry_name + " : " + item_name ) ; <nl> + } <nl> + <nl> + static Status call ( const std : : string & registry_name , <nl> + const std : : string & item_name , <nl> + const PluginRequest & request ) { <nl> + PluginResponse response ; <nl> + return call ( registry_name , item_name , request , response ) ; <nl> } <nl> <nl> - # define REGISTRY ( registryName ) \ <nl> - ( osquery : : Singleton < osquery : : registries : : registryName > : : get ( ) ) <nl> + static void setUp ( ) { <nl> + for ( const auto & registry : instance ( ) . all ( ) ) { <nl> + registry . second - > setUp ( ) ; <nl> + } <nl> + } <nl> <nl> - # ifndef UNIQUE_VAR <nl> - # define UNIQUE_VAR_CONCAT ( _name_ , _line_ ) _name_ # # _line_ <nl> - # define UNIQUE_VAR_LINENAME ( _name_ , _line_ ) UNIQUE_VAR_CONCAT ( _name_ , _line_ ) <nl> - # define UNIQUE_VAR ( _name_ ) UNIQUE_VAR_LINENAME ( _name_ , __LINE__ ) <nl> - # endif <nl> + static bool exists ( const std : : string & registry_name , <nl> + const std : : string & item_name ) { <nl> + if ( instance ( ) . registries_ . count ( registry_name ) = = 0 ) { <nl> + return false ; <nl> + } <nl> + return ( instance ( ) . registry ( registry_name ) - > exists ( item_name ) ) ; <nl> + } <nl> <nl> - # define REGISTER ( registryName , key , value ) \ <nl> - namespace { / * require global scope , don ' t pollute static namespace * / \ <nl> - static osquery : : RegisterInitFunc UNIQUE_VAR ( registryName ) ( [ ] { \ <nl> - REGISTRY ( registryName ) . registerValue ( ( key ) , ( value ) , # registryName ) ; \ <nl> - } ) ; \ <nl> + static std : : vector < std : : string > names ( const std : : string & registry_name ) { <nl> + if ( instance ( ) . registries_ . at ( registry_name ) = = 0 ) { <nl> + std : : vector < std : : string > names ; <nl> + return names ; <nl> + } <nl> + return instance ( ) . registry ( registry_name ) - > names ( ) ; <nl> } <nl> + <nl> + static size_t count ( ) { return instance ( ) . registries_ . size ( ) ; } <nl> + <nl> + static size_t count ( const std : : string & registry_name ) { <nl> + if ( instance ( ) . registries_ . count ( registry_name ) = = 0 ) { <nl> + return 0 ; <nl> + } <nl> + return instance ( ) . registry ( registry_name ) - > count ( ) ; <nl> + } <nl> + <nl> + protected : <nl> + RegistryFactory ( ) { } <nl> + RegistryFactory ( RegistryFactory const & ) ; <nl> + void operator = ( RegistryFactory const & ) ; <nl> + virtual ~ RegistryFactory ( ) { } <nl> + <nl> + public : <nl> + std : : map < std : : string , RegistryTypeAPIRef > registries_ ; <nl> + } ; <nl> + <nl> + class Plugin { <nl> + public : <nl> + Plugin ( ) { name_ = " unnamed " ; } <nl> + virtual ~ Plugin ( ) { } <nl> + <nl> + public : <nl> + / / / The plugin may perform some initialization , not required . <nl> + virtual Status setUp ( ) { return Status ( 0 , " Not used " ) ; } <nl> + / / / The plugin may perform some tear down , release , not required . <nl> + virtual void tearDown ( ) { } <nl> + / / / The plugin may publish route info ( other than registry type and name ) . <nl> + virtual RouteInfo routeInfo ( ) { <nl> + RouteInfo info ; <nl> + return info ; <nl> + } <nl> + / / / The plugin will act on a serialized request , and if a response is needed <nl> + / / / ( response is set to true ) then response should be a reference to a <nl> + / / / string ready for a serialized response . <nl> + virtual Status call ( const PluginRequest & request , PluginResponse & response ) { <nl> + return Status ( 1 , " Error " ) ; <nl> + } <nl> + <nl> + / / Set the output request key to a serialized property tree . <nl> + / / Used by the plugin to set a serialized PluginResponse . <nl> + static void setResponse ( const std : : string & key , <nl> + const boost : : property_tree : : ptree & tree , <nl> + PluginResponse & response ) ; <nl> + / / Get a PluginResponse key as a property tree . <nl> + static void getResponse ( const std : : string & key , <nl> + const PluginResponse & response , <nl> + boost : : property_tree : : ptree & tree ) ; <nl> + <nl> + / / / Allow the plugin to introspect into the registered name ( for logging ) . <nl> + void setName ( const std : : string & name ) { name_ = name ; } <nl> + <nl> + protected : <nl> + std : : string name_ ; <nl> + <nl> + private : <nl> + Plugin ( Plugin const & ) ; <nl> + void operator = ( Plugin const & ) ; <nl> + } ; <nl> + <nl> + / * * <nl> + * @ brief The osquery Registry , refer to RegistryFactory for the caller API . <nl> + * <nl> + * The Registry class definition constructs the RegistryFactory behind the <nl> + * scenes using a class definition template API call Plugin . <nl> + * Each registry created by the RegistryFactory using RegistryFactory : : create <nl> + * will provide a plugin type called RegistryType that inherits from Plugin . <nl> + * The actual plugins must add themselves to a registry type and should <nl> + * implement the Plugin and RegistryType interfaces . <nl> + * / <nl> + class Registry : public RegistryFactory < Plugin > { } ; <nl> + } <nl> mmm a / include / osquery / tables . h <nl> ppp b / include / osquery / tables . h <nl> <nl> # include < vector > <nl> <nl> # include < boost / lexical_cast . hpp > <nl> + # include < boost / property_tree / ptree . hpp > <nl> <nl> # include < sqlite3 . h > <nl> <nl> + # include < osquery / registry . h > <nl> # include < osquery / database / results . h > <nl> # include < osquery / status . h > <nl> <nl> namespace tables { <nl> # define AS_LITERAL ( literal , value ) boost : : lexical_cast < literal > ( value ) <nl> <nl> / / / Helper alias for TablePlugin names . <nl> - typedef const std : : string TableName ; <nl> - typedef const std : : vector < std : : pair < std : : string , std : : string > > TableColumns ; <nl> + typedef std : : string TableName ; <nl> + typedef std : : vector < std : : pair < std : : string , std : : string > > TableColumns ; <nl> typedef std : : map < std : : string , std : : vector < std : : string > > TableData ; <nl> <nl> / * * <nl> struct ConstraintList { <nl> constraints_ . push_back ( constraint ) ; <nl> } <nl> <nl> + / * * <nl> + * @ brief Serialize a ConstraintList into a property tree . <nl> + * <nl> + * The property tree will use the format : <nl> + * { <nl> + * " affinity " : affinity , <nl> + * " list " : [ <nl> + * { " op " : op , " expr " : expr } , . . . <nl> + * ] <nl> + * } <nl> + * / <nl> + void serialize ( boost : : property_tree : : ptree & tree ) const ; <nl> + void unserialize ( const boost : : property_tree : : ptree & tree ) ; <nl> + <nl> ConstraintList ( ) { affinity = " TEXT " ; } <nl> <nl> private : <nl> struct QueryContext { <nl> ConstraintMap constraints ; <nl> / / / Support a limit to the number of results . <nl> int limit ; <nl> + <nl> + QueryContext ( ) : limit ( 0 ) { } <nl> } ; <nl> <nl> typedef struct QueryContext QueryContext ; <nl> typedef struct Constraint Constraint ; <nl> * virtual table name as the plugin ID . osquery will enumerate all registered <nl> * TablePlugins and attempt to attach them to SQLite at instanciation . <nl> * / <nl> - class TablePlugin { <nl> - public : <nl> - TableName name ; <nl> - TableColumns columns ; <nl> - / / / Helper method to generate the column definition for CREATE statement . <nl> - static std : : string columnDefinition ( const TableColumns & columns ) ; <nl> + class TablePlugin : public Plugin { <nl> + protected : <nl> / / / Helper method to generate the virtual table CREATE statement . <nl> - std : : string statement ( TableName name , TableColumns columns ) ; <nl> + virtual std : : string statement ( ) ; <nl> + virtual std : : string columnDefinition ( ) ; <nl> + virtual TableColumns columns ( ) { <nl> + TableColumns columns ; <nl> + return columns ; <nl> + } <nl> + <nl> + virtual QueryData generate ( QueryContext & request ) { <nl> + QueryData data ; <nl> + return data ; <nl> + } <nl> <nl> public : <nl> - / / / Part of the query state , number of rows generated . <nl> - int n ; <nl> - / / / Part of the query state , column data returned from a query . <nl> - TableData data ; <nl> - / / / Part of the query state , parsed set of query predicate constraints . <nl> - ConstraintSet constraints ; <nl> + / / / Public API methods . <nl> + Status call ( const PluginRequest & request , PluginResponse & response ) ; <nl> <nl> public : <nl> - virtual int attachVtable ( sqlite3 * db ) { return - 1 ; } <nl> - virtual ~ TablePlugin ( ) { } ; <nl> + / / / Helper data structure transformation methods <nl> + static void setRequestFromContext ( const QueryContext & context , <nl> + PluginRequest & request ) ; <nl> + static void setResponseFromQueryData ( const QueryData & data , <nl> + PluginResponse & response ) ; <nl> + static void setContextFromRequest ( const PluginRequest & request , <nl> + QueryContext & context ) ; <nl> <nl> - protected : <nl> - TablePlugin ( ) { n = 0 ; } ; <nl> + private : <nl> + FRIEND_TEST ( VirtualTableTests , test_tableplugin_columndefinition ) ; <nl> + FRIEND_TEST ( VirtualTableTests , test_tableplugin_statement ) ; <nl> } ; <nl> <nl> - typedef std : : shared_ptr < TablePlugin > TablePluginRef ; <nl> + CREATE_REGISTRY ( TablePlugin , " table " ) ; <nl> } <nl> } <nl> mmm a / osquery / CMakeLists . txt <nl> ppp b / osquery / CMakeLists . txt <nl> add_subdirectory ( events ) <nl> add_subdirectory ( examples ) <nl> add_subdirectory ( filesystem ) <nl> add_subdirectory ( logger ) <nl> + add_subdirectory ( registry ) <nl> add_subdirectory ( scheduler ) <nl> add_subdirectory ( tables ) <nl> <nl> mmm a / osquery / config / config . cpp <nl> ppp b / osquery / config / config . cpp <nl> <nl> # include < boost / thread / shared_mutex . hpp > <nl> <nl> # include < osquery / config . h > <nl> - # include < osquery / config / plugin . h > <nl> # include < osquery / flags . h > <nl> # include < osquery / hash . h > <nl> # include < osquery / logger . h > <nl> Status Config : : load ( ) { <nl> } <nl> <nl> Status Config : : genConfig ( std : : string & conf ) { <nl> - if ( REGISTERED_CONFIG_PLUGINS . find ( FLAGS_config_retriever ) = = <nl> - REGISTERED_CONFIG_PLUGINS . end ( ) ) { <nl> + if ( ! Registry : : exists ( " config " , FLAGS_config_retriever ) ) { <nl> LOG ( ERROR ) < < " Config retriever " < < FLAGS_config_retriever < < " not found " ; <nl> return Status ( 1 , " Config retriever not found " ) ; <nl> } <nl> <nl> - try { <nl> - auto config_data = <nl> - REGISTERED_CONFIG_PLUGINS . at ( FLAGS_config_retriever ) - > genConfig ( ) ; <nl> - if ( ! config_data . first . ok ( ) ) { <nl> - return config_data . first ; <nl> - } <nl> - conf = config_data . second ; <nl> - } catch ( std : : exception & e ) { <nl> - LOG ( ERROR ) < < " Could not load ConfigPlugin " < < FLAGS_config_retriever <nl> - < < " : " < < e . what ( ) ; <nl> - return Status ( 1 , " Could not load config plugin " ) ; <nl> + PluginResponse response ; <nl> + auto status = Registry : : call ( <nl> + " config " , FLAGS_config_retriever , { { " action " , " genConfig " } } , response ) ; <nl> + <nl> + if ( ! status . ok ( ) ) { <nl> + return status ; <nl> } <nl> <nl> + conf = response [ 0 ] . at ( " data " ) ; <nl> return Status ( 0 , " OK " ) ; <nl> } <nl> <nl> Status Config : : checkConfig ( ) { <nl> OsqueryConfig c ; <nl> return genConfig ( c ) ; <nl> } <nl> + <nl> + Status ConfigPlugin : : call ( const PluginRequest & request , <nl> + PluginResponse & response ) { <nl> + if ( request . count ( " action " ) = = 0 ) { <nl> + return Status ( 1 , " Config plugins require an action in PluginRequest " ) ; <nl> + } <nl> + <nl> + if ( request . at ( " action " ) = = " genConfig " ) { <nl> + auto config_data = genConfig ( ) ; <nl> + response . push_back ( { { " data " , config_data . second } } ) ; <nl> + return config_data . first ; <nl> + } <nl> + return Status ( 1 , " Config plugin action unknown : " + request . at ( " action " ) ) ; <nl> + } <nl> } <nl> mmm a / osquery / config / config_tests . cpp <nl> ppp b / osquery / config / config_tests . cpp <nl> <nl> # include < gtest / gtest . h > <nl> <nl> # include < osquery / config . h > <nl> - # include < osquery / config / plugin . h > <nl> # include < osquery / core . h > <nl> # include < osquery / flags . h > <nl> # include < osquery / registry . h > <nl> class ConfigTests : public testing : : Test { <nl> FLAGS_config_retriever = " filesystem " ; <nl> FLAGS_config_path = kTestDataPath + " test . config " ; <nl> <nl> - osquery : : InitRegistry : : get ( ) . run ( ) ; <nl> + Registry : : setUp ( ) ; <nl> auto c = Config : : getInstance ( ) ; <nl> c - > load ( ) ; <nl> } <nl> } ; <nl> <nl> - TEST_F ( ConfigTests , test_queries_execute ) { <nl> - auto c = Config : : getInstance ( ) ; <nl> - auto queries = c - > getScheduledQueries ( ) ; <nl> - <nl> - EXPECT_EQ ( queries . size ( ) , 1 ) ; <nl> - for ( const auto & i : queries ) { <nl> - int err ; <nl> - auto r = query ( i . query , err ) ; <nl> - EXPECT_EQ ( err , 0 ) ; <nl> - } <nl> - } <nl> - <nl> class TestConfigPlugin : public ConfigPlugin { <nl> public : <nl> TestConfigPlugin ( ) { } <nl> class TestConfigPlugin : public ConfigPlugin { <nl> std : : pair < Status , std : : string > genConfig ( ) { <nl> return std : : make_pair ( Status ( 0 , " OK " ) , " foobar " ) ; <nl> } <nl> - <nl> - virtual ~ TestConfigPlugin ( ) { } <nl> } ; <nl> <nl> - REGISTER_CONFIG_PLUGIN ( " test " , std : : make_shared < osquery : : TestConfigPlugin > ( ) ) ; <nl> - <nl> TEST_F ( ConfigTests , test_plugin ) { <nl> - auto p = REGISTERED_CONFIG_PLUGINS . at ( " test " ) - > genConfig ( ) ; <nl> - EXPECT_EQ ( p . first . ok ( ) , true ) ; <nl> - EXPECT_EQ ( p . first . toString ( ) , " OK " ) ; <nl> - EXPECT_EQ ( p . second , " foobar " ) ; <nl> + Registry : : add < TestConfigPlugin > ( " config " , " test " ) ; <nl> + <nl> + PluginResponse response ; <nl> + auto status = <nl> + Registry : : call ( " config " , " test " , { { " action " , " genConfig " } } , response ) ; <nl> + <nl> + EXPECT_EQ ( status . ok ( ) , true ) ; <nl> + EXPECT_EQ ( status . toString ( ) , " OK " ) ; <nl> + EXPECT_EQ ( response [ 0 ] . at ( " data " ) , " foobar " ) ; <nl> + } <nl> + <nl> + TEST_F ( ConfigTests , test_queries_execute ) { <nl> + auto c = Config : : getInstance ( ) ; <nl> + auto queries = c - > getScheduledQueries ( ) ; <nl> + <nl> + EXPECT_EQ ( queries . size ( ) , 1 ) ; <nl> + for ( const auto & i : queries ) { <nl> + int err ; <nl> + auto r = query ( i . query , err ) ; <nl> + EXPECT_EQ ( err , 0 ) ; <nl> + } <nl> } <nl> } <nl> <nl> mmm a / osquery / config / plugins / facebook / configerator . cpp <nl> ppp b / osquery / config / plugins / facebook / configerator . cpp <nl> <nl> # include < configerator / distribution / api / api . h > <nl> # include < configerator / structs / osquery / gen - cpp / osquery_types . h > <nl> <nl> - # include < osquery / config / plugin . h > <nl> + # include < osquery / config . h > <nl> # include < osquery / logger . h > <nl> <nl> using osquery : : Status ; <nl> mmm a / osquery / config / plugins / filesystem . cpp <nl> ppp b / osquery / config / plugins / filesystem . cpp <nl> <nl> <nl> # include < boost / filesystem / operations . hpp > <nl> <nl> - # include < osquery / config / plugin . h > <nl> + # include < osquery / config . h > <nl> # include < osquery / flags . h > <nl> # include < osquery / logger . h > <nl> <nl> DEFINE_osquery_flag ( string , <nl> <nl> class FilesystemConfigPlugin : public ConfigPlugin { <nl> public : <nl> - virtual std : : pair < osquery : : Status , std : : string > genConfig ( ) { <nl> - std : : string config ; <nl> - if ( ! fs : : exists ( FLAGS_config_path ) ) { <nl> - return std : : make_pair ( Status ( 1 , " config file does not exist " ) , config ) ; <nl> - } <nl> - <nl> - VLOG ( 1 ) < < " Filesystem ConfigPlugin reading : " < < FLAGS_config_path ; <nl> - std : : ifstream config_stream ( FLAGS_config_path ) ; <nl> - <nl> - config_stream . seekg ( 0 , std : : ios : : end ) ; <nl> - config . reserve ( config_stream . tellg ( ) ) ; <nl> - config_stream . seekg ( 0 , std : : ios : : beg ) ; <nl> - <nl> - config . assign ( ( std : : istreambuf_iterator < char > ( config_stream ) ) , <nl> - std : : istreambuf_iterator < char > ( ) ) ; <nl> - return std : : make_pair ( Status ( 0 , " OK " ) , config ) ; <nl> - } <nl> + virtual std : : pair < osquery : : Status , std : : string > genConfig ( ) ; <nl> } ; <nl> <nl> - REGISTER_CONFIG_PLUGIN ( " filesystem " , <nl> - std : : make_shared < osquery : : FilesystemConfigPlugin > ( ) ) ; <nl> + REGISTER ( FilesystemConfigPlugin , " config " , " filesystem " ) ; <nl> + <nl> + std : : pair < osquery : : Status , std : : string > FilesystemConfigPlugin : : genConfig ( ) { <nl> + std : : string config ; <nl> + if ( ! fs : : exists ( FLAGS_config_path ) ) { <nl> + return std : : make_pair ( Status ( 1 , " config file does not exist " ) , config ) ; <nl> + } <nl> + <nl> + VLOG ( 1 ) < < " Filesystem ConfigPlugin reading : " < < FLAGS_config_path ; <nl> + std : : ifstream config_stream ( FLAGS_config_path ) ; <nl> + <nl> + config_stream . seekg ( 0 , std : : ios : : end ) ; <nl> + config . reserve ( config_stream . tellg ( ) ) ; <nl> + config_stream . seekg ( 0 , std : : ios : : beg ) ; <nl> + <nl> + config . assign ( ( std : : istreambuf_iterator < char > ( config_stream ) ) , <nl> + std : : istreambuf_iterator < char > ( ) ) ; <nl> + return std : : make_pair ( Status ( 0 , " OK " ) , config ) ; <nl> + } <nl> } <nl> mmm a / osquery / core / flags . cpp <nl> ppp b / osquery / core / flags . cpp <nl> <nl> * <nl> * / <nl> <nl> + # include < tuple > <nl> + <nl> # include < osquery / flags . h > <nl> <nl> namespace osquery { <nl> mmm a / osquery / core / init . cpp <nl> ppp b / osquery / core / init . cpp <nl> <nl> <nl> # include < osquery / config . h > <nl> # include < osquery / core . h > <nl> + # include < osquery / events . h > <nl> # include < osquery / flags . h > <nl> # include < osquery / filesystem . h > <nl> # include < osquery / logger . h > <nl> void initOsquery ( int argc , char * argv [ ] , int tool ) { <nl> <nl> google : : InitGoogleLogging ( argv [ 0 ] ) ; <nl> VLOG ( 1 ) < < " osquery starting [ version = " OSQUERY_VERSION " ] " ; <nl> - osquery : : InitRegistry : : get ( ) . run ( ) ; <nl> + osquery : : Registry : : setUp ( ) ; <nl> + osquery : : attachEvents ( ) ; <nl> <nl> auto config = Config : : getInstance ( ) ; <nl> config - > load ( ) ; <nl> } <nl> + <nl> + void shutdownOsquery ( ) { <nl> + / / End any event type run loops . <nl> + osquery : : EventFactory : : end ( ) ; <nl> + <nl> + / / Hopefully release memory used by global string constructors in gflags . <nl> + __GFLAGS_NAMESPACE : : ShutDownCommandLineFlags ( ) ; <nl> + } <nl> } <nl> mmm a / osquery / core / sql . cpp <nl> ppp b / osquery / core / sql . cpp <nl> <nl> # include < osquery / logger . h > <nl> # include < osquery / sql . h > <nl> # include < osquery / tables . h > <nl> + # include < osquery / registry . h > <nl> <nl> # include " osquery / core / virtual_table . h " <nl> <nl> std : : string SQL : : getMessageString ( ) { return status_ . toString ( ) ; } <nl> <nl> std : : vector < std : : string > SQL : : getTableNames ( ) { <nl> std : : vector < std : : string > results ; <nl> - for ( const auto & it : REGISTERED_TABLES ) { <nl> - results . push_back ( it . first ) ; <nl> + / / for ( const auto & it : REGISTERED_TABLES ) { <nl> + / / results . push_back ( it . first ) ; <nl> + / / } <nl> + for ( const auto & name : Registry : : names ( " table " ) ) { <nl> + results . push_back ( name ) ; <nl> } <nl> return results ; <nl> } <nl> mmm a / osquery / core / tables . cpp <nl> ppp b / osquery / core / tables . cpp <nl> <nl> * <nl> * / <nl> <nl> + # include < boost / property_tree / json_parser . hpp > <nl> + <nl> # include < osquery / logger . h > <nl> # include < osquery / tables . h > <nl> <nl> namespace osquery { <nl> namespace tables { <nl> <nl> + <nl> bool ConstraintList : : matches ( const std : : string & expr ) { <nl> / / Support each SQL affinity type casting . <nl> if ( affinity = = " TEXT " ) { <nl> std : : vector < std : : string > ConstraintList : : getAll ( ConstraintOperator op ) { <nl> } <nl> return set ; <nl> } <nl> + <nl> + void ConstraintList : : serialize ( boost : : property_tree : : ptree & tree ) const { <nl> + boost : : property_tree : : ptree expressions ; <nl> + for ( const auto & constraint : constraints_ ) { <nl> + boost : : property_tree : : ptree child ; <nl> + child . put ( " op " , constraint . op ) ; <nl> + child . put ( " expr " , constraint . expr ) ; <nl> + expressions . push_back ( std : : make_pair ( " " , child ) ) ; <nl> + } <nl> + tree . add_child ( " list " , expressions ) ; <nl> + tree . put ( " affinity " , affinity ) ; <nl> + } <nl> + <nl> + void ConstraintList : : unserialize ( const boost : : property_tree : : ptree & tree ) { <nl> + / / Iterate through the list of operand / expressions , then set the constraint <nl> + / / type affinity . <nl> + for ( const auto & list : tree . get_child ( " list " ) ) { <nl> + Constraint constraint ( list . second . get < unsigned char > ( " op " ) ) ; <nl> + constraint . expr = list . second . get < std : : string > ( " expr " ) ; <nl> + constraints_ . push_back ( constraint ) ; <nl> + } <nl> + affinity = tree . get < std : : string > ( " affinity " ) ; <nl> + } <nl> + <nl> + void TablePlugin : : setRequestFromContext ( const QueryContext & context , <nl> + PluginRequest & request ) { <nl> + boost : : property_tree : : ptree tree ; <nl> + tree . put ( " limit " , context . limit ) ; <nl> + <nl> + / / The QueryContext contains a constraint map from column to type information <nl> + / / and the list of operand / expression constraints applied to that column from <nl> + / / the query given . <nl> + boost : : property_tree : : ptree constraints ; <nl> + for ( const auto & constraint : context . constraints ) { <nl> + boost : : property_tree : : ptree child ; <nl> + child . put ( " name " , constraint . first ) ; <nl> + constraint . second . serialize ( child ) ; <nl> + constraints . push_back ( std : : make_pair ( " " , child ) ) ; <nl> + } <nl> + tree . add_child ( " constraints " , constraints ) ; <nl> + <nl> + / / Write the property tree as a JSON string into the PluginRequest . <nl> + std : : ostringstream output ; <nl> + boost : : property_tree : : write_json ( output , tree , false ) ; <nl> + request [ " context " ] = output . str ( ) ; <nl> + } <nl> + <nl> + void TablePlugin : : setResponseFromQueryData ( const QueryData & data , <nl> + PluginResponse & response ) { <nl> + for ( const auto & row : data ) { <nl> + response . push_back ( row ) ; <nl> + } <nl> + } <nl> + <nl> + void TablePlugin : : setContextFromRequest ( const PluginRequest & request , <nl> + QueryContext & context ) { <nl> + if ( request . count ( " context " ) = = 0 ) { <nl> + return ; <nl> + } <nl> + <nl> + / / Read serialized context from PluginRequest . <nl> + std : : stringstream input ; <nl> + input < < request . at ( " context " ) ; <nl> + boost : : property_tree : : ptree tree ; <nl> + boost : : property_tree : : read_json ( input , tree ) ; <nl> + <nl> + / / Set the context limit and deserialize each column constraint list . <nl> + context . limit = tree . get < int > ( " limit " ) ; <nl> + for ( const auto & constraint : tree . get_child ( " constraints " ) ) { <nl> + auto column_name = constraint . second . get < std : : string > ( " name " ) ; <nl> + context . constraints [ column_name ] . unserialize ( constraint . second ) ; <nl> + } <nl> + } <nl> + <nl> + Status TablePlugin : : call ( const PluginRequest & request , <nl> + PluginResponse & response ) { <nl> + response . clear ( ) ; <nl> + / / TablePlugin API calling requires an action . <nl> + if ( request . count ( " action " ) = = 0 ) { <nl> + return Status ( 1 , " Table plugins must include a request action " ) ; <nl> + } <nl> + <nl> + if ( request . at ( " action " ) = = " statement " ) { <nl> + / / The " statement " action generates an SQL create table statement . <nl> + response . push_back ( { { " statement " , statement ( ) } } ) ; <nl> + } else if ( request . at ( " action " ) = = " generate " ) { <nl> + / / " generate " runs the table implementation using a PluginRequest with <nl> + / / optional serialized QueryContext and returns the QueryData results as <nl> + / / the PluginRequest data . <nl> + QueryContext context ; <nl> + if ( request . count ( " context " ) > 0 ) { <nl> + setContextFromRequest ( request , context ) ; <nl> + } <nl> + setResponseFromQueryData ( generate ( context ) , response ) ; <nl> + } else if ( request . at ( " action " ) = = " columns " ) { <nl> + / / " columns " returns a PluginRequest filled with column information <nl> + / / such as name and type . <nl> + auto column_list = columns ( ) ; <nl> + for ( const auto & column : column_list ) { <nl> + response . push_back ( { { " name " , column . first } , { " type " , column . second } } ) ; <nl> + } <nl> + } else if ( request . at ( " action " ) = = " columns_definition " ) { <nl> + response . push_back ( { { " definition " , columnDefinition ( ) } } ) ; <nl> + } else { <nl> + return Status ( 1 , " Unknown table plugin action : " + request . at ( " action " ) ) ; <nl> + } <nl> + <nl> + return Status ( 0 , " OK " ) ; <nl> + } <nl> + <nl> + std : : string TablePlugin : : columnDefinition ( ) { <nl> + const auto & column_list = columns ( ) ; <nl> + std : : string statement = " ( " ; <nl> + for ( size_t i = 0 ; i < column_list . size ( ) ; + + i ) { <nl> + statement + = column_list [ i ] . first + " " + column_list . at ( i ) . second ; <nl> + if ( i < column_list . size ( ) - 1 ) { <nl> + statement + = " , " ; <nl> + } <nl> + } <nl> + statement + = " ) " ; <nl> + return statement ; <nl> + } <nl> + <nl> + std : : string TablePlugin : : statement ( ) { <nl> + return " CREATE TABLE " + name_ + columnDefinition ( ) ; <nl> + } <nl> } <nl> } <nl> mmm a / osquery / core / virtual_table . cpp <nl> ppp b / osquery / core / virtual_table . cpp <nl> namespace tables { <nl> <nl> int xOpen ( sqlite3_vtab * pVTab , sqlite3_vtab_cursor * * ppCursor ) { <nl> int rc = SQLITE_NOMEM ; <nl> - base_cursor * pCur ; <nl> + BaseCursor * pCur ; <nl> <nl> - pCur = new base_cursor ; <nl> + pCur = new BaseCursor ; <nl> <nl> if ( pCur ) { <nl> - memset ( pCur , 0 , sizeof ( base_cursor ) ) ; <nl> + memset ( pCur , 0 , sizeof ( BaseCursor ) ) ; <nl> * ppCursor = ( sqlite3_vtab_cursor * ) pCur ; <nl> rc = SQLITE_OK ; <nl> } <nl> int xOpen ( sqlite3_vtab * pVTab , sqlite3_vtab_cursor * * ppCursor ) { <nl> } <nl> <nl> int xClose ( sqlite3_vtab_cursor * cur ) { <nl> - base_cursor * pCur = ( base_cursor * ) cur ; <nl> + BaseCursor * pCur = ( BaseCursor * ) cur ; <nl> <nl> delete pCur ; <nl> return SQLITE_OK ; <nl> } <nl> <nl> int xEof ( sqlite3_vtab_cursor * cur ) { <nl> - base_cursor * pCur = ( base_cursor * ) cur ; <nl> - auto * pVtab = ( x_vtab < TablePlugin > * ) cur - > pVtab ; <nl> - return pCur - > row > = pVtab - > pContent - > n ; <nl> + BaseCursor * pCur = ( BaseCursor * ) cur ; <nl> + auto * pVtab = ( VirtualTable * ) cur - > pVtab ; <nl> + return pCur - > row > = pVtab - > content - > n ; <nl> } <nl> <nl> int xDestroy ( sqlite3_vtab * p ) { <nl> - auto * pVtab = ( x_vtab < TablePlugin > * ) p ; <nl> - delete pVtab - > pContent ; <nl> + auto * pVtab = ( VirtualTable * ) p ; <nl> + delete pVtab - > content ; <nl> delete pVtab ; <nl> return SQLITE_OK ; <nl> } <nl> <nl> int xNext ( sqlite3_vtab_cursor * cur ) { <nl> - base_cursor * pCur = ( base_cursor * ) cur ; <nl> + BaseCursor * pCur = ( BaseCursor * ) cur ; <nl> pCur - > row + + ; <nl> return SQLITE_OK ; <nl> } <nl> <nl> int xRowid ( sqlite3_vtab_cursor * cur , sqlite_int64 * pRowid ) { <nl> - base_cursor * pCur = ( base_cursor * ) cur ; <nl> + BaseCursor * pCur = ( BaseCursor * ) cur ; <nl> * pRowid = pCur - > row ; <nl> return SQLITE_OK ; <nl> } <nl> <nl> - std : : string TablePlugin : : columnDefinition ( const TableColumns & columns ) { <nl> - std : : string statement = " ( " ; <nl> - for ( size_t i = 0 ; i < columns . size ( ) ; + + i ) { <nl> - statement + = columns [ i ] . first + " " + columns [ i ] . second ; <nl> - if ( i < columns . size ( ) - 1 ) { <nl> - statement + = " , " ; <nl> + int xCreate ( sqlite3 * db , <nl> + void * pAux , <nl> + int argc , <nl> + const char * const * argv , <nl> + sqlite3_vtab * * ppVtab , <nl> + char * * pzErr ) { <nl> + auto * pVtab = new VirtualTable ; <nl> + <nl> + if ( ! pVtab | | argc = = 0 | | argv [ 0 ] = = nullptr ) { <nl> + return SQLITE_NOMEM ; <nl> + } <nl> + <nl> + memset ( pVtab , 0 , sizeof ( VirtualTable ) ) ; <nl> + pVtab - > content = new VirtualTableContent ; <nl> + <nl> + PluginResponse response ; <nl> + pVtab - > content - > name = std : : string ( argv [ 0 ] ) ; <nl> + auto status = Registry : : call ( <nl> + " table " , pVtab - > content - > name , { { " action " , " statement " } } , response ) ; <nl> + if ( ! status . ok ( ) | | response . size ( ) = = 0 ) { <nl> + return SQLITE_ERROR ; <nl> + } <nl> + <nl> + int rc = sqlite3_declare_vtab ( db , response [ 0 ] . at ( " statement " ) . c_str ( ) ) ; <nl> + if ( rc ! = SQLITE_OK ) { <nl> + return rc ; <nl> + } <nl> + <nl> + / / Also set the table column information . <nl> + status = Registry : : call ( <nl> + " table " , pVtab - > content - > name , { { " action " , " columns " } } , response ) ; <nl> + if ( ! status . ok ( ) | | response . size ( ) = = 0 ) { <nl> + return SQLITE_ERROR ; <nl> + } <nl> + <nl> + for ( const auto & column : response ) { <nl> + pVtab - > content - > columns . push_back ( <nl> + std : : make_pair ( column . at ( " name " ) , column . at ( " type " ) ) ) ; <nl> + } <nl> + <nl> + * ppVtab = ( sqlite3_vtab * ) pVtab ; <nl> + return rc ; <nl> + } <nl> + <nl> + int xColumn ( sqlite3_vtab_cursor * cur , sqlite3_context * ctx , int col ) { <nl> + BaseCursor * pCur = ( BaseCursor * ) cur ; <nl> + auto * pVtab = ( VirtualTable * ) cur - > pVtab ; <nl> + <nl> + if ( col > = pVtab - > content - > columns . size ( ) ) { <nl> + return SQLITE_ERROR ; <nl> + } <nl> + <nl> + const auto & column_name = pVtab - > content - > columns [ col ] . first ; <nl> + const auto & type = pVtab - > content - > columns [ col ] . second ; <nl> + if ( pCur - > row > = pVtab - > content - > data [ column_name ] . size ( ) ) { <nl> + return SQLITE_ERROR ; <nl> + } <nl> + <nl> + const auto & value = pVtab - > content - > data [ column_name ] [ pCur - > row ] ; <nl> + if ( type = = " TEXT " ) { <nl> + sqlite3_result_text ( ctx , value . c_str ( ) , - 1 , nullptr ) ; <nl> + } else if ( type = = " INTEGER " ) { <nl> + int afinite ; <nl> + try { <nl> + afinite = boost : : lexical_cast < int > ( value ) ; <nl> + } catch ( const boost : : bad_lexical_cast & e ) { <nl> + afinite = - 1 ; <nl> + LOG ( WARNING ) < < " Error casting " < < column_name < < " ( " < < value <nl> + < < " ) to INTEGER " ; <nl> + } <nl> + sqlite3_result_int ( ctx , afinite ) ; <nl> + } else if ( type = = " BIGINT " ) { <nl> + long long int afinite ; <nl> + try { <nl> + afinite = boost : : lexical_cast < long long int > ( value ) ; <nl> + } catch ( const boost : : bad_lexical_cast & e ) { <nl> + afinite = - 1 ; <nl> + LOG ( WARNING ) < < " Error casting " < < column_name < < " ( " < < value <nl> + < < " ) to BIGINT " ; <nl> + } <nl> + sqlite3_result_int64 ( ctx , afinite ) ; <nl> + } <nl> + <nl> + return SQLITE_OK ; <nl> + } <nl> + <nl> + static int xBestIndex ( sqlite3_vtab * tab , sqlite3_index_info * pIdxInfo ) { <nl> + auto * pVtab = ( VirtualTable * ) tab ; <nl> + pVtab - > content - > constraints . clear ( ) ; <nl> + <nl> + int expr_index = 0 ; <nl> + int cost = 0 ; <nl> + for ( size_t i = 0 ; i < pIdxInfo - > nConstraint ; + + i ) { <nl> + if ( ! pIdxInfo - > aConstraint [ i ] . usable ) { <nl> + / / A higher cost less priority , prefer more usable query constraints . <nl> + cost + = 10 ; <nl> + / / TODO : OR is not usable . <nl> + continue ; <nl> } <nl> + <nl> + const auto & name = <nl> + pVtab - > content - > columns [ pIdxInfo - > aConstraint [ i ] . iColumn ] . first ; <nl> + pVtab - > content - > constraints . push_back ( <nl> + std : : make_pair ( name , Constraint ( pIdxInfo - > aConstraint [ i ] . op ) ) ) ; <nl> + pIdxInfo - > aConstraintUsage [ i ] . argvIndex = + + expr_index ; <nl> } <nl> - statement + = " ) " ; <nl> - return statement ; <nl> + <nl> + pIdxInfo - > estimatedCost = cost ; <nl> + return SQLITE_OK ; <nl> } <nl> <nl> - std : : string TablePlugin : : statement ( TableName name , TableColumns columns ) { <nl> - return " CREATE TABLE " + name + columnDefinition ( columns ) ; <nl> + static int xFilter ( sqlite3_vtab_cursor * pVtabCursor , <nl> + int idxNum , <nl> + const char * idxStr , <nl> + int argc , <nl> + sqlite3_value * * argv ) { <nl> + BaseCursor * pCur = ( BaseCursor * ) pVtabCursor ; <nl> + auto * pVtab = ( VirtualTable * ) pVtabCursor - > pVtab ; <nl> + <nl> + pCur - > row = 0 ; <nl> + pVtab - > content - > n = 0 ; <nl> + QueryContext context ; <nl> + <nl> + for ( size_t i = 0 ; i < pVtab - > content - > columns . size ( ) ; + + i ) { <nl> + pVtab - > content - > data [ pVtab - > content - > columns [ i ] . first ] . clear ( ) ; <nl> + context . constraints [ pVtab - > content - > columns [ i ] . first ] . affinity = <nl> + pVtab - > content - > columns [ i ] . second ; <nl> + } <nl> + <nl> + for ( size_t i = 0 ; i < argc ; + + i ) { <nl> + auto expr = ( const char * ) sqlite3_value_text ( argv [ i ] ) ; <nl> + / / Set the expression from SQLite ' s now - populated argv . <nl> + pVtab - > content - > constraints [ i ] . second . expr = std : : string ( expr ) ; <nl> + / / Add the constraint to the column - sorted query request map . <nl> + context . constraints [ pVtab - > content - > constraints [ i ] . first ] . add ( <nl> + pVtab - > content - > constraints [ i ] . second ) ; <nl> + } <nl> + <nl> + PluginRequest request ; <nl> + PluginResponse response ; <nl> + request [ " action " ] = " generate " ; <nl> + TablePlugin : : setRequestFromContext ( context , request ) ; <nl> + Registry : : call ( " table " , pVtab - > content - > name , request , response ) ; <nl> + <nl> + / / Now organize the response rows by column instead of row . <nl> + for ( const auto & row : response ) { <nl> + for ( const auto & column : pVtab - > content - > columns ) { <nl> + try { <nl> + pVtab - > content - > data [ column . first ] . push_back ( row . at ( column . first ) ) ; <nl> + } <nl> + catch ( const std : : out_of_range & e ) { <nl> + VLOG ( 1 ) < < " Table " < < pVtab - > content - > name < < " row " <nl> + < < pVtab - > content - > n < < " did not include column " <nl> + < < column . first ; <nl> + pVtab - > content - > data [ column . first ] . push_back ( " " ) ; <nl> + } <nl> + } <nl> + pVtab - > content - > n + + ; <nl> + } <nl> + <nl> + return SQLITE_OK ; <nl> + } <nl> + <nl> + int attachTable ( sqlite3 * db , const std : : string & name ) { <nl> + int rc = SQLITE_OK ; <nl> + <nl> + static sqlite3_module module = { <nl> + 0 , <nl> + xCreate , <nl> + xCreate , <nl> + xBestIndex , <nl> + xDestroy , <nl> + xDestroy , <nl> + xOpen , <nl> + xClose , <nl> + xFilter , <nl> + xNext , <nl> + xEof , <nl> + xColumn , <nl> + xRowid , <nl> + 0 , <nl> + 0 , <nl> + 0 , <nl> + 0 , <nl> + 0 , <nl> + 0 , <nl> + 0 , <nl> + } ; <nl> + <nl> + / / Column information is nice for virtual table create call . <nl> + PluginResponse response ; <nl> + auto status = Registry : : call ( <nl> + " table " , name , { { " action " , " columns_definition " } } , response ) ; <nl> + if ( ! status . ok ( ) | | response . size ( ) = = 0 ) { <nl> + return SQLITE_ERROR ; <nl> + } <nl> + <nl> + rc = sqlite3_create_module ( db , name . c_str ( ) , & module , 0 ) ; <nl> + if ( rc = = SQLITE_OK ) { <nl> + auto format = " CREATE VIRTUAL TABLE temp . " + name + " USING " + name + <nl> + response [ 0 ] . at ( " definition " ) ; <nl> + rc = sqlite3_exec ( db , format . c_str ( ) , 0 , 0 , 0 ) ; <nl> + } <nl> + return rc ; <nl> } <nl> <nl> void attachVirtualTables ( sqlite3 * db ) { <nl> - for ( const auto & table : REGISTERED_TABLES ) { <nl> - int s = table . second - > attachVtable ( db ) ; <nl> - if ( s ! = SQLITE_OK ) { <nl> - LOG ( ERROR ) < < " Error attaching virtual table : " < < table . first < < " ( " <nl> - < < s < < " ) " ; <nl> + for ( const auto & name : Registry : : names ( " table " ) ) { <nl> + int status = attachTable ( db , name ) ; <nl> + if ( status ! = SQLITE_OK ) { <nl> + LOG ( ERROR ) < < " Error attaching virtual table : " < < name < < " ( " < < status <nl> + < < " ) " ; <nl> } <nl> } <nl> } <nl> mmm a / osquery / core / virtual_table . h <nl> ppp b / osquery / core / virtual_table . h <nl> <nl> <nl> # pragma once <nl> <nl> - # include < map > <nl> - <nl> - # include < stdio . h > <nl> - <nl> # include < sqlite3 . h > <nl> <nl> - # include < osquery / registry . h > <nl> # include < osquery / tables . h > <nl> <nl> namespace osquery { <nl> namespace tables { <nl> * <nl> * Only used in the SQLite virtual table module methods . <nl> * / <nl> - struct base_cursor { <nl> + struct BaseCursor { <nl> / / / SQLite virtual table cursor . <nl> sqlite3_vtab_cursor base ; <nl> / / / Current cursor position . <nl> int row ; <nl> } ; <nl> <nl> + struct VirtualTableContent { <nl> + TableName name ; <nl> + TableColumns columns ; <nl> + TableData data ; <nl> + ConstraintSet constraints ; <nl> + size_t n ; <nl> + } ; <nl> + <nl> / * * <nl> * @ brief osquery virtual table object <nl> * <nl> * Only used in the SQLite virtual table module methods . <nl> * This adds each table plugin class to the state tracking in SQLite . <nl> * / <nl> - template < class TABLE_PLUGIN > <nl> - struct x_vtab { <nl> + struct VirtualTable { <nl> sqlite3_vtab base ; <nl> - / / / To get custom functionality from SQLite virtual tables , add a struct . <nl> - TABLE_PLUGIN * pContent ; <nl> + VirtualTableContent * content ; <nl> } ; <nl> <nl> - int xOpen ( sqlite3_vtab * pVTab , sqlite3_vtab_cursor * * ppCursor ) ; <nl> - <nl> - int xClose ( sqlite3_vtab_cursor * cur ) ; <nl> - <nl> - int xNext ( sqlite3_vtab_cursor * cur ) ; <nl> - <nl> - int xRowid ( sqlite3_vtab_cursor * cur , sqlite_int64 * pRowid ) ; <nl> - <nl> - int xEof ( sqlite3_vtab_cursor * cur ) ; <nl> - <nl> - template < typename T > <nl> - int xCreate ( sqlite3 * db , <nl> - void * pAux , <nl> - int argc , <nl> - const char * const * argv , <nl> - sqlite3_vtab * * ppVtab , <nl> - char * * pzErr ) { <nl> - auto * pVtab = new x_vtab < T > ; <nl> - <nl> - if ( ! pVtab ) { <nl> - return SQLITE_NOMEM ; <nl> - } <nl> - <nl> - memset ( pVtab , 0 , sizeof ( x_vtab < T > ) ) ; <nl> - auto * pContent = pVtab - > pContent = new T ; <nl> - auto create = pContent - > statement ( pContent - > name , pContent - > columns ) ; <nl> - int rc = sqlite3_declare_vtab ( db , create . c_str ( ) ) ; <nl> - <nl> - * ppVtab = ( sqlite3_vtab * ) pVtab ; <nl> - return rc ; <nl> - } <nl> - <nl> - int xDestroy ( sqlite3_vtab * p ) ; <nl> - <nl> - template < typename T > <nl> - int xColumn ( sqlite3_vtab_cursor * cur , sqlite3_context * ctx , int col ) { <nl> - base_cursor * pCur = ( base_cursor * ) cur ; <nl> - auto * pContent = ( ( x_vtab < T > * ) cur - > pVtab ) - > pContent ; <nl> - <nl> - if ( col > = pContent - > columns . size ( ) ) { <nl> - return SQLITE_ERROR ; <nl> - } <nl> - <nl> - const auto & column_name = pContent - > columns [ col ] . first ; <nl> - const auto & type = pContent - > columns [ col ] . second ; <nl> - if ( pCur - > row > = pContent - > data [ column_name ] . size ( ) ) { <nl> - return SQLITE_ERROR ; <nl> - } <nl> - <nl> - const auto & value = pContent - > data [ column_name ] [ pCur - > row ] ; <nl> - if ( type = = " TEXT " ) { <nl> - sqlite3_result_text ( ctx , value . c_str ( ) , - 1 , nullptr ) ; <nl> - } else if ( type = = " INTEGER " ) { <nl> - int afinite ; <nl> - try { <nl> - afinite = boost : : lexical_cast < int > ( value ) ; <nl> - } catch ( const boost : : bad_lexical_cast & e ) { <nl> - afinite = - 1 ; <nl> - LOG ( WARNING ) < < " Error casting " < < column_name < < " ( " < < value <nl> - < < " ) to INTEGER " ; <nl> - } <nl> - sqlite3_result_int ( ctx , afinite ) ; <nl> - } else if ( type = = " BIGINT " ) { <nl> - long long int afinite ; <nl> - try { <nl> - afinite = boost : : lexical_cast < long long int > ( value ) ; <nl> - } catch ( const boost : : bad_lexical_cast & e ) { <nl> - afinite = - 1 ; <nl> - LOG ( WARNING ) < < " Error casting " < < column_name < < " ( " < < value <nl> - < < " ) to BIGINT " ; <nl> - } <nl> - sqlite3_result_int64 ( ctx , afinite ) ; <nl> - } <nl> - <nl> - return SQLITE_OK ; <nl> - } <nl> - <nl> - template < typename T > <nl> - static int xBestIndex ( sqlite3_vtab * tab , sqlite3_index_info * pIdxInfo ) { <nl> - auto * pContent = ( ( x_vtab < T > * ) tab ) - > pContent ; <nl> - pContent - > constraints . clear ( ) ; <nl> - <nl> - int expr_index = 0 ; <nl> - int cost = 0 ; <nl> - for ( size_t i = 0 ; i < pIdxInfo - > nConstraint ; + + i ) { <nl> - if ( ! pIdxInfo - > aConstraint [ i ] . usable ) { <nl> - / / A higher cost less priority , prefer more usable query constraints . <nl> - cost + = 10 ; <nl> - / / TODO : OR is not usable . <nl> - continue ; <nl> - } <nl> - <nl> - const auto & name = <nl> - pContent - > columns [ pIdxInfo - > aConstraint [ i ] . iColumn ] . first ; <nl> - pContent - > constraints . push_back ( <nl> - std : : make_pair ( name , Constraint ( pIdxInfo - > aConstraint [ i ] . op ) ) ) ; <nl> - pIdxInfo - > aConstraintUsage [ i ] . argvIndex = + + expr_index ; <nl> - } <nl> - <nl> - pIdxInfo - > estimatedCost = cost ; <nl> - return SQLITE_OK ; <nl> - } <nl> - <nl> - template < typename T > <nl> - static int xFilter ( sqlite3_vtab_cursor * pVtabCursor , <nl> - int idxNum , <nl> - const char * idxStr , <nl> - int argc , <nl> - sqlite3_value * * argv ) { <nl> - base_cursor * pCur = ( base_cursor * ) pVtabCursor ; <nl> - auto * pContent = ( ( x_vtab < T > * ) pVtabCursor - > pVtab ) - > pContent ; <nl> - <nl> - pCur - > row = 0 ; <nl> - pContent - > n = 0 ; <nl> - QueryContext request ; <nl> - <nl> - for ( size_t i = 0 ; i < pContent - > columns . size ( ) ; + + i ) { <nl> - pContent - > data [ pContent - > columns [ i ] . first ] . clear ( ) ; <nl> - request . constraints [ pContent - > columns [ i ] . first ] . affinity = <nl> - pContent - > columns [ i ] . second ; <nl> - } <nl> - <nl> - for ( size_t i = 0 ; i < argc ; + + i ) { <nl> - auto expr = ( const char * ) sqlite3_value_text ( argv [ i ] ) ; <nl> - / / Set the expression from SQLite ' s now - populated argv . <nl> - pContent - > constraints [ i ] . second . expr = std : : string ( expr ) ; <nl> - / / Add the constraint to the column - sorted query request map . <nl> - request . constraints [ pContent - > constraints [ i ] . first ] . add ( <nl> - pContent - > constraints [ i ] . second ) ; <nl> - } <nl> - <nl> - for ( auto & row : pContent - > generate ( request ) ) { <nl> - for ( const auto & column : pContent - > columns ) { <nl> - pContent - > data [ column . first ] . push_back ( row [ column . first ] ) ; <nl> - } <nl> - pContent - > n + + ; <nl> - } <nl> - <nl> - return SQLITE_OK ; <nl> - } <nl> - <nl> - template < typename T > <nl> - int sqlite3_attach_vtable ( sqlite3 * db , <nl> - const std : : string & name , <nl> - const TableColumns & columns ) { <nl> - int rc = SQLITE_OK ; <nl> - <nl> - static sqlite3_module module = { <nl> - 0 , <nl> - xCreate < T > , <nl> - xCreate < T > , <nl> - xBestIndex < T > , <nl> - xDestroy , <nl> - xDestroy , <nl> - xOpen , <nl> - xClose , <nl> - xFilter < T > , <nl> - xNext , <nl> - xEof , <nl> - xColumn < T > , <nl> - xRowid , <nl> - 0 , <nl> - 0 , <nl> - 0 , <nl> - 0 , <nl> - 0 , <nl> - 0 , <nl> - 0 , <nl> - } ; <nl> - <nl> - rc = sqlite3_create_module ( db , name . c_str ( ) , & module , 0 ) ; <nl> - if ( rc = = SQLITE_OK ) { <nl> - auto format = " CREATE VIRTUAL TABLE temp . " + name + " USING " + name + <nl> - TablePlugin : : columnDefinition ( columns ) ; <nl> - rc = sqlite3_exec ( db , format . c_str ( ) , 0 , 0 , 0 ) ; <nl> - } <nl> - return rc ; <nl> - } <nl> - <nl> + int attachTable ( sqlite3 * db , const std : : string & name ) ; <nl> void attachVirtualTables ( sqlite3 * db ) ; <nl> } <nl> } <nl> - <nl> - DECLARE_REGISTRY ( TablePlugins , std : : string , osquery : : tables : : TablePluginRef ) ; <nl> - # define REGISTERED_TABLES REGISTRY ( TablePlugins ) <nl> - # define REGISTER_TABLE ( name , decorator ) REGISTER ( TablePlugins , name , decorator ) ; <nl> mmm a / osquery / core / virtual_table_tests . cpp <nl> ppp b / osquery / core / virtual_table_tests . cpp <nl> <nl> # include < gtest / gtest . h > <nl> <nl> # include < osquery / core . h > <nl> + # include < osquery / registry . h > <nl> + <nl> # include " osquery / core / virtual_table . h " <nl> <nl> namespace osquery { <nl> class VirtualTableTests : public testing : : Test { } ; <nl> <nl> / / sample plugin used on tests <nl> class sampleTablePlugin : public TablePlugin { <nl> - public : <nl> - TableName name = " sample " ; <nl> - TableColumns columns = { std : : make_pair ( " foo " , " INTEGER " ) , <nl> - std : : make_pair ( " bar " , " TEXT " ) } ; <nl> - <nl> - QueryData generate ( QueryContext & request ) { <nl> - / / do nothing ( not used ) , just to fullfil interface <nl> - QueryData results ; <nl> - return results ; <nl> - } <nl> - <nl> - public : <nl> - sampleTablePlugin ( ) { } <nl> - int attachVtable ( sqlite3 * db ) { <nl> - return sqlite3_attach_vtable < sampleTablePlugin > ( db , name , columns ) ; <nl> + private : <nl> + TableColumns columns ( ) { <nl> + return { <nl> + { " foo " , " INTEGER " } , { " bar " , " TEXT " } , <nl> + } ; <nl> } <nl> - virtual ~ sampleTablePlugin ( ) { } <nl> } ; <nl> <nl> TEST_F ( VirtualTableTests , test_tableplugin_columndefinition ) { <nl> - auto table = sampleTablePlugin ( ) ; <nl> - EXPECT_EQ ( " ( foo INTEGER , bar TEXT ) " , <nl> - TablePlugin : : columnDefinition ( table . columns ) ) ; <nl> + auto table = std : : make_shared < sampleTablePlugin > ( ) ; <nl> + EXPECT_EQ ( " ( foo INTEGER , bar TEXT ) " , table - > columnDefinition ( ) ) ; <nl> } <nl> <nl> TEST_F ( VirtualTableTests , test_tableplugin_statement ) { <nl> - auto table = sampleTablePlugin ( ) ; <nl> - EXPECT_EQ ( " CREATE TABLE sample ( foo INTEGER , bar TEXT ) " , <nl> - table . statement ( table . name , table . columns ) ) ; <nl> + auto table = std : : make_shared < sampleTablePlugin > ( ) ; <nl> + table - > setName ( " sample " ) ; <nl> + EXPECT_EQ ( " CREATE TABLE sample ( foo INTEGER , bar TEXT ) " , table - > statement ( ) ) ; <nl> } <nl> <nl> TEST_F ( VirtualTableTests , test_sqlite3_attach_vtable ) { <nl> - auto table = sampleTablePlugin ( ) ; <nl> + auto table = std : : make_shared < sampleTablePlugin > ( ) ; <nl> + table - > setName ( " sample " ) ; <nl> sqlite3 * db = nullptr ; <nl> sqlite3_open ( " : memory : " , & db ) ; <nl> - table . attachVtable ( db ) ; <nl> + <nl> + / / Virtual tables require the registry / plugin API to query tables . <nl> + int rc = osquery : : tables : : attachTable ( db , " failed_sample " ) ; <nl> + EXPECT_EQ ( rc , SQLITE_ERROR ) ; <nl> + <nl> + / / The table attach will complete only when the table name is registered . <nl> + Registry : : add < sampleTablePlugin > ( " table " , " sample " ) ; <nl> + rc = osquery : : tables : : attachTable ( db , " sample " ) ; <nl> + EXPECT_EQ ( rc , SQLITE_OK ) ; <nl> + <nl> std : : string q = " SELECT sql FROM sqlite_temp_master WHERE tbl_name = ' sample ' ; " ; <nl> int error_return ; <nl> QueryData results = query ( q , error_return , db ) ; <nl> mmm a / osquery / database / db_handle_tests . cpp <nl> ppp b / osquery / database / db_handle_tests . cpp <nl> <nl> # include < gtest / gtest . h > <nl> <nl> # include < osquery / database / db_handle . h > <nl> + # include < osquery / logger . h > <nl> # include < osquery / tables . h > <nl> <nl> const std : : string kTestingDBHandlePath = " / tmp / rocksdb - osquery - dbhandletests " ; <nl> mmm a / osquery / events / darwin / fsevents . cpp <nl> ppp b / osquery / events / darwin / fsevents . cpp <nl> <nl> <nl> namespace osquery { <nl> <nl> - REGISTER_EVENTPUBLISHER ( FSEventsEventPublisher ) ; <nl> - <nl> std : : map < FSEventStreamEventFlags , std : : string > kMaskActions = { <nl> { kFSEventStreamEventFlagItemChangeOwner , " ATTRIBUTES_MODIFIED " } , <nl> { kFSEventStreamEventFlagItemXattrMod , " ATTRIBUTES_MODIFIED " } , <nl> std : : map < FSEventStreamEventFlags , std : : string > kMaskActions = { <nl> { kFSEventStreamEventFlagItemRenamed , " MOVED_TO " } , <nl> } ; <nl> <nl> + REGISTER ( FSEventsEventPublisher , " event_publisher " , " fsevents " ) ; <nl> + <nl> void FSEventsEventPublisher : : restart ( ) { <nl> if ( paths_ . empty ( ) ) { <nl> / / There are no paths to watch . <nl> mmm a / osquery / events / darwin / fsevents . h <nl> ppp b / osquery / events / darwin / fsevents . h <nl> typedef std : : shared_ptr < FSEventsSubscriptionContext > <nl> * / <nl> class FSEventsEventPublisher <nl> : public EventPublisher < FSEventsSubscriptionContext , FSEventsEventContext > { <nl> - DECLARE_PUBLISHER ( " FSEventsEventPublisher " ) ; <nl> + DECLARE_PUBLISHER ( " fsevents " ) ; <nl> <nl> public : <nl> void configure ( ) ; <nl> mmm a / osquery / events / darwin / fsevents_tests . cpp <nl> ppp b / osquery / events / darwin / fsevents_tests . cpp <nl> int kMaxEventLatency = 3000 ; <nl> class FSEventsTests : public testing : : Test { <nl> protected : <nl> void TearDown ( ) { <nl> - EventFactory : : deregisterEventPublishers ( ) ; <nl> boost : : filesystem : : remove_all ( kRealTestPath ) ; <nl> } <nl> <nl> class FSEventsTests : public testing : : Test { <nl> FILE * fd = fopen ( kRealTestPath . c_str ( ) , " w " ) ; <nl> fclose ( fd ) ; <nl> <nl> - temp_thread_ = boost : : thread ( EventFactory : : run , " FSEventsEventPublisher " ) ; <nl> + temp_thread_ = boost : : thread ( EventFactory : : run , " fsevents " ) ; <nl> + } <nl> + <nl> + void EndEventLoop ( ) { <nl> + while ( ! event_pub_ - > hasStarted ( ) ) { <nl> + : : usleep ( 20 ) ; <nl> + } <nl> + EventFactory : : end ( ) ; <nl> } <nl> <nl> void WaitForStream ( int max ) { <nl> class FSEventsTests : public testing : : Test { <nl> } <nl> } <nl> <nl> - void EndEventLoop ( ) { <nl> - EventFactory : : end ( ) ; <nl> - event_pub_ - > tearDown ( ) ; <nl> - temp_thread_ . join ( ) ; <nl> - EventFactory : : end ( false ) ; <nl> - } <nl> - <nl> std : : shared_ptr < FSEventsEventPublisher > event_pub_ ; <nl> boost : : thread temp_thread_ ; <nl> } ; <nl> <nl> TEST_F ( FSEventsTests , test_register_event_pub ) { <nl> - auto status = EventFactory : : registerEventPublisher < FSEventsEventPublisher > ( ) ; <nl> + auto pub = std : : make_shared < FSEventsEventPublisher > ( ) ; <nl> + auto status = EventFactory : : registerEventPublisher ( pub ) ; <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> <nl> / / Make sure only one event type exists <nl> EXPECT_EQ ( EventFactory : : numEventPublishers ( ) , 1 ) ; <nl> + status = EventFactory : : deregisterEventPublisher ( " fsevents " ) ; <nl> + EXPECT_TRUE ( status . ok ( ) ) ; <nl> } <nl> <nl> TEST_F ( FSEventsTests , test_fsevents_add_subscription_missing_path ) { <nl> - EventFactory : : registerEventPublisher < FSEventsEventPublisher > ( ) ; <nl> + auto pub = std : : make_shared < FSEventsEventPublisher > ( ) ; <nl> + EventFactory : : registerEventPublisher ( pub ) ; <nl> <nl> / / This subscription path is fake , and will succeed ! <nl> auto mc = std : : make_shared < FSEventsSubscriptionContext > ( ) ; <nl> mc - > path = " / this / path / is / fake " ; <nl> <nl> auto subscription = Subscription : : create ( mc ) ; <nl> - auto status = <nl> - EventFactory : : addSubscription ( " FSEventsEventPublisher " , subscription ) ; <nl> + auto status = EventFactory : : addSubscription ( " fsevents " , subscription ) ; <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> + EventFactory : : deregisterEventPublisher ( " fsevents " ) ; <nl> } <nl> <nl> TEST_F ( FSEventsTests , test_fsevents_add_subscription_success ) { <nl> TEST_F ( FSEventsTests , test_fsevents_add_subscription_success ) { <nl> mc - > path = " / " ; <nl> <nl> auto subscription = Subscription : : create ( mc ) ; <nl> - auto status = <nl> - EventFactory : : addSubscription ( " FSEventsEventPublisher " , subscription ) ; <nl> + auto status = EventFactory : : addSubscription ( " fsevents " , subscription ) ; <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> <nl> / / Make sure configure was called . <nl> TEST_F ( FSEventsTests , test_fsevents_add_subscription_success ) { <nl> auto mc_dup = std : : make_shared < FSEventsSubscriptionContext > ( ) ; <nl> mc_dup - > path = " / " ; <nl> auto subscription_dup = Subscription : : create ( mc_dup ) ; <nl> - status = <nl> - EventFactory : : addSubscription ( " FSEventsEventPublisher " , subscription_dup ) ; <nl> + status = EventFactory : : addSubscription ( " fsevents " , subscription_dup ) ; <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> <nl> / / But the paths with be deduped when the event type reconfigures . <nl> num_paths = event_pub - > numSubscriptionedPaths ( ) ; <nl> EXPECT_EQ ( num_paths , 1 ) ; <nl> + EventFactory : : deregisterEventPublisher ( " fsevents " ) ; <nl> } <nl> <nl> TEST_F ( FSEventsTests , test_fsevents_run ) { <nl> TEST_F ( FSEventsTests , test_fsevents_run ) { <nl> / / Create a subscriptioning context <nl> auto mc = std : : make_shared < FSEventsSubscriptionContext > ( ) ; <nl> mc - > path = kRealTestPath ; <nl> - EventFactory : : addSubscription ( " FSEventsEventPublisher " , <nl> - Subscription : : create ( mc ) ) ; <nl> + EventFactory : : addSubscription ( " fsevents " , Subscription : : create ( mc ) ) ; <nl> <nl> / / Create an event loop thread ( similar to main ) <nl> - boost : : thread temp_thread ( EventFactory : : run , " FSEventsEventPublisher " ) ; <nl> + boost : : thread temp_thread ( EventFactory : : run , " fsevents " ) ; <nl> EXPECT_TRUE ( event_pub_ - > numEvents ( ) = = 0 ) ; <nl> <nl> / / Cause an fsevents event ( s ) by writing to the watched path . <nl> TEST_F ( FSEventsTests , test_fsevents_run ) { <nl> WaitForEvents ( kMaxEventLatency ) ; <nl> <nl> EXPECT_TRUE ( event_pub_ - > numEvents ( ) > 0 ) ; <nl> - <nl> - / / Cause the thread to tear down . <nl> EventFactory : : end ( ) ; <nl> - / / Call tearDown ourselves before joining . <nl> - event_pub_ - > tearDown ( ) ; <nl> - temp_thread . join ( ) ; <nl> - / / Reset the event factory state . <nl> - EventFactory : : end ( false ) ; <nl> } <nl> <nl> class TestFSEventsEventSubscriber <nl> TEST_F ( FSEventsTests , test_fsevents_fire_event ) { <nl> / / Create a subscriptioning context , note the added Event to the symbol <nl> auto sc = sub - > GetSubscription ( 0 ) ; <nl> sub - > subscribe ( & TestFSEventsEventSubscriber : : SimpleCallback , sc ) ; <nl> - / / SubscriptionAction ( 0 , TestFSEventsEventSubscriber : : EventSimpleCallback ) ; <nl> - <nl> CreateEvents ( ) ; <nl> <nl> / / This time wait for the callback . <nl> TEST_F ( FSEventsTests , test_fsevents_fire_event ) { <nl> <nl> / / Make sure our expected event fired ( aka subscription callback was called ) . <nl> EXPECT_TRUE ( sub - > callback_count_ > 0 ) ; <nl> - <nl> - / / Cause the thread to tear down . <nl> EndEventLoop ( ) ; <nl> } <nl> <nl> TEST_F ( FSEventsTests , test_fsevents_event_action ) { <nl> <nl> auto sc = sub - > GetSubscription ( 0 ) ; <nl> sub - > subscribe ( & TestFSEventsEventSubscriber : : Callback , sc ) ; <nl> - / / SubscriptionAction ( 0 , TestFSEventsEventSubscriber : : EventCallback ) ; <nl> - <nl> CreateEvents ( ) ; <nl> sub - > WaitForEvents ( kMaxEventLatency ) ; <nl> <nl> TEST_F ( FSEventsTests , test_fsevents_event_action ) { <nl> if ( sub - > actions_ . size ( ) > 1 ) { <nl> EXPECT_EQ ( sub - > actions_ [ 0 ] , " UPDATED " ) ; <nl> } <nl> - <nl> - / / Cause the thread to tear down . <nl> EndEventLoop ( ) ; <nl> } <nl> } <nl> mmm a / osquery / events / darwin / iokit_hid . cpp <nl> ppp b / osquery / events / darwin / iokit_hid . cpp <nl> <nl> <nl> namespace osquery { <nl> <nl> - REGISTER_EVENTPUBLISHER ( IOKitHIDEventPublisher ) ; <nl> - <nl> size_t IOKitHIDEventPublisher : : initial_device_count_ = 0 ; <nl> size_t IOKitHIDEventPublisher : : initial_device_evented_count_ = 0 ; <nl> boost : : mutex IOKitHIDEventPublisher : : iokit_match_lock_ ; <nl> <nl> + REGISTER ( IOKitHIDEventPublisher , " event_publisher " , " iokit " ) ; <nl> + <nl> std : : string IOKitHIDEventPublisher : : getProperty ( const IOHIDDeviceRef & device , <nl> const CFStringRef & property ) { <nl> CFTypeRef value = IOHIDDeviceGetProperty ( device , property ) ; <nl> mmm a / osquery / events / darwin / iokit_hid . h <nl> ppp b / osquery / events / darwin / iokit_hid . h <nl> typedef std : : shared_ptr < IOKitHIDSubscriptionContext > <nl> * / <nl> class IOKitHIDEventPublisher <nl> : public EventPublisher < IOKitHIDSubscriptionContext , IOKitHIDEventContext > { <nl> - DECLARE_PUBLISHER ( " IOKitHIDEventPublisher " ) ; <nl> + DECLARE_PUBLISHER ( " iokit_hid " ) ; <nl> <nl> public : <nl> void configure ( ) { } <nl> mmm a / osquery / events / darwin / scnetwork . cpp <nl> ppp b / osquery / events / darwin / scnetwork . cpp <nl> <nl> <nl> namespace osquery { <nl> <nl> - REGISTER_EVENTPUBLISHER ( SCNetworkEventPublisher ) ; <nl> + REGISTER ( SCNetworkEventPublisher , " event_publisher " , " scnetwork " ) ; <nl> <nl> void SCNetworkEventPublisher : : tearDown ( ) { <nl> for ( auto target : targets_ ) { <nl> mmm a / osquery / events / darwin / scnetwork . h <nl> ppp b / osquery / events / darwin / scnetwork . h <nl> typedef std : : shared_ptr < SCNetworkEventContext > SCNetworkEventContextRef ; <nl> class SCNetworkEventPublisher <nl> : public EventPublisher < SCNetworkSubscriptionContext , <nl> SCNetworkEventContext > { <nl> - DECLARE_PUBLISHER ( " SCNetworkEventPublisher " ) ; <nl> + DECLARE_PUBLISHER ( " scnetwork " ) ; <nl> <nl> public : <nl> void configure ( ) ; <nl> mmm a / osquery / events / events . cpp <nl> ppp b / osquery / events / events . cpp <nl> const std : : vector < size_t > kEventTimeLists = { <nl> 10 , / / 10 seconds <nl> } ; <nl> <nl> - void EventPublisherCore : : fire ( const EventContextRef & ec , EventTime time ) { <nl> + void EventPublisherPlugin : : fire ( const EventContextRef & ec , EventTime time ) { <nl> EventContextID ec_id ; <nl> <nl> if ( isEnding ( ) ) { <nl> void EventPublisherCore : : fire ( const EventContextRef & ec , EventTime time ) { <nl> } <nl> } <nl> <nl> - std : : vector < std : : string > EventSubscriberCore : : getIndexes ( EventTime start , <nl> - EventTime stop , <nl> - int list_key ) { <nl> + std : : vector < std : : string > EventSubscriberPlugin : : getIndexes ( EventTime start , <nl> + EventTime stop , <nl> + int list_key ) { <nl> auto db = DBHandle : : getInstance ( ) ; <nl> auto index_key = " indexes . " + dbNamespace ( ) ; <nl> std : : vector < std : : string > indexes ; <nl> std : : vector < std : : string > EventSubscriberCore : : getIndexes ( EventTime start , <nl> return indexes ; <nl> } <nl> <nl> - Status EventSubscriberCore : : expireIndexes ( <nl> + Status EventSubscriberPlugin : : expireIndexes ( <nl> const std : : string & list_type , <nl> const std : : vector < std : : string > & indexes , <nl> const std : : vector < std : : string > & expirations ) { <nl> Status EventSubscriberCore : : expireIndexes ( <nl> return Status ( 0 , " OK " ) ; <nl> } <nl> <nl> - std : : vector < EventRecord > EventSubscriberCore : : getRecords ( <nl> + std : : vector < EventRecord > EventSubscriberPlugin : : getRecords ( <nl> const std : : vector < std : : string > & indexes ) { <nl> auto db = DBHandle : : getInstance ( ) ; <nl> auto record_key = " records . " + dbNamespace ( ) ; <nl> std : : vector < EventRecord > EventSubscriberCore : : getRecords ( <nl> return records ; <nl> } <nl> <nl> - Status EventSubscriberCore : : recordEvent ( EventID & eid , EventTime time ) { <nl> + Status EventSubscriberPlugin : : recordEvent ( EventID & eid , EventTime time ) { <nl> Status status ; <nl> auto db = DBHandle : : getInstance ( ) ; <nl> std : : string time_value = boost : : lexical_cast < std : : string > ( time ) ; <nl> Status EventSubscriberCore : : recordEvent ( EventID & eid , EventTime time ) { <nl> return Status ( 0 , " OK " ) ; <nl> } <nl> <nl> - EventID EventSubscriberCore : : getEventID ( ) { <nl> + EventID EventSubscriberPlugin : : getEventID ( ) { <nl> Status status ; <nl> auto db = DBHandle : : getInstance ( ) ; <nl> / / First get an event ID from the meta key . <nl> EventID EventSubscriberCore : : getEventID ( ) { <nl> return eid_value ; <nl> } <nl> <nl> - QueryData EventSubscriberCore : : get ( EventTime start , EventTime stop ) { <nl> + QueryData EventSubscriberPlugin : : get ( EventTime start , EventTime stop ) { <nl> QueryData results ; <nl> Status status ; <nl> <nl> QueryData EventSubscriberCore : : get ( EventTime start , EventTime stop ) { <nl> return results ; <nl> } <nl> <nl> - Status EventSubscriberCore : : add ( const Row & r , EventTime time ) { <nl> + Status EventSubscriberPlugin : : add ( const Row & r , EventTime time ) { <nl> Status status ; <nl> <nl> std : : shared_ptr < DBHandle > db ; <nl> Status EventFactory : : run ( EventPublisherID & type_id ) { <nl> / / Assume it can either make use of an entrypoint poller / selector or <nl> / / take care of async callback registrations in setUp / configure / run <nl> / / only once and handle event queueing / firing in callbacks . <nl> - auto event_pub = EventFactory : : getInstance ( ) . getEventPublisher ( type_id ) ; <nl> - if ( event_pub = = nullptr ) { <nl> - return Status ( 1 , " No Event Type " ) ; <nl> + EventPublisherRef publisher ; <nl> + try { <nl> + publisher = EventFactory : : getInstance ( ) . getEventPublisher ( type_id ) ; <nl> + } <nl> + catch ( std : : out_of_range & e ) { <nl> + return Status ( 1 , " No event type found " ) ; <nl> } <nl> <nl> + VLOG ( 1 ) < < " Starting event publisher runloop : " + type_id ; <nl> + publisher - > hasStarted ( true ) ; <nl> + <nl> auto status = Status ( 0 , " OK " ) ; <nl> - while ( ! event_pub - > isEnding ( ) & & status . ok ( ) ) { <nl> + while ( ! publisher - > isEnding ( ) & & status . ok ( ) ) { <nl> / / Can optionally implement a global cooloff latency here . <nl> - status = event_pub - > run ( ) ; <nl> + status = publisher - > run ( ) ; <nl> : : usleep ( 20 ) ; <nl> } <nl> <nl> / / The runloop status is not reflective of the event type ' s . <nl> - VLOG ( 1 ) < < " Event publisher " < < event_pub - > type ( ) < < " has terminated " ; <nl> + publisher - > tearDown ( ) ; <nl> + VLOG ( 1 ) < < " Event publisher " < < publisher - > type ( ) < < " runloop terminated " ; <nl> return Status ( 0 , " OK " ) ; <nl> } <nl> <nl> - void EventFactory : : end ( bool should_end ) { <nl> - auto & ef = EventFactory : : getInstance ( ) ; <nl> - <nl> - for ( const auto & publisher : ef . event_pubs_ ) { <nl> - publisher . second - > shouldEnd ( should_end ) ; <nl> - } <nl> - <nl> - / / Stop handling exceptions for the publisher threads . <nl> - for ( const auto & thread : ef . threads_ ) { <nl> - thread - > detach ( ) ; <nl> - } <nl> - <nl> - : : usleep ( 400 ) ; <nl> - ef . threads_ . clear ( ) ; <nl> - } <nl> - <nl> / / There ' s no reason for the event factory to keep multiple instances . <nl> EventFactory & EventFactory : : getInstance ( ) { <nl> static EventFactory ef ; <nl> Status EventFactory : : registerEventPublisher ( const EventPublisherRef & pub ) { <nl> auto & ef = EventFactory : : getInstance ( ) ; <nl> auto type_id = pub - > type ( ) ; <nl> <nl> - if ( ef . getEventPublisher ( type_id ) ! = nullptr ) { <nl> - / / This is a duplicate type id ? <nl> - return Status ( 1 , " Duplicate Event Type " ) ; <nl> + if ( ef . event_pubs_ . count ( type_id ) ! = 0 ) { <nl> + / / This is a duplicate event publisher . <nl> + return Status ( 1 , " Cannot register duplicate publisher type . " ) ; <nl> } <nl> <nl> if ( ! pub - > setUp ( ) . ok ( ) ) { <nl> - / / Only add the publisher if setUp was successful . <nl> - return Status ( 1 , " SetUp failed . " ) ; <nl> + / / Only start event loop if setUp succeeds . <nl> + return Status ( 1 , " Event publisher setUp failed " ) ; <nl> } <nl> <nl> ef . event_pubs_ [ type_id ] = pub ; <nl> Status EventFactory : : addSubscription ( EventPublisherID & type_id , <nl> <nl> Status EventFactory : : addSubscription ( EventPublisherID & type_id , <nl> const SubscriptionRef & subscription ) { <nl> - auto event_pub = EventFactory : : getInstance ( ) . getEventPublisher ( type_id ) ; <nl> - if ( event_pub = = nullptr ) { <nl> - / / Cannot create a Subscription for a missing type_id . <nl> - return Status ( 1 , " No Event Type " ) ; <nl> + EventPublisherRef publisher ; <nl> + try { <nl> + publisher = getInstance ( ) . getEventPublisher ( type_id ) ; <nl> + } <nl> + catch ( std : : out_of_range & e ) { <nl> + return Status ( 1 , " No event type found " ) ; <nl> } <nl> <nl> / / The event factory is responsible for configuring the event types . <nl> - auto status = event_pub - > addSubscription ( subscription ) ; <nl> - event_pub - > configure ( ) ; <nl> + auto status = publisher - > addSubscription ( subscription ) ; <nl> + publisher - > configure ( ) ; <nl> return status ; <nl> } <nl> <nl> size_t EventFactory : : numSubscriptions ( EventPublisherID & type_id ) { <nl> - const auto & event_pub = <nl> - EventFactory : : getInstance ( ) . getEventPublisher ( type_id ) ; <nl> - if ( event_pub ! = nullptr ) { <nl> - return event_pub - > numSubscriptions ( ) ; <nl> + EventPublisherRef publisher ; <nl> + try { <nl> + publisher = EventFactory : : getInstance ( ) . getEventPublisher ( type_id ) ; <nl> } <nl> - return 0 ; <nl> + catch ( std : : out_of_range & e ) { <nl> + return 0 ; <nl> + } <nl> + return publisher - > numSubscriptions ( ) ; <nl> } <nl> <nl> EventPublisherRef EventFactory : : getEventPublisher ( EventPublisherID & type_id ) { <nl> - auto & ef = EventFactory : : getInstance ( ) ; <nl> - const auto & it = ef . event_pubs_ . find ( type_id ) ; <nl> - if ( it ! = ef . event_pubs_ . end ( ) ) { <nl> - return ef . event_pubs_ [ type_id ] ; <nl> + if ( getInstance ( ) . event_pubs_ . count ( type_id ) = = 0 ) { <nl> + LOG ( ERROR ) < < " Requested unknown event publisher : " + type_id ; <nl> } <nl> - return nullptr ; <nl> + return getInstance ( ) . event_pubs_ . at ( type_id ) ; <nl> } <nl> <nl> EventSubscriberRef EventFactory : : getEventSubscriber ( <nl> EventSubscriberID & name_id ) { <nl> - auto & ef = EventFactory : : getInstance ( ) ; <nl> - const auto & it = ef . event_subs_ . find ( name_id ) ; <nl> - if ( it ! = ef . event_subs_ . end ( ) ) { <nl> - return ef . event_subs_ [ name_id ] ; <nl> + if ( getInstance ( ) . event_subs_ . count ( name_id ) = = 0 ) { <nl> + LOG ( ERROR ) < < " Requested unknown event subscriber : " + name_id ; <nl> } <nl> - return nullptr ; <nl> + return getInstance ( ) . event_subs_ . at ( name_id ) ; <nl> } <nl> <nl> Status EventFactory : : deregisterEventPublisher ( const EventPublisherRef & pub ) { <nl> Status EventFactory : : deregisterEventPublisher ( const EventPublisherRef & pub ) { <nl> <nl> Status EventFactory : : deregisterEventPublisher ( EventPublisherID & type_id ) { <nl> auto & ef = EventFactory : : getInstance ( ) ; <nl> - const auto & it = ef . event_pubs_ . find ( type_id ) ; <nl> - if ( it = = ef . event_pubs_ . end ( ) ) { <nl> - return Status ( 1 , " No Event Type registered " ) ; <nl> + EventPublisherRef publisher ; <nl> + try { <nl> + publisher = ef . getEventPublisher ( type_id ) ; <nl> + } <nl> + catch ( std : : out_of_range & e ) { <nl> + return Status ( 1 , " No event publisher to deregister . " ) ; <nl> } <nl> <nl> - ef . event_pubs_ [ type_id ] - > tearDown ( ) ; <nl> - ef . event_pubs_ . erase ( it ) ; <nl> - return Status ( 0 , " OK " ) ; <nl> - } <nl> - <nl> - Status EventFactory : : deregisterEventPublishers ( ) { <nl> - auto & ef = EventFactory : : getInstance ( ) ; <nl> - auto it = ef . event_pubs_ . begin ( ) ; <nl> - for ( ; it ! = ef . event_pubs_ . end ( ) ; it + + ) { <nl> - it - > second - > tearDown ( ) ; <nl> + publisher - > isEnding ( true ) ; <nl> + if ( ! publisher - > hasStarted ( ) ) { <nl> + / / If a publisher ' s run loop was not started , call tearDown since <nl> + / / the setUp happened at publisher registration time . <nl> + publisher - > tearDown ( ) ; <nl> } <nl> <nl> - ef . event_pubs_ . erase ( ef . event_pubs_ . begin ( ) , ef . event_pubs_ . end ( ) ) ; <nl> + ef . event_pubs_ . erase ( type_id ) ; <nl> return Status ( 0 , " OK " ) ; <nl> } <nl> + <nl> + std : : vector < std : : string > EventFactory : : publisherTypes ( ) { <nl> + std : : vector < std : : string > types ; <nl> + for ( const auto & publisher : getInstance ( ) . event_pubs_ ) { <nl> + types . push_back ( publisher . first ) ; <nl> + } <nl> + return types ; <nl> } <nl> <nl> - namespace osquery { <nl> - namespace registries { <nl> - void faucet ( EventPublishers ets , EventSubscribers ems ) { <nl> - if ( ! FLAGS_event_pubsub ) { <nl> - / / Invocation disabled eventing . <nl> - return ; <nl> + std : : vector < std : : string > EventFactory : : subscriberNames ( ) { <nl> + std : : vector < std : : string > names ; <nl> + for ( const auto & subscriber : getInstance ( ) . event_subs_ ) { <nl> + names . push_back ( subscriber . first ) ; <nl> } <nl> - auto & ef = osquery : : EventFactory : : getInstance ( ) ; <nl> - for ( const auto & event_pub : ets ) { <nl> - ef . registerEventPublisher ( event_pub . second ) ; <nl> + return names ; <nl> + } <nl> + <nl> + void EventFactory : : end ( bool join ) { <nl> + auto & ef = EventFactory : : getInstance ( ) ; <nl> + <nl> + / / Call deregister on each publisher . <nl> + for ( const auto & publisher : ef . publisherTypes ( ) ) { <nl> + deregisterEventPublisher ( publisher ) ; <nl> } <nl> <nl> - for ( const auto & event_module : ems ) { <nl> - ef . registerEventSubscriber ( event_module . second ) ; <nl> + / / Stop handling exceptions for the publisher threads . <nl> + for ( const auto & thread : ef . threads_ ) { <nl> + if ( join ) { <nl> + thread - > join ( ) ; <nl> + } else { <nl> + thread - > detach ( ) ; <nl> + } <nl> } <nl> + <nl> + : : usleep ( 400 ) ; <nl> + ef . threads_ . clear ( ) ; <nl> } <nl> + <nl> + void attachEvents ( ) { <nl> + const auto & publishers = Registry : : all ( " event_publisher " ) ; <nl> + for ( const auto & publisher : publishers ) { <nl> + EventFactory : : registerEventPublisher ( std : : move ( publisher . second ) ) ; <nl> + } <nl> + <nl> + const auto & subscribers = Registry : : all ( " event_subscriber " ) ; <nl> + for ( const auto & subscriber : subscribers ) { <nl> + EventFactory : : registerEventSubscriber ( std : : move ( subscriber . second ) ) ; <nl> + } <nl> } <nl> } <nl> mmm a / osquery / events / events_tests . cpp <nl> ppp b / osquery / events / events_tests . cpp <nl> class EventsTests : public : : testing : : Test { <nl> DBHandle : : getInstanceAtPath ( kTestingEventsDBPath ) ; <nl> } <nl> <nl> - void TearDown ( ) { EventFactory : : deregisterEventPublishers ( ) ; } <nl> + void TearDown ( ) { EventFactory : : end ( ) ; } <nl> } ; <nl> <nl> / / The most basic event publisher uses useless Subscription / Event . <nl> TEST_F ( EventsTests , test_event_pub ) { <nl> } <nl> <nl> TEST_F ( EventsTests , test_register_event_pub ) { <nl> - / / A caller may register an event type using the class template . <nl> - / / This template class is equivilent to the reinterpret casting target . <nl> - auto status = EventFactory : : registerEventPublisher < BasicEventPublisher > ( ) ; <nl> - EXPECT_TRUE ( status . ok ( ) ) ; <nl> + auto basic_pub = std : : make_shared < BasicEventPublisher > ( ) ; <nl> + auto status = EventFactory : : registerEventPublisher ( basic_pub ) ; <nl> <nl> / / This class is the SAME , there was no type override . <nl> - status = EventFactory : : registerEventPublisher < AnotherBasicEventPublisher > ( ) ; <nl> + auto another_basic_pub = std : : make_shared < AnotherBasicEventPublisher > ( ) ; <nl> + status = EventFactory : : registerEventPublisher ( another_basic_pub ) ; <nl> EXPECT_FALSE ( status . ok ( ) ) ; <nl> <nl> / / This class is different but also uses different types ! <nl> - status = EventFactory : : registerEventPublisher < FakeEventPublisher > ( ) ; <nl> + auto fake_pub = std : : make_shared < FakeEventPublisher > ( ) ; <nl> + status = EventFactory : : registerEventPublisher ( fake_pub ) ; <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> <nl> / / May also register the event_pub instance <nl> - auto pub = std : : make_shared < AnotherFakeEventPublisher > ( ) ; <nl> - status = EventFactory : : registerEventPublisher < AnotherFakeEventPublisher > ( pub ) ; <nl> + auto another_fake_pub = std : : make_shared < AnotherFakeEventPublisher > ( ) ; <nl> + status = EventFactory : : registerEventPublisher ( another_fake_pub ) ; <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> } <nl> <nl> TEST_F ( EventsTests , test_event_pub_types ) { <nl> } <nl> <nl> TEST_F ( EventsTests , test_create_event_pub ) { <nl> - auto status = EventFactory : : registerEventPublisher < BasicEventPublisher > ( ) ; <nl> + auto pub = std : : make_shared < BasicEventPublisher > ( ) ; <nl> + auto status = EventFactory : : registerEventPublisher ( pub ) ; <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> <nl> / / Make sure only the first event type was recorded . <nl> EXPECT_EQ ( EventFactory : : numEventPublishers ( ) , 1 ) ; <nl> } <nl> <nl> + class UniqueEventPublisher <nl> + : public EventPublisher < FakeSubscriptionContext , FakeEventContext > { <nl> + DECLARE_PUBLISHER ( " unique " ) ; <nl> + } ; <nl> + <nl> + TEST_F ( EventsTests , test_create_using_registry ) { <nl> + / / The events API uses attachEvents to move registry event publishers and <nl> + / / subscribers into the events factory . <nl> + EXPECT_EQ ( EventFactory : : numEventPublishers ( ) , 0 ) ; <nl> + attachEvents ( ) ; <nl> + <nl> + / / Store the number of default event publishers ( in core ) . <nl> + int default_publisher_count = EventFactory : : numEventPublishers ( ) ; <nl> + <nl> + / / Now add another registry item , but do not yet attach it . <nl> + auto UniqueEventPublisherRegistryItem = <nl> + Registry : : add < UniqueEventPublisher > ( " event_publisher " , " unique " ) ; <nl> + EXPECT_EQ ( EventFactory : : numEventPublishers ( ) , default_publisher_count ) ; <nl> + <nl> + / / Now attach and make sure it was added . <nl> + attachEvents ( ) ; <nl> + EXPECT_EQ ( EventFactory : : numEventPublishers ( ) , default_publisher_count + 1 ) ; <nl> + } <nl> + <nl> TEST_F ( EventsTests , test_create_subscription ) { <nl> - EventFactory : : registerEventPublisher < BasicEventPublisher > ( ) ; <nl> + auto pub = std : : make_shared < BasicEventPublisher > ( ) ; <nl> + EventFactory : : registerEventPublisher ( pub ) ; <nl> <nl> / / Make sure a subscription cannot be added for a non - existent event type . <nl> / / Note : It normally would not make sense to create a blank subscription . <nl> TEST_F ( EventsTests , test_create_subscription ) { <nl> TEST_F ( EventsTests , test_multiple_subscriptions ) { <nl> Status status ; <nl> <nl> - EventFactory : : registerEventPublisher < BasicEventPublisher > ( ) ; <nl> + auto pub = std : : make_shared < BasicEventPublisher > ( ) ; <nl> + EventFactory : : registerEventPublisher ( pub ) ; <nl> <nl> auto subscription = Subscription : : create ( ) ; <nl> status = EventFactory : : addSubscription ( " publisher " , subscription ) ; <nl> class TestEventPublisher <nl> } ; <nl> <nl> TEST_F ( EventsTests , test_create_custom_event_pub ) { <nl> - auto status = EventFactory : : registerEventPublisher < BasicEventPublisher > ( ) ; <nl> + auto basic_pub = std : : make_shared < BasicEventPublisher > ( ) ; <nl> + EventFactory : : registerEventPublisher ( basic_pub ) ; <nl> auto pub = std : : make_shared < TestEventPublisher > ( ) ; <nl> - status = EventFactory : : registerEventPublisher ( pub ) ; <nl> + auto status = EventFactory : : registerEventPublisher ( pub ) ; <nl> <nl> / / These event types have unique event type IDs <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> TEST_F ( EventsTests , test_tear_down ) { <nl> / / Once more , now deregistering all event types . <nl> status = EventFactory : : registerEventPublisher ( pub ) ; <nl> EXPECT_EQ ( pub - > getTestValue ( ) , 3 ) ; <nl> - <nl> - status = EventFactory : : deregisterEventPublishers ( ) ; <nl> - EXPECT_TRUE ( status . ok ( ) ) ; <nl> - <nl> + EventFactory : : end ( ) ; <nl> EXPECT_EQ ( pub - > getTestValue ( ) , 4 ) ; <nl> <nl> / / Make sure the factory state represented . <nl> mmm a / osquery / events / linux / inotify . cpp <nl> ppp b / osquery / events / linux / inotify . cpp <nl> <nl> <nl> namespace osquery { <nl> <nl> - REGISTER_EVENTPUBLISHER ( INotifyEventPublisher ) ; <nl> - <nl> int kINotifyULatency = 200 ; <nl> static const uint32_t BUFFER_SIZE = <nl> ( 10 * ( ( sizeof ( struct inotify_event ) ) + NAME_MAX + 1 ) ) ; <nl> std : : map < int , std : : string > kMaskActions = { <nl> { IN_OPEN , " OPENED " } , <nl> } ; <nl> <nl> + REGISTER ( INotifyEventPublisher , " event_publisher " , " inotify " ) ; <nl> + <nl> Status INotifyEventPublisher : : setUp ( ) { <nl> inotify_handle_ = : : inotify_init ( ) ; <nl> / / If this does not work throw an exception . <nl> mmm a / osquery / events / linux / inotify . h <nl> ppp b / osquery / events / linux / inotify . h <nl> typedef std : : map < int , std : : string > DescriptorPathMap ; <nl> * / <nl> class INotifyEventPublisher <nl> : public EventPublisher < INotifySubscriptionContext , INotifyEventContext > { <nl> - DECLARE_PUBLISHER ( " INotifyEventPublisher " ) ; <nl> + DECLARE_PUBLISHER ( " inotify " ) ; <nl> <nl> public : <nl> / / / Create an ` inotify ` handle descriptor . <nl> mmm a / osquery / events / linux / inotify_tests . cpp <nl> ppp b / osquery / events / linux / inotify_tests . cpp <nl> int kMaxEventLatency = 3000 ; <nl> class INotifyTests : public testing : : Test { <nl> protected : <nl> void TearDown ( ) { <nl> - EventFactory : : deregisterEventPublishers ( ) ; <nl> + / / End the event loops , and join on the threads . <nl> boost : : filesystem : : remove_all ( kRealTestPath ) ; <nl> boost : : filesystem : : remove_all ( kRealTestDir ) ; <nl> } <nl> <nl> void StartEventLoop ( ) { <nl> event_pub_ = std : : make_shared < INotifyEventPublisher > ( ) ; <nl> - EventFactory : : registerEventPublisher ( event_pub_ ) ; <nl> + auto status = EventFactory : : registerEventPublisher ( event_pub_ ) ; <nl> FILE * fd = fopen ( kRealTestPath . c_str ( ) , " w " ) ; <nl> fclose ( fd ) ; <nl> + temp_thread_ = boost : : thread ( EventFactory : : run , " inotify " ) ; <nl> + } <nl> + <nl> + void StopEventLoop ( ) { <nl> + while ( ! event_pub_ - > hasStarted ( ) ) { <nl> + : : usleep ( 20 ) ; <nl> + } <nl> <nl> - temp_thread_ = boost : : thread ( EventFactory : : run , " INotifyEventPublisher " ) ; <nl> + EventFactory : : end ( true ) ; <nl> + temp_thread_ . join ( ) ; <nl> } <nl> <nl> void SubscriptionAction ( const std : : string & path , <nl> class INotifyTests : public testing : : Test { <nl> mc - > path = path ; <nl> mc - > mask = mask ; <nl> <nl> - EventFactory : : addSubscription ( " INotifyEventPublisher " , mc , ec ) ; <nl> + EventFactory : : addSubscription ( " inotify " , mc , ec ) ; <nl> } <nl> <nl> bool WaitForEvents ( int max , int num_events = 0 ) { <nl> class INotifyTests : public testing : : Test { <nl> fclose ( fd ) ; <nl> } <nl> <nl> - void EndEventLoop ( ) { <nl> - EventFactory : : end ( ) ; <nl> - event_pub_ - > tearDown ( ) ; <nl> - temp_thread_ . join ( ) ; <nl> - EventFactory : : end ( false ) ; <nl> - } <nl> - <nl> std : : shared_ptr < INotifyEventPublisher > event_pub_ ; <nl> boost : : thread temp_thread_ ; <nl> } ; <nl> <nl> TEST_F ( INotifyTests , test_register_event_pub ) { <nl> - auto status = EventFactory : : registerEventPublisher < INotifyEventPublisher > ( ) ; <nl> + auto pub = std : : make_shared < INotifyEventPublisher > ( ) ; <nl> + auto status = EventFactory : : registerEventPublisher ( pub ) ; <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> <nl> / / Make sure only one event type exists <nl> EXPECT_EQ ( EventFactory : : numEventPublishers ( ) , 1 ) ; <nl> + / / And deregister <nl> + status = EventFactory : : deregisterEventPublisher ( " inotify " ) ; <nl> + EXPECT_TRUE ( status . ok ( ) ) ; <nl> } <nl> <nl> TEST_F ( INotifyTests , test_inotify_init ) { <nl> TEST_F ( INotifyTests , test_inotify_init ) { <nl> EXPECT_FALSE ( event_pub - > isHandleOpen ( ) ) ; <nl> <nl> / / Registering the event type initializes inotify . <nl> - EventFactory : : registerEventPublisher ( event_pub ) ; <nl> + auto status = EventFactory : : registerEventPublisher ( event_pub ) ; <nl> + EXPECT_TRUE ( status . ok ( ) ) ; <nl> EXPECT_TRUE ( event_pub - > isHandleOpen ( ) ) ; <nl> <nl> / / Similarly deregistering closes the handle . <nl> - EventFactory : : deregisterEventPublishers ( ) ; <nl> + EventFactory : : deregisterEventPublisher ( " inotify " ) ; <nl> EXPECT_FALSE ( event_pub - > isHandleOpen ( ) ) ; <nl> } <nl> <nl> TEST_F ( INotifyTests , test_inotify_add_subscription_missing_path ) { <nl> - EventFactory : : registerEventPublisher < INotifyEventPublisher > ( ) ; <nl> + auto pub = std : : make_shared < INotifyEventPublisher > ( ) ; <nl> + EventFactory : : registerEventPublisher ( pub ) ; <nl> <nl> / / This subscription path is fake , and will succeed . <nl> auto mc = std : : make_shared < INotifySubscriptionContext > ( ) ; <nl> mc - > path = " / this / path / is / fake " ; <nl> <nl> auto subscription = Subscription : : create ( mc ) ; <nl> - auto status = <nl> - EventFactory : : addSubscription ( " INotifyEventPublisher " , subscription ) ; <nl> + auto status = EventFactory : : addSubscription ( " inotify " , subscription ) ; <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> + EventFactory : : deregisterEventPublisher ( " inotify " ) ; <nl> } <nl> <nl> TEST_F ( INotifyTests , test_inotify_add_subscription_success ) { <nl> - EventFactory : : registerEventPublisher < INotifyEventPublisher > ( ) ; <nl> + auto pub = std : : make_shared < INotifyEventPublisher > ( ) ; <nl> + EventFactory : : registerEventPublisher ( pub ) ; <nl> <nl> / / This subscription path * should * be real . <nl> auto mc = std : : make_shared < INotifySubscriptionContext > ( ) ; <nl> mc - > path = " / " ; <nl> <nl> auto subscription = Subscription : : create ( mc ) ; <nl> - auto status = <nl> - EventFactory : : addSubscription ( " INotifyEventPublisher " , subscription ) ; <nl> + auto status = EventFactory : : addSubscription ( " inotify " , subscription ) ; <nl> EXPECT_TRUE ( status . ok ( ) ) ; <nl> + EventFactory : : deregisterEventPublisher ( " inotify " ) ; <nl> } <nl> <nl> TEST_F ( INotifyTests , test_inotify_run ) { <nl> / / Assume event type is registered . <nl> event_pub_ = std : : make_shared < INotifyEventPublisher > ( ) ; <nl> - EventFactory : : registerEventPublisher ( event_pub_ ) ; <nl> + auto status = EventFactory : : registerEventPublisher ( event_pub_ ) ; <nl> + EXPECT_TRUE ( status . ok ( ) ) ; <nl> <nl> / / Create a temporary file to watch , open writeable <nl> FILE * fd = fopen ( kRealTestPath . c_str ( ) , " w " ) ; <nl> TEST_F ( INotifyTests , test_inotify_run ) { <nl> / / Create a subscriptioning context <nl> auto mc = std : : make_shared < INotifySubscriptionContext > ( ) ; <nl> mc - > path = kRealTestPath ; <nl> - EventFactory : : addSubscription ( " INotifyEventPublisher " , <nl> - Subscription : : create ( mc ) ) ; <nl> + status = EventFactory : : addSubscription ( " inotify " , Subscription : : create ( mc ) ) ; <nl> + EXPECT_TRUE ( status . ok ( ) ) ; <nl> <nl> / / Create an event loop thread ( similar to main ) <nl> - boost : : thread temp_thread ( EventFactory : : run , " INotifyEventPublisher " ) ; <nl> + boost : : thread temp_thread ( EventFactory : : run , " inotify " ) ; <nl> EXPECT_TRUE ( event_pub_ - > numEvents ( ) = = 0 ) ; <nl> <nl> / / Cause an inotify event by writing to the watched path . <nl> TEST_F ( INotifyTests , test_inotify_run ) { <nl> / / Wait for the thread ' s run loop to select . <nl> WaitForEvents ( kMaxEventLatency ) ; <nl> EXPECT_TRUE ( event_pub_ - > numEvents ( ) > 0 ) ; <nl> - <nl> - / / Cause the thread to tear down . <nl> EventFactory : : end ( ) ; <nl> temp_thread . join ( ) ; <nl> - / / Reset the event factory state . <nl> - EventFactory : : end ( false ) ; <nl> } <nl> <nl> class TestINotifyEventSubscriber <nl> TEST_F ( INotifyTests , test_inotify_fire_event ) { <nl> <nl> / / Make sure our expected event fired ( aka subscription callback was called ) . <nl> EXPECT_TRUE ( sub - > count ( ) > 0 ) ; <nl> - <nl> - / / Cause the thread to tear down . <nl> - EndEventLoop ( ) ; <nl> + StopEventLoop ( ) ; <nl> } <nl> <nl> TEST_F ( INotifyTests , test_inotify_event_action ) { <nl> TEST_F ( INotifyTests , test_inotify_event_action ) { <nl> EXPECT_EQ ( sub - > actions ( ) [ 1 ] , " OPENED " ) ; <nl> EXPECT_EQ ( sub - > actions ( ) [ 2 ] , " UPDATED " ) ; <nl> EXPECT_EQ ( sub - > actions ( ) [ 3 ] , " UPDATED " ) ; <nl> - <nl> - / / Cause the thread to tear down . <nl> - EndEventLoop ( ) ; <nl> + StopEventLoop ( ) ; <nl> } <nl> <nl> TEST_F ( INotifyTests , test_inotify_optimization ) { <nl> / / Assume event type is registered . <nl> StartEventLoop ( ) ; <nl> - <nl> boost : : filesystem : : create_directory ( kRealTestDir ) ; <nl> <nl> / / Adding a descriptor to a directory will monitor files within . <nl> TEST_F ( INotifyTests , test_inotify_optimization ) { <nl> / / but this will NOT cause an additional INotify watch . <nl> SubscriptionAction ( kRealTestDirPath ) ; <nl> EXPECT_EQ ( event_pub_ - > numDescriptors ( ) , 1 ) ; <nl> - <nl> - / / Cause the thread to tear down . <nl> - EndEventLoop ( ) ; <nl> + StopEventLoop ( ) ; <nl> } <nl> <nl> TEST_F ( INotifyTests , test_inotify_recursion ) { <nl> TEST_F ( INotifyTests , test_inotify_recursion ) { <nl> <nl> sub - > WaitForEvents ( kMaxEventLatency , 1 ) ; <nl> EXPECT_TRUE ( sub - > count ( ) > 0 ) ; <nl> - <nl> - EndEventLoop ( ) ; <nl> + StopEventLoop ( ) ; <nl> } <nl> } <nl> <nl> mmm a / osquery / events / linux / udev . cpp <nl> ppp b / osquery / events / linux / udev . cpp <nl> <nl> <nl> namespace osquery { <nl> <nl> - REGISTER_EVENTPUBLISHER ( UdevEventPublisher ) ; <nl> - <nl> int kUdevULatency = 200 ; <nl> <nl> + REGISTER ( UdevEventPublisher , " event_publisher " , " udev " ) ; <nl> + <nl> Status UdevEventPublisher : : setUp ( ) { <nl> / / Create the udev object . <nl> handle_ = udev_new ( ) ; <nl> Status UdevEventPublisher : : setUp ( ) { <nl> void UdevEventPublisher : : configure ( ) { } <nl> <nl> void UdevEventPublisher : : tearDown ( ) { <nl> + if ( monitor_ ! = nullptr ) { <nl> + udev_monitor_unref ( monitor_ ) ; <nl> + } <nl> + <nl> if ( handle_ ! = nullptr ) { <nl> udev_unref ( handle_ ) ; <nl> } <nl> mmm a / osquery / events / linux / udev . h <nl> ppp b / osquery / events / linux / udev . h <nl> typedef std : : shared_ptr < UdevSubscriptionContext > UdevSubscriptionContextRef ; <nl> * / <nl> class UdevEventPublisher <nl> : public EventPublisher < UdevSubscriptionContext , UdevEventContext > { <nl> - DECLARE_PUBLISHER ( " UdevEventPublisher " ) ; <nl> + DECLARE_PUBLISHER ( " udev " ) ; <nl> <nl> public : <nl> Status setUp ( ) ; <nl> mmm a / osquery / filesystem / filesystem_tests . cpp <nl> ppp b / osquery / filesystem / filesystem_tests . cpp <nl> TEST_F ( FilesystemTests , test_list_files_in_directory_not_found ) { <nl> EXPECT_FALSE ( not_found . ok ( ) ) ; <nl> EXPECT_EQ ( not_found . toString ( ) , " Directory not found : / foo / bar " ) ; <nl> } <nl> + <nl> / / Recursive Tests <nl> TEST_F ( FilesystemTests , test_wildcard_single_folder_list ) { <nl> std : : vector < std : : string > files ; <nl> mmm a / osquery / logger / logger . cpp <nl> ppp b / osquery / logger / logger . cpp <nl> <nl> <nl> # include < osquery / flags . h > <nl> # include < osquery / logger . h > <nl> - # include < osquery / logger / plugin . h > <nl> - <nl> - using osquery : : Status ; <nl> <nl> namespace osquery { <nl> <nl> DEFINE_osquery_flag ( bool , <nl> true , <nl> " Log scheduled results as events . " ) ; <nl> <nl> + Status LoggerPlugin : : call ( const PluginRequest & request , <nl> + PluginResponse & response ) { <nl> + if ( request . count ( " string " ) = = 0 ) { <nl> + return Status ( 1 , " Logger plugins only support a request string " ) ; <nl> + } <nl> + <nl> + this - > logString ( request . at ( " string " ) ) ; <nl> + return Status ( 0 , " OK " ) ; <nl> + } <nl> + <nl> Status logString ( const std : : string & s ) { <nl> return logString ( s , FLAGS_log_receiver ) ; <nl> } <nl> <nl> Status logString ( const std : : string & s , const std : : string & receiver ) { <nl> - if ( REGISTERED_LOGGER_PLUGINS . find ( receiver ) = = <nl> - REGISTERED_LOGGER_PLUGINS . end ( ) ) { <nl> + if ( ! Registry : : exists ( " logger " , receiver ) ) { <nl> LOG ( ERROR ) < < " Logger receiver " < < receiver < < " not found " ; <nl> return Status ( 1 , " Logger receiver not found " ) ; <nl> } <nl> - auto log_status = REGISTERED_LOGGER_PLUGINS . at ( receiver ) - > logString ( s ) ; <nl> - if ( ! log_status . ok ( ) ) { <nl> - return log_status ; <nl> - } <nl> + <nl> + auto status = Registry : : call ( " logger " , receiver , { { " string " , s } } ) ; <nl> return Status ( 0 , " OK " ) ; <nl> } <nl> <nl> mmm a / osquery / logger / logger_tests . cpp <nl> ppp b / osquery / logger / logger_tests . cpp <nl> <nl> <nl> # include < osquery / core . h > <nl> # include < osquery / logger . h > <nl> - # include < osquery / logger / plugin . h > <nl> - <nl> - using osquery : : Status ; <nl> <nl> namespace osquery { <nl> <nl> class LoggerTests : public testing : : Test { <nl> public : <nl> - LoggerTests ( ) { osquery : : InitRegistry : : get ( ) . run ( ) ; } <nl> + LoggerTests ( ) { Registry : : setUp ( ) ; } <nl> } ; <nl> <nl> class TestLoggerPlugin : public LoggerPlugin { <nl> class TestLoggerPlugin : public LoggerPlugin { <nl> virtual ~ TestLoggerPlugin ( ) { } <nl> } ; <nl> <nl> - REGISTER_LOGGER_PLUGIN ( " test " , std : : make_shared < osquery : : TestLoggerPlugin > ( ) ) ; <nl> - <nl> TEST_F ( LoggerTests , test_plugin ) { <nl> - auto s = REGISTERED_LOGGER_PLUGINS . at ( " test " ) - > logString ( " foobar " ) ; <nl> + Registry : : add < TestLoggerPlugin > ( " logger " , " test " ) ; <nl> + auto s = Registry : : call ( " logger " , " test " , { { " string " , " foobar " } } ) ; <nl> EXPECT_EQ ( s . ok ( ) , true ) ; <nl> - EXPECT_EQ ( s . toString ( ) , " foobar " ) ; <nl> } <nl> } <nl> <nl> mmm a / osquery / logger / plugins / facebook / scribe . cpp <nl> ppp b / osquery / logger / plugins / facebook / scribe . cpp <nl> <nl> <nl> # include < osquery / flags . h > <nl> # include < osquery / logger . h > <nl> - # include < osquery / logger / plugin . h > <nl> - <nl> - using osquery : : Status ; <nl> <nl> namespace osquery { <nl> <nl> mmm a / osquery / logger / plugins / filesystem . cpp <nl> ppp b / osquery / logger / plugins / filesystem . cpp <nl> <nl> # include < osquery / filesystem . h > <nl> # include < osquery / flags . h > <nl> # include < osquery / logger . h > <nl> - # include < osquery / logger / plugin . h > <nl> <nl> using osquery : : Status ; <nl> <nl> std : : mutex filesystemLoggerPluginMutex ; <nl> <nl> class FilesystemLoggerPlugin : public LoggerPlugin { <nl> public : <nl> - std : : string log_path ; <nl> - FilesystemLoggerPlugin ( ) { <nl> - log_path = FLAGS_log_dir + " osqueryd . results . log " ; <nl> - } <nl> + Status setUp ( ) ; <nl> + Status logString ( const std : : string & s ) ; <nl> + <nl> + private : <nl> + std : : string log_path_ ; <nl> + } ; <nl> + <nl> + REGISTER ( FilesystemLoggerPlugin , " logger " , " filesystem " ) ; <nl> + <nl> + Status FilesystemLoggerPlugin : : setUp ( ) { <nl> + log_path_ = FLAGS_log_dir + " osqueryd . results . log " ; <nl> + return Status ( 0 , " OK " ) ; <nl> + } <nl> <nl> - virtual Status logString ( const std : : string & s ) { <nl> - std : : lock_guard < std : : mutex > lock ( filesystemLoggerPluginMutex ) ; <nl> - try { <nl> - VLOG ( 3 ) < < " filesystem logger plugin : logging to " < < log_path ; <nl> - <nl> - / / The results log may contain sensitive information if run as root . <nl> - auto status = writeTextFile ( log_path , s , 0640 , true ) ; <nl> - if ( ! status . ok ( ) ) { <nl> - return status ; <nl> - } <nl> - } catch ( const std : : exception & e ) { <nl> - return Status ( 1 , e . what ( ) ) ; <nl> + Status FilesystemLoggerPlugin : : logString ( const std : : string & s ) { <nl> + std : : lock_guard < std : : mutex > lock ( filesystemLoggerPluginMutex ) ; <nl> + try { <nl> + VLOG ( 3 ) < < " filesystem logger plugin : logging to " < < log_path_ ; <nl> + <nl> + / / The results log may contain sensitive information if run as root . <nl> + auto status = writeTextFile ( log_path_ , s , 0640 , true ) ; <nl> + if ( ! status . ok ( ) ) { <nl> + return status ; <nl> } <nl> - return Status ( 0 , " OK " ) ; <nl> + } catch ( const std : : exception & e ) { <nl> + return Status ( 1 , e . what ( ) ) ; <nl> } <nl> - } ; <nl> + return Status ( 0 , " OK " ) ; <nl> + } <nl> <nl> - REGISTER_LOGGER_PLUGIN ( " filesystem " , <nl> - std : : make_shared < osquery : : FilesystemLoggerPlugin > ( ) ) ; <nl> + class TestLoggerPlugin : public LoggerPlugin { <nl> + public : <nl> + TestLoggerPlugin ( ) { test_ = " hello friend " ; } <nl> + Status logString ( const std : : string & s ) { return Status ( 0 , " OK " ) ; } <nl> + <nl> + private : <nl> + std : : string test_ ; <nl> + } ; <nl> } <nl> mmm a / osquery / main / daemon . cpp <nl> ppp b / osquery / main / daemon . cpp <nl> <nl> # include < boost / thread . hpp > <nl> <nl> # include < osquery / config . h > <nl> - # include < osquery / config / plugin . h > <nl> # include < osquery / core . h > <nl> # include < osquery / events . h > <nl> # include < osquery / logger . h > <nl> - # include < osquery / logger / plugin . h > <nl> # include < osquery / scheduler . h > <nl> <nl> # include " osquery / core / watcher . h " <nl> int main ( int argc , char * argv [ ] ) { <nl> LOG ( INFO ) < < " Listing all plugins " ; <nl> <nl> LOG ( INFO ) < < " Logger plugins : " ; <nl> - for ( const auto & it : REGISTERED_LOGGER_PLUGINS ) { <nl> - LOG ( INFO ) < < " - " < < it . first ; <nl> + for ( const auto & name : osquery : : Registry : : names ( " logger " ) ) { <nl> + LOG ( INFO ) < < " - " < < name ; <nl> } <nl> <nl> LOG ( INFO ) < < " Config plugins : " ; <nl> - for ( const auto & it : REGISTERED_CONFIG_PLUGINS ) { <nl> - LOG ( INFO ) < < " - " < < it . first ; <nl> + for ( const auto & name : osquery : : Registry : : names ( " config " ) ) { <nl> + LOG ( INFO ) < < " - " < < name ; <nl> } <nl> <nl> LOG ( INFO ) < < " Event Publishers : " ; <nl> - for ( const auto & it : REGISTERED_EVENTPUBLISHERS ) { <nl> - LOG ( INFO ) < < " - " < < it . first ; <nl> + for ( const auto & name : osquery : : Registry : : names ( " publisher " ) ) { <nl> + LOG ( INFO ) < < " - " < < name ; <nl> } <nl> <nl> LOG ( INFO ) < < " Event Subscribers : " ; <nl> - for ( const auto & it : REGISTERED_EVENTSUBSCRIBERS ) { <nl> - LOG ( INFO ) < < " - " < < it . first ; <nl> + for ( const auto & name : osquery : : Registry : : names ( " subscriber " ) ) { <nl> + LOG ( INFO ) < < " - " < < name ; <nl> } <nl> <nl> - / / Start a thread for each appropriate event type <nl> - osquery : : registries : : faucet ( REGISTERED_EVENTPUBLISHERS , <nl> - REGISTERED_EVENTSUBSCRIBERS ) ; <nl> + / / Start event threads . <nl> osquery : : EventFactory : : delay ( ) ; <nl> <nl> boost : : thread scheduler_thread ( osquery : : initializeScheduler ) ; <nl> scheduler_thread . join ( ) ; <nl> <nl> - / / End any event type run loops . <nl> - osquery : : EventFactory : : end ( ) ; <nl> + / / Finally shutdown . <nl> + osquery : : shutdownOsquery ( ) ; <nl> <nl> return 0 ; <nl> } <nl> mmm a / osquery / main / run . cpp <nl> ppp b / osquery / main / run . cpp <nl> <nl> * <nl> * / <nl> <nl> + # include < errno . h > <nl> + <nl> # include < gflags / gflags . h > <nl> <nl> # include < osquery / core . h > <nl> + # include < osquery / events . h > <nl> # include < osquery / logger . h > <nl> <nl> DEFINE_string ( query , " " , " query to execute " ) ; <nl> DEFINE_int32 ( iterations , 1 , " times to run the query in question " ) ; <nl> DEFINE_int32 ( delay , 0 , " delay before and after the query " ) ; <nl> <nl> int main ( int argc , char * argv [ ] ) { <nl> - osquery : : initOsquery ( argc , argv ) ; <nl> + / / Only log to stderr <nl> + FLAGS_logtostderr = true ; <nl> <nl> - if ( FLAGS_query ! = " " ) { <nl> - if ( FLAGS_delay ! = 0 ) { <nl> - : : sleep ( FLAGS_delay ) ; <nl> - } <nl> + / / Let gflags parse the non - help options / flags . <nl> + __GFLAGS_NAMESPACE : : ParseCommandLineFlags ( & argc , & argv , false ) ; <nl> + __GFLAGS_NAMESPACE : : InitGoogleLogging ( argv [ 0 ] ) ; <nl> <nl> - for ( int i = 0 ; i < FLAGS_iterations ; + + i ) { <nl> - int err ; <nl> - LOG ( INFO ) < < " Executing : " < < FLAGS_query ; <nl> - osquery : : query ( FLAGS_query , err ) ; <nl> - if ( err ! = 0 ) { <nl> - LOG ( ERROR ) < < " Query failed : " < < err ; <nl> - return 1 ; <nl> - } <nl> - LOG ( INFO ) < < " Query succeeded " ; <nl> - } <nl> + if ( FLAGS_query = = " " ) { <nl> + fprintf ( stderr , " Usage : % s - - query = \ " query \ " \ n " , argv [ 0 ] ) ; <nl> + return 1 ; <nl> + } <nl> <nl> - if ( FLAGS_delay ! = 0 ) { <nl> - : : sleep ( FLAGS_delay ) ; <nl> + osquery : : Registry : : setUp ( ) ; <nl> + osquery : : attachEvents ( ) ; <nl> + <nl> + int result = 0 ; <nl> + if ( FLAGS_delay ! = 0 ) { <nl> + : : sleep ( FLAGS_delay ) ; <nl> + } <nl> + <nl> + for ( int i = 0 ; i < FLAGS_iterations ; + + i ) { <nl> + printf ( " Executing : % s \ n " , FLAGS_query . c_str ( ) ) ; <nl> + osquery : : query ( FLAGS_query , result ) ; <nl> + if ( result ! = 0 ) { <nl> + fprintf ( stderr , " Query failed : % d \ n " , result ) ; <nl> + break ; <nl> + } else { <nl> + if ( FLAGS_delay ! = 0 ) { <nl> + : : sleep ( FLAGS_delay ) ; <nl> + } <nl> } <nl> - } else { <nl> - LOG ( ERROR ) < < " Usage : run - - query = \ " < query > \ " " ; <nl> - return 1 ; <nl> } <nl> <nl> - return 0 ; <nl> + / / Instead of calling " shutdownOsquery " force the EF to join its threads . <nl> + osquery : : EventFactory : : end ( true ) ; <nl> + __GFLAGS_NAMESPACE : : ShutDownCommandLineFlags ( ) ; <nl> + <nl> + return result ; <nl> } <nl> mmm a / osquery / main / shell . cpp <nl> ppp b / osquery / main / shell . cpp <nl> int main ( int argc , char * argv [ ] ) { <nl> osquery : : FLAGS_db_path = " / tmp / rocksdb - osquery - shell " ; <nl> osquery : : initOsquery ( argc , argv , osquery : : OSQUERY_TOOL_SHELL ) ; <nl> <nl> - / / Start a thread for each appropriate event type <nl> - osquery : : registries : : faucet ( REGISTERED_EVENTPUBLISHERS , <nl> - REGISTERED_EVENTSUBSCRIBERS ) ; <nl> + / / Start event threads . <nl> osquery : : EventFactory : : delay ( ) ; <nl> <nl> int retcode = osquery : : launchIntoShell ( argc , argv ) ; <nl> <nl> - / / End any event type threads . <nl> - osquery : : EventFactory : : end ( ) ; <nl> + / / Finally shutdown . <nl> + osquery : : shutdownOsquery ( ) ; <nl> return retcode ; <nl> } <nl> new file mode 100644 <nl> index 0000000000 . . 2397da0c00 <nl> mmm / dev / null <nl> ppp b / osquery / registry / CMakeLists . txt <nl> <nl> + ADD_OSQUERY_CORE_LIBRARY ( osquery_registry <nl> + registry . cpp <nl> + ) <nl> + <nl> + ADD_OSQUERY_TEST ( core_registry_tests registry_tests . cpp ) <nl> deleted file mode 100644 <nl> index af3ba2a279 . . 0000000000 <nl> mmm a / osquery / registry / init_registry . h <nl> ppp / dev / null <nl> <nl> - / * <nl> - * Copyright ( c ) 2014 , Facebook , Inc . <nl> - * All rights reserved . <nl> - * <nl> - * This source code is licensed under the BSD - style license found in the <nl> - * LICENSE file in the root directory of this source tree . An additional grant <nl> - * of patent rights can be found in the PATENTS file in the same directory . <nl> - * <nl> - * / <nl> - <nl> - # pragma once <nl> - <nl> - # include < boost / noncopyable . hpp > <nl> - <nl> - # include " osquery / registry / registry_template . h " <nl> - <nl> - namespace osquery { <nl> - <nl> - class InitRegistry : public RegistryTemplate < > { <nl> - public : <nl> - / * * <nl> - * Singleton . <nl> - * / <nl> - static InitRegistry & get ( ) { <nl> - static InitRegistry instance ; / / Thread - safe . <nl> - return instance ; <nl> - } <nl> - <nl> - private : <nl> - InitRegistry ( ) { } <nl> - } ; <nl> - <nl> - / * * <nl> - * The most standard way to register an init func is to use this class <nl> - * as a static instance in some file to ensure the function gets called <nl> - * once main actually begins . <nl> - * <nl> - * Examples : <nl> - * <nl> - * static RegisterInitFunc reg1 ( & setupFancyTable ) ; <nl> - * static RegisterInitFunc reg2 ( std : : bind ( & setupSomething , 10 , 15 ) ) ; <nl> - * static RegisterInitFunc reg3 ( [ ] { setupSomethingElse ( 20 , 25 ) ; } ) ; <nl> - * <nl> - * / <nl> - struct RegisterInitFunc : private boost : : noncopyable { <nl> - explicit RegisterInitFunc ( InitRegistry : : Func func , <nl> - int priority = InitRegistry : : kDefaultPriority ) { <nl> - InitRegistry : : get ( ) . registerFunc ( std : : move ( func ) , priority ) ; <nl> - } <nl> - } ; <nl> - <nl> - } / / namespace osquery <nl> new file mode 100644 <nl> index 0000000000 . . b2af29459b <nl> mmm / dev / null <nl> ppp b / osquery / registry / registry . cpp <nl> <nl> + / * <nl> + * Copyright ( c ) 2014 , Facebook , Inc . <nl> + * All rights reserved . <nl> + * <nl> + * This source code is licensed under the BSD - style license found in the <nl> + * LICENSE file in the root directory of this source tree . An additional grant <nl> + * of patent rights can be found in the PATENTS file in the same directory . <nl> + * <nl> + * / <nl> + <nl> + # include < sstream > <nl> + <nl> + # include < boost / property_tree / json_parser . hpp > <nl> + <nl> + # include < osquery / registry . h > <nl> + <nl> + namespace osquery { <nl> + <nl> + void Plugin : : getResponse ( const std : : string & key , <nl> + const PluginResponse & response , <nl> + boost : : property_tree : : ptree & tree ) { <nl> + for ( const auto & item : response ) { <nl> + boost : : property_tree : : ptree child ; <nl> + for ( const auto & item_detail : item ) { <nl> + child . put ( item_detail . first , item_detail . second ) ; <nl> + } <nl> + tree . add_child ( key , child ) ; <nl> + } <nl> + } <nl> + <nl> + void Plugin : : setResponse ( const std : : string & key , <nl> + const boost : : property_tree : : ptree & tree , <nl> + PluginResponse & response ) { <nl> + std : : ostringstream output ; <nl> + boost : : property_tree : : write_json ( output , tree , false ) ; <nl> + response . push_back ( { { key , output . str ( ) } } ) ; <nl> + } <nl> + } <nl> deleted file mode 100644 <nl> index de413b6467 . . 0000000000 <nl> mmm a / osquery / registry / registry_template . h <nl> ppp / dev / null <nl> <nl> - / * <nl> - * Copyright ( c ) 2014 , Facebook , Inc . <nl> - * All rights reserved . <nl> - * <nl> - * This source code is licensed under the BSD - style license found in the <nl> - * LICENSE file in the root directory of this source tree . An additional grant <nl> - * of patent rights can be found in the PATENTS file in the same directory . <nl> - * <nl> - * / <nl> - <nl> - # pragma once <nl> - <nl> - # include < functional > <nl> - # include < map > <nl> - # include < mutex > <nl> - # include < vector > <nl> - <nl> - # include < boost / noncopyable . hpp > <nl> - <nl> - namespace osquery { <nl> - <nl> - template < class . . . FuncArgs > <nl> - class RegistryTemplate : private boost : : noncopyable { <nl> - public : <nl> - typedef std : : function < void ( FuncArgs . . . ) > Func ; <nl> - static const int kDefaultPriority = 100000 ; <nl> - <nl> - RegistryTemplate ( ) : alreadyRan_ ( false ) { } <nl> - <nl> - / * * <nl> - * Registers a function to be invoked when ' run ( ) ' is called ; fails <nl> - * if run ( ) has already been called . Functions will be run with lowest <nl> - * priority first , with FIFO order on ties . <nl> - * <nl> - * Function isn ' t allowed to throw , calling registerFunc ( ) from within <nl> - * registered function will cause deadlock . <nl> - * / <nl> - bool registerFunc ( Func func , int priority = kDefaultPriority ) { <nl> - std : : lock_guard < std : : mutex > guard ( mutex_ ) ; <nl> - if ( alreadyRan_ ) { <nl> - return false ; <nl> - } <nl> - <nl> - funcMap_ [ priority ] . push_back ( std : : move ( func ) ) ; <nl> - return true ; <nl> - } <nl> - <nl> - / * * <nl> - * Runs all functions already registered with registerFunc ( ) , in <nl> - * order from lowest priority to highest ( undefined order on ties ) . <nl> - * / <nl> - bool run ( FuncArgs . . . args ) noexcept { <nl> - std : : lock_guard < std : : mutex > guard ( mutex_ ) ; <nl> - if ( alreadyRan_ ) { <nl> - return false ; <nl> - } <nl> - <nl> - for ( const auto & kv : funcMap_ ) { <nl> - for ( const auto & func : kv . second ) { <nl> - if ( func ) { <nl> - func ( args . . . ) ; <nl> - } <nl> - } <nl> - } <nl> - <nl> - alreadyRan_ = true ; <nl> - return true ; <nl> - } <nl> - <nl> - private : <nl> - std : : mutex mutex_ ; <nl> - bool alreadyRan_ ; <nl> - <nl> - std : : map < int , std : : vector < Func > > funcMap_ ; <nl> - } ; <nl> - <nl> - } / / namespace osquery <nl> mmm a / osquery / registry / registry_tests . cpp <nl> ppp b / osquery / registry / registry_tests . cpp <nl> <nl> * <nl> * / <nl> <nl> - # include < memory > <nl> - # include < string > <nl> - <nl> # include < gtest / gtest . h > <nl> <nl> # include < osquery / logger . h > <nl> # include < osquery / registry . h > <nl> <nl> - class TestPlugin { <nl> + namespace osquery { <nl> + <nl> + class RegistryTests : public testing : : Test { } ; <nl> + <nl> + class CatPlugin : public Plugin { <nl> public : <nl> - virtual std : : string getName ( ) { return " test_base " ; } <nl> - virtual ~ TestPlugin ( ) { } <nl> + CatPlugin ( ) : some_value_ ( 0 ) { } <nl> + virtual int getValue ( ) { return some_value_ ; } <nl> + bool sayTrue ( ) { return true ; } <nl> <nl> protected : <nl> - TestPlugin ( ) { } ; <nl> + int some_value_ ; <nl> + } ; <nl> + <nl> + class HouseCat : public CatPlugin { <nl> + public : <nl> + Status setUp ( ) { <nl> + / / Make sure the Plugin implementation ' s init is called . <nl> + some_value_ = 9000 ; <nl> + return Status ( 0 , " OK " ) ; <nl> + } <nl> } ; <nl> <nl> - DECLARE_REGISTRY ( TestPlugins , std : : string , std : : shared_ptr < TestPlugin > ) <nl> + / / / This is a manual registry type without a name , so we cannot broadcast <nl> + / / / this registry type and it does NOT need to conform to a registry API . <nl> + class CatRegistry : public RegistryCore < CatPlugin > { } ; <nl> <nl> - # define REGISTERED_TEST_PLUGINS REGISTRY ( TestPlugins ) <nl> + TEST_F ( RegistryTests , test_registry ) { <nl> + CatRegistry cats ; <nl> <nl> - # define REGISTER_TEST_PLUGIN ( name , decorator ) \ <nl> - REGISTER ( TestPlugins , name , decorator ) <nl> + / / / Add a CatRegistry item ( a plugin ) called " house " . <nl> + cats . add < HouseCat > ( " house " ) ; <nl> + EXPECT_EQ ( cats . count ( ) , 1 ) ; <nl> <nl> - class TestPluginInstance : public TestPlugin { <nl> + / / / Try to add the same plugin with the same name , this is meaningless . <nl> + cats . add < HouseCat > ( " house " ) ; <nl> + / / / Now add the same plugin with a different name , a new plugin instance <nl> + / / / will be created and registered . <nl> + cats . add < HouseCat > ( " house2 " ) ; <nl> + EXPECT_EQ ( cats . count ( ) , 2 ) ; <nl> + <nl> + / / / Request a plugin to call an API method . <nl> + auto cat = cats . get ( " house " ) ; <nl> + cats . setUp ( ) ; <nl> + <nl> + EXPECT_EQ ( cat - > getValue ( ) , 9000 ) ; <nl> + <nl> + / / / Now let ' s iterate over every registered Cat plugin . <nl> + EXPECT_EQ ( cats . all ( ) . size ( ) , 2 ) ; <nl> + for ( const auto & cat : cats . all ( ) ) { <nl> + EXPECT_TRUE ( cat . second - > sayTrue ( ) ) ; <nl> + } <nl> + } <nl> + <nl> + / / / To track registry types and then broadcast them via Thrift we must define <nl> + / / / a plugin API . All broadcasted registry types and the plugins of that type <nl> + / / / must conform to this API . <nl> + class TestPluginAPI : public Plugin { <nl> public : <nl> - TestPluginInstance ( ) { } ; <nl> + virtual int getValue ( ) = 0 ; <nl> + virtual bool sayTrue ( ) = 0 ; <nl> + } ; <nl> <nl> - std : : string getName ( ) { return std : : string ( " test_1 " ) ; } <nl> + / / / Normally we have " Registry " that dictates the set of possible API methods <nl> + / / / for all registry types . Here we use a " TestRegistry " instead . <nl> + class TestCoreRegistry : public RegistryFactory < TestPluginAPI > { } ; <nl> <nl> - virtual ~ TestPluginInstance ( ) { } <nl> + / / / We can automatically create a registry type as long as that type conforms <nl> + / / / to the registry API defined in the " Registry " . Here we use " TestRegistry " . <nl> + / / / The above " CatRegistry " was easier to understand , but using a auto <nl> + / / / registry via the registry create method , we can assign a tracked name <nl> + / / / and then broadcast that registry name to other plugins . <nl> + auto AutoCatRegistry = TestCoreRegistry : : create < CatPlugin > ( " cat " ) ; <nl> + <nl> + TEST_F ( RegistryTests , test_auto_factory ) { <nl> + / / / Using the registry , and a registry type by name , we can register a <nl> + / / / plugin HouseCat called " house " like above . <nl> + TestCoreRegistry : : registry ( " cat " ) - > add < HouseCat > ( " auto_house " ) ; <nl> + TestCoreRegistry : : add < HouseCat > ( " cat " , " auto_house2 " ) ; <nl> + TestCoreRegistry : : registry ( " cat " ) - > setUp ( ) ; <nl> + <nl> + / / / When acting on registries by name we can check the broadcasted <nl> + / / / registry name of other plugin processes ( via Thrift ) as well as <nl> + / / / internally registered plugins like HouseCat . <nl> + EXPECT_EQ ( TestCoreRegistry : : registry ( " cat " ) - > count ( ) , 2 ) ; <nl> + EXPECT_EQ ( TestCoreRegistry : : count ( " cat " ) , 2 ) ; <nl> + <nl> + / / / And we can call an API method , since we guarantee CatPlugins conform <nl> + / / / to the " TestCoreRegistry " ' s " TestPluginAPI " . <nl> + auto cat = TestCoreRegistry : : get ( " cat " , " auto_house " ) ; <nl> + EXPECT_EQ ( cat - > getValue ( ) , 9000 ) ; <nl> + } <nl> + <nl> + class DogPlugin : public Plugin { <nl> + public : <nl> + DogPlugin ( ) : some_value_ ( 10000 ) { } <nl> + virtual int getValue ( ) { return some_value_ ; } <nl> + bool sayTrue ( ) { return true ; } <nl> + <nl> + protected : <nl> + int some_value_ ; <nl> } ; <nl> <nl> - REGISTER_TEST_PLUGIN ( " test_1 " , std : : make_shared < TestPluginInstance > ( ) ) ; <nl> + class Doge : public DogPlugin { <nl> + public : <nl> + Doge ( ) { some_value_ = 100000 ; } <nl> + } ; <nl> <nl> - class RegistryTests : public testing : : Test { <nl> + class BadDoge : public DogPlugin { <nl> public : <nl> - RegistryTests ( ) { osquery : : InitRegistry : : get ( ) . run ( ) ; } <nl> + Status setUp ( ) { return Status ( 1 , " Expect error . . . this is a bad dog " ) ; } <nl> } ; <nl> <nl> - TEST_F ( RegistryTests , test_plugin_method ) { <nl> - auto plugin = REGISTERED_TEST_PLUGINS . at ( " test_1 " ) ; <nl> - EXPECT_EQ ( plugin - > getName ( ) , " test_1 " ) ; <nl> + auto AutoDogRegistry = TestCoreRegistry : : create < DogPlugin > ( " dog " ) ; <nl> + <nl> + TEST_F ( RegistryTests , test_auto_registries ) { <nl> + TestCoreRegistry : : add < Doge > ( " dog " , " doge " ) ; <nl> + TestCoreRegistry : : registry ( " dog " ) - > setUp ( ) ; <nl> + <nl> + EXPECT_EQ ( TestCoreRegistry : : count ( " dog " ) , 1 ) ; <nl> + EXPECT_EQ ( TestCoreRegistry : : get ( " dog " , " doge " ) - > getValue ( ) , 100000 ) ; <nl> + } <nl> + <nl> + TEST_F ( RegistryTests , test_persistant_registries ) { <nl> + EXPECT_EQ ( TestCoreRegistry : : count ( " cat " ) , 2 ) ; <nl> + } <nl> + <nl> + TEST_F ( RegistryTests , test_registry_exceptions ) { <nl> + EXPECT_TRUE ( TestCoreRegistry : : add < Doge > ( " dog " , " duplicate_dog " ) . ok ( ) ) ; <nl> + / / Bad dog will be added fine , but when setup is run , it will be removed . <nl> + EXPECT_TRUE ( TestCoreRegistry : : add < BadDoge > ( " dog " , " bad_doge " ) . ok ( ) ) ; <nl> + TestCoreRegistry : : registry ( " dog " ) - > setUp ( ) ; <nl> + / / Make sure bad dog does not exist . <nl> + EXPECT_FALSE ( TestCoreRegistry : : exists ( " dog " , " bad_doge " ) ) ; <nl> + EXPECT_EQ ( TestCoreRegistry : : count ( " dog " ) , 2 ) ; <nl> + <nl> + int exception_count = 0 ; <nl> + try { <nl> + TestCoreRegistry : : registry ( " does_not_exist " ) ; <nl> + } catch ( const std : : out_of_range & e ) { <nl> + exception_count + + ; <nl> + } <nl> + <nl> + try { <nl> + TestCoreRegistry : : add < HouseCat > ( " does_not_exist " , " cat " ) ; <nl> + } catch ( const std : : out_of_range & e ) { <nl> + exception_count + + ; <nl> + } <nl> + <nl> + EXPECT_EQ ( exception_count , 2 ) ; <nl> + } <nl> + <nl> + class WidgetPlugin : public Plugin { <nl> + public : <nl> + / / / The route information will usually be provided by the plugin type . <nl> + / / / The plugin / registry item will set some structures for the plugin <nl> + / / / to parse and format . BUT a plugin / registry item can also fill this <nl> + / / / information in if the plugin type / registry type exposes routeInfo as <nl> + / / / a virtual method . <nl> + RouteInfo routeInfo ( ) { <nl> + RouteInfo info ; <nl> + info [ " name " ] = name_ ; <nl> + return info ; <nl> + } <nl> + <nl> + / / / Plugin types should contain generic request / response formatters and <nl> + / / / decorators . <nl> + std : : string secretPower ( const PluginRequest & request ) { <nl> + if ( request . count ( " secret_power " ) > 0 ) { <nl> + return request . at ( " secret_power " ) ; <nl> + } <nl> + return " no_secret_power " ; <nl> + } <nl> + } ; <nl> + <nl> + class SpecialWidget : public WidgetPlugin { <nl> + public : <nl> + Status call ( const PluginRequest & request , PluginResponse & response ) ; <nl> + } ; <nl> + <nl> + Status SpecialWidget : : call ( const PluginRequest & request , <nl> + PluginResponse & response ) { <nl> + response . push_back ( request ) ; <nl> + response [ 0 ] [ " from " ] = name_ ; <nl> + response [ 0 ] [ " secret_power " ] = secretPower ( request ) ; <nl> + return Status ( 0 , " OK " ) ; <nl> } <nl> <nl> - TEST_F ( RegistryTests , test_plugin_map ) { <nl> - EXPECT_EQ ( REGISTERED_TEST_PLUGINS . size ( ) , 1 ) ; <nl> + TEST_F ( RegistryTests , test_registry_api ) { <nl> + auto AutoWidgetRegistry = TestCoreRegistry : : create < WidgetPlugin > ( " widgets " ) ; <nl> + TestCoreRegistry : : add < SpecialWidget > ( " widgets " , " special " ) ; <nl> + <nl> + / / Test route info propogation , from item to registry , to broadcast . <nl> + auto ri = TestCoreRegistry : : get ( " widgets " , " special " ) - > routeInfo ( ) ; <nl> + EXPECT_EQ ( ri . at ( " name " ) , " special " ) ; <nl> + auto rr = TestCoreRegistry : : registry ( " widgets " ) - > getRoutes ( ) ; <nl> + EXPECT_EQ ( rr . size ( ) , 1 ) ; <nl> + EXPECT_EQ ( rr . at ( " special " ) . at ( " name " ) , " special " ) ; <nl> + <nl> + / / Broadcast will include all registries , and all their items . <nl> + auto broadcast_info = TestCoreRegistry : : getBroadcast ( ) ; <nl> + EXPECT_EQ ( broadcast_info . size ( ) , 3 ) ; <nl> + EXPECT_EQ ( broadcast_info . at ( " widgets " ) . at ( " special " ) . at ( " name " ) , " special " ) ; <nl> + <nl> + PluginResponse response ; <nl> + PluginRequest request ; <nl> + auto status = TestCoreRegistry : : call ( " widgets " , " special " , request , response ) ; <nl> + EXPECT_TRUE ( status . ok ( ) ) ; <nl> + EXPECT_EQ ( response [ 0 ] . at ( " from " ) , " special " ) ; <nl> + EXPECT_EQ ( response [ 0 ] . at ( " secret_power " ) , " no_secret_power " ) ; <nl> + <nl> + request [ " secret_power " ] = " magic " ; <nl> + status = TestCoreRegistry : : call ( " widgets " , " special " , request , response ) ; <nl> + EXPECT_EQ ( response [ 0 ] . at ( " secret_power " ) , " magic " ) ; <nl> + } <nl> } <nl> <nl> int main ( int argc , char * argv [ ] ) { <nl> testing : : InitGoogleTest ( & argc , argv ) ; <nl> + google : : InitGoogleLogging ( argv [ 0 ] ) ; <nl> return RUN_ALL_TESTS ( ) ; <nl> } <nl> deleted file mode 100644 <nl> index 16f53a34c8 . . 0000000000 <nl> mmm a / osquery / registry / singleton . h <nl> ppp / dev / null <nl> <nl> - / * <nl> - * Copyright ( c ) 2014 , Facebook , Inc . <nl> - * All rights reserved . <nl> - * <nl> - * This source code is licensed under the BSD - style license found in the <nl> - * LICENSE file in the root directory of this source tree . An additional grant <nl> - * of patent rights can be found in the PATENTS file in the same directory . <nl> - * <nl> - * / <nl> - <nl> - # pragma once <nl> - <nl> - namespace osquery { <nl> - <nl> - / / NOTE : T should have public or protected default ctor . <nl> - template < class T > <nl> - class Singleton : private T { <nl> - public : <nl> - static T & get ( ) { <nl> - / / C + + 11 guarantees that initialization of static local <nl> - / / variables is thread - safe ; Moreover , GCC started to <nl> - / / provide the same guarantee long time ago . <nl> - / / http : / / cppwisdom . quora . com / Singletons - are - easy <nl> - static Singleton < T > instance ; <nl> - return instance ; <nl> - } <nl> - <nl> - private : <nl> - Singleton ( ) { } <nl> - ~ Singleton ( ) { } <nl> - } ; <nl> - <nl> - } / / namespace osquery <nl> mmm a / osquery / tables / events / darwin / hardware_events . cpp <nl> ppp b / osquery / tables / events / darwin / hardware_events . cpp <nl> namespace tables { <nl> * @ brief Track IOKit HID events . <nl> * / <nl> class HardwareEventSubscriber : public EventSubscriber < IOKitHIDEventPublisher > { <nl> - DECLARE_SUBSCRIBER ( " HardwareEventSubscriber " ) ; <nl> + DECLARE_SUBSCRIBER ( " hardware_events " ) ; <nl> <nl> public : <nl> void init ( ) ; <nl> class HardwareEventSubscriber : public EventSubscriber < IOKitHIDEventPublisher > { <nl> Status Callback ( const IOKitHIDEventContextRef & ec ) ; <nl> } ; <nl> <nl> - REGISTER_EVENTSUBSCRIBER ( HardwareEventSubscriber ) ; <nl> + REGISTER ( HardwareEventSubscriber , " event_subscriber " , " hardware_events " ) ; <nl> <nl> void HardwareEventSubscriber : : init ( ) { <nl> auto subscription = createSubscriptionContext ( ) ; <nl> mmm a / osquery / tables / events / darwin / passwd_changes . cpp <nl> ppp b / osquery / tables / events / darwin / passwd_changes . cpp <nl> const std : : vector < std : : string > kDarwinPasswdPaths = { <nl> * / <nl> class PasswdChangesEventSubscriber <nl> : public EventSubscriber < FSEventsEventPublisher > { <nl> - DECLARE_SUBSCRIBER ( " PasswdChangesEventSubscriber " ) ; <nl> + DECLARE_SUBSCRIBER ( " passwd_changes " ) ; <nl> <nl> public : <nl> void init ( ) ; <nl> class PasswdChangesEventSubscriber <nl> * This registers PasswdChangesEventSubscriber into the osquery EventSubscriber <nl> * pseudo - plugin registry . <nl> * / <nl> - REGISTER_EVENTSUBSCRIBER ( PasswdChangesEventSubscriber ) ; <nl> + REGISTER ( PasswdChangesEventSubscriber , " event_subscriber " , " passwd_changes " ) ; <nl> <nl> void PasswdChangesEventSubscriber : : init ( ) { <nl> for ( const auto & path : kDarwinPasswdPaths ) { <nl> mmm a / osquery / tables / events / linux / hardware_events . cpp <nl> ppp b / osquery / tables / events / linux / hardware_events . cpp <nl> namespace tables { <nl> * @ brief Track udev events in Linux <nl> * / <nl> class HardwareEventSubscriber : public EventSubscriber < UdevEventPublisher > { <nl> - DECLARE_SUBSCRIBER ( " HardwareEventSubscriber " ) ; <nl> + DECLARE_SUBSCRIBER ( " hardware_events " ) ; <nl> <nl> public : <nl> void init ( ) ; <nl> class HardwareEventSubscriber : public EventSubscriber < UdevEventPublisher > { <nl> Status Callback ( const UdevEventContextRef & ec ) ; <nl> } ; <nl> <nl> - REGISTER_EVENTSUBSCRIBER ( HardwareEventSubscriber ) ; <nl> + REGISTER ( HardwareEventSubscriber , " event_subscriber " , " hardware_events " ) ; <nl> <nl> void HardwareEventSubscriber : : init ( ) { <nl> auto subscription = createSubscriptionContext ( ) ; <nl> mmm a / osquery / tables / events / linux / passwd_changes . cpp <nl> ppp b / osquery / tables / events / linux / passwd_changes . cpp <nl> namespace tables { <nl> * / <nl> class PasswdChangesEventSubscriber <nl> : public EventSubscriber < INotifyEventPublisher > { <nl> - DECLARE_SUBSCRIBER ( " PasswdChangesEventSubscriber " ) ; <nl> + DECLARE_SUBSCRIBER ( " passwd_changes " ) ; <nl> <nl> public : <nl> void init ( ) ; <nl> class PasswdChangesEventSubscriber <nl> * This registers PasswdChangesEventSubscriber into the osquery EventSubscriber <nl> * pseudo - plugin registry . <nl> * / <nl> - REGISTER_EVENTSUBSCRIBER ( PasswdChangesEventSubscriber ) ; <nl> + REGISTER ( PasswdChangesEventSubscriber , " event_subscriber " , " passwd_changes " ) ; <nl> <nl> void PasswdChangesEventSubscriber : : init ( ) { <nl> auto mc = createSubscriptionContext ( ) ; <nl> mmm a / osquery / tables / networking / linux / routes . cpp <nl> ppp b / osquery / tables / networking / linux / routes . cpp <nl> QueryData genRoutes ( QueryContext & context ) { <nl> } <nl> <nl> / / Wrap the read socket to support multi - netlink messages <nl> - size_t size ; <nl> + size_t size = 0 ; <nl> if ( ! readNetlink ( socket_fd , 1 , ( char * ) netlink_msg , & size ) . ok ( ) ) { <nl> VLOG ( 1 ) < < " Cannot read NETLINK response from socket " ; <nl> close ( socket_fd ) ; <nl> mmm a / osquery / tables / specs / x / hardware_events . table <nl> ppp b / osquery / tables / specs / x / hardware_events . table <nl> schema ( [ <nl> Column ( " revision " , INTEGER ) , <nl> Column ( " time " , INTEGER ) , <nl> ] ) <nl> - implementation ( " events / hardware_events @ HardwareEventSubscriber : : genTable " ) <nl> + implementation ( " events / hardware_events @ hardware_events : : genTable " ) <nl> mmm a / osquery / tables / specs / x / passwd_changes . table <nl> ppp b / osquery / tables / specs / x / passwd_changes . table <nl> schema ( [ <nl> Column ( " action " , TEXT , " Change action ( UPDATE , REMOVE , etc ) " ) , <nl> Column ( " transaction_id " , BIGINT , " ID used during bulk update " ) , <nl> ] ) <nl> - implementation ( " passwd_changes @ PasswdChangesEventSubscriber : : genTable " ) <nl> + implementation ( " passwd_changes @ passwd_changes : : genTable " ) <nl> mmm a / osquery / tables / system / linux / block_devices . cpp <nl> ppp b / osquery / tables / system / linux / block_devices . cpp <nl> QueryData genBlockDevs ( QueryContext & context ) { <nl> results . push_back ( r ) ; <nl> udev_device_unref ( dev ) ; <nl> } <nl> - } <nl> <nl> - udev_enumerate_unref ( enumerate ) ; <nl> - udev_unref ( udev ) ; <nl> + udev_enumerate_unref ( enumerate ) ; <nl> + udev_unref ( udev ) ; <nl> + } <nl> <nl> return results ; <nl> } <nl> mmm a / osquery / tables / templates / amalgamation . cpp . in <nl> ppp b / osquery / tables / templates / amalgamation . cpp . in <nl> <nl> # include " osquery / core / virtual_table . h " <nl> <nl> namespace osquery { namespace tables { <nl> - <nl> { % for table in tables % } <nl> { { table } } <nl> - <nl> { % endfor % } <nl> - <nl> } } <nl> mmm a / osquery / tables / templates / default . cpp . in <nl> ppp b / osquery / tables / templates / default . cpp . in <nl> class { { class_name } } { <nl> { % endif % } \ <nl> <nl> class { { table_name_cc } } TablePlugin : public TablePlugin { <nl> - public : <nl> - TableName name = " { { table_name } } " ; <nl> - TableColumns columns = { <nl> + private : <nl> + TableColumns columns ( ) { <nl> + return { <nl> { % for column in schema % } \ <nl> - std : : make_pair ( " { { column . name } } " , " { { column . type . affinity } } " ) \ <nl> + { " { { column . name } } " , " { { column . type . affinity } } " } \ <nl> { % if not loop . last % } , { % endif % } <nl> { % endfor % } \ <nl> - } ; <nl> + } ; <nl> + } <nl> <nl> QueryData generate ( QueryContext & request ) { <nl> { % if class_name ! = " " % } \ <nl> public : <nl> return osquery : : tables : : { { function } } ( request ) ; <nl> { % endif % } \ <nl> } <nl> - <nl> - public : <nl> - { { table_name_cc } } TablePlugin ( ) { } <nl> - int attachVtable ( sqlite3 * db ) { <nl> - return sqlite3_attach_vtable < { { table_name_cc } } TablePlugin > ( db , name , columns ) ; <nl> - } <nl> - virtual ~ { { table_name_cc } } TablePlugin ( ) { } <nl> } ; <nl> <nl> - REGISTER_TABLE ( " { { table_name } } " , std : : make_shared < { { table_name_cc } } TablePlugin > ( ) ) ; <nl> + REGISTER ( { { table_name_cc } } TablePlugin , " table " , " { { table_name } } " ) ; <nl> / / / END [ GENTABLE ] <nl> <nl> } } <nl> mmm a / osquery / tables / utility / osquery . cpp <nl> ppp b / osquery / tables / utility / osquery . cpp <nl> QueryData genOsqueryInfo ( QueryContext & context ) { <nl> if ( s . ok ( ) ) { <nl> r [ " config_md5 " ] = TEXT ( hash_string ) ; <nl> } else { <nl> + r [ " config_md5 " ] = " " ; <nl> VLOG ( 1 ) < < " Could not retrieve config hash : " < < s . toString ( ) ; <nl> } <nl> <nl> mmm a / tools / analysis / clang - analyze . sh <nl> ppp b / tools / analysis / clang - analyze . sh <nl> <nl> <nl> declare - a BLACKLIST = ( <nl> " osquery / devtools / shell . cpp " <nl> + " virtual_table . cpp " <nl> ) <nl> <nl> for BL_ITEM in $ { BLACKLIST [ @ ] } ; do <nl> mmm a / tools / profile . py <nl> ppp b / tools / profile . py <nl> def blue ( msg ) : <nl> " utilization " : ( 8 , 20 , 50 ) , <nl> " cpu_time " : ( 0 . 4 , 1 , 10 ) , <nl> " memory " : ( 8 * KB , 12 * KB , 24 * KB ) , <nl> - " fds " : ( 6 , 12 , 50 ) , <nl> + " fds " : ( 10 , 20 , 50 ) , <nl> " duration " : ( 0 . 8 , 1 , 3 ) , <nl> } <nl> <nl> def run_query ( shell , query , timeout = 0 , count = 1 ) : <nl> " system_time " : stats [ " cpu_times " ] . system , <nl> " cpu_time " : stats [ " cpu_times " ] . user + stats [ " cpu_times " ] . system , <nl> " fds " : stats [ " fds " ] , <nl> + " exit " : p . wait ( ) , <nl> } <nl> <nl> <nl> def rank ( value , ranges ) : <nl> <nl> summary_results = { } <nl> for name , result in results . iteritems ( ) : <nl> + failed = " exit " in result and result [ " exit " ] > 0 <nl> summary_result = { } <nl> for key in RANGES : <nl> if key = = " colors " : <nl> continue <nl> if key not in result : <nl> continue <nl> - summary_result [ key ] = ( rank ( result [ key ] , RANGES [ key ] ) , result [ key ] ) <nl> + if failed : <nl> + summary_result [ key ] = ( len ( RANGES [ " colors " ] ) - 1 , - 1 ) <nl> + else : <nl> + summary_result [ key ] = ( rank ( result [ key ] , RANGES [ key ] ) , <nl> + result [ key ] ) <nl> if display and not args . check : <nl> summary_line ( name , summary_result ) <nl> summary_results [ name ] = summary_result <nl> deleted file mode 100644 <nl> index c76f0c41a9 . . 0000000000 <nl> mmm a / tools / tests / CMakeLists . txt <nl> ppp / dev / null <nl> <nl> - ADD_OSQUERY_TEST ( flag_test flag_test . cpp ) <nl> - <nl> - ADD_OSQUERY_TEST ( registry_test registry_test . cpp ) <nl> deleted file mode 100644 <nl> index 0393f7f394 . . 0000000000 <nl> mmm a / tools / tests / flag_test . cpp <nl> ppp / dev / null <nl> <nl> - / * <nl> - * Copyright ( c ) 2014 , Facebook , Inc . <nl> - * All rights reserved . <nl> - * <nl> - * This source code is licensed under the BSD - style license found in the <nl> - * LICENSE file in the root directory of this source tree . An additional grant <nl> - * of patent rights can be found in the PATENTS file in the same directory . <nl> - * <nl> - * / <nl> - <nl> - # include < map > <nl> - # include < string > <nl> - <nl> - # include < gflags / gflags . h > <nl> - # include < glog / logging . h > <nl> - <nl> - namespace osquery { <nl> - <nl> - DECLARE_string ( config_retriever ) ; <nl> - DECLARE_string ( config_path ) ; <nl> - DECLARE_string ( log_receiver ) ; <nl> - DECLARE_string ( osquery_log_dir ) ; <nl> - <nl> - int checkFlags ( ) { <nl> - FLAGS_logtostderr = 1 ; <nl> - <nl> - std : : map < std : : string , std : : string > string_flags = { <nl> - { " config_retriever " , FLAGS_config_retriever } , <nl> - { " config_path " , FLAGS_config_path } , <nl> - { " log_receiver " , FLAGS_log_receiver } , <nl> - { " osquery_log_dir " , FLAGS_osquery_log_dir } , <nl> - } ; <nl> - <nl> - int ok = 0 ; <nl> - for ( const auto & it : string_flags ) { <nl> - if ( it . second = = " " ) { <nl> - LOG ( ERROR ) < < it . first < < " not set . " ; <nl> - ok = 1 ; <nl> - } else { <nl> - LOG ( INFO ) < < it . first < < " is " < < it . second ; <nl> - } <nl> - } <nl> - <nl> - return ok ; <nl> - } <nl> - } <nl> - <nl> - int main ( int argc , char * argv [ ] ) { <nl> - google : : ParseCommandLineFlags ( & argc , & argv , true ) ; <nl> - google : : InitGoogleLogging ( argv [ 0 ] ) ; <nl> - <nl> - return osquery : : checkFlags ( ) ; <nl> - } <nl> mmm a / tools / tests / osquery . supp <nl> ppp b / tools / tests / osquery . supp <nl> <nl> { <nl> - < dyld_cond > <nl> - Memcheck : Cond <nl> - . . . <nl> - fun : * dyld * <nl> - } <nl> - { <nl> - < imageloader_cond > <nl> - Memcheck : Cond <nl> - . . . <nl> - fun : * ImageLoader * <nl> - } <nl> - { <nl> - < imageloader_leak > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : * ImageLoader * <nl> - } <nl> - { <nl> - < dyld_initialize > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : * dyld * <nl> - } <nl> - { <nl> - < glog > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : * google * LogMessage * Init * <nl> - } <nl> - { <nl> - < localtime_statically_allocated > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : localtime <nl> - } <nl> - { <nl> - < rocksdb_init_module > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : * rocksdb * InitModule * <nl> - } <nl> - { <nl> - < rocksdb_posixenv > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : * rocksdb * PosixEnv * <nl> - } <nl> - { <nl> - < rocksdb_sanitize_options > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : * rocksdb * SanitizeOptions * <nl> - } <nl> - { <nl> - < rocksdb_internalstats > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : * rocksdb * InternalStats * <nl> - } <nl> - { <nl> - < core_foundation > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : _CFRuntimeBridgeClasses <nl> - } <nl> - { <nl> - < core_foundation_preferences > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : ____CFXPreferencesInitialize_block_invoke <nl> - } <nl> - { <nl> - < objective_c_startip > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : - [ NSThread init ] <nl> - } <nl> - { <nl> - < foundation_initialize_1 > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : dispatch_once_f <nl> - . . . <nl> - fun : __CFInitialize <nl> - } <nl> - { <nl> - < foundation_initialize_2 > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : dispatch_once_f <nl> - . . . <nl> - fun : CFArrayCreate <nl> - } <nl> - { <nl> - < foundation_initialize_3 > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : dispatch_once_f <nl> - . . . <nl> - fun : _class_initialize <nl> - } <nl> - { <nl> - < foundation_initialize_4 > <nl> - Memcheck : Addr8 <nl> - . . . <nl> - fun : _malloc_initialize <nl> - } <nl> - { <nl> - < foundation_initialize_5 > <nl> - Memcheck : Addr4 <nl> - . . . <nl> - fun : _malloc_initialize <nl> - } <nl> - { <nl> - < foundation_initialize_6 > <nl> - Memcheck : Cond <nl> - . . . <nl> - fun : - [ __NSPlaceholderTimeZone __initWithName : cache : ] <nl> - fun : + [ NSTimeZone timeZoneWithName : ] <nl> - fun : + [ NSTimeZone systemTimeZone ] <nl> - fun : + [ NSTimeZone defaultTimeZone ] <nl> - } <nl> - { <nl> - < foundation_initialize_7 > <nl> - Memcheck : Addr8 <nl> - . . . <nl> - fun : _os_alloc_once <nl> - . . . <nl> - fun : cache_create <nl> - . . . <nl> - fun : dispatch_once_f <nl> - } <nl> - { <nl> - < foundation_initialize_8 > <nl> - Memcheck : Addr1 <nl> - . . . <nl> - fun : _os_alloc_once <nl> - . . . <nl> - fun : cache_create <nl> - . . . <nl> - fun : dispatch_once_f <nl> - } <nl> - { <nl> - < foundation_initialize_9 > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : ucal_getCanonicalTimeZoneID <nl> - } <nl> - { <nl> - < foundation_initialize_10 > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : ures_openDirect <nl> - } <nl> - { <nl> - < foundation_initialize_11 > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : malloc_zone_malloc <nl> - fun : malloc_set_zone_name <nl> - fun : _malloc_initialize <nl> - fun : malloc_good_size <nl> - . . . <nl> - } <nl> - { <nl> - < foundation_initialize_12 > <nl> + < gflags_parse_string_flag_value > <nl> Memcheck : Leak <nl> + match - leak - kinds : possible <nl> . . . <nl> - fun : objc_msgSend <nl> - fun : + [ NSTimeZone allocWithZone : ] <nl> - fun : + [ NSTimeZone timeZoneWithName : ] <nl> - fun : + [ NSTimeZone systemTimeZone ] <nl> - fun : + [ NSTimeZone defaultTimeZone ] <nl> + fun : _ZN3fLS25dont_pass0toDEFINE_stringEPcPKc <nl> . . . <nl> + fun : __libc_csu_init <nl> + fun : ( below main ) <nl> } <nl> { <nl> - < foundation_initialize_12 > <nl> + < gflags_parse_flag_value > <nl> Memcheck : Leak <nl> + match - leak - kinds : possible <nl> . . . <nl> - fun : _os_once <nl> - fun : _os_alloc_once <nl> - fun : cache_create <nl> - . . . <nl> - fun : dispatch_once_f <nl> - . . . <nl> - } <nl> - { <nl> - < glog_cond > <nl> - Memcheck : Cond <nl> - . . . <nl> - fun : * google * LogMessage * <nl> - } <nl> - { <nl> - < glog_leak > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : * google * LogMessage * <nl> - } <nl> - { <nl> - < objc_startup_1 > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : CFBundleGetMainBundle <nl> - } <nl> - { <nl> - < arc_false_positive > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : lookUpImpOrForward <nl> - } <nl> - { <nl> - < oskextcopyloadedkextinfo_invalid_read > <nl> - Memcheck : Addr1 <nl> + fun : _ZN6google12_GLOBAL__N_19FlagValue9ParseFromEPKc <nl> . . . <nl> - fun : OSKextCopyLoadedKextInfo <nl> - } <nl> - { <nl> - < localtime_static > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : dispatch_once_f <nl> - . . . <nl> - fun : localtime_r <nl> - } <nl> - { <nl> - < plist_parsing_false_positive > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : _CFPropertyListCreateFromUTF8Data <nl> - fun : _CFPropertyListCreateWithData <nl> - fun : CFPropertyListCreateWithData <nl> - fun : + [ NSPropertyListSerialization propertyListWithData : options : format : error : ] <nl> - } <nl> - { <nl> - < image_loader_8 > <nl> - Memcheck : Addr8 <nl> - . . . <nl> - fun : malloc_create_zone <nl> - . . . <nl> - fun : _ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE <nl> - } <nl> - { <nl> - < image_loader_4 > <nl> - Memcheck : Addr4 <nl> - . . . <nl> - fun : malloc_create_zone <nl> - . . . <nl> - fun : _ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE <nl> - } <nl> - { <nl> - < command_line_flags_1 > <nl> - Memcheck : Addr8 <nl> - . . . <nl> - fun : _ZN7osquery11initOsqueryEiPPc <nl> - fun : main <nl> - } <nl> - { <nl> - < command_line_flags_2 > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : _ZN7osquery11initOsqueryEiPPc <nl> + fun : _ZN6google21ParseCommandLineFlagsEPiPPPcb <nl> fun : main <nl> } <nl> - { <nl> - < singleton_1 > <nl> - Memcheck : Addr8 <nl> - . . . <nl> - fun : dispatch_once_f <nl> - } <nl> - { <nl> - < singleton_2 > <nl> - Memcheck : Addr1 <nl> - . . . <nl> - fun : dispatch_once_f <nl> - } <nl> - { <nl> - < singleton_3 > <nl> - Memcheck : Leak <nl> - . . . <nl> - fun : dispatch_once_f <nl> - } <nl> - { <nl> - < singleton_4 > <nl> - Memcheck : Leak <nl> - fun : _dispatch_client_callout <nl> - } <nl> deleted file mode 100644 <nl> index 640849c7b1 . . 0000000000 <nl> mmm a / tools / tests / registry_test . cpp <nl> ppp / dev / null <nl> <nl> - / * <nl> - * Copyright ( c ) 2014 , Facebook , Inc . <nl> - * All rights reserved . <nl> - * <nl> - * This source code is licensed under the BSD - style license found in the <nl> - * LICENSE file in the root directory of this source tree . An additional grant <nl> - * of patent rights can be found in the PATENTS file in the same directory . <nl> - * <nl> - * / <nl> - <nl> - # include < glog / logging . h > <nl> - <nl> - # include " osquery / config . h " <nl> - # include " osquery / config / plugin . h " <nl> - # include " osquery / core . h " <nl> - # include " osquery / logger . h " <nl> - # include " osquery / logger / plugin . h " <nl> - # include " osquery / registry . h " <nl> - <nl> - int main ( int argc , char * argv [ ] ) { <nl> - osquery : : initOsquery ( argc , argv ) ; <nl> - <nl> - LOG ( INFO ) < < " Listing all plugins " ; <nl> - <nl> - LOG ( INFO ) < < " Logger plugins : " ; <nl> - for ( const auto & it : REGISTERED_LOGGER_PLUGINS ) { <nl> - LOG ( INFO ) < < " - " < < it . first ; <nl> - } <nl> - <nl> - LOG ( INFO ) < < " Config plugins : " ; <nl> - for ( const auto & it : REGISTERED_CONFIG_PLUGINS ) { <nl> - LOG ( INFO ) < < " - " < < it . first ; <nl> - } <nl> - <nl> - return 0 ; <nl> - } <nl>
Merge pull request from theopolis / more_registry
osquery/osquery
27bd49b660f607ac67d3b92353374303dfa0a682
2015-02-01T22:56:57Z