open 133 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java return assets.open(path, AssetManager.ACCESS_STREAMING); open 52 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetDefaultVideoPosterTest.java mContext.getAssets().open("asset_icon.png")); open 75 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java InputStream in = context.getAssets().open(asset); open 150 base/debug/debugger_posix.cc int status_fd = open("/proc/self/status", O_RDONLY); open 50 base/debug/proc_maps_linux.cc base::ScopedFD fd(HANDLE_EINTR(open("/proc/self/maps", O_RDONLY))); open 635 base/debug/stack_trace_posix.cc int fd = open(region.path.c_str(), O_RDONLY | O_CLOEXEC); open 94 base/debug/trace_event_android.cc g_atrace_fd = open(kATraceMarkerFile, O_WRONLY); open 179 base/debug/trace_event_android.cc int atrace_fd = open(kATraceMarkerFile, O_WRONLY | O_APPEND); open 656 base/file_util_posix.cc int fd = HANDLE_EINTR(open(filename.value().c_str(), O_RDONLY)); open 695 base/file_util_posix.cc int fd = HANDLE_EINTR(open(filename.value().c_str(), O_WRONLY | O_APPEND)); open 852 base/file_util_posix.cc int infile = HANDLE_EINTR(open(from_path.value().c_str(), O_RDONLY)); open 228 base/file_util_unittest.cc file.open(filename.value().c_str()); open 238 base/file_util_unittest.cc file.open(filename.value().c_str()); open 32 base/files/dir_reader_linux.h : fd_(open(directory_path, O_RDONLY | O_DIRECTORY)), open 32 base/files/dir_reader_posix_unittest.cc const int prev_wd = open(".", O_RDONLY | O_DIRECTORY); open 40 base/files/dir_reader_posix_unittest.cc const int fd = open(buf, O_CREAT | O_RDONLY | O_EXCL, 0600); open 202 base/files/file_path_watcher_kqueue.cc int fd = HANDLE_EINTR(open(path.value().c_str(), O_EVTONLY)); open 228 base/files/file_posix.cc int descriptor = HANDLE_EINTR(open(name.value().c_str(), open_flags, mode)); open 236 base/files/file_posix.cc descriptor = HANDLE_EINTR(open(name.value().c_str(), open_flags, mode)); open 285 base/linux_util.cc int fd = open(buf, O_RDONLY); open 147 base/memory/shared_memory_posix.cc readonly_fd.reset(HANDLE_EINTR(open(path.value().c_str(), O_RDONLY))); open 168 base/memory/shared_memory_posix.cc open(path.value().c_str(), O_RDWR | O_CREAT | O_EXCL, kOwnerOnly)); open 178 base/memory/shared_memory_posix.cc open(path.value().c_str(), O_RDWR | O_APPEND | O_NOFOLLOW)); open 200 base/memory/shared_memory_posix.cc readonly_fd.reset(HANDLE_EINTR(open(path.value().c_str(), O_RDONLY))); open 267 base/memory/shared_memory_posix.cc ScopedFD readonly_fd(HANDLE_EINTR(open(path.value().c_str(), O_RDONLY))); open 183 base/platform_file_posix.cc HANDLE_EINTR(open(name.value().c_str(), open_flags, mode)); open 193 base/platform_file_posix.cc open(name.value().c_str(), open_flags, mode)); open 336 base/process/launch_posix.cc base::ScopedFD null_fd(HANDLE_EINTR(open("/dev/null", O_RDONLY))); open 534 base/process/launch_posix.cc int dev_null = open("/dev/null", O_WRONLY); open 548 base/process/process_util_unittest.cc int dev_null = open("/dev/null", O_RDONLY); open 23 base/rand_util_posix.cc URandomFd() : fd_(open("/dev/urandom", O_RDONLY)) { open 251 base/test/launcher/test_launcher.cc output_file_fd.reset(open(output_file.value().c_str(), O_RDWR)); open 18 base/test/test_file_util_linux.cc ScopedFD fd(open(file.value().c_str(), O_RDONLY)); open 516 base/third_party/symbolize/symbolize.cc NO_INTR(maps_fd = open("/proc/self/maps", O_RDONLY)); open 617 base/third_party/symbolize/symbolize.cc NO_INTR(object_fd = open(cursor, O_RDONLY)); open 125 base/third_party/xdg_mime/xdgmimecache.c fd = open (file_name, O_RDONLY|_O_BINARY, 0); open 93 chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java ParcelFileDescriptor.open(tempFile, (ParcelFileDescriptor.MODE_CREATE | open 243 chrome/browser/chromeos/external_metrics.cc int fd = open(event_file_path, O_RDWR); open 25 chrome/browser/chromeos/external_metrics_unittest.cc int fd = open(path, O_CREAT | O_APPEND | O_WRONLY, 0666); open 110 chrome/browser/chromeos/external_metrics_unittest.cc int fd = open(path, O_CREAT | O_WRONLY, 0666); open 121 chrome/browser/chromeos/external_metrics_unittest.cc fd = open(path, O_CREAT | O_WRONLY, 0666); open 342 chrome/browser/chromeos/login/webui_screen_locker.cc void WebUIScreenLocker::LidEventReceived(bool open, open 122 chrome/browser/chromeos/login/webui_screen_locker.h virtual void LidEventReceived(bool open, open 123 chrome/browser/chromeos/memory/low_memory_observer.cc file_descriptor_ = ::open(kLowMemFile, O_RDONLY); open 61 chrome/browser/chromeos/system/automatic_reboot_manager.cc HANDLE_EINTR(open(path.value().c_str(), O_RDONLY | O_NOFOLLOW))); open 113 chrome/browser/chromeos/system/automatic_reboot_manager.cc open(update_reboot_needed_uptime_file.value().c_str(), open 72 chrome/browser/importer/firefox_profile_lock_posix.cc lock_fd_ = open(old_lock_file_.value().c_str(), O_CREAT | O_EXCL, 0644); open 96 chrome/browser/importer/firefox_profile_lock_posix.cc lock_fd_ = open(lock_file_.value().c_str(), O_WRONLY | O_CREAT | O_TRUNC, open 173 chrome/browser/printing/printing_message_filter.cc int fd = open(path.value().c_str(), O_WRONLY); open 75 chrome/browser/process_singleton_mac.cc lock_fd_ = HANDLE_EINTR(open(lock_path_.value().c_str(), open 43 chrome/browser/process_singleton_mac_unittest.cc base::ScopedFD fd(HANDLE_EINTR(open(lock_path_.value().c_str(), O_RDONLY))); open 64 chrome/browser/shell_integration_linux.cc int devnull = open("/dev/null", O_RDONLY); open 145 chrome/browser/shell_integration_linux.cc int desktop_fd = open(desktop_path.value().c_str(), O_RDONLY | O_DIRECTORY); open 415 chrome/common/logging_chrome.cc log_file.open(GetLogFileName().value().c_str()); open 353 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(((fd=open(argv[1],O_RDONLY,0))<0) || open 369 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(((fd=open(argv[2],O_RDONLY,0))<0) || open 281 chrome/installer/mac/third_party/bsdiff/goobspatch.c if ((fd = open(path, O_RDONLY)) < 0) open 446 chrome/installer/mac/third_party/bsdiff/goobspatch.c if(((fd=open(argv[1],O_RDONLY,0))<0) || open 514 chrome/installer/mac/third_party/bsdiff/goobspatch.c if(((fd=open(argv[2],O_CREAT|O_TRUNC|O_WRONLY,0644))<0) || open 169 chrome/installer/mini_installer/decompress.cc PFNOPEN open, PFNREAD read, open 42 chrome/installer/util/copy_tree_work_item_unittest.cc file.open(filename.c_str()); open 65 chrome/installer/util/copy_tree_work_item_unittest.cc file.open(filename.c_str()); open 35 chrome/installer/util/delete_tree_work_item_unittest.cc file.open(filename.c_str()); open 30 chrome/installer/util/duplicate_tree_detector_unittest.cc file.open(filename.c_str()); open 70 chrome/installer/util/installer_state_unittest.cc file.open(filename.c_str()); open 199 chrome/installer/util/installer_state_unittest.cc file.open(chrome_dll_2.value().c_str()); open 37 chrome/installer/util/move_tree_work_item_unittest.cc file.open(base::UTF16ToASCII(filename).c_str()); open 47 chrome/installer/util/move_tree_work_item_unittest.cc file.open(base::UTF16ToASCII(path.value()).c_str()); open 107 chrome/renderer/chrome_mock_render_thread.cc int fd = open(path.value().c_str(), O_WRONLY); open 257 chrome/test/chromedriver/chrome_launcher.cc devnull.reset(HANDLE_EINTR(open("/dev/null", O_WRONLY))); open 231 chromeos/dbus/debug_daemon_client.cc write_fd = HANDLE_EINTR(open("/dev/null", O_WRONLY)); open 521 chromeos/dbus/power_manager_client.cc bool open = open 524 chromeos/dbus/power_manager_client.cc LidEventReceived(open, timestamp)); open 74 chromeos/dbus/power_manager_client.h virtual void LidEventReceived(bool open, open 208 chromeos/process_proxy/process_proxy.cc pt_pair_[PT_SLAVE_FD] = HANDLE_EINTR(open(slave_name, O_RDWR | O_NOCTTY)); open 191 components/nacl/loader/nacl_helper_linux.cc int proc_fd = open("/proc/self/exe", O_RDONLY); open 73 components/storage_monitor/image_capture_device.h - (void)open; open 786 content/browser/download/download_item_impl.cc void DownloadItemImpl::SetOpenWhenComplete(bool open) { open 787 content/browser/download/download_item_impl.cc open_when_complete_ = open; open 154 content/browser/download/download_item_impl.h virtual void SetOpenWhenComplete(bool open) OVERRIDE; open 139 content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc device_fd = HANDLE_EINTR(open(node_path.c_str(), O_RDONLY | O_NONBLOCK)); open 233 content/browser/renderer_host/render_sandbox_host_linux.cc const int result_fd = open(paths_[index]->c_str(), O_RDONLY); open 523 content/browser/renderer_host/render_sandbox_host_linux.cc font_fd = open(reinterpret_cast<char*>(c_filename), O_RDONLY); open 535 content/browser/renderer_host/render_sandbox_host_linux.cc font_fd = open(reinterpret_cast<char*>(c_filename), O_RDONLY); open 29 content/child/indexed_db/webidbfactory_impl.h virtual void open(const blink::WebString& name, open 82 content/child/npapi/plugin_stream.h bool open() { return opened_; } open 131 content/child/npapi/plugin_stream_url.cc if (!open()) open 211 content/child/npapi/plugin_stream_url.cc DCHECK(!open()); open 309 content/child/npapi/webplugin_ime_win.cc BOOL WINAPI WebPluginIMEWin::ImmSetOpenStatus(HIMC context, BOOL open) { open 312 content/child/npapi/webplugin_ime_win.cc return ::ImmSetOpenStatus(context, open); open 314 content/child/npapi/webplugin_ime_win.cc int input_type = open ? 1 : 0; open 137 content/child/npapi/webplugin_ime_win.h static BOOL WINAPI ImmSetOpenStatus(HIMC context, BOOL open); open 110 content/common/gpu/media/exynos_v4l2_video_device.cc device_fd_ = HANDLE_EINTR(open(kDevice, O_RDWR | O_NONBLOCK | O_CLOEXEC)); open 177 content/common/gpu/media/exynos_video_encode_accelerator.cc HANDLE_EINTR(open(kExynosGscDevice, O_RDWR | O_NONBLOCK | O_CLOEXEC)); open 202 content/common/gpu/media/exynos_video_encode_accelerator.cc HANDLE_EINTR(open(kExynosMfcDevice, O_RDWR | O_NONBLOCK | O_CLOEXEC)); open 168 content/common/plugin_list_posix.cc int fd = open(filename.value().c_str(), O_RDONLY|O_NONBLOCK); open 93 content/common/sandbox_linux/sandbox_linux.cc proc_self_task = open("/proc/self/task/", O_RDONLY | O_DIRECTORY); open 146 content/common/sandbox_linux/sandbox_linux.cc proc_fd_ = open("/proc", O_DIRECTORY | O_RDONLY | O_CLOEXEC); open 140 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc syscall_ret = open("/etc/passwd", O_RDONLY); open 123 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java is = manager.open(file); open 318 content/public/browser/download_item.h virtual void SetOpenWhenComplete(bool open) = 0; open 20 ipc/file_descriptor_set_posix_unittest.cc return open("/dev/null", O_RDONLY); open 105 ipc/ipc_send_fds_test.cc const int fd = open(kDevZeroPath, O_RDONLY); open 154 ipc/ipc_send_fds_test.cc int fd = open(kDevZeroPath, O_RDONLY); open 170 ipc/ipc_send_fds_test.cc const int fd = open(kDevZeroPath, O_RDONLY); open 186 ipc/ipc_send_fds_test.cc if (open(kDevZeroPath, O_RDONLY) != -1) { open 43 media/audio/openbsd/audio_manager_openbsd.cc if ((fd = open(file, O_RDONLY)) < 0) open 94 media/base/android/java/src/org/chromium/media/VideoCapture.java mCamera = Camera.open(mId); open 86 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java camera = Camera.open(id); open 67 media/base/android/webaudio_media_codec_bridge.cc int fd = open(temporaryFile.c_str(), O_RDWR); open 123 media/video/capture/linux/video_capture_device_linux.cc base::ScopedFD fd(HANDLE_EINTR(open(unique_id.c_str(), O_RDONLY))); open 149 media/video/capture/linux/video_capture_device_linux.cc base::ScopedFD fd(HANDLE_EINTR(open(device.id().c_str(), O_RDONLY))); open 258 media/video/capture/linux/video_capture_device_linux.cc base::ScopedFD fd(HANDLE_EINTR(open(device_name.id().c_str(), O_RDONLY))); open 325 media/video/capture/linux/video_capture_device_linux.cc device_fd_.reset(HANDLE_EINTR(open(device_name_.id().c_str(), O_RDWR))); open 115 native_client_sdk/src/libraries/nacl_io/fuse.h int (*open)(const char* path, struct fuse_file_info*); open 123 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc if (!fuse_ops_->open) open 125 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc result = fuse_ops_->open(path_cstr, &fi); open 197 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->open(path, oflag); open 96 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc fd = open("/dev/stdin", O_RDONLY); open 101 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc fd = open("/dev/stdout", O_WRONLY); open 106 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc fd = open("/dev/stderr", O_WRONLY); open 313 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int fd = KernelProxy::open(path, O_RDONLY); open 377 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int fd = open(path, O_RDONLY); open 661 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int fd = KernelProxy::open(path, O_WRONLY); open 68 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int open(const char* path, int open_flags); open 87 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h int NAME(open)(const char* path, int oflag, ...); open 139 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc OP(open); \ open 273 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int WRAP(open)(const char* pathname, int oflag, mode_t cmode, int* newfd) { open 468 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc CHECK_REAL(open); open 469 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc return REAL(open)(pathname, oflag, cmode, newfd); open 136 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc OP(open); \ open 237 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc int WRAP(open)(const char* pathname, int oflag, mode_t cmode, int* newfd) { open 379 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc CHECK_REAL(open); open 380 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc return REAL(open)(pathname, oflag, cmode, newfd); open 73 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc OP(dev_filename, open); \ open 185 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc int WRAP(open)(const char* pathname, int oflag, mode_t cmode, int* newfd) { open 319 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc CHECK_REAL(open); open 320 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc return REAL(open)(pathname, oflag, cmode, newfd); open 237 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc int fd0 = open(getenv("PS_STDIN"), O_RDONLY); open 240 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc int fd1 = open(getenv("PS_STDOUT"), O_WRONLY); open 243 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc int fd2 = open(getenv("PS_STDERR"), O_WRONLY); open 248 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc tty_fd_ = open("/dev/tty", O_WRONLY); open 255 native_client_sdk/src/tests/nacl_io_test/event_test.cc fds[0] = kp->open("/test.txt", O_CREAT | O_WRONLY); open 256 native_client_sdk/src/tests/nacl_io_test/event_test.cc fds[1] = kp->open("/test.txt", O_RDONLY); open 284 native_client_sdk/src/tests/nacl_io_test/event_test.cc fds[0] = kp->open("/test.txt", O_CREAT | O_WRONLY); open 285 native_client_sdk/src/tests/nacl_io_test/event_test.cc fds[1] = kp->open("/test.txt", O_RDONLY); open 113 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, open(_, _)) open 387 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc TEST_F(KernelWrapTest, open) { open 389 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, open(kDummyConstChar, 0)) open 391 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(kDummyInt2, open(kDummyConstChar, 0)); open 393 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, open(kDummyConstChar, 0)) open 395 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(kDummyInt2, open(kDummyConstChar, 0)); open 51 native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h MOCK_METHOD2(open, int(const char*, int)); open 56 net/cronet/android/java/src/org/chromium/net/UrlRequestContext.java mStarted.open(); open 336 net/http/http_auth_gssapi_posix.cc int open = 0; open 347 net/http/http_auth_gssapi_posix.cc &open); open 377 net/http/http_auth_gssapi_posix.cc open); open 622 net/http/http_auth_gssapi_posix.cc int* open) { open 632 net/http/http_auth_gssapi_posix.cc open); open 101 net/http/http_auth_gssapi_posix.h int* open) = 0; open 172 net/http/http_auth_gssapi_posix.h int* open) OVERRIDE; open 153 net/http/mock_gssapi_library_posix.cc open(other.open) { open 187 net/http/mock_gssapi_library_posix.cc open = other.open; open 394 net/http/mock_gssapi_library_posix.cc context.open = security_query.context_info.open; open 452 net/http/mock_gssapi_library_posix.cc int* open) { open 472 net/http/mock_gssapi_library_posix.cc if (open) open 473 net/http/mock_gssapi_library_posix.cc *open = context.open; open 36 net/http/mock_gssapi_library_posix.h int open); open 47 net/http/mock_gssapi_library_posix.h int open; open 183 net/http/mock_gssapi_library_posix.h int* open) OVERRIDE; open 111 net/tools/flip_server/flip_in_mem_edsm_server.cc fd = open(pidfile, O_RDWR | O_CREAT, 0600); open 91 net/tools/flip_server/loadtime_measurement.h int fd = open(filename, 0, "r"); open 123 net/tools/flip_server/mem_cache.cc int fd = open(filename, 0, "r"); open 64 remoting/host/linux/audio_pipe_reader.cc pipe_fd_ = HANDLE_EINTR(open( open 44 rlz/lib/recursive_cross_process_lock_posix.cc file_lock_ = open(lock_filename.value().c_str(), O_RDWR | O_CREAT, 0666); open 79 sandbox/linux/seccomp-bpf/bpf_tests.h BPF_ASSERT((proc_fd = open("/proc", O_RDONLY | O_DIRECTORY)) >= 0); open 415 sandbox/linux/seccomp-bpf/demo.cc int proc_fd = open("/proc", O_RDONLY|O_DIRECTORY); open 444 sandbox/linux/seccomp-bpf/sandbox_bpf.cc proc_fd_ = open("/proc", O_RDONLY | O_DIRECTORY); open 760 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(open("/proc/denied", O_RDONLY) == -1); open 763 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT(open("/proc/allowed", O_RDONLY) == -1); open 784 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc int cpu_info_fd = open("/proc/cpuinfo", O_RDONLY); open 832 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT((fd = open("/proc/self/comm", O_RDWR)) == -1); open 834 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc BPF_ASSERT((fd = open("/proc/self/comm", O_RDONLY)) >= 0); open 48 sandbox/linux/services/broker_process.cc return open(pathname, flags, mode); open 291 sandbox/linux/services/broker_process_unittest.cc int cpuinfo_fd2 = open(kFileCpuInfo, O_RDONLY); open 66 sandbox/linux/services/credentials_unittest.cc int dev_fd = open("/dev", O_RDONLY | O_DIRECTORY); open 76 sandbox/linux/services/credentials_unittest.cc int proc_fd = open("/proc", O_RDONLY | O_DIRECTORY); open 88 sandbox/linux/services/credentials_unittest.cc int dev_fd = open("/dev", O_RDONLY | O_DIRECTORY); open 46 sandbox/linux/services/thread_helpers.cc const int task_fd = open("/proc/self/task/", O_RDONLY | O_DIRECTORY); open 41 sandbox/linux/services/thread_helpers_unittests.cc fd_ = open("/proc/self/task/", O_RDONLY | O_DIRECTORY); open 82 sandbox/linux/services/yama.cc base::ScopedFD yama_scope(HANDLE_EINTR(open(kPtraceScopePath, O_RDONLY))); open 91 sandbox/linux/suid/linux_util.c proc_pid_fd = open(buf, O_RDONLY | O_DIRECTORY); open 37 sandbox/linux/suid/process_util_linux.c const int dirfd = open(oom_adj, O_RDONLY | O_DIRECTORY); open 102 sandbox/win/src/filesystem_policy.cc PolicyRule open(result); open 109 sandbox/win/src/filesystem_policy.cc open.AddNumberMatch(IF, OpenFile::OPTIONS, FILE_DIRECTORY_FILE, AND); open 120 sandbox/win/src/filesystem_policy.cc open.AddNumberMatch(IF_NOT, OpenFile::ACCESS, restricted_flags, AND); open 149 sandbox/win/src/filesystem_policy.cc (!open.AddStringMatch(IF, OpenFile::NAME, name, CASE_INSENSITIVE) || open 150 sandbox/win/src/filesystem_policy.cc !policy->AddRule(IPC_NTOPENFILE_TAG, &open))) { open 132 sandbox/win/src/registry_policy.cc PolicyRule open(result); open 141 sandbox/win/src/registry_policy.cc open.AddNumberMatch(IF_NOT, OpenKey::ACCESS, restricted_flags, AND); open 159 sandbox/win/src/registry_policy.cc if (!open.AddStringMatch(IF, OpenKey::NAME, name, CASE_INSENSITIVE) || open 160 sandbox/win/src/registry_policy.cc !policy->AddRule(IPC_NTOPENKEY_TAG, &open)) { open 150 sandbox/win/src/sync_policy.cc PolicyRule open(result); open 152 sandbox/win/src/sync_policy.cc if (!open.AddStringMatch(IF, OpenEventParams::NAME, name, CASE_INSENSITIVE)) open 160 sandbox/win/src/sync_policy.cc open.AddNumberMatch(IF_NOT, OpenEventParams::ACCESS, restricted_flags, AND); open 163 sandbox/win/src/sync_policy.cc if (!policy->AddRule(IPC_OPENEVENT_TAG, &open)) open 46 third_party/ashmem/ashmem-dev.c fd = open(ASHMEM_DEVICE, O_RDWR); open 94 third_party/ashmem/ashmem-dev.c const int fd = open(ASHMEM_DEVICE, O_RDWR); open 200 third_party/expat/files/lib/xmlparse.c XML_Bool open; open 2345 third_party/expat/files/lib/xmlparse.c if (entity->open) open 2364 third_party/expat/files/lib/xmlparse.c entity->open = XML_TRUE; open 2366 third_party/expat/files/lib/xmlparse.c entity->open = XML_FALSE; open 4515 third_party/expat/files/lib/xmlparse.c if (entity->open) open 4529 third_party/expat/files/lib/xmlparse.c entity->open = XML_TRUE; open 4535 third_party/expat/files/lib/xmlparse.c entity->open = XML_FALSE; open 4538 third_party/expat/files/lib/xmlparse.c entity->open = XML_FALSE; open 4812 third_party/expat/files/lib/xmlparse.c entity->open = XML_TRUE; open 4841 third_party/expat/files/lib/xmlparse.c entity->open = XML_FALSE; open 4887 third_party/expat/files/lib/xmlparse.c entity->open = XML_FALSE; open 5049 third_party/expat/files/lib/xmlparse.c if (entity->open) { open 5067 third_party/expat/files/lib/xmlparse.c entity->open = XML_TRUE; open 5071 third_party/expat/files/lib/xmlparse.c entity->open = XML_FALSE; open 5136 third_party/expat/files/lib/xmlparse.c if (entity->open) { open 5145 third_party/expat/files/lib/xmlparse.c entity->open = XML_TRUE; open 5151 third_party/expat/files/lib/xmlparse.c entity->open = XML_FALSE; open 5155 third_party/expat/files/lib/xmlparse.c entity->open = XML_FALSE; open 5163 third_party/expat/files/lib/xmlparse.c entity->open = XML_TRUE; open 5169 third_party/expat/files/lib/xmlparse.c entity->open = XML_FALSE; open 5546 third_party/expat/files/lib/xmlparse.c if (!e->open) open 5574 third_party/expat/files/lib/xmlparse.c e->open = XML_TRUE; open 985 third_party/expat/files/lib/xmltok.c char open; open 1039 third_party/expat/files/lib/xmltok.c open = (char)c; open 1044 third_party/expat/files/lib/xmltok.c if (c == open) open 576 third_party/expat/files/lib/xmltok_impl.c int open; open 584 third_party/expat/files/lib/xmltok_impl.c open = BYTE_TYPE(enc, ptr); open 585 third_party/expat/files/lib/xmltok_impl.c if (open == BT_QUOT || open == BT_APOS) open 587 third_party/expat/files/lib/xmltok_impl.c switch (open) { open 604 third_party/expat/files/lib/xmltok_impl.c if (t == open) open 940 third_party/expat/files/lib/xmltok_impl.c PREFIX(scanLit)(int open, const ENCODING *enc, open 951 third_party/expat/files/lib/xmltok_impl.c if (t != open) open 1436 third_party/expat/files/lib/xmltok_impl.c int open = 0; /* defined when state == inValue; open 1464 third_party/expat/files/lib/xmltok_impl.c open = BT_QUOT; open 1466 third_party/expat/files/lib/xmltok_impl.c else if (open == BT_QUOT) { open 1478 third_party/expat/files/lib/xmltok_impl.c open = BT_APOS; open 1480 third_party/expat/files/lib/xmltok_impl.c else if (open == BT_APOS) { open 1500 third_party/expat/files/lib/xmltok_impl.c || BYTE_TYPE(enc, ptr + MINBPC(enc)) == open)) open 169 third_party/leveldatabase/env_chromium_stdio.cc int parent_fd = HANDLE_EINTR(open(parent_dir_.c_str(), O_RDONLY)); open 145 third_party/libevent/devpoll.c if ((dpfd = open("/dev/poll", O_RDWR)) == -1) { open 2753 third_party/libevent/evdns.c fd = open(filename, O_RDONLY); open 108 third_party/libevent/sample/event-test.c socket = open (fifo, O_RDWR | O_NONBLOCK, 0); open 110 third_party/libevent/sample/event-test.c socket = open (fifo, O_RDONLY | O_NONBLOCK, 0); open 1106 third_party/libusb/src/libusb/core.c r = usbi_backend->open(_handle); open 616 third_party/libusb/src/libusb/libusbi.h int (*open)(struct libusb_device_handle *handle); open 1879 third_party/libusb/src/libusb/os/darwin_usb.c .open = darwin_open, open 195 third_party/libusb/src/libusb/os/linux_usbfs.c fd = open(path, mode); open 507 third_party/libusb/src/libusb/os/linux_usbfs.c fd = open(filename, O_RDONLY); open 2572 third_party/libusb/src/libusb/os/linux_usbfs.c .open = op_open, open 160 third_party/libusb/src/libusb/os/openbsd_usb.c if ((fd = open(busnode, O_RDWR)) < 0) { open 252 third_party/libusb/src/libusb/os/openbsd_usb.c dpriv->fd = open(devnode, O_RDWR); open 764 third_party/libusb/src/libusb/os/openbsd_usb.c if (((fd = open(devnode, O_RDWR)) < 0) && (errno == ENXIO)) open 765 third_party/libusb/src/libusb/os/openbsd_usb.c if ((fd = open(devnode, mode)) < 0) open 822 third_party/libusb/src/libusb/os/openbsd_usb.c return open(busnode, O_RDWR); open 1795 third_party/libusb/src/libusb/os/windows_usb.c return priv->apib->open(SUB_API_NOTSET, dev_handle); open 2336 third_party/libusb/src/libusb/os/windows_usb.c PRINT_UNSUPPORTED_API(open); open 4222 third_party/libusb/src/libusb/os/windows_usb.c r = usb_api_backend[USB_API_WINUSBX].open(i, dev_handle); open 114 third_party/libusb/src/libusb/os/windows_usb.h int (*open)(int sub_api, struct libusb_device_handle *dev_handle); open 978 third_party/libxml/src/catalog.c if ((fd = open(filename, O_RDONLY)) < 0) open 1627 third_party/libxml/src/nanohttp.c fd = open(filename, O_CREAT | O_WRONLY, 00644); open 1670 third_party/libxml/src/nanohttp.c fd = open(filename, O_CREAT | O_WRONLY, 0666); open 617 third_party/libxml/src/runtest.c fd1 = open(r1, RD_FLAGS); open 620 third_party/libxml/src/runtest.c fd2 = open(r2, RD_FLAGS); open 657 third_party/libxml/src/runtest.c fd = open(filename, RD_FLAGS); open 691 third_party/libxml/src/runtest.c if ((fd = open(filename, RD_FLAGS)) < 0) { open 94 third_party/libxml/src/testRelax.c if ((fd = open(argv[i], O_RDONLY)) < 0) open 90 third_party/libxml/src/testSchemas.c if ((fd = open(argv[i], O_RDONLY)) < 0) open 1830 third_party/libxml/src/xmllint.c if ((fd = open(filename, O_RDONLY)) < 0) open 2217 third_party/libxml/src/xmllint.c if ((fd = open(filename, O_RDONLY)) < 0) open 2332 third_party/libxml/src/xmllint.c if ((fd = open(filename, O_RDONLY)) < 0) open 334 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); open 394 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); open 1388 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc fd = open(descriptor_set_name_.c_str(), open 1420 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc int fd = open(filename.c_str(), O_RDONLY); open 446 third_party/protobuf/src/google/protobuf/compiler/importer.cc file_descriptor = open(filename.c_str(), O_RDONLY); open 684 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); open 715 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); open 110 third_party/protobuf/src/google/protobuf/message_unittest.cc int file = open(filename.c_str(), O_RDONLY | O_BINARY); open 123 third_party/protobuf/src/google/protobuf/message_unittest.cc int file = open(filename.c_str(), O_RDONLY | O_BINARY); open 158 third_party/protobuf/src/google/protobuf/testing/googletest.cc int fd = open(stdout_capture_filename_.c_str(), open 173 third_party/protobuf/src/google/protobuf/testing/googletest.cc int fd = open(stderr_capture_filename_.c_str(), open 24439 third_party/sqlite/amalgamation/sqlite3.c { "open", (sqlite3_syscall_ptr)open, 0 }, open 86587 third_party/sqlite/amalgamation/sqlite3.c int (*open)(const char*,sqlite3**); open 86788 third_party/sqlite/amalgamation/sqlite3.c #define sqlite3_open sqlite3_api->open open 298 third_party/sqlite/src/src/os_unix.c { "open", (sqlite3_syscall_ptr)open, 0 }, open 105 third_party/sqlite/src/src/sqlite3ext.h int (*open)(const char*,sqlite3**); open 306 third_party/sqlite/src/src/sqlite3ext.h #define sqlite3_open sqlite3_api->open open 435 third_party/sqlite/src/src/test_demovfs.c p->fd = open(zName, oflags, 0600); open 472 third_party/sqlite/src/src/test_demovfs.c dfd = open(zDir, O_RDONLY, 0); open 808 third_party/sqlite/src/test/threadtest3.c fd1 = open(zFrom, O_RDONLY); open 813 third_party/sqlite/src/test/threadtest3.c fd2 = open(zTo, O_RDWR|O_CREAT|O_EXCL, 0644); open 24 third_party/sqlite/src/tool/diffdb.c db1 = open(argv[1], O_RDONLY); open 29 third_party/sqlite/src/tool/diffdb.c db2 = open(argv[2], O_RDONLY); open 479 third_party/sqlite/src/tool/showdb.c db = open(argv[1], O_RDONLY); open 280 third_party/sqlite/src/tool/showwal.c fd = open(argv[1], O_RDONLY); open 76 third_party/talloc/libreplace/repdir_getdents.c d->fd = open(dname, O_RDONLY); open 78 third_party/talloc/libreplace/repdir_getdirentries.c d->fd = open(dname, O_RDONLY); open 416 third_party/talloc/libreplace/replace.c return open(p, O_CREAT|O_EXCL|O_RDWR, 0600); open 50 third_party/talloc/libreplace/test/os2_delete.c fd = open(fname, O_CREAT|O_RDWR, 0600); open 22 third_party/talloc/libreplace/test/shared_mmap.c int fd = open(DATA,O_RDWR|O_CREAT|O_TRUNC,0666); open 34 third_party/talloc/libreplace/test/shared_mmap.c fd = open(DATA,O_RDWR); open 50 third_party/talloc/libreplace/test/shared_mmap.c fd = open(DATA,O_RDWR); open 61 third_party/talloc/libreplace/test/testsuite.c fd = open(TESTFILE, O_RDWR|O_CREAT, 0600); open 884 third_party/talloc/libreplace/test/testsuite.c fd = open(TESTFILE, O_RDWR|O_CREAT, 0600); open 966 third_party/talloc/libreplace/test/testsuite.c fd = open(TESTFILE, O_RDWR|O_CREAT, 0600); open 1899 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h LSS_INLINE _syscall3(int, open, const char*, p, open 90 third_party/tcmalloc/chromium/src/base/logging.cc return open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0664); open 98 third_party/tcmalloc/chromium/src/base/sysinfo.cc # define safeopen(filename, mode) open(filename, mode) open 263 third_party/tcmalloc/chromium/src/base/sysinfo.cc int fd = open(file, O_RDONLY); open 334 third_party/tcmalloc/chromium/src/base/sysinfo.cc int fd = open(pname, O_RDONLY); open 763 third_party/tcmalloc/chromium/src/base/sysinfo.cc NO_INTR(fd_ = open(ibuf_, O_RDONLY)); open 771 third_party/tcmalloc/chromium/src/base/sysinfo.cc NO_INTR(fd_ = open(ibuf_, O_RDONLY)); open 778 third_party/tcmalloc/chromium/src/base/sysinfo.cc NO_INTR(fd_ = open(ibuf_, O_RDONLY)); open 87 third_party/tcmalloc/chromium/src/base/vdso_support.cc int fd = open("/proc/self/auxv", O_RDONLY); open 937 third_party/tcmalloc/chromium/src/debugallocation.cc trace_fd = open("/tmp/google.alloc", O_CREAT|O_TRUNC|O_WRONLY, 0666); open 75 third_party/tcmalloc/chromium/src/deep-heap-profile.cc fd = open(filename, O_RDONLY); open 126 third_party/tcmalloc/chromium/src/deep-heap-profile.cc pagemap_fd_ = open(filename, O_RDONLY); open 131 third_party/tcmalloc/chromium/src/deep-heap-profile.cc kpagecount_fd_ = open(filename, O_RDONLY); open 113 third_party/tcmalloc/chromium/src/heap-checker.cc int fd = open("/proc/self/status", O_RDONLY); open 98 third_party/tcmalloc/chromium/src/profiledata.cc int fd = open(fname, O_CREAT | O_WRONLY | O_TRUNC, 0666); open 180 third_party/tcmalloc/chromium/src/system-alloc.cc int urandom_fd = open("/dev/urandom", O_RDONLY); open 495 third_party/tcmalloc/chromium/src/system-alloc.cc physmem_fd = open("/dev/mem", O_RDWR); open 165 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc FileDescriptor fd(open(filename_.c_str(), O_RDONLY)); open 188 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc FileDescriptor fd(open(filename_.c_str(), O_RDONLY)); open 1175 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc int fd = open("/dev/zero", O_RDONLY); open 1807 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h LSS_INLINE _syscall3(int, open, const char*, p, open 90 third_party/tcmalloc/vendor/src/base/logging.cc return open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0664); open 93 third_party/tcmalloc/vendor/src/base/sysinfo.cc # define safeopen(filename, mode) open(filename, mode) open 248 third_party/tcmalloc/vendor/src/base/sysinfo.cc int fd = open(file, O_RDONLY); open 319 third_party/tcmalloc/vendor/src/base/sysinfo.cc int fd = open(pname, O_RDONLY); open 607 third_party/tcmalloc/vendor/src/base/sysinfo.cc NO_INTR(fd_ = open(ibuf_, O_RDONLY)); open 615 third_party/tcmalloc/vendor/src/base/sysinfo.cc NO_INTR(fd_ = open(ibuf_, O_RDONLY)); open 622 third_party/tcmalloc/vendor/src/base/sysinfo.cc NO_INTR(fd_ = open(ibuf_, O_RDONLY)); open 87 third_party/tcmalloc/vendor/src/base/vdso_support.cc int fd = open("/proc/self/auxv", O_RDONLY); open 930 third_party/tcmalloc/vendor/src/debugallocation.cc trace_fd = open("/tmp/google.alloc", O_CREAT|O_TRUNC|O_WRONLY, 0666); open 113 third_party/tcmalloc/vendor/src/heap-checker.cc int fd = open("/proc/self/status", O_RDONLY); open 98 third_party/tcmalloc/vendor/src/profiledata.cc int fd = open(fname, O_CREAT | O_WRONLY | O_TRUNC, 0666); open 358 third_party/tcmalloc/vendor/src/system-alloc.cc physmem_fd = open("/dev/mem", O_RDWR); open 165 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc FileDescriptor fd(open(filename_.c_str(), O_RDONLY)); open 188 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc FileDescriptor fd(open(filename_.c_str(), O_RDONLY)); open 1175 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc int fd = open("/dev/zero", O_RDONLY); open 121 third_party/tlslite/tlslite/utils/entropy.c if ((fd = open("/dev/urandom", O_RDONLY, 0)) == -1) { open 28 third_party/v4l2capture/v4l2capture.c #define v4l2_open open open 162 third_party/zlib/gzlib.c open(path, open 70 tools/android/file_poller/file_poller.cc int fd = open(path, O_RDONLY); open 193 tools/android/forwarder2/daemon.cc const int null_fd = open("/dev/null", O_RDWR); open 440 tools/android/memdump/memdump.cc base::ScopedFD pagemap_fd(HANDLE_EINTR(open( open 493 tools/android/memdump/memdump.cc HANDLE_EINTR(open("/proc/kpagecount", O_RDONLY))); open 499 tools/android/memdump/memdump.cc base::ScopedFD page_flags_fd(open("/proc/kpageflags", O_RDONLY)); open 332 tools/cygprofile/cygprofile.cc int file = open(log_filename_.c_str(), O_CREAT | O_WRONLY | O_APPEND, 00600); open 177 tools/gn/function_exec_script.cc int dev_null = open("/dev/null", O_WRONLY); open 88 tools/gn/generate_test_gn_data.cc file.open(FilePathToUTF8(filename).c_str(), open 104 tools/gn/ninja_build_writer.cc file.open(FilePathToUTF8(ninja_file).c_str(), open 110 tools/gn/ninja_build_writer.cc depfile.open((FilePathToUTF8(ninja_file) + ".d").c_str(), open 54 tools/gn/ninja_toolchain_writer.cc file.open(FilePathToUTF8(ninja_file).c_str(), open 519 ui/base/ime/win/imm32_manager.cc BOOL open = FALSE; open 520 ui/base/ime/win/imm32_manager.cc ConvertInputModeToImmFlags(input_mode, conversion_mode, &open, open 523 ui/base/ime/win/imm32_manager.cc ::ImmSetOpenStatus(imm_context, open); open 524 ui/base/ime/win/imm32_manager.cc if (open) open 614 ui/base/ime/win/imm32_manager.cc BOOL* open, open 616 ui/base/ime/win/imm32_manager.cc *open = TRUE; open 635 ui/base/ime/win/imm32_manager.cc *open = FALSE; open 258 ui/base/ime/win/imm32_manager.h BOOL* open, open 75 ui/base/ime/win/imm32_manager_unittest.cc BOOL open; open 80 ui/base/ime/win/imm32_manager_unittest.cc &open, open 83 ui/base/ime/win/imm32_manager_unittest.cc EXPECT_EQ(test_case.expected_open, open); open 57 ui/events/ozone/evdev/event_factory_evdev.cc int fd = open(path.value().c_str(), O_RDONLY | O_NONBLOCK); open 16 ui/gfx/ozone/dri/dri_wrapper.cc fd_ = open(device_path, O_RDWR | O_CLOEXEC);