/development/ndk/platforms/android-21/include/ |
D | stdatomic.h | 62 #define _Atomic(t) std::atomic<t> 64 using std::atomic_is_lock_free; 65 using std::atomic_init; 66 using std::atomic_store; 67 using std::atomic_store_explicit; 68 using std::atomic_load; 69 using std::atomic_load_explicit; 70 using std::atomic_exchange; 71 using std::atomic_exchange_explicit; 72 using std::atomic_compare_exchange_strong; [all …]
|
/development/perftests/panorama/feature_stab/src/dbregtest/ |
D | PgmImage.h | 30 friend std::ostream& operator<< (std::ostream& o, const PgmImage& im); 36 PgmImage(std::string filename); 48 PgmImage(std::vector<unsigned char> &data, int w, int h); 66 bool ReadPGM(const std::string filename); 68 bool WritePGM(const std::string filename, const std::string comment=""); 89 std::vector<unsigned char> m_data; 90 std::string m_comment; 92 std::vector<unsigned char *> m_rows; 95 std::ostream& operator<< (std::ostream& o, const PgmImage& im);
|
D | PgmImage.cpp | 20 using namespace std; 22 PgmImage::PgmImage(std::string filename) : in PgmImage() 41 PgmImage::PgmImage(std::vector<unsigned char> &data, int w, int h) : in PgmImage() 48 throw (std::exception()); in PgmImage() 109 bool PgmImage::ReadPGM(const std::string filename) in ReadPGM() 111 ifstream in(filename.c_str(),std::ios::in | std::ios::binary); in ReadPGM() 178 bool PgmImage::WritePGM(const std::string filename, const std::string comment) in WritePGM() 195 ofstream out(filename.c_str(),std::ios::out |ios::binary); in WritePGM() 241 std::ostream& operator<< (std::ostream& o, const PgmImage& im) in operator <<()
|
D | dbregtest.cpp | 32 using namespace std; 203 cout << reg.profile_string << std::endl; in main()
|
/development/ndk/sources/android/ndk_helper/ |
D | shader.cpp | 31 const std::map<std::string, std::string>& map_parameters ) in CompileShader() 33 std::vector<uint8_t> data; in CompileShader() 42 std::string str( data.begin(), data.end() ); in CompileShader() 43 std::string str_replacement_map( data.size(), ' ' ); in CompileShader() 45 std::map<std::string, std::string>::const_iterator it = map_parameters.begin(); in CompileShader() 46 std::map<std::string, std::string>::const_iterator itEnd = map_parameters.end(); in CompileShader() 50 while( (pos = str.find( it->first, pos )) != std::string::npos ) in CompileShader() 55 if( replaced_pos == std::string::npos || replaced_pos > pos ) in CompileShader() 74 std::vector<uint8_t> v( str.begin(), str.end() ); in CompileShader() 117 std::vector<uint8_t>& data ) in CompileShader() [all …]
|
D | shader.h | 55 bool CompileShader( GLuint *shader, const GLenum type, std::vector<uint8_t>& data ); 100 const std::map<std::string, std::string>& map_parameters );
|
D | JNIHelper.cpp | 89 helper.app_name_ = std::string( appname ); in Init() 108 std::vector<uint8_t>* buffer_ref ) in ReadFile() 125 std::string s( path ); in ReadFile() 132 std::ifstream f( s.c_str(), std::ios::binary ); in ReadFile() 141 f.seekg( 0, std::ifstream::end ); in ReadFile() 143 f.seekg( 0, std::ifstream::beg ); in ReadFile() 145 buffer_ref->assign( std::istreambuf_iterator<char>( f ), std::istreambuf_iterator<char>() ); in ReadFile() 180 std::string JNIHelper::GetExternalFilesDir() in GetExternalFilesDir() 185 return std::string( "" ); in GetExternalFilesDir() 198 std::string s( path ); in GetExternalFilesDir() [all …]
|
D | JNIHelper.h | 47 std::string app_name_; 103 std::vector<uint8_t>* buffer_ref ); 132 std::string ConvertString( const char* str, 139 std::string GetExternalFilesDir();
|
D | GLContext.cpp | 281 std::string extensions = std::string( (char*) glGetString( GL_EXTENSIONS ) ); in CheckExtension() 282 std::string str = std::string( extension ); in CheckExtension() 286 if( extensions.find( extension, pos ) != std::string::npos ) in CheckExtension()
|
D | gestureDetector.h | 130 std::vector<int32_t> vec_pointers_; 153 std::vector<int32_t> vec_pointers_;
|
D | gestureDetector.cpp | 184 std::vector<int32_t>::iterator it = vec_pointers_.begin(); in Detect() 185 std::vector<int32_t>::iterator it_end = vec_pointers_.end(); in Detect() 292 std::vector<int32_t>::iterator it = vec_pointers_.begin(); in Detect() 293 std::vector<int32_t>::iterator it_end = vec_pointers_.end(); in Detect()
|
D | interpolator.h | 63 std::list<InterpolatorParams> list_params_;
|
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
D | MoreTeapotsRenderer.h | 92 std::map<std::string, std::string>&shaderParameters ); 96 std::vector<ndk_helper::Mat4> vec_mat_models_; 97 std::vector<ndk_helper::Vec3> vec_colors_; 98 std::vector<ndk_helper::Vec2> vec_rotations_; 99 std::vector<ndk_helper::Vec2> vec_current_rotations_; 111 std::string ToString( const int32_t i );
|
D | MoreTeapotsRenderer.cpp | 139 std::map<std::string, std::string> param; in Init() 140 param[std::string( "%NUM_TEAPOT%" )] = ToString( teapot_x_ * teapot_y_ * teapot_z_ ); in Init() 141 param[std::string( "%LOCATION_VERTEX%" )] = ToString( ATTRIB_VERTEX ); in Init() 142 param[std::string( "%LOCATION_NORMAL%" )] = ToString( ATTRIB_NORMAL ); in Init() 144 param[std::string( "%ARB%" )] = std::string( "ARB" ); in Init() 146 param[std::string( "%ARB%" )] = std::string( "" ); in Init() 462 std::map<std::string, std::string>&shaderParams ) in LoadShadersES3() 549 std::string MoreTeapotsRenderer::ToString( const int32_t i ) in ToString() 553 return std::string( str ); in ToString()
|
/development/host/windows/usb/api/ |
D | adb_api_instance.h | 71 const std::wstring& interface_name() const { in interface_name() 101 std::wstring interface_name_; 111 typedef std::map< ADBAPIINSTANCEHANDLE, AdbApiInstance* > AdbApiInstanceMap;
|
D | adb_api_private_defines.h | 86 const std::wstring& device_name() const { in device_name() 105 std::wstring device_name_; 112 typedef std::vector< AdbInstanceEnumEntry > AdbEnumInterfaceArray;
|
D | adb_interface.h | 163 const std::wstring& interface_name() const { in interface_name() 199 std::wstring interface_name_;
|
D | adb_helper_routines.h | 124 std::wstring* name);
|
D | adb_helper_routines.cpp | 109 std::wstring dev_name; in EnumerateDeviceInterfaces() 228 std::wstring* name) { in GetUsbDeviceName()
|
D | adb_object_handle.h | 185 typedef std::map< ADBAPIHANDLE, AdbObjectHandle* > AdbObjectHandleMap;
|
D | adb_legacy_interface.cpp | 217 std::wstring endpoint_name; in OpenEndpoint() 268 std::wstring endpoint_path = interface_name(); in OpenEndpoint()
|
/development/tutorials/ReverseDebug/ |
D | Android.mk | 22 LOCAL_CFLAGS := -std=gnu99 -O0
|
/development/host/windows/usb/adb_winapi_test/ |
D | adb_winapi_test.cpp | 667 std::string get_error_description(const DWORD err) { in get_error_description() 669 const DWORD* found = std::find(g_expected_errors, end, err); in get_error_description() 675 return std::string(buf); in get_error_description() 681 return std::find(g_expected_errors, end, err) != end; in is_expected_error() 725 std::map<DWORD, size_t> read_errors; in TestCloseRaceCondition() 803 for (std::map<DWORD, size_t>::iterator it = read_errors.begin(); in TestCloseRaceCondition()
|
/development/perftests/panorama/ |
D | Android.mk | 40 LOCAL_CPPFLAGS := -std=c++98
|
/development/perftests/panorama/feature_stab/db_vlvm/ |
D | db_rob_image_homography.cpp | 33 using namespace std; 87 …std::cout << "Inlier Percentage RobImageHomography: " << frac*100.0 << "% out of " << point_count … in db_RobImageHomography_Statistics() 269 std::cout << "Step" << i << "Imp,Lambda=" << lambda << "Cost:" << current_cost << std::endl; in db_RobCamRotation_Polish() 612 std::cout << "Step" << i << "Imp,Lambda=" << lambda << "Cost:" << current_cost << std::endl; in db_RobCamRotation_Polish_Generic()
|