/development/simulator/wrapsim/ |
LaunchWrapper.c | 115 * Redirect stdout/stderr to the specified file. If "fileName" is NULL, 120 static int redirectStdio(const char* fileName) 124 if (fileName == NULL) 127 printf("Redirecting stdio to append to '%s'\n", fileName); 131 fd = open(fileName, O_WRONLY | O_APPEND | O_CREAT, 0666); 134 fileName); 275 "Usage: launch-wrapper [-wait] [-output filename] <cmd> [args...]\n");
|
/development/simulator/app/ |
Preferences.cpp | 27 bool Preferences::Load(const char* fileName) 29 assert(fileName != NULL); 30 printf("SimPref: reading preferences file '%s'\n", fileName); 39 if (!mpDoc->LoadFile(fileName)) { 40 fprintf(stderr, "SimPref: ERROR: failed loading '%s'\n", fileName); 53 fileName); 71 bool Preferences::Save(const char* fileName) 73 assert(fileName != NULL); 78 if (!mpDoc->SaveFile(fileName)) { 80 fileName, mpDoc->ErrorDesc()) [all...] |
MyApp.cpp | 405 wxString fileName; 407 fileName = wxT("."); 408 AbsifyPath(fileName); 409 fileName += wxT("/"); 410 fileName += kConfigFileName; 412 if (access(fileName.ToAscii(), R_OK) == 0) { 413 if (mPrefs.Load(fileName.ToAscii())) { 414 mConfigFile = fileName; 419 (const char*) fileName.ToAscii());
|
/external/chromium/third_party/icu/source/test/thaitest/ |
thaitest.cpp | 108 // fileName - the path name of the file 111 static const UChar *readFile(char *fileName, int32_t &charCount); 305 const UChar *ThaiWordbreakTest::readFile(char *fileName, int32_t &charCount) 313 f = fopen(fileName, "rb"); 316 fprintf(stderr,"Couldn't open %s reason: %s \n", fileName, strerror(errno)); 327 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 334 fprintf(stderr,"Couldn't read %s reason: %s \n", fileName, strerror(errno)); 348 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 440 char *fileName = "space.txt"; 456 fileName = argv[arg++] [all...] |
/external/icu4c/test/thaitest/ |
thaitest.cpp | 108 // fileName - the path name of the file 111 static const UChar *readFile(char *fileName, int32_t &charCount); 305 const UChar *ThaiWordbreakTest::readFile(char *fileName, int32_t &charCount) 313 f = fopen(fileName, "rb"); 316 fprintf(stderr,"Couldn't open %s reason: %s \n", fileName, strerror(errno)); 327 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 334 fprintf(stderr,"Couldn't read %s reason: %s \n", fileName, strerror(errno)); 348 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 440 char *fileName = "space.txt"; 456 fileName = argv[arg++] [all...] |
/sdk/ddms/app/src/com/android/ddms/ |
DeviceCommandDialog.java | 77 public DeviceCommandDialog(String command, String fileName, Shell parent) { 80 this(command, fileName, parent, 87 public DeviceCommandDialog(String command, String fileName, Shell parent, 92 mFileName = fileName; 340 String fileName; 352 fileName = dlg.open(); 353 if (fileName != null) { 357 Log.d("ddms", "Saving output to " + fileName); 378 FileOutputStream outFile = new FileOutputStream(fileName); 391 Log.w("ddms", "Unable to save " + fileName + ": " + ioe) [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/ |
ApkBuilder.java | 110 String fileName = segments[segments.length-1]; 112 boolean check = checkFileForPackaging(fileName); 729 * @param fileName the name of the file (including extension) 732 public static boolean checkFileForPackaging(String fileName) { 733 String[] fileSegments = fileName.split("\\."); 739 return checkFileForPackaging(fileName, fileExt); 744 * @param fileName the name of the file (including extension) 748 public static boolean checkFileForPackaging(String fileName, String extension) { 750 if (fileName.charAt(0) == '.') { // ignore hidden files. 759 "package.html".equalsIgnoreCase(fileName) == false && // Javado [all...] |
/external/webkit/JavaScriptCore/ |
jsc.cpp | 72 static bool fillBufferWithContentsOfFile(const UString& fileName, Vector<char>& buffer); 211 UString fileName = args.at(0).toString(exec); 213 if (!fillBufferWithContentsOfFile(fileName, script)) 219 evaluate(globalObject->globalExec(), globalObject->globalScopeChain(), makeSource(script.data(), fileName)); 229 UString fileName = args.at(0).toString(exec); 231 if (!fillBufferWithContentsOfFile(fileName, script)) 235 Completion result = evaluate(globalObject->globalExec(), globalObject->globalScopeChain(), makeSource(script.data(), fileName)); 245 UString fileName = args.at(0).toString(exec); 247 if (!fillBufferWithContentsOfFile(fileName, script)) 251 Completion result = checkSyntax(globalObject->globalExec(), makeSource(script.data(), fileName)); [all...] |
/dalvik/dx/src/junit/runner/ |
TestCaseClassLoader.java | 115 String fileName= className.replace('.', '/')+".class"; 117 data= loadJarData(path, fileName); 119 data= loadFileData(path, fileName); 133 private byte[] loadFileData(String path, String fileName) { 134 File file= new File(path, fileName); 158 private byte[] loadJarData(String path, String fileName) { 169 ZipEntry entry= zipFile.getEntry(fileName);
|
/external/junit/src/junit/runner/ |
TestCaseClassLoader.java | 123 String fileName= className.replace('.', '/')+".class"; 125 data= loadJarData(path, fileName); 127 data= loadFileData(path, fileName); 139 private byte[] loadFileData(String path, String fileName) { 140 File file= new File(path, fileName); 172 private byte[] loadJarData(String path, String fileName) { 183 ZipEntry entry= zipFile.getEntry(fileName);
|
/frameworks/base/test-runner/src/junit/runner/ |
TestCaseClassLoader.java | 114 String fileName= className.replace('.', '/')+".class"; 116 data= loadJarData(path, fileName); 118 data= loadFileData(path, fileName); 132 private byte[] loadFileData(String path, String fileName) { 133 File file= new File(path, fileName); 157 private byte[] loadJarData(String path, String fileName) { 168 ZipEntry entry= zipFile.getEntry(fileName);
|
/libcore/junit/src/test/java/junit/runner/ |
TestCaseClassLoader.java | 115 String fileName= className.replace('.', '/')+".class"; 117 data= loadJarData(path, fileName); 119 data= loadFileData(path, fileName); 133 private byte[] loadFileData(String path, String fileName) { 134 File file= new File(path, fileName); 158 private byte[] loadJarData(String path, String fileName) { 169 ZipEntry entry= zipFile.getEntry(fileName);
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipFile.java | 62 * the filename and comment fields for this file 77 private final String fileName; 115 fileName = file.getPath(); 122 security.checkRead(fileName); 126 security.checkDelete(fileName); 133 mRaf = new RandomAccessFile(fileName, "r"); 179 new File(fileName).delete(); 291 return fileName;
|
/libcore/luni/src/test/java/tests/api/java/io/ |
FileOutputStreamTest.java | 46 public String fileName; 78 f = new File(fileName = System.getProperty("java.io.tmpdir"), "fos.tst"); 135 fileName = f.getAbsolutePath(); 136 fos = new FileOutputStream(fileName); 139 fis = new FileInputStream(fileName); 162 fileName = f.getAbsolutePath(); 163 fos = new FileOutputStream(fileName); 243 f = new File(fileName = System.getProperty("java.io.tmpdir"), "testfd"); 244 fileName = f.getAbsolutePath();
|
/external/proguard/src/proguard/ant/ |
ClassPathElement.java | 116 String fileName = fileNames[index]; 117 File file = new File(fileName); 120 new ClassPathEntry(file.isAbsolute() ? file : new File(baseDir, fileName),
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
PduBody.java | 66 byte[] fileName = part.getFilename(); 67 if(null != fileName) { 68 String clc = new String(fileName); 163 * the same as filename and name(param of content-type). 165 * @param fileName the value of filename. 175 * @param fileName the value of filename. 183 * Get pdu part by filename. 185 * @param fileName the value of filename [all...] |
/libcore/luni/src/main/java/java/io/ |
FileInputStream.java | 120 * {@code fileName}. The path of {@code fileName} may be absolute or 123 * @param fileName 126 * if there is no file named {@code fileName}. 131 public FileInputStream(String fileName) throws FileNotFoundException { 132 this(null == fileName ? (File) null : new File(fileName));
|
/system/vold/ |
VolumeManager.h | 104 int mountObb(const char *fileName, const char *key, int ownerUid); 105 int unmountObb(const char *fileName, bool force); 110 const char *fileName, const char *mountPoint, bool force);
|
/build/tools/zipalign/ |
ZipAlign.cpp | 143 static int verify(const char* fileName, int alignment, bool verbose) 149 printf("Verifying alignment of %s (%d)...\n", fileName, alignment); 151 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != NO_ERROR) { 152 fprintf(stderr, "Unable to open '%s' for verification\n", fileName);
|
/external/chromium/third_party/icu/public/common/unicode/ |
usprep.h | 172 * @param fileName name of the profile file to be opened 182 const char* fileName,
|
/external/chromium/third_party/icu/source/test/cintltst/ |
crestst.c | 771 char* fileName = (char*) malloc(uprv_strlen(testdatapath) +10); 793 uprv_strcpy(fileName,testdatapath); 794 uprv_strcat(fileName,".dat"); 795 stream = T_FileStream_open(fileName, "r"); 797 log_data_err("T_FileStream_open failed to open %s\n",fileName); 799 if(!T_FileStream_file_exists(fileName)){ 800 log_data_err("T_FileStream_file_exists failed to verify existence of %s \n",fileName); 805 log_data_err("T_FileStream_read failed to read from %s \n",fileName); 811 log_data_err("T_FileStream_rewind failed to rewind %s \n",fileName); 816 log_data_err("T_FileStream_peek failed to peekd %s \n",fileName); [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
regextst.h | 42 virtual UChar *ReadAndConvertFile(const char *fileName, int32_t &len, const char *charset, UErrorCode &status); 43 virtual const char *getPath(char buffer[2048], const char *filename);
|
/external/icu4c/common/unicode/ |
usprep.h | 174 * @param fileName name of the profile file to be opened 184 const char* fileName,
|
/external/icu4c/samples/layout/ |
FontMap.h | 22 FontMap(const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status);
|
/external/icu4c/test/cintltst/ |
crestst.c | 774 char* fileName = (char*) malloc(uprv_strlen(testdatapath) +10); 796 uprv_strcpy(fileName,testdatapath); 797 uprv_strcat(fileName,".dat"); 798 stream = T_FileStream_open(fileName, "r"); 800 log_data_err("T_FileStream_open failed to open %s\n",fileName); 802 if(!T_FileStream_file_exists(fileName)){ 803 log_data_err("T_FileStream_file_exists failed to verify existence of %s \n",fileName); 808 log_data_err("T_FileStream_read failed to read from %s \n",fileName); 814 log_data_err("T_FileStream_rewind failed to rewind %s \n",fileName); 819 log_data_err("T_FileStream_peek failed to peekd %s \n",fileName); [all...] |