/system/core/libsparse/ |
output_file.c | 2 * Copyright (C) 2010 The Android Open Source Project 70 int (*open)(struct output_file *, int fd); member in struct:output_file_ops 184 .open = file_open, 268 .open = gz_file_open, 319 .open = callback_file_open, 682 out->ops->open(out, fd); 760 int file_fd = open(file, O_RDONLY | O_BINARY);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
SlidingDrawerTest.java | 2 * Copyright (C) 2009 The Android Open Source Project 104 drawer.open(); 261 drawer.open(); 273 drawer.open();
|
/device/samsung/manta/liblights/ |
lights.c | 2 * Copyright (C) 2012 The Android Open Source Project 78 fd = open(path, O_RDWR); 88 ALOGE("write_int failed to open %s\n", path); 190 fd = open(path_name, O_WRONLY); 194 ALOGE("failed to open %s!", path_name); 361 .open = open_lights,
|
/external/android-clat/ |
clatd.c | 79 * tries to open the tunnel device 84 fd = open("/dev/tun", O_RDWR); 86 fd = open("/dev/net/tun", O_RDWR); 413 // open the tunnel device before dropping privs 426 // open the forwarding configuration before dropping privs 427 forwarding_fd = open("/proc/sys/net/ipv6/conf/all/forwarding", O_RDWR); 429 logmsg(ANDROID_LOG_FATAL,"open /proc/sys/net/ipv6/conf/all/forwarding failed: %s",
|
/external/chromium_org/native_client_sdk/src/doc/_sphinxext/ |
devsite_builder.py | 264 with open(os.path.join(self.env.srcdir, '_book.yaml')) as in_f: 265 with open(os.path.join(self.outdir, '_book.yaml'), 'w') as out_f: 320 # codecs.open is the fast Python 2.x way of emulating the encoding= argument 321 # in Python 3's builtin open. 322 with codecs.open(filename, 'w', encoding='utf-8') as f:
|
/external/chromium_org/ppapi/ |
generate_ppapi_size_checks.py | 118 sourcefile = open(self.filename, "r") 136 newsource = open(self.filename, "w") 233 outfile = open(os.path.join(root, filename), "w")
|
/external/chromium_org/ppapi/native_client/src/tools/ |
srpcgen.py | 412 # Note we open output files in binary mode so that on Windows the files 414 h_file = open(h_file_name, 'wb') 419 cc_file = open(cc_file_name, 'wb') 452 code_obj = compile(open(spec_file, 'r').read(), 'file', 'eval')
|
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_support_extension/ |
pnacl_component_crx_gen.py | 146 with open(PnaclPackaging.tool_revisions, 'r') as f: 167 with open(PnaclPackaging.pnacl_template, 'r') as pnacl_template_fd: 171 with open(out_name, 'w') as output_fd:
|
/external/chromium_org/remoting/webapp/ |
build-webapp.py | 39 with open(oldFilepath) as input: 40 with open(filepath, 'w') as output: 159 f = open(path, 'w')
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
html.py | 22 data_file = open(data_filename(fname)) 249 status = pickle.load(open(status_file, "rb")) 274 fout = open(status_file, "wb")
|
/external/chromium_org/third_party/libxml/src/ |
regressions.py | 128 expout = open(fname, 'rt') 130 print "Can't open result file %s - bypassing test" % fname 147 experr = open(fname, 'rt') 155 infile = open(inbase + filename, 'rt') 333 print "unable to open %s" % (filename)
|
xmlcatalog.c | 489 fprintf(stderr, "could not open %s for saving\n", 505 "could not open %s for saving\n", 591 fprintf(stderr, "could not open %s for saving\n", filename);
|
/external/chromium_org/tools/checkdeps/ |
graphdeps.py | 129 out = pipe.open(self.out_file, 'w') 131 out = open(self.out_file, 'w') 140 out = pipe.open(self.out_file, 'w')
|
/external/chromium_org/tools/grit/grit/tool/ |
resize.py | 62 # reopening of the RC file in Visual Studio. Currently you can only open it 158 European languages). You will need to open this file in a text editor and 160 near the top of the file, before you open it in Visual Studio. 287 with open(filename, 'wb') as f:
|
/external/clang/docs/tools/ |
dump_ast_matchers.py | 282 for line in open(MATCHERS_FILE).read().splitlines(): 315 reference = open('../LibASTMatchersReference.html').read() 323 with open('../LibASTMatchersReference.html', 'w') as output:
|
/external/compiler-rt/lib/profile/ |
GCDAProfiling.c | 5 |* This file is distributed under the University of Illinois Open Source 18 |* TODO: gcov is multi-process safe by having each exit open the existing file 249 fd = open(filename, O_RDWR); 255 fd = open(filename, O_RDWR | O_CREAT, 0644); 259 fd = open(filename, O_RDWR | O_CREAT, 0644); 263 fprintf(stderr, "profiling: %s: cannot open: %s\n", filename,
|
/external/icu4c/stubdata/ |
icu_dat_generator.py | 3 # Copyright (C) 2010 The Android Open Source Project 90 f = open(path, "w") 131 # Open input file (such as icu-data-default.txt). 238 for line in open(input_file, "r"): 286 f = open(os.path.join(TMP_DAT_PATH, "add_list.txt"), "w")
|
/external/libxml2/ |
xmlcatalog.c | 489 fprintf(stderr, "could not open %s for saving\n", 505 "could not open %s for saving\n", 591 fprintf(stderr, "could not open %s for saving\n", filename);
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/ |
SDL_syscdrom.c | 85 cdfd = open(drive, QNX_CD_OPENMODE); 153 SDL_CDcaps.Open = SDL_SYS_CDOpen; 163 /* clearing device open status */ 262 handle=open(SDL_cdlist[drive], QNX_CD_OPENMODE); 371 cdrom->id=open(SDL_cdlist[drive], QNX_CD_OPENMODE);
|
/external/v8/tools/ |
js2c.py | 63 file = open(filename, "rt") 73 for line in open(filename, "rt"): 373 output = open(str(target[0]), "w")
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
CameraSource.java | 2 * Copyright (C) 2011 The Android Open Source Project 140 public void open(FilterContext context) { method in class:CameraSource 142 // Open camera 143 mCamera = Camera.open(mCameraId); 250 mCamera = Camera.open(mCameraId);
|
/frameworks/native/opengl/libs/EGL/ |
egl_cache.cpp | 2 ** Copyright 2011, The Android Open Source Project 225 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); 236 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); 290 int fd = open(mFilename.string(), O_RDONLY, 0);
|
/frameworks/native/opengl/libs/GLES_trace/tools/ |
genapi.py | 116 * Copyright 2011, The Android Open Source Project 348 lines = open(apiEntryFile).readlines() 392 with open(fname, "w") as f: 409 with open(fname, "w") as f:
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipManager.java | 2 * Copyright (C) 2010 The Android Open Source Project 39 * be video, audio, or other, and are initiated with {@link #open open()}. Audio-only SIP calls 66 * @see #open(SipProfile, PendingIntent, SipRegistrationListener) 72 * @see #open(SipProfile, PendingIntent, SipRegistrationListener) 79 * @see #open(SipProfile, PendingIntent, SipRegistrationListener) 171 * {@link #open(SipProfile, PendingIntent, SipRegistrationListener)} 178 public void open(SipProfile localProfile) throws SipException { method in class:SipManager 180 mSipService.open(localProfile); 182 throw new SipException("open()", e) 215 public void open(SipProfile localProfile, method in class:SipManager [all...] |
/hardware/ti/wlan/mac80211/ti-utils/ |
misc_cmds.c | 33 fd = open(argv[0], O_RDONLY); 134 fd = open(argv[0], O_RDONLY); 188 fd = open(argv[0], O_RDWR);
|