Home
last modified time | relevance | path

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

12

/development/ndk/platforms/android-21/include/
Dstdatomic.h62 #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/
DPgmImage.h30 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);
DPgmImage.cpp20 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 <<()
Ddbregtest.cpp32 using namespace std;
203 cout << reg.profile_string << std::endl; in main()
/development/ndk/sources/android/ndk_helper/
Dshader.cpp31 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 …]
Dshader.h55 bool CompileShader( GLuint *shader, const GLenum type, std::vector<uint8_t>& data );
100 const std::map<std::string, std::string>& map_parameters );
DJNIHelper.cpp89 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 …]
DJNIHelper.h47 std::string app_name_;
103 std::vector<uint8_t>* buffer_ref );
132 std::string ConvertString( const char* str,
139 std::string GetExternalFilesDir();
DGLContext.cpp281 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()
DgestureDetector.h130 std::vector<int32_t> vec_pointers_;
153 std::vector<int32_t> vec_pointers_;
DgestureDetector.cpp184 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()
Dinterpolator.h63 std::list<InterpolatorParams> list_params_;
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.h92 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 );
DMoreTeapotsRenderer.cpp139 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/
Dadb_api_instance.h71 const std::wstring& interface_name() const { in interface_name()
101 std::wstring interface_name_;
111 typedef std::map< ADBAPIINSTANCEHANDLE, AdbApiInstance* > AdbApiInstanceMap;
Dadb_api_private_defines.h86 const std::wstring& device_name() const { in device_name()
105 std::wstring device_name_;
112 typedef std::vector< AdbInstanceEnumEntry > AdbEnumInterfaceArray;
Dadb_interface.h163 const std::wstring& interface_name() const { in interface_name()
199 std::wstring interface_name_;
Dadb_helper_routines.h124 std::wstring* name);
Dadb_helper_routines.cpp109 std::wstring dev_name; in EnumerateDeviceInterfaces()
228 std::wstring* name) { in GetUsbDeviceName()
Dadb_object_handle.h185 typedef std::map< ADBAPIHANDLE, AdbObjectHandle* > AdbObjectHandleMap;
Dadb_legacy_interface.cpp217 std::wstring endpoint_name; in OpenEndpoint()
268 std::wstring endpoint_path = interface_name(); in OpenEndpoint()
/development/tutorials/ReverseDebug/
DAndroid.mk22 LOCAL_CFLAGS := -std=gnu99 -O0
/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp667 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/
DAndroid.mk40 LOCAL_CPPFLAGS := -std=c++98
/development/perftests/panorama/feature_stab/db_vlvm/
Ddb_rob_image_homography.cpp33 using namespace std;
87std::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()

12