Home
last modified time | relevance | path

Searched refs:share_mode (Results 1 – 12 of 12) sorted by relevance

/external/qemu/android/utils/
Dmapfile.c33 mapfile_open(const char* path, int oflag, int share_mode) in mapfile_open() argument
52 if ((share_mode & S_IWRITE) != 0) { in mapfile_open()
55 if ((share_mode & S_IREAD) != 0) { in mapfile_open()
88 int file_handle = open(path, oflag, share_mode); in mapfile_open()
Dmapfile.h56 extern MapFile* mapfile_open(const char* path, int oflag, int share_mode);
/external/chromium_org/base/process/
Dprocess_metrics_mac.cc156 info.share_mode != SM_PRIVATE) in GetMemoryBytes()
159 if (info.share_mode == SM_COW && info.ref_count == 1) in GetMemoryBytes()
160 info.share_mode = SM_PRIVATE; in GetMemoryBytes()
162 switch (info.share_mode) { in GetMemoryBytes()
/external/chromium_org/chrome/test/chromedriver/chrome/
Dzip_internal.cc39 DWORD share_mode, flags_and_attributes; in ZipOpenFunc() local
43 desired_access = share_mode = flags_and_attributes = 0; in ZipOpenFunc()
48 share_mode = FILE_SHARE_READ; in ZipOpenFunc()
59 file = CreateFile(filename16.c_str(), desired_access, share_mode, in ZipOpenFunc()
/external/chromium_org/third_party/zlib/google/
Dzip_internal.cc39 DWORD share_mode, flags_and_attributes; in ZipOpenFunc() local
43 desired_access = share_mode = flags_and_attributes = 0; in ZipOpenFunc()
48 share_mode = FILE_SHARE_READ; in ZipOpenFunc()
59 file = CreateFile(filename16.c_str(), desired_access, share_mode, in ZipOpenFunc()
/external/chromium/chrome/common/
Dzip.cc118 DWORD share_mode, flags_and_attributes; in ZipOpenFunc() local
122 desired_access = share_mode = flags_and_attributes = 0; in ZipOpenFunc()
127 share_mode = FILE_SHARE_READ; in ZipOpenFunc()
138 file = CreateFile(filename_wstr.c_str(), desired_access, share_mode, in ZipOpenFunc()
/external/chromium_org/base/memory/
Dshared_memory_nacl.cc144 ShareMode share_mode) { in ShareToProcessCommon() argument
145 if (share_mode == SHARE_READONLY) { in ShareToProcessCommon()
Dshared_memory_win.cc193 ShareMode share_mode) { in ShareToProcessCommon() argument
199 if (share_mode == SHARE_CURRENT_MODE && !read_only_) in ShareToProcessCommon()
Dshared_memory_posix.cc439 ShareMode share_mode) { in ShareToProcessCommon() argument
441 switch(share_mode) { in ShareToProcessCommon()
/external/chromium_org/media/audio/win/
Dcore_audio_util_win.h144 AUDCLNT_SHAREMODE share_mode,
165 AUDCLNT_SHAREMODE share_mode,
Dcore_audio_util_win.cc510 AUDCLNT_SHAREMODE share_mode, in IsFormatSupported() argument
515 share_mode, reinterpret_cast<const WAVEFORMATEX*>(format), in IsFormatSupported()
581 AUDCLNT_SHAREMODE share_mode, in GetDevicePeriod() argument
592 *device_period = (share_mode == AUDCLNT_SHAREMODE_SHARED) ? default_period : in GetDevicePeriod()
/external/chromium/base/
Dprocess_util_mac.mm326 info.share_mode != SM_PRIVATE)
329 if (info.share_mode == SM_COW && info.ref_count == 1)
330 info.share_mode = SM_PRIVATE;
332 switch (info.share_mode) {