/external/chromium_org/base/test/ |
test_file_util_android.cc | 5 #include "base/test/test_file_util.h" 7 #include "base/android/jni_android.h" 8 #include "base/android/jni_string.h" 9 #include "base/files/file_path.h" 18 base::FilePath InsertImageIntoMediaStore(const base::FilePath& path) { 19 JNIEnv* env = base::android::AttachCurrentThread(); 21 base::android::ConvertUTF8ToJavaString(env, path.value()); 24 env, base::android::GetApplicationContext(), j_path.obj()); 25 std::string uri = base::android::ConvertJavaStringToUTF8(j_uri) [all...] |
/external/chromium_org/cc/debug/ |
traced_value.h | 10 #include "base/debug/trace_event.h" 11 #include "base/memory/scoped_ptr.h" 13 namespace base { namespace 19 class TracedValue : public base::debug::ConvertableToTraceFormat { 21 static scoped_ptr<base::Value> CreateIDRef(const void* id); 23 base::DictionaryValue* dict, const char* object_name, const void* id); 26 base::DictionaryValue* dict, 29 static scoped_refptr<base::debug::ConvertableToTraceFormat> FromValue( 30 base::Value* value); 35 explicit TracedValue(base::Value* value) [all...] |
traced_value.cc | 7 #include "base/json/json_writer.h" 8 #include "base/strings/stringprintf.h" 9 #include "base/values.h" 13 scoped_ptr<base::Value> TracedValue::CreateIDRef(const void* id) { 14 scoped_ptr<base::DictionaryValue> res(new base::DictionaryValue()); 15 res->SetString("id_ref", base::StringPrintf("%p", id)); 16 return res.PassAs<base::Value>(); 20 base::DictionaryValue* dict, const char* object_name, const void* id) { 21 dict->SetString("id", base::StringPrintf("%s/%p", object_name, id)) [all...] |
/external/chromium_org/net/base/ |
test_data_directory.cc | 5 #include "net/base/test_data_directory.h" 7 #include "base/base_paths.h" 8 #include "base/path_service.h" 13 const base::FilePath::CharType kCertificateRelativePath[] = 17 base::FilePath GetTestCertsDirectory() { 18 base::FilePath src_root; 19 PathService::Get(base::DIR_SOURCE_ROOT, &src_root); 23 base::FilePath GetTestClientCertsDirectory() { 25 return base::FilePath(kCertificateRelativePath); 31 base::FilePath GetWebSocketTestDataDirectory() [all...] |
/external/chromium_org/webkit/browser/database/ |
vfs_backend.h | 8 #include "base/platform_file.h" 9 #include "base/process/process.h" 10 #include "base/strings/string16.h" 13 namespace base { namespace 21 static void OpenFile(const base::FilePath& file_path, 23 base::PlatformFile* file_handle); 25 static void OpenTempFileInDirectory(const base::FilePath& dir_path, 27 base::PlatformFile* file_handle); 29 static int DeleteFile(const base::FilePath& file_path, bool sync_dir); 31 static uint32 GetFileAttributes(const base::FilePath& file_path) [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
native_file_util.cc | 7 #include "base/file_util.h" 8 #include "base/files/file_enumerator.h" 9 #include "base/memory/scoped_ptr.h" 10 #include "net/base/file_stream.h" 22 bool SetPlatformSpecificDirectoryPermissions(const base::FilePath& dir_path) { 38 // the disk. This is essentially base::CopyFile followed by fsync(). 39 bool CopyFileAndSync(const base::FilePath& from, const base::FilePath& to) { 42 base::PLATFORM_FILE_OPEN | base:: PLATFORM_FILE_READ) < 0) [all...] |
async_file_test_helper.cc | 5 #include "base/bind.h" 6 #include "base/file_util.h" 7 #include "base/files/scoped_temp_dir.h" 8 #include "base/run_loop.h" 24 void AssignAndQuit(base::RunLoop* run_loop, 25 base::PlatformFileError* result_out, 26 base::PlatformFileError result) { 31 base::Callback<void(base::PlatformFileError)> 32 AssignAndQuitCallback(base::RunLoop* run_loop [all...] |
native_file_util_unittest.cc | 7 #include "base/file_util.h" 8 #include "base/files/file_path.h" 9 #include "base/files/scoped_temp_dir.h" 10 #include "base/platform_file.h" 25 base::FilePath Path() { 29 base::FilePath Path(const char* file_name) { 33 bool FileExists(const base::FilePath& path) { 34 return base::PathExists(path) && 35 !base::DirectoryExists(path); 38 int64 GetSize(const base::FilePath& path) [all...] |
/external/chromium_org/cc/animation/ |
scrollbar_animation_controller_linear_fade.h | 8 #include "base/memory/scoped_ptr.h" 10 #include "cc/base/cc_export.h" 20 base::TimeDelta fadeout_delay, 21 base::TimeDelta fadeout_length); 27 virtual base::TimeDelta DelayBeforeStart(base::TimeTicks now) const OVERRIDE; 29 virtual bool Animate(base::TimeTicks now) OVERRIDE; 31 virtual void DidScrollGestureEnd(base::TimeTicks now) OVERRIDE; 32 virtual void DidMouseMoveOffScrollbar(base::TimeTicks now) OVERRIDE; 33 virtual bool DidScrollUpdate(base::TimeTicks now) OVERRIDE [all...] |
/external/chromium_org/base/threading/ |
thread_id_name_manager_unittest.cc | 5 #include "base/threading/thread_id_name_manager.h" 7 #include "base/threading/platform_thread.h" 8 #include "base/threading/thread.h" 20 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); 21 base::Thread thread_a(kAThread); 22 base::Thread thread_b(kBThread); 35 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); 36 base::Thread thread_a(kAThread) [all...] |
/external/chromium_org/cc/scheduler/ |
delay_based_time_source.h | 8 #include "base/memory/weak_ptr.h" 9 #include "cc/base/cc_export.h" 12 namespace base { class SingleThreadTaskRunner; } namespace 18 // delays. DelayBasedTimeSource uses base::TimeTicks::Now as its timebase. 22 base::TimeDelta interval, base::SingleThreadTaskRunner* task_runner); 27 virtual void SetTimebaseAndInterval(base::TimeTicks timebase, 28 base::TimeDelta interval) OVERRIDE; 30 virtual base::TimeTicks SetActive(bool active) OVERRIDE; 35 virtual base::TimeTicks LastTickTime() OVERRIDE [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/vector/aux_/ |
item.hpp | 30 , typename Base 34 : Base 36 typedef typename Base::upper_bound_ index_; 38 typedef typename next<typename Base::size>::type size; 39 typedef Base base; typedef in struct:boost::mpl::v_item 45 using Base::item_; 50 , typename Base 52 struct v_item<T,Base,1> 53 : Base 58 typedef Base base; typedef in struct:boost::mpl::v_item 76 typedef Base base; typedef in struct:boost::mpl::v_mask 92 typedef Base base; typedef in struct:boost::mpl::v_mask [all...] |
/external/chromium_org/chrome/common/mac/ |
app_mode_chrome_locator_unittest.mm | 9 #include "base/file_util.h" 10 #include "base/files/file_path.h" 11 #include "base/files/scoped_temp_dir.h" 12 #include "base/path_service.h" 20 void GetChromeBundlePath(base::FilePath* chrome_bundle) { 21 base::FilePath path; 22 PathService::Get(base::DIR_EXE, &path); 24 path = path.ReplaceExtension(base::FilePath::StringType("app")); 31 base::FilePath finder_bundle_path; 34 EXPECT_TRUE(base::DirectoryExists(finder_bundle_path)) [all...] |
/external/libsepol/tests/ |
test-linker-roles.c | 38 * - role in base, no modules 39 * - role in base optional, no modules 40 * - role a in base, b in module 41 * - role a in base and module (additive) 42 * - role a in base and 2 module 43 * - role a in base optional, b in module 44 * - role a in base, b in module optional 45 * - role a in base optional, b in module optional 46 * - role a in base optional and module 47 * - role a in base and module optiona [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
session_commands.h | 10 #include "base/callback_forward.h" 11 #include "base/memory/scoped_ptr.h" 15 namespace base { namespace 46 const base::DictionaryValue& params, 47 scoped_ptr<base::Value>* value); 53 const base::DictionaryValue& params, 54 scoped_ptr<base::Value>* value); 59 const base::DictionaryValue& params, 60 scoped_ptr<base::Value>* value); 65 const base::DictionaryValue& params [all...] |
/external/qemu/distrib/zlib-1.2.3/ |
adler32.c | 11 #define BASE 65521UL /* largest prime smaller than 65536 */ 13 /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */ 25 if (a >= (BASE << 16)) a -= (BASE << 16); \ 26 if (a >= (BASE << 15)) a -= (BASE << 15); \ 27 if (a >= (BASE << 14)) a -= (BASE << 14); \ 28 if (a >= (BASE << 13)) a -= (BASE << 13); [all...] |
/external/chromium_org/chrome/installer/util/ |
move_tree_work_item_unittest.cc | 9 #include "base/base_paths.h" 10 #include "base/file_util.h" 11 #include "base/files/memory_mapped_file.h" 12 #include "base/memory/scoped_ptr.h" 13 #include "base/path_service.h" 14 #include "base/strings/string_util.h" 28 base::ScopedTempDir temp_from_dir_; 29 base::ScopedTempDir temp_to_dir_; 43 std::wstring ReadTextFile(const base::FilePath& path) { 61 base::FilePath from_dir1(temp_from_dir_.path()) [all...] |
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_internals_ui.h | 10 #include "base/memory/ref_counted.h" 11 #include "base/memory/scoped_ptr.h" 14 #include "net/base/net_errors.h" 16 namespace base { namespace 33 void GetAllOrigins(const base::ListValue* args); 35 const base::FilePath& context_path); 36 void OnOriginsReady(scoped_ptr<base::ListValue> origins, 37 const base::FilePath& path); 41 void DownloadOriginData(const base::ListValue* args); 43 const base::FilePath& partition_path [all...] |
/external/chromium_org/net/socket/ |
socket_net_log_params.cc | 7 #include "base/bind.h" 8 #include "base/values.h" 9 #include "net/base/host_port_pair.h" 10 #include "net/base/ip_endpoint.h" 11 #include "net/base/net_util.h" 17 base::Value* NetLogSocketErrorCallback(int net_error, 20 base::DictionaryValue* dict = new base::DictionaryValue(); 26 base::Value* NetLogHostPortPairCallback(const HostPortPair* host_and_port, 28 base::DictionaryValue* dict = new base::DictionaryValue() [all...] |
/external/chromium/base/i18n/ |
number_formatting.h | 9 #include "base/basictypes.h" 10 #include "base/string16.h" 12 namespace base { namespace 16 } // namespace base
|
/external/chromium-trace/trace-viewer/src/ |
tcmalloc.js | 7 base.require('tcmalloc.heap'); 8 base.require('tcmalloc.tcmalloc_instance_view'); 9 base.require('tcmalloc.tcmalloc_snapshot_view'); 11 base.exportTo('tcmalloc', function() {
|
/external/chromium_org/base/ |
bind_helpers.cc | 5 #include "base/bind_helpers.h" 7 #include "base/callback.h" 9 namespace base { namespace 14 } // namespace base
|
critical_closure_ios.mm | 5 #include "base/critical_closure.h" 9 #include "base/bind.h" 10 #include "base/ios/scoped_critical_action.h" 11 #include "base/memory/ref_counted.h" 17 // |base::ios::ScopedCriticalAction|. 18 class CriticalClosure : public base::RefCountedThreadSafe<CriticalClosure> { 20 explicit CriticalClosure(base::Closure* closure) : closure_(closure) { 28 friend class base::RefCountedThreadSafe<CriticalClosure>; 32 base::ios::ScopedCriticalAction criticial_action_; 33 scoped_ptr<base::Closure> closure_ [all...] |
/external/chromium_org/base/debug/ |
trace_event_unittest.h | 5 #include "base/time/time.h" 7 namespace base { namespace 11 void HighResSleepForTraceTest(base::TimeDelta elapsed); 14 } // namespace base
|
/external/chromium_org/base/message_loop/ |
message_loop_proxy.cc | 5 #include "base/message_loop/message_loop_proxy.h" 7 #include "base/bind.h" 9 namespace base { namespace 17 } // namespace base
|