Home
last modified time | relevance | path

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

12345678910>>...14

/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,
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/
Dstring_util.h63 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 …]
Dstring_number_conversions.h44 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 …]
Dutf_string_conversions.h24 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 …]
Dsys_string_conversions.h34 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 …]
Dold_utf_string_conversions.h29 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 …]
Dstring_piece.h49 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 …]
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,
/external/libchrome/base/android/
Djni_array.h21 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 …]
Djni_android.h65 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 …]
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.h23 BASE_EXPORT bool GetDataDirectory(FilePath* result);
29 BASE_EXPORT bool GetCacheDirectory(FilePath* result);
33 BASE_EXPORT bool GetThumbnailCacheDirectory(FilePath* result);
37 BASE_EXPORT bool GetDownloadsDirectory(FilePath* result);
41 BASE_EXPORT std::vector<FilePath> GetAllPrivateDownloadsDirectories();
46 BASE_EXPORT bool GetNativeLibraryDirectory(FilePath* result);
50 BASE_EXPORT bool GetExternalStorageDirectory(FilePath* result);
/external/libchrome/base/process/
Dprocess_metrics.h57 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 …]
Dlaunch.h58 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 …]
Dmemory.h26 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,
Dkill.h75 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,
/external/libchrome/base/metrics/
Dhistogram_functions.h33 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 …]
Dfield_trial_params.h21 BASE_EXPORT bool AssociateFieldTrialParams(
32 BASE_EXPORT bool GetFieldTrialParams(
43 BASE_EXPORT bool GetFieldTrialParamsByFeature(
53 BASE_EXPORT std::string GetFieldTrialParamValue(const std::string& trial_name,
63 BASE_EXPORT std::string GetFieldTrialParamValueByFeature(
71 BASE_EXPORT int GetFieldTrialParamByFeatureAsInt(const base::Feature& feature,
79 BASE_EXPORT double GetFieldTrialParamByFeatureAsDouble(
89 BASE_EXPORT bool GetFieldTrialParamByFeatureAsBool(
127 BASE_EXPORT std::string Get() const;
148 BASE_EXPORT double Get() const;
[all …]
/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context.h44 struct BASE_EXPORT StackFrame {
65 bool BASE_EXPORT operator < (const StackFrame& lhs, const StackFrame& rhs);
66 bool BASE_EXPORT operator == (const StackFrame& lhs, const StackFrame& rhs);
67 bool BASE_EXPORT operator != (const StackFrame& lhs, const StackFrame& rhs);
69 struct BASE_EXPORT Backtrace {
80 bool BASE_EXPORT operator==(const Backtrace& lhs, const Backtrace& rhs);
81 bool BASE_EXPORT operator!=(const Backtrace& lhs, const Backtrace& rhs);
86 struct BASE_EXPORT AllocationContext {
99 bool BASE_EXPORT operator==(const AllocationContext& lhs,
101 bool BASE_EXPORT operator!=(const AllocationContext& lhs,
[all …]
/external/libchrome/base/debug/
Dprofiler.h24 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/profiler/
Dstack_sampling_profiler.h26 BASE_EXPORT extern const size_t kUnknownModuleIndex;
57 class BASE_EXPORT StackSamplingProfiler {
60 struct BASE_EXPORT Module {
88 struct BASE_EXPORT InternalModule {
115 struct BASE_EXPORT Frame {
135 struct BASE_EXPORT InternalFrame {
148 struct BASE_EXPORT Sample {
170 struct BASE_EXPORT CallStackProfile {
197 struct BASE_EXPORT SamplingParams {
213 class BASE_EXPORT TestAPI {
[all …]
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpage_allocator.h57 BASE_EXPORT void* AllocPages(void* address,
70 BASE_EXPORT void FreePages(void* address, size_t length);
77 BASE_EXPORT WARN_UNUSED_RESULT bool TrySetSystemPagesAccess(
86 BASE_EXPORT void SetSystemPagesAccess(
112 BASE_EXPORT void DecommitSystemPages(void* address, size_t length);
123 BASE_EXPORT WARN_UNUSED_RESULT bool RecommitSystemPages(
149 BASE_EXPORT void DiscardSystemPages(void* address, size_t length);
182 BASE_EXPORT bool ReserveAddressSpace(size_t size);
186 BASE_EXPORT void ReleaseReservation();
190 BASE_EXPORT uint32_t GetAllocPageErrorCode();
/external/libchrome/base/
Drand_util.h20 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();
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);
Dversion.h20 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);

12345678910>>...14