/external/libchrome/base/files/ |
D | file_util.h | 49 BASE_EXPORT FilePath MakeAbsoluteFilePath(const FilePath& input); 56 BASE_EXPORT int64_t ComputeDirectorySize(const FilePath& root_path); 70 BASE_EXPORT bool DeleteFile(const FilePath& path, bool recursive); 78 BASE_EXPORT bool DeleteFileAfterReboot(const FilePath& path); 86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path); 94 BASE_EXPORT bool ReplaceFile(const FilePath& from_path, 118 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path); 129 BASE_EXPORT bool CopyDirectory(const FilePath& from_path, 135 BASE_EXPORT bool CopyDirectoryExcl(const FilePath& from_path, 141 BASE_EXPORT bool PathExists(const FilePath& path); [all …]
|
/external/libchrome/base/strings/ |
D | string_util.h | 63 BASE_EXPORT size_t strlcpy(char* dst, const char* src, size_t dst_size); 64 BASE_EXPORT size_t wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size); 87 BASE_EXPORT bool IsWprintfFormatPortable(const wchar_t* format); 108 BASE_EXPORT std::string ToLowerASCII(StringPiece str); 109 BASE_EXPORT string16 ToLowerASCII(StringPiece16 str); 112 BASE_EXPORT std::string ToUpperASCII(StringPiece str); 113 BASE_EXPORT string16 ToUpperASCII(StringPiece16 str); 137 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece a, StringPiece b); 138 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b); 143 BASE_EXPORT bool EqualsCaseInsensitiveASCII(StringPiece a, StringPiece b); [all …]
|
D | string_number_conversions.h | 44 BASE_EXPORT std::string NumberToString(int value); 45 BASE_EXPORT string16 NumberToString16(int value); 46 BASE_EXPORT std::string NumberToString(unsigned int value); 47 BASE_EXPORT string16 NumberToString16(unsigned int value); 48 BASE_EXPORT std::string NumberToString(long value); 49 BASE_EXPORT string16 NumberToString16(long value); 50 BASE_EXPORT std::string NumberToString(unsigned long value); 51 BASE_EXPORT string16 NumberToString16(unsigned long value); 52 BASE_EXPORT std::string NumberToString(long long value); 53 BASE_EXPORT string16 NumberToString16(long long value); [all …]
|
D | utf_string_conversions.h | 24 BASE_EXPORT bool WideToUTF8(const wchar_t* src, size_t src_len, 26 BASE_EXPORT std::string WideToUTF8(WStringPiece wide); 27 BASE_EXPORT bool UTF8ToWide(const char* src, size_t src_len, 29 BASE_EXPORT std::wstring UTF8ToWide(StringPiece utf8); 31 BASE_EXPORT bool WideToUTF16(const wchar_t* src, size_t src_len, 33 BASE_EXPORT string16 WideToUTF16(WStringPiece wide); 34 BASE_EXPORT bool UTF16ToWide(const char16* src, size_t src_len, 36 BASE_EXPORT std::wstring UTF16ToWide(StringPiece16 utf16); 38 BASE_EXPORT bool UTF8ToUTF16(const char* src, size_t src_len, string16* output); 39 BASE_EXPORT string16 UTF8ToUTF16(StringPiece utf8); [all …]
|
D | sys_string_conversions.h | 34 BASE_EXPORT std::string SysWideToUTF8(const std::wstring& wide); 35 BASE_EXPORT std::wstring SysUTF8ToWide(StringPiece utf8); 40 BASE_EXPORT std::string SysWideToNativeMB(const std::wstring& wide); 41 BASE_EXPORT std::wstring SysNativeMBToWide(StringPiece native_mb); 50 BASE_EXPORT std::wstring SysMultiByteToWide(StringPiece mb, uint32_t code_page); 51 BASE_EXPORT std::string SysWideToMultiByte(const std::wstring& wide, 64 BASE_EXPORT CFStringRef SysUTF8ToCFStringRef(const std::string& utf8); 65 BASE_EXPORT CFStringRef SysUTF16ToCFStringRef(const string16& utf16); 68 BASE_EXPORT NSString* SysUTF8ToNSString(const std::string& utf8); 69 BASE_EXPORT NSString* SysUTF16ToNSString(const string16& utf16); [all …]
|
D | old_utf_string_conversions.h | 29 BASE_EXPORT bool WideToUTF8(const wchar_t* src, 32 BASE_EXPORT std::string WideToUTF8(const std::wstring& wide); 33 BASE_EXPORT bool UTF8ToWide(const char* src, 36 BASE_EXPORT std::wstring UTF8ToWide(StringPiece utf8); 38 BASE_EXPORT bool WideToUTF16(const wchar_t* src, 41 BASE_EXPORT string16 WideToUTF16(const std::wstring& wide); 42 BASE_EXPORT bool UTF16ToWide(const char16* src, 45 BASE_EXPORT std::wstring UTF16ToWide(const string16& utf16); 47 BASE_EXPORT bool UTF8ToUTF16(const char* src, size_t src_len, string16* output); 48 BASE_EXPORT string16 UTF8ToUTF16(StringPiece utf8); [all …]
|
D | string_piece.h | 49 BASE_EXPORT void CopyToString(const StringPiece& self, std::string* target); 50 BASE_EXPORT void CopyToString(const StringPiece16& self, string16* target); 52 BASE_EXPORT void AppendToString(const StringPiece& self, std::string* target); 53 BASE_EXPORT void AppendToString(const StringPiece16& self, string16* target); 55 BASE_EXPORT size_t copy(const StringPiece& self, 59 BASE_EXPORT size_t copy(const StringPiece16& self, 64 BASE_EXPORT size_t find(const StringPiece& self, 67 BASE_EXPORT size_t find(const StringPiece16& self, 70 BASE_EXPORT size_t find(const StringPiece& self, 73 BASE_EXPORT size_t find(const StringPiece16& self, [all …]
|
D | stringprintf.h | 19 BASE_EXPORT std::string StringPrintf(_Printf_format_string_ const char* format, 23 BASE_EXPORT std::wstring StringPrintf( 29 BASE_EXPORT std::string StringPrintV(const char* format, va_list ap) 33 BASE_EXPORT const std::string& SStringPrintf( 38 BASE_EXPORT const std::wstring& SStringPrintf( 45 BASE_EXPORT void StringAppendF(std::string* dst, 49 BASE_EXPORT void StringAppendF(std::wstring* dst, 56 BASE_EXPORT void StringAppendV(std::string* dst, const char* format, va_list ap) 59 BASE_EXPORT void StringAppendV(std::wstring* dst,
|
D | string_split.h | 46 BASE_EXPORT std::vector<std::string> SplitString( 51 BASE_EXPORT std::vector<string16> SplitString( 69 BASE_EXPORT std::vector<StringPiece> SplitStringPiece( 74 BASE_EXPORT std::vector<StringPiece16> SplitStringPiece( 86 BASE_EXPORT bool SplitStringIntoKeyValuePairs(StringPiece input, 93 BASE_EXPORT std::vector<string16> SplitStringUsingSubstr( 98 BASE_EXPORT std::vector<std::string> SplitStringUsingSubstr( 116 BASE_EXPORT std::vector<StringPiece16> SplitStringPieceUsingSubstr( 121 BASE_EXPORT std::vector<StringPiece> SplitStringPieceUsingSubstr(
|
/external/libchrome/base/android/ |
D | jni_array.h | 21 BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(JNIEnv* env, 25 BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray( 30 BASE_EXPORT ScopedJavaLocalRef<jbooleanArray> 34 BASE_EXPORT ScopedJavaLocalRef<jintArray> ToJavaIntArray( 37 BASE_EXPORT ScopedJavaLocalRef<jintArray> ToJavaIntArray( 41 BASE_EXPORT ScopedJavaLocalRef<jlongArray> ToJavaLongArray(JNIEnv* env, 45 BASE_EXPORT ScopedJavaLocalRef<jlongArray> ToJavaLongArray( 50 BASE_EXPORT ScopedJavaLocalRef<jfloatArray> ToJavaFloatArray( 53 BASE_EXPORT ScopedJavaLocalRef<jfloatArray> ToJavaFloatArray( 58 BASE_EXPORT ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfByteArray( [all …]
|
D | jni_android.h | 65 BASE_EXPORT JNIEnv* AttachCurrentThread(); 72 BASE_EXPORT JNIEnv* AttachCurrentThreadWithName(const std::string& thread_name); 75 BASE_EXPORT void DetachFromVM(); 78 BASE_EXPORT void InitVM(JavaVM* vm); 81 BASE_EXPORT bool IsVMInitialized(); 88 BASE_EXPORT void InitReplacementClassLoader( 97 BASE_EXPORT ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env, 106 BASE_EXPORT jclass LazyGetClass( 112 class BASE_EXPORT MethodID { 139 BASE_EXPORT bool HasException(JNIEnv* env); [all …]
|
D | jni_string.h | 19 BASE_EXPORT void ConvertJavaStringToUTF8(JNIEnv* env, 22 BASE_EXPORT std::string ConvertJavaStringToUTF8(JNIEnv* env, jstring str); 23 BASE_EXPORT std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str); 24 BASE_EXPORT std::string ConvertJavaStringToUTF8(JNIEnv* env, 28 BASE_EXPORT ScopedJavaLocalRef<jstring> ConvertUTF8ToJavaString( 33 BASE_EXPORT void ConvertJavaStringToUTF16(JNIEnv* env, 36 BASE_EXPORT string16 ConvertJavaStringToUTF16(JNIEnv* env, jstring str); 37 BASE_EXPORT string16 ConvertJavaStringToUTF16(const JavaRef<jstring>& str); 38 BASE_EXPORT string16 ConvertJavaStringToUTF16(JNIEnv* env, 42 BASE_EXPORT ScopedJavaLocalRef<jstring> ConvertUTF16ToJavaString(
|
/external/libchrome/base/process/ |
D | process_metrics.h | 57 BASE_EXPORT int64_t TimeValToMicroseconds(const struct timeval& tv); 73 class BASE_EXPORT ProcessMetrics { 98 BASE_EXPORT size_t GetResidentSetSize() const; 112 BASE_EXPORT TotalsSummary GetTotalsSummary() const; 258 BASE_EXPORT size_t GetSystemCommitCharge(); 264 BASE_EXPORT size_t GetPageSize(); 268 BASE_EXPORT size_t GetMaxFds(); 274 BASE_EXPORT void IncreaseFdLimitTo(unsigned int max_descriptors); 289 struct BASE_EXPORT SystemMemoryInfoKB { 359 BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo); [all …]
|
D | launch.h | 58 struct BASE_EXPORT LaunchOptions { 62 class BASE_EXPORT PreExecDelegate { 265 BASE_EXPORT Process LaunchProcess(const CommandLine& cmdline, 279 BASE_EXPORT Process LaunchProcess(const string16& cmdline, 287 BASE_EXPORT Process LaunchElevatedProcess(const CommandLine& cmdline, 295 BASE_EXPORT Process LaunchProcess(const std::vector<std::string>& argv, 301 BASE_EXPORT void CloseSuperfluousFds(const InjectiveMultimap& saved_map); 307 BASE_EXPORT bool SetJobObjectLimitFlags(HANDLE job_object, DWORD limit_flags); 311 BASE_EXPORT void RouteStdioToConsole(bool create_console_if_not_found); 318 BASE_EXPORT bool GetAppOutput(const CommandLine& cl, std::string* output); [all …]
|
D | kill.h | 75 BASE_EXPORT bool KillProcesses(const FilePath::StringType& executable_name, 82 BASE_EXPORT bool KillProcessGroup(ProcessHandle process_group_id); 92 BASE_EXPORT TerminationStatus GetTerminationStatus(ProcessHandle handle, 111 BASE_EXPORT TerminationStatus GetKnownDeadTerminationStatus( 117 BASE_EXPORT void EnsureProcessGetsReaped(Process process); 127 BASE_EXPORT void EnsureProcessTerminated(Process process); 136 BASE_EXPORT bool WaitForProcessesToExit( 147 BASE_EXPORT bool CleanupProcesses(const FilePath::StringType& executable_name,
|
D | memory.h | 26 BASE_EXPORT void EnableTerminationOnHeapCorruption(); 29 BASE_EXPORT void EnableTerminationOnOutOfMemory(); 33 BASE_EXPORT void TerminateBecauseOutOfMemory(size_t size); 36 BASE_EXPORT extern size_t g_oom_size; 48 BASE_EXPORT bool AdjustOOMScore(ProcessId process, int score); 75 BASE_EXPORT WARN_UNUSED_RESULT bool UncheckedMalloc(size_t size, 77 BASE_EXPORT WARN_UNUSED_RESULT bool UncheckedCalloc(size_t num_items,
|
/external/libchrome/base/metrics/ |
D | histogram_functions.h | 33 BASE_EXPORT void UmaHistogramExactLinear(const std::string& name, 79 BASE_EXPORT void UmaHistogramBoolean(const std::string& name, bool sample); 85 BASE_EXPORT void UmaHistogramPercentage(const std::string& name, int percent); 90 BASE_EXPORT void UmaHistogramCustomCounts(const std::string& name, 97 BASE_EXPORT void UmaHistogramCounts100(const std::string& name, int sample); 98 BASE_EXPORT void UmaHistogramCounts1000(const std::string& name, int sample); 99 BASE_EXPORT void UmaHistogramCounts10000(const std::string& name, int sample); 100 BASE_EXPORT void UmaHistogramCounts100000(const std::string& name, int sample); 101 BASE_EXPORT void UmaHistogramCounts1M(const std::string& name, int sample); 102 BASE_EXPORT void UmaHistogramCounts10M(const std::string& name, int sample); [all …]
|
/external/libchrome/base/debug/ |
D | profiler.h | 24 BASE_EXPORT void StartProfiling(const std::string& name); 27 BASE_EXPORT void StopProfiling(); 30 BASE_EXPORT void FlushProfiling(); 33 BASE_EXPORT bool BeingProfiled(); 36 BASE_EXPORT void RestartProfilingAfterFork(); 39 BASE_EXPORT bool IsProfilingSupported(); 83 BASE_EXPORT ReturnAddressLocationResolver GetProfilerReturnAddrResolutionFunc(); 84 BASE_EXPORT DynamicFunctionEntryHook GetProfilerDynamicFunctionEntryHookFunc(); 85 BASE_EXPORT AddDynamicSymbol GetProfilerAddDynamicSymbolFunc(); 86 BASE_EXPORT MoveDynamicSymbol GetProfilerMoveDynamicSymbolFunc();
|
/external/libchrome/base/ |
D | rand_util.h | 20 BASE_EXPORT uint64_t RandUint64(); 23 BASE_EXPORT int RandInt(int min, int max); 26 BASE_EXPORT uint64_t RandGenerator(uint64_t range); 29 BASE_EXPORT double RandDouble(); 33 BASE_EXPORT double BitsToOpenEndedUnitInterval(uint64_t bits); 40 BASE_EXPORT void RandBytes(void* output, size_t output_length); 51 BASE_EXPORT std::string RandBytesAsString(size_t length); 73 BASE_EXPORT int GetUrandomFD();
|
D | version.h | 20 class BASE_EXPORT Version { 66 BASE_EXPORT bool operator==(const Version& v1, const Version& v2); 67 BASE_EXPORT bool operator!=(const Version& v1, const Version& v2); 68 BASE_EXPORT bool operator<(const Version& v1, const Version& v2); 69 BASE_EXPORT bool operator<=(const Version& v1, const Version& v2); 70 BASE_EXPORT bool operator>(const Version& v1, const Version& v2); 71 BASE_EXPORT bool operator>=(const Version& v1, const Version& v2); 72 BASE_EXPORT std::ostream& operator<<(std::ostream& stream, const Version& v);
|
D | md5.h | 50 BASE_EXPORT void MD5Init(MD5Context* context); 55 BASE_EXPORT void MD5Update(MD5Context* context, const StringPiece& data); 58 BASE_EXPORT void MD5Final(MD5Digest* digest, MD5Context* context); 63 BASE_EXPORT void MD5IntermediateFinal(MD5Digest* digest, 67 BASE_EXPORT std::string MD5DigestToBase16(const MD5Digest& digest); 71 BASE_EXPORT void MD5Sum(const void* data, size_t length, MD5Digest* digest); 74 BASE_EXPORT std::string MD5String(const StringPiece& str);
|
D | native_library.h | 53 struct BASE_EXPORT NativeLibraryLoadError { 68 struct BASE_EXPORT NativeLibraryOptions { 83 BASE_EXPORT NativeLibrary LoadNativeLibrary(const FilePath& library_path, 89 BASE_EXPORT NativeLibrary LoadNativeLibraryWithOptions( 95 BASE_EXPORT void UnloadNativeLibrary(NativeLibrary library); 98 BASE_EXPORT void* GetFunctionPointerFromNativeLibrary(NativeLibrary library, 108 BASE_EXPORT std::string GetNativeLibraryName(StringPiece name); 114 BASE_EXPORT std::string GetLoadableModuleName(StringPiece name);
|
D | logging.h | 187 struct BASE_EXPORT LoggingSettings { 218 BASE_EXPORT bool BaseInitLoggingImpl(const LoggingSettings& settings); 244 BASE_EXPORT void SetMinLogLevel(int level); 247 BASE_EXPORT int GetMinLogLevel(); 250 BASE_EXPORT bool ShouldCreateLogMessage(int severity); 253 BASE_EXPORT int GetVlogVerbosity(); 256 BASE_EXPORT int GetVlogLevelHelper(const char* file_start, size_t N); 268 BASE_EXPORT void SetLogItems(bool enable_process_id, bool enable_thread_id, 274 BASE_EXPORT void SetShowErrorDialogs(bool enable_dialogs); 287 class BASE_EXPORT ScopedLogAssertHandler { [all …]
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | page_allocator.h | 60 BASE_EXPORT void* AllocPages(void* address, 67 BASE_EXPORT void FreePages(void* address, size_t length); 73 BASE_EXPORT void SetSystemPagesInaccessible(void* address, size_t length); 81 BASE_EXPORT WARN_UNUSED_RESULT bool SetSystemPagesAccessible(void* address, 94 BASE_EXPORT void DecommitSystemPages(void* address, size_t length); 100 BASE_EXPORT void RecommitSystemPages(void* address, size_t length); 117 BASE_EXPORT void DiscardSystemPages(void* address, size_t length); 128 BASE_EXPORT uint32_t GetAllocPageErrorCode();
|
/external/libchrome/base/task_scheduler/ |
D | post_task.h | 73 BASE_EXPORT void PostTask(const Location& from_here, OnceClosure task); 81 BASE_EXPORT void PostDelayedTask(const Location& from_here, 90 BASE_EXPORT void PostTaskAndReply(const Location& from_here, 122 BASE_EXPORT void PostTaskWithTraits(const Location& from_here, 131 BASE_EXPORT void PostDelayedTaskWithTraits(const Location& from_here, 140 BASE_EXPORT void PostTaskWithTraitsAndReply(const Location& from_here, 181 BASE_EXPORT scoped_refptr<TaskRunner> CreateTaskRunnerWithTraits( 186 BASE_EXPORT scoped_refptr<SequencedTaskRunner> 200 BASE_EXPORT scoped_refptr<SingleThreadTaskRunner> 217 BASE_EXPORT scoped_refptr<SingleThreadTaskRunner>
|