/external/qemu/ |
qemu-char.c | 122 /* Keep track if the char device is open */ 241 also get the open event */ 512 /* Frontend guest-open / -close notification is not support with muxes */ 516 /* Muxes are always open on creation */ 675 /* open a character device to a unix fd */ 726 TFR(fd_in = fd_out = open(filename, O_RDWR | O_BINARY)); 868 mfd = open("/dev/ptmx", O_RDWR | O_NOCTTY); 878 if ((sfd = open(slave, O_RDONLY | O_NOCTTY)) == -1) 2550 CharDriverState *(*open)(QemuOpts *opts); member in struct:__anon25512 [all...] |
loader.c | 57 fd = open(filename, O_RDONLY | O_BINARY); 70 fd = open(filename, O_RDONLY | O_BINARY); 217 fd = open(filename, O_RDONLY | O_BINARY); 313 fd = open(filename, O_RDONLY | O_BINARY); 466 fd = open(filename, O_RDONLY | O_BINARY);
|
/external/chromium_org/build/android/ |
adb_profile_chrome.py | 85 with open(trace_file_name) as trace_file: 87 with open(html_file_name, 'w') as html_file: 190 with open(output_name, 'w') as out: 248 with gzip.open(output, 'wb') as out: 249 with open(host_file, 'rb') as input_file: 390 output_options.add_option('--view', help='Open resulting trace file in a ' 446 webbrowser.open(result)
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
compute_dependencies.py | 91 with open(idl_filename) as idl_file: 98 with open(destination_filename) as destination_file: 102 with open(destination_filename, 'w') as destination_file: 380 with open(options.main_idl_files_list) as idl_files_list: 382 with open(options.support_idl_files_list) as idl_files_list:
|
/external/chromium_org/third_party/lcov/bin/ |
geninfo | 521 open(DUMMY_HANDLE, ">", $output_filename) 1043 open(INFO_HANDLE, ">>", $output_filename) 1050 # Open .info file for output 1051 open(INFO_HANDLE, ">", "$da_filename.info") [all...] |
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/ |
SDL_sysjoystick.c | 313 fd = open(SDL_joylist[i].fname, O_RDONLY, 0); 431 fd = open(envpath, O_RDONLY, 0); 469 fd = open(path, O_RDONLY, 0); 524 fd = open(SDL_joylist[index].fname, O_RDONLY, 0); 786 /* Function to open a joystick for use. 787 The joystick to open is specified by the index field of the joystick. 797 /* Open the joystick and set the joystick file descriptor */ 809 fd = open(SDL_joylist[joystick->index].fname, O_RDONLY, 0); 813 fd = open(SDL_joylist[joystick->index].fname, O_RDONLY, 0); 817 SDL_SetError("Unable to open %s\n" [all...] |
/external/skia/tools/skpdiff/ |
skpdiff_server.py | 95 with open(output_path, 'wb') as writer: 281 with open(updated_file_path, 'rb') as updated_file: 287 with open(expected_file_path, 'rb') as expected_file: 319 with open(self._skpdiff_output_path, 'rb') as skpdiff_output_file: 430 # Open the file and send it over HTTP 432 with open(file_path, 'rb') as sending_file:
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SinkChannelTest.java | 52 pipe = Pipe.open(); 465 ServerSocketChannel ssc = ServerSocketChannel.open(); 467 SocketChannel sc = SocketChannel.open(); 489 ServerSocketChannel ssc = ServerSocketChannel.open(); 491 SocketChannel sc = SocketChannel.open();
|
/system/core/init/ |
util.c | 2 * Copyright (C) 2008 The Android Open Source Project 95 ERROR("Failed to open socket '%s': %s\n", name, strerror(errno)); 150 fd = open(fn, O_RDONLY); 202 fd = open("/proc/mtd", O_RDONLY); 383 fd = open(name, O_RDWR); 409 fd = open("/proc/cpuinfo", O_RDONLY); 450 fd = open("/proc/cmdline", O_RDONLY);
|
/system/extras/tests/sdcard/ |
sdcard_perf_test.cpp | 2 * Copyright (C) 2009 The Android Open Source Project 56 // write: Open a file write some random data and close. 57 // read: Open a file read it and close. 59 // open_create: Open|create an non existing file. 297 int fd = open(filename, O_RDONLY); 302 fprintf(stderr, "Open read only failed."); 376 int fd = open(filename, O_RDWR | O_CREAT, S_IRWXU); 423 int fd = open(filename, O_RDWR | O_CREAT, S_IRWXU); // no O_TRUNC, see header comment 428 fprintf(stderr, "Open write failed."); 529 // OPEN CREATE TES [all...] |
/external/chromium_org/chrome/test/functional/perf/ |
endure_result_parser.py | 82 with open(config_file, 'w') as f: 126 with open(data_file, 'w') as f: 154 with open(graphs_file, 'r') as f: 171 with open(graphs_file, 'w') as f: 180 with open(data_file, 'r') as f: 217 with open(data_file, 'r') as f: 397 fp = open(location, 'rb') 479 fp = open(stdio_location) 646 with open(LAST_BUILD_NUM_PROCESSED_FILE, 'r') as fp: 681 with open(LAST_BUILD_NUM_PROCESSED_FILE, 'w') as f [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbevents.c | 247 /* Open only if not already opened */ 256 tty0_fd = open(tty0[i], O_WRONLY, 0); 268 keyboard_fd = open(vtpath, O_RDWR, 0); 278 tty0_fd = open("/dev/tty", O_RDWR, 0); 290 keyboard_fd = open("/dev/tty", O_RDWR); 308 SDL_SetError("Unable to open a console terminal"); 400 cmdline = open(path, O_RDONLY, 0); 579 mouse_fd = open(mousedev, O_RDWR); 607 mouse_fd = open(GPM_NODE_FIFO, O_RDONLY, 0); 638 mouse_fd = open(ps2mice[i], O_RDWR, 0) [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_av.c | 59 different than open state. Suspend flags are needed however to prevent 194 ** Description Timer to trigger AV open if the remote headset establishes 272 /* IOP_FIX: Jabra 620 only does RC open without AV open whenever it connects. So 345 BTIF_TRACE_DEBUG2("status:%d, edr 0x%x",p_bta_data->open.status, 346 p_bta_data->open.edr); 348 if (p_bta_data->open.status == BTA_AV_SUCCESS) 352 btif_av_cb.edr = p_bta_data->open.edr; 357 p_bta_data->open.status ); 365 /* change state to open/idle based on the status * [all...] |
/external/chromium_org/chrome/tools/build/win/ |
create_installer_archive.py | 53 for line in open(os.path.join(build_dir, '../../chrome', VERSION_FILE), 'r'): 270 RunSystemCommand(cmd, stdout=open(os.devnull, "w")) 319 with open(resource_file_path, 'w') as f: 328 with open(os.path.join(build_dir, manifest_name), 'r') as f: 345 with open(os.path.join(output_dir, manifest_name), 'w') as f : 359 with open(src, 'rb') as fsrc: 361 with open(dest, 'rb') as fdest:
|
/external/chromium_org/ui/gl/ |
generate_bindings.py | [all...] |
/external/zlib/src/examples/ |
gzlog.c | 154 the system open() call. If the modify time of an existing lock file is 230 #include <fcntl.h> /* open */ 354 while ((fd = open(log->path, O_CREAT | O_EXCL, 0644)) < 0) { 496 /* Append len bytes from data to the locked and open log file. len may be zero 629 fd = open(log->path, O_RDONLY, 0); [all...] |
/frameworks/native/cmds/dumpstate/ |
utils.c | 2 * Copyright (C) 2008 The Android Open Source Project 59 printf("Failed to open /proc (%s)\n", strerror(errno)); 76 if ((fd = open(cmdpath, O_RDONLY)) < 0) { 106 printf("Failed to open %s (%s)\n", taskpath, strerror(errno)); 127 if ((fd = open(commpath, O_RDONLY)) < 0) { 158 if ((fd = open(path, O_RDONLY)) < 0) { 159 printf("Failed to open '%s' (%s)\n", path, strerror(errno)); 215 int fd = open(path, O_RDONLY); 389 int fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); 482 int fd = open(traces_path, O_CREAT | O_WRONLY | O_TRUNC | O_NOFOLLOW, 0666); /* -rw-rw-rw- * [all...] |
/hardware/qcom/display/msm8960/liboverlay/ |
overlayUtils.h | 35 #include <fcntl.h> // open, O_RDWR, etc 89 /* helper function to open by using fbnum */ 90 bool open(OvFD& fd, uint32_t fbnum, const char* const dev, 219 * Usually, you want to open the rotator to make sure it is 696 return overlay::open(fd, fbnum, devpath, flags); 757 /* Open fd using the path given by dev. 759 bool open(const char* const dev, 792 inline bool open(OvFD& fd, uint32_t fbnum, const char* const dev, int flags) function in namespace:overlay 796 return fd.open(dev_name, flags); 807 inline bool OvFD::open(const char* const dev, int flags function in class:overlay::OvFD [all...] |
/hardware/qcom/display/msm8974/liboverlay/ |
overlayUtils.h | 35 #include <fcntl.h> // open, O_RDWR, etc 88 /* helper function to open by using fbnum */ 89 bool open(OvFD& fd, uint32_t fbnum, const char* const dev, 219 * Usually, you want to open the rotator to make sure it is 674 return overlay::open(fd, fbnum, devpath, flags); 735 /* Open fd using the path given by dev. 737 bool open(const char* const dev, 770 inline bool open(OvFD& fd, uint32_t fbnum, const char* const dev, int flags) function in namespace:overlay 774 return fd.open(dev_name, flags); 785 inline bool OvFD::open(const char* const dev, int flags function in class:overlay::OvFD [all...] |
/hardware/qcom/display/msm8x26/liboverlay/ |
overlayUtils.h | 35 #include <fcntl.h> // open, O_RDWR, etc 89 /* helper function to open by using fbnum */ 90 bool open(OvFD& fd, uint32_t fbnum, const char* const dev, 219 * Usually, you want to open the rotator to make sure it is 696 return overlay::open(fd, fbnum, devpath, flags); 757 /* Open fd using the path given by dev. 759 bool open(const char* const dev, 792 inline bool open(OvFD& fd, uint32_t fbnum, const char* const dev, int flags) function in namespace:overlay 796 return fd.open(dev_name, flags); 807 inline bool OvFD::open(const char* const dev, int flags function in class:overlay::OvFD [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
binhex.py | 55 fp = open(name, 'rb') 84 fp = open(name) 85 data = open(name).read(256) 177 ofp = open(ofname, 'w') 255 ifp = open(inp, 'rb') 373 ifp = open(ifp) 479 ofp = open(out, 'wb')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
binhex.py | 55 fp = open(name, 'rb') 84 fp = open(name) 85 data = open(name).read(256) 177 ofp = open(ofname, 'w') 255 ifp = open(inp, 'rb') 373 ifp = open(ifp) 479 ofp = open(out, 'wb')
|
/external/chromium_org/native_client_sdk/src/doc/ |
faq.rst | 94 open web whereas NaCl only works on the Chrome Web Store. 184 Is Native Client open? Is it a standard? 187 Native Client is completely open: the executable format is open and the 188 `source code is open <nacl_project_>`_. Right 211 deem them better suited to a web store than to the open web. 390 * Open source, peer-reviewed papers describing the design. 503 open web, after asking for the appropriate permissions. Native Client 514 functions (e.g. open/fopen/read/write/...). See :doc:`Using NaCl I/O 527 ``about:nacl``; if not open ``about:components`` and "Check fo [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
popup.js | 25 setProperty('#open-folder', 'title', 'openDownloadsFolderTitle'); 42 setProperty('.open-filename', 'title', 'openTitle'); 198 item.getElement('open-filename').onclick = function() { 199 item.open(); 202 item.getElement('open-filename').ondragstart = function() { 315 item.getElement('open-filename').style.display = ( 337 item.getElement('open-filename').innerText = item.basename; 461 DownloadItem.prototype.open = function() { 463 chrome.downloads.open(this.id); 749 document.getElementById('open-folder').offsetWidth) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllib2.py | 228 def open(self, req, data=None,timeout=socket._GLOBAL_DEFAULT_TIMEOUT): member in class:MockOpener 472 self.assertRaises(URLError, o.open, scheme+"://example.com/") 486 r = o.open(req) 513 r = o.open("http://example.com/") 528 self.assertRaises(urllib2.URLError, o.open, req) 552 r = o.open(req) 574 r = o.open(req) 592 # response from opener.open is None, because there's no 687 f = open(TESTFN, "wb") 720 f = open(TESTFN, "wb" [all...] |