Home
last modified time | relevance | path

Searched refs:BASE_EXPORT (Results 1 – 25 of 237) sorted by relevance

12345678910

/external/libchrome/base/files/
Dfile_util.h49 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,
103 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path);
115 BASE_EXPORT bool CopyDirectory(const FilePath& from_path,
121 BASE_EXPORT bool PathExists(const FilePath& path);
124 BASE_EXPORT bool PathIsWritable(const FilePath& path);
[all …]
/external/libchrome/base/mac/
Dmac_util.h34 BASE_EXPORT std::string PathFromFSRef(const FSRef& ref);
35 BASE_EXPORT bool FSRefFromPath(const std::string& path, FSRef* ref);
39 BASE_EXPORT CGColorSpaceRef GetSRGBColorSpace();
43 BASE_EXPORT CGColorSpaceRef GetGenericRGBColorSpace();
47 BASE_EXPORT CGColorSpaceRef GetSystemColorSpace();
53 BASE_EXPORT void RequestFullScreen(FullScreenMode mode);
61 BASE_EXPORT void ReleaseFullScreen(FullScreenMode mode);
66 BASE_EXPORT void SwitchFullScreenModes(FullScreenMode from_mode,
72 BASE_EXPORT bool AmIForeground();
75 BASE_EXPORT bool SetFileBackupExclusion(const FilePath& file_path);
[all …]
Dfoundation_util.h65 BASE_EXPORT bool AmIBundled();
66 BASE_EXPORT void SetOverrideAmIBundled(bool value);
74 BASE_EXPORT void ClearAmIBundledCache();
78 BASE_EXPORT bool IsBackgroundOnlyProcess();
81 BASE_EXPORT FilePath PathForFrameworkBundleResource(CFStringRef resourceName);
92 BASE_EXPORT OSType CreatorCodeForApplication();
97 BASE_EXPORT bool GetSearchPathDirectory(NSSearchPathDirectory directory,
104 BASE_EXPORT bool GetLocalDirectory(NSSearchPathDirectory directory,
110 BASE_EXPORT bool GetUserDirectory(NSSearchPathDirectory directory,
114 BASE_EXPORT FilePath GetUserLibraryPath();
[all …]
Dbundle_locations.h48 BASE_EXPORT NSBundle* MainBundle();
49 BASE_EXPORT FilePath MainBundlePath();
50 BASE_EXPORT NSBundle* OuterBundle();
51 BASE_EXPORT FilePath OuterBundlePath();
52 BASE_EXPORT NSBundle* FrameworkBundle();
53 BASE_EXPORT FilePath FrameworkBundlePath();
57 BASE_EXPORT void SetOverrideOuterBundle(NSBundle* bundle);
58 BASE_EXPORT void SetOverrideFrameworkBundle(NSBundle* bundle);
61 BASE_EXPORT void SetOverrideOuterBundlePath(const FilePath& file_path);
62 BASE_EXPORT void SetOverrideFrameworkBundlePath(const FilePath& file_path);
/external/libchrome/base/strings/
Dstring_util.h68 BASE_EXPORT size_t strlcpy(char* dst, const char* src, size_t dst_size);
69 BASE_EXPORT size_t wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size);
92 BASE_EXPORT bool IsWprintfFormatPortable(const wchar_t* format);
113 BASE_EXPORT std::string ToLowerASCII(StringPiece str);
114 BASE_EXPORT string16 ToLowerASCII(StringPiece16 str);
117 BASE_EXPORT std::string ToUpperASCII(StringPiece str);
118 BASE_EXPORT string16 ToUpperASCII(StringPiece16 str);
142 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece a, StringPiece b);
143 BASE_EXPORT int CompareCaseInsensitiveASCII(StringPiece16 a, StringPiece16 b);
148 BASE_EXPORT bool EqualsCaseInsensitiveASCII(StringPiece a, StringPiece b);
[all …]
Dstring_number_conversions.h42 BASE_EXPORT std::string IntToString(int value);
43 BASE_EXPORT string16 IntToString16(int value);
45 BASE_EXPORT std::string UintToString(unsigned value);
46 BASE_EXPORT string16 UintToString16(unsigned value);
48 BASE_EXPORT std::string Int64ToString(int64_t value);
49 BASE_EXPORT string16 Int64ToString16(int64_t value);
51 BASE_EXPORT std::string Uint64ToString(uint64_t value);
52 BASE_EXPORT string16 Uint64ToString16(uint64_t value);
54 BASE_EXPORT std::string SizeTToString(size_t value);
55 BASE_EXPORT string16 SizeTToString16(size_t value);
[all …]
Dutf_string_conversions.h24 BASE_EXPORT bool WideToUTF8(const wchar_t* src, size_t src_len,
26 BASE_EXPORT std::string WideToUTF8(const std::wstring& 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(const std::wstring& wide);
34 BASE_EXPORT bool UTF16ToWide(const char16* src, size_t src_len,
36 BASE_EXPORT std::wstring UTF16ToWide(const string16& utf16);
38 BASE_EXPORT bool UTF8ToUTF16(const char* src, size_t src_len, string16* output);
39 BASE_EXPORT string16 UTF8ToUTF16(StringPiece utf8);
[all …]
Dsys_string_conversions.h34 BASE_EXPORT std::string SysWideToUTF8(const std::wstring& wide);
35 BASE_EXPORT std::wstring SysUTF8ToWide(const StringPiece& utf8);
40 BASE_EXPORT std::string SysWideToNativeMB(const std::wstring& wide);
41 BASE_EXPORT std::wstring SysNativeMBToWide(const StringPiece& native_mb);
50 BASE_EXPORT std::wstring SysMultiByteToWide(const StringPiece& mb,
52 BASE_EXPORT std::string SysWideToMultiByte(const std::wstring& wide,
65 BASE_EXPORT CFStringRef SysUTF8ToCFStringRef(const std::string& utf8);
66 BASE_EXPORT CFStringRef SysUTF16ToCFStringRef(const string16& utf16);
69 BASE_EXPORT NSString* SysUTF8ToNSString(const std::string& utf8);
70 BASE_EXPORT NSString* SysUTF16ToNSString(const string16& utf16);
[all …]
Dstring_piece.h51 BASE_EXPORT void CopyToString(const StringPiece& self, std::string* target);
52 BASE_EXPORT void CopyToString(const StringPiece16& self, string16* target);
54 BASE_EXPORT void AppendToString(const StringPiece& self, std::string* target);
55 BASE_EXPORT void AppendToString(const StringPiece16& self, string16* target);
57 BASE_EXPORT size_t copy(const StringPiece& self,
61 BASE_EXPORT size_t copy(const StringPiece16& self,
66 BASE_EXPORT size_t find(const StringPiece& self,
69 BASE_EXPORT size_t find(const StringPiece16& self,
72 BASE_EXPORT size_t find(const StringPiece& self,
75 BASE_EXPORT size_t find(const StringPiece16& self,
[all …]
Dstringprintf.h19 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,
Dstring_split.h46 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,
97 BASE_EXPORT void SplitStringUsingSubstr(StringPiece16 input,
100 BASE_EXPORT void SplitStringUsingSubstr(StringPiece input,
116 BASE_EXPORT std::vector<StringPiece16> SplitStringPieceUsingSubstr(
121 BASE_EXPORT std::vector<StringPiece> SplitStringPieceUsingSubstr(
/external/libmojo/base/android/
Djni_array.h21 BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(JNIEnv* env,
25 BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(
30 BASE_EXPORT ScopedJavaLocalRef<jintArray> ToJavaIntArray(
33 BASE_EXPORT ScopedJavaLocalRef<jintArray> ToJavaIntArray(
37 BASE_EXPORT ScopedJavaLocalRef<jlongArray> ToJavaLongArray(JNIEnv* env,
41 BASE_EXPORT ScopedJavaLocalRef<jlongArray> ToJavaLongArray(
46 BASE_EXPORT ScopedJavaLocalRef<jfloatArray> ToJavaFloatArray(
49 BASE_EXPORT ScopedJavaLocalRef<jfloatArray> ToJavaFloatArray(
54 BASE_EXPORT ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfByteArray(
57 BASE_EXPORT ScopedJavaLocalRef<jobjectArray> ToJavaArrayOfStrings(
[all …]
Djni_android.h28 BASE_EXPORT bool IsManualJniRegistrationDisabled();
29 BASE_EXPORT void DisableManualJniRegistration();
38 BASE_EXPORT JNIEnv* AttachCurrentThread();
45 BASE_EXPORT JNIEnv* AttachCurrentThreadWithName(const std::string& thread_name);
48 BASE_EXPORT void DetachFromVM();
51 BASE_EXPORT void InitVM(JavaVM* vm);
54 BASE_EXPORT bool IsVMInitialized();
61 BASE_EXPORT void InitReplacementClassLoader(
70 BASE_EXPORT ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env,
79 BASE_EXPORT jclass LazyGetClass(
[all …]
Djni_string.h19 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(
Dpath_utils.h22 BASE_EXPORT bool GetDataDirectory(FilePath* result);
26 BASE_EXPORT bool GetDatabaseDirectory(FilePath* result);
32 BASE_EXPORT bool GetCacheDirectory(FilePath* result);
36 BASE_EXPORT bool GetThumbnailCacheDirectory(FilePath* result);
40 BASE_EXPORT bool GetDownloadsDirectory(FilePath* result);
45 BASE_EXPORT bool GetNativeLibraryDirectory(FilePath* result);
49 BASE_EXPORT bool GetExternalStorageDirectory(FilePath* result);
/external/libchrome/base/process/
Dlaunch.h42 struct BASE_EXPORT LaunchOptions {
46 class BASE_EXPORT PreExecDelegate {
187 BASE_EXPORT Process LaunchProcess(const CommandLine& cmdline,
201 BASE_EXPORT Process LaunchProcess(const string16& cmdline,
209 BASE_EXPORT Process LaunchElevatedProcess(const CommandLine& cmdline,
217 BASE_EXPORT Process LaunchProcess(const std::vector<std::string>& argv,
223 BASE_EXPORT void CloseSuperfluousFds(const InjectiveMultimap& saved_map);
229 BASE_EXPORT bool SetJobObjectLimitFlags(HANDLE job_object, DWORD limit_flags);
233 BASE_EXPORT void RouteStdioToConsole(bool create_console_if_not_found);
240 BASE_EXPORT bool GetAppOutput(const CommandLine& cl, std::string* output);
[all …]
Dprocess_metrics.h94 BASE_EXPORT int64_t TimeValToMicroseconds(const struct timeval& tv);
101 class BASE_EXPORT ProcessMetrics {
237 BASE_EXPORT size_t GetSystemCommitCharge();
243 BASE_EXPORT size_t GetPageSize();
248 BASE_EXPORT size_t GetMaxFds();
252 BASE_EXPORT void SetFdLimit(unsigned int max_descriptors);
265 struct BASE_EXPORT SystemMemoryInfoKB {
318 BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo);
327 BASE_EXPORT int ParseProcStatCPU(const std::string& input);
333 BASE_EXPORT int GetNumberOfThreads(ProcessHandle process);
[all …]
Dkill.h50 BASE_EXPORT bool KillProcesses(const FilePath::StringType& executable_name,
57 BASE_EXPORT bool KillProcessGroup(ProcessHandle process_group_id);
68 BASE_EXPORT TerminationStatus GetTerminationStatus(ProcessHandle handle,
87 BASE_EXPORT TerminationStatus GetKnownDeadTerminationStatus(
95 BASE_EXPORT bool WaitForProcessesToExit(
106 BASE_EXPORT bool CleanupProcesses(const FilePath::StringType& executable_name,
125 BASE_EXPORT void EnsureProcessTerminated(Process process);
130 BASE_EXPORT void EnsureProcessGetsReaped(ProcessId pid);
Dprocess_handle.h41 BASE_EXPORT ProcessId GetCurrentProcId();
47 BASE_EXPORT uint32_t GetUniqueIdForProcess();
56 BASE_EXPORT void InitUniqueIdForProcessInPidNamespace(
61 BASE_EXPORT ProcessHandle GetCurrentProcessHandle();
69 BASE_EXPORT ProcessId GetProcId(ProcessHandle process);
72 BASE_EXPORT ProcessId GetParentProcessId(ProcessHandle process);
76 BASE_EXPORT FilePath GetProcessExecutablePath(ProcessHandle process);
/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context.h43 struct BASE_EXPORT StackFrame {
64 bool BASE_EXPORT operator < (const StackFrame& lhs, const StackFrame& rhs);
65 bool BASE_EXPORT operator == (const StackFrame& lhs, const StackFrame& rhs);
66 bool BASE_EXPORT operator != (const StackFrame& lhs, const StackFrame& rhs);
68 struct BASE_EXPORT Backtrace {
79 bool BASE_EXPORT operator==(const Backtrace& lhs, const Backtrace& rhs);
80 bool BASE_EXPORT operator!=(const Backtrace& lhs, const Backtrace& rhs);
85 struct BASE_EXPORT AllocationContext {
98 bool BASE_EXPORT operator==(const AllocationContext& lhs,
100 bool BASE_EXPORT operator!=(const AllocationContext& lhs,
[all …]
/external/libchrome/base/
Drand_util.h19 BASE_EXPORT uint64_t RandUint64();
22 BASE_EXPORT int RandInt(int min, int max);
29 BASE_EXPORT uint64_t RandGenerator(uint64_t range);
32 BASE_EXPORT double RandDouble();
36 BASE_EXPORT double BitsToOpenEndedUnitInterval(uint64_t bits);
43 BASE_EXPORT void RandBytes(void* output, size_t output_length);
54 BASE_EXPORT std::string RandBytesAsString(size_t length);
57 BASE_EXPORT int GetUrandomFD();
Dversion.h20 class BASE_EXPORT Version {
62 BASE_EXPORT bool operator==(const Version& v1, const Version& v2);
63 BASE_EXPORT bool operator!=(const Version& v1, const Version& v2);
64 BASE_EXPORT bool operator<(const Version& v1, const Version& v2);
65 BASE_EXPORT bool operator<=(const Version& v1, const Version& v2);
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 std::ostream& operator<<(std::ostream& stream, const Version& v);
Dmd5.h50 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);
Dlogging.h158 BASE_EXPORT std::ostream& operator<<(std::ostream& out, const wchar_t* wstr);
212 struct BASE_EXPORT LoggingSettings {
243 BASE_EXPORT bool BaseInitLoggingImpl(const LoggingSettings& settings);
269 BASE_EXPORT void SetMinLogLevel(int level);
272 BASE_EXPORT int GetMinLogLevel();
275 BASE_EXPORT bool ShouldCreateLogMessage(int severity);
278 BASE_EXPORT int GetVlogVerbosity();
284 BASE_EXPORT int GetVlogLevelHelper(const char* file_start, size_t N);
295 BASE_EXPORT void SetLogItems(bool enable_process_id, bool enable_thread_id,
301 BASE_EXPORT void SetShowErrorDialogs(bool enable_dialogs);
[all …]
/external/libmojo/base/android/library_loader/
Dlibrary_loader_hooks.h33 BASE_EXPORT void RecordLibraryLoaderRendererHistograms();
40 BASE_EXPORT bool RegisterLibraryLoaderEntryHook(JNIEnv* env);
55 BASE_EXPORT void SetLibraryLoadedHook(LibraryLoadedHook* func);
61 BASE_EXPORT void SetVersionNumber(const char* version_number);
65 BASE_EXPORT void LibraryLoaderExitHook();
68 BASE_EXPORT LibraryProcessType GetLibraryProcessType(JNIEnv* env);

12345678910