/external/python/oauth2client/tests/contrib/ |
D | test_multistore_file.py | 31 _filehandle, FILENAME = tempfile.mkstemp('oauth2client_test.data') variable 82 os.unlink(FILENAME) 88 os.unlink(FILENAME) 140 open(FILENAME, 'a+b').close() 141 os.chmod(FILENAME, 0o400) 144 FILENAME, 152 os.chmod(FILENAME, 0o600) 155 open(FILENAME, 'a+b').close() 156 os.chmod(FILENAME, 0o400) 158 multistore = multistore_file._MultiStore(FILENAME) [all …]
|
/external/libchrome/third_party/markupsafe/ |
D | get_markupsafe.sh | 17 FILENAME="$(basename $SRC_URL)" 18 MD5_FILENAME="$FILENAME.md5" 19 SHA512_FILENAME="$FILENAME.sha512" 43 MD5_HASHFILE_REGEX="^[0-9a-f]{32} $FILENAME" 47 echo "MD5 hash file $MD5_FILENAME does not contain hash for $FILENAME," \ 57 "archive file $FILENAME corrupt or compromised!" 70 SHA512_HASHFILE_REGEX="^[0-9a-f]{128} $FILENAME" 75 "$FILENAME, could not verify archive" 84 "archive file $FILENAME corrupt or compromised!" 97 tar xvzf "$FILENAME"
|
/external/libchrome/third_party/jinja2/ |
D | get_jinja2.sh | 18 FILENAME="$(basename $SRC_URL)" 19 MD5_FILENAME="$FILENAME.md5" 20 SHA512_FILENAME="$FILENAME.sha512" 44 MD5_HASHFILE_REGEX="^[0-9a-f]{32} $FILENAME" 48 echo "MD5 hash file $MD5_FILENAME does not contain hash for $FILENAME," \ 58 "archive file $FILENAME corrupt or compromised!" 71 SHA512_HASHFILE_REGEX="^[0-9a-f]{128} $FILENAME" 76 "$FILENAME, could not verify archive" 85 "archive file $FILENAME corrupt or compromised!" 98 tar xvzf "$FILENAME"
|
/external/python/oauth2client/tests/ |
D | test_file.py | 44 _filehandle, FILENAME = tempfile.mkstemp('oauth2client_test.data') variable 52 os.unlink(FILENAME) 58 os.unlink(FILENAME) 78 s = file.Storage(FILENAME) 84 SYMFILENAME = FILENAME + '.sym' 85 os.symlink(FILENAME, SYMFILENAME) 97 f = open(FILENAME, 'wb') 103 s = file.Storage(FILENAME) 109 with open(FILENAME) as f: 121 s = file.Storage(FILENAME) [all …]
|
/external/strace/tests-m32/ |
D | execve.c | 35 #define FILENAME "test.execve\nfilename" macro 39 FILENAME, "first", "second", (const char *) -1L, 60 execve(FILENAME, tail_argv, tail_envp); in main() 83 execve(FILENAME, tail_argv, tail_envp); in main() 99 execve(FILENAME, tail_argv + 2, tail_envp + 1); in main() 119 execve(FILENAME, empty, empty); in main() 149 execve(FILENAME, a, b); in main() 168 execve(FILENAME, a + 1, b + 1); in main() 182 execve(FILENAME, (char **) tail_argv[ARRAY_SIZE(q_argv)], efault); in main() 186 execve(FILENAME, efault, NULL); in main()
|
D | execveat.c | 40 # define FILENAME "test.execveat\nfilename" macro 44 FILENAME, "first", "second", (const char *) -1L, 65 syscall(__NR_execveat, -100, FILENAME, tail_argv, tail_envp, 0x1100); in main() 88 syscall(__NR_execveat, -100, FILENAME, tail_argv, tail_envp, 0x1100); in main() 104 syscall(__NR_execveat, -100, FILENAME, tail_argv + 2, tail_envp + 1, 0x1100); in main() 124 syscall(__NR_execveat, -100, FILENAME, empty, empty, 0x1100); in main() 155 syscall(__NR_execveat, -100, FILENAME, a, b, 0x1100); in main() 175 syscall(__NR_execveat, -100, FILENAME, a + 1, b + 1, 0x1100); in main() 190 syscall(__NR_execveat, -100, FILENAME, NULL, efault, 0x1100); in main() 195 syscall(__NR_execveat, -100, FILENAME, efault, NULL, 0x1100); in main()
|
/external/strace/tests-mx32/ |
D | execve.c | 35 #define FILENAME "test.execve\nfilename" macro 39 FILENAME, "first", "second", (const char *) -1L, 60 execve(FILENAME, tail_argv, tail_envp); in main() 83 execve(FILENAME, tail_argv, tail_envp); in main() 99 execve(FILENAME, tail_argv + 2, tail_envp + 1); in main() 119 execve(FILENAME, empty, empty); in main() 149 execve(FILENAME, a, b); in main() 168 execve(FILENAME, a + 1, b + 1); in main() 182 execve(FILENAME, (char **) tail_argv[ARRAY_SIZE(q_argv)], efault); in main() 186 execve(FILENAME, efault, NULL); in main()
|
D | execveat.c | 40 # define FILENAME "test.execveat\nfilename" macro 44 FILENAME, "first", "second", (const char *) -1L, 65 syscall(__NR_execveat, -100, FILENAME, tail_argv, tail_envp, 0x1100); in main() 88 syscall(__NR_execveat, -100, FILENAME, tail_argv, tail_envp, 0x1100); in main() 104 syscall(__NR_execveat, -100, FILENAME, tail_argv + 2, tail_envp + 1, 0x1100); in main() 124 syscall(__NR_execveat, -100, FILENAME, empty, empty, 0x1100); in main() 155 syscall(__NR_execveat, -100, FILENAME, a, b, 0x1100); in main() 175 syscall(__NR_execveat, -100, FILENAME, a + 1, b + 1, 0x1100); in main() 190 syscall(__NR_execveat, -100, FILENAME, NULL, efault, 0x1100); in main() 195 syscall(__NR_execveat, -100, FILENAME, efault, NULL, 0x1100); in main()
|
/external/strace/tests/ |
D | execve.c | 35 #define FILENAME "test.execve\nfilename" macro 39 FILENAME, "first", "second", (const char *) -1L, 60 execve(FILENAME, tail_argv, tail_envp); in main() 83 execve(FILENAME, tail_argv, tail_envp); in main() 99 execve(FILENAME, tail_argv + 2, tail_envp + 1); in main() 119 execve(FILENAME, empty, empty); in main() 149 execve(FILENAME, a, b); in main() 168 execve(FILENAME, a + 1, b + 1); in main() 182 execve(FILENAME, (char **) tail_argv[ARRAY_SIZE(q_argv)], efault); in main() 186 execve(FILENAME, efault, NULL); in main()
|
D | execveat.c | 40 # define FILENAME "test.execveat\nfilename" macro 44 FILENAME, "first", "second", (const char *) -1L, 65 syscall(__NR_execveat, -100, FILENAME, tail_argv, tail_envp, 0x1100); in main() 88 syscall(__NR_execveat, -100, FILENAME, tail_argv, tail_envp, 0x1100); in main() 104 syscall(__NR_execveat, -100, FILENAME, tail_argv + 2, tail_envp + 1, 0x1100); in main() 124 syscall(__NR_execveat, -100, FILENAME, empty, empty, 0x1100); in main() 155 syscall(__NR_execveat, -100, FILENAME, a, b, 0x1100); in main() 175 syscall(__NR_execveat, -100, FILENAME, a + 1, b + 1, 0x1100); in main() 190 syscall(__NR_execveat, -100, FILENAME, NULL, efault, 0x1100); in main() 195 syscall(__NR_execveat, -100, FILENAME, efault, NULL, 0x1100); in main()
|
/external/skqp/tools/skqp/ |
D | upload_model | 40 find $PATH_LIST -type f | sort | while IFS= read -r FILENAME; do 42 if ! [ -f "$FILENAME" ]; then 43 echo error [${FILENAME}] >&2; 46 case "$FILENAME" in *\;*) echo bad filename: $FILENAME >&2; exit 1;; esac 47 MD5=$(upload "$FILENAME") 48 printf '%s;%s\n' "$MD5" "$FILENAME" >> "$FILES"
|
/external/ltp/testcases/kernel/syscalls/lremovexattr/ |
D | lremovexattr01.c | 47 #define FILENAME MNTPOINT"/lremovexattr01testfile" macro 56 SAFE_SETXATTR(FILENAME, XATTR_KEY, XATTR_VALUE, XATTR_VALUE_SIZE, in verify_lremovexattr() 91 TEST(getxattr(FILENAME, XATTR_KEY, &got_value, XATTR_VALUE_SIZE)); in verify_lremovexattr() 105 SAFE_REMOVEXATTR(FILENAME, XATTR_KEY); in verify_lremovexattr() 112 SAFE_TOUCH(FILENAME, 0644, NULL); in setup() 114 if (symlink(FILENAME, SYMLINK) < 0) in setup()
|
/external/python/cpython2/Lib/test/ |
D | test_linecache.py | 9 FILENAME = linecache.__file__ variable 16 MODULE_PATH = os.path.dirname(FILENAME) 45 self.assertEqual(getline(FILENAME, 2**15), EMPTY) 46 self.assertEqual(getline(FILENAME, -1), EMPTY) 49 self.assertRaises(TypeError, getline, FILENAME, 1.1) 128 lines = linecache.getlines(FILENAME) 133 lines2 = linecache.getlines(FILENAME) 138 lines3 = linecache.getlines(FILENAME) 140 self.assertEqual(linecache.getlines(FILENAME), lines)
|
/external/python/cpython3/Lib/test/ |
D | test_linecache.py | 11 FILENAME = linecache.__file__ variable 12 NONEXISTENT_FILENAME = FILENAME + '.missing' 17 MODULE_PATH = os.path.dirname(FILENAME) 105 self.assertEqual(getline(FILENAME, 2**15), EMPTY) 106 self.assertEqual(getline(FILENAME, -1), EMPTY) 109 self.assertRaises(TypeError, getline, FILENAME, 1.1) 184 lines = linecache.getlines(FILENAME) 186 self.assertEqual(False, linecache.lazycache(FILENAME, None)) 187 self.assertEqual(lines, linecache.getlines(FILENAME)) 226 lines = linecache.getlines(FILENAME) [all …]
|
/external/protobuf/ |
D | update_file_lists.sh | 6 local FILENAME=$1 14 " $FILENAME \ 87 local FILENAME=$1 110 " $FILENAME > /tmp/$$ 111 cp /tmp/$$ $FILENAME 148 local FILENAME=$1 173 " $FILENAME > /tmp/$$ 174 cp /tmp/$$ $FILENAME
|
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerIntegrationTest.java | 48 private static final String FILENAME = "abc.txt"; field in StubFtpServerIntegrationTest 263 boolean success = ftpClient.deleteFile(FILENAME); in testDele() 334 boolean success = ftpClient.rename(FILENAME, "new_" + FILENAME); in testRename() 356 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferAsciiFile() 358 assertTrue(ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferAsciiFile() 363 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferAsciiFile() 365 assertTrue(ftpClient.storeFile(FILENAME, inputStream)); in testTransferAsciiFile() 382 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferBinaryFiles() 384 assertTrue("GET", ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferBinaryFiles() 389 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferBinaryFiles() [all …]
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerIntegrationTest.java | 60 private static final String FILENAME = "abc.txt"; field in StubFtpServerIntegrationTest 299 boolean success = ftpClient.deleteFile(FILENAME); in testDele() 358 boolean success = ftpClient.rename(FILENAME, "new_" + FILENAME); in testRename() 383 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferAsciiFile() 385 assertTrue(ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferAsciiFile() 390 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferAsciiFile() 392 assertTrue(ftpClient.storeFile(FILENAME, inputStream)); in testTransferAsciiFile() 409 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferBinaryFiles() 411 assertTrue("GET", ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferBinaryFiles() 416 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferBinaryFiles() [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerIntegrationTest.java | 48 private static final String FILENAME = "abc.txt"; field in StubFtpServerIntegrationTest 287 boolean success = ftpClient.deleteFile(FILENAME); in testDele() 346 boolean success = ftpClient.rename(FILENAME, "new_" + FILENAME); in testRename() 371 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferAsciiFile() 373 assertTrue(ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferAsciiFile() 378 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferAsciiFile() 380 assertTrue(ftpClient.storeFile(FILENAME, inputStream)); in testTransferAsciiFile() 397 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferBinaryFiles() 399 assertTrue("GET", ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferBinaryFiles() 404 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferBinaryFiles() [all …]
|
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerIntegrationTest.java | 48 private static final String FILENAME = "abc.txt"; field in StubFtpServerIntegrationTest 263 boolean success = ftpClient.deleteFile(FILENAME); in testDele() 322 boolean success = ftpClient.rename(FILENAME, "new_" + FILENAME); in testRename() 344 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferAsciiFile() 346 assertTrue(ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferAsciiFile() 351 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferAsciiFile() 353 assertTrue(ftpClient.storeFile(FILENAME, inputStream)); in testTransferAsciiFile() 370 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferBinaryFiles() 372 assertTrue("GET", ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferBinaryFiles() 377 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferBinaryFiles() [all …]
|
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerIntegrationTest.java | 48 private static final String FILENAME = "abc.txt"; field in StubFtpServerIntegrationTest 263 boolean success = ftpClient.deleteFile(FILENAME); in testDele() 335 boolean success = ftpClient.rename(FILENAME, "new_" + FILENAME); in testRename() 357 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferAsciiFile() 359 assertTrue(ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferAsciiFile() 364 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferAsciiFile() 366 assertTrue(ftpClient.storeFile(FILENAME, inputStream)); in testTransferAsciiFile() 383 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferBinaryFiles() 385 assertTrue("GET", ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferBinaryFiles() 390 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferBinaryFiles() [all …]
|
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerIntegrationTest.java | 48 private static final String FILENAME = "abc.txt"; field in StubFtpServerIntegrationTest 263 boolean success = ftpClient.deleteFile(FILENAME); in testDele() 335 boolean success = ftpClient.rename(FILENAME, "new_" + FILENAME); in testRename() 357 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferAsciiFile() 359 assertTrue(ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferAsciiFile() 364 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferAsciiFile() 366 assertTrue(ftpClient.storeFile(FILENAME, inputStream)); in testTransferAsciiFile() 383 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferBinaryFiles() 385 assertTrue("GET", ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferBinaryFiles() 390 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferBinaryFiles() [all …]
|
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerIntegrationTest.java | 60 private static final String FILENAME = "abc.txt"; field in StubFtpServerIntegrationTest 299 boolean success = ftpClient.deleteFile(FILENAME); in testDele() 358 boolean success = ftpClient.rename(FILENAME, "new_" + FILENAME); in testRename() 383 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferAsciiFile() 385 assertTrue(ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferAsciiFile() 390 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferAsciiFile() 392 assertTrue(ftpClient.storeFile(FILENAME, inputStream)); in testTransferAsciiFile() 409 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferBinaryFiles() 411 assertTrue("GET", ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferBinaryFiles() 416 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferBinaryFiles() [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerIntegrationTest.java | 48 private static final String FILENAME = "abc.txt"; field in StubFtpServerIntegrationTest 263 boolean success = ftpClient.deleteFile(FILENAME); in testDele() 322 boolean success = ftpClient.rename(FILENAME, "new_" + FILENAME); in testRename() 344 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferAsciiFile() 346 assertTrue(ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferAsciiFile() 351 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferAsciiFile() 353 assertTrue(ftpClient.storeFile(FILENAME, inputStream)); in testTransferAsciiFile() 370 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferBinaryFiles() 372 assertTrue("GET", ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferBinaryFiles() 377 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferBinaryFiles() [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerIntegrationTest.java | 48 private static final String FILENAME = "abc.txt"; field in StubFtpServerIntegrationTest 263 boolean success = ftpClient.deleteFile(FILENAME); in testDele() 322 boolean success = ftpClient.rename(FILENAME, "new_" + FILENAME); in testRename() 344 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferAsciiFile() 346 assertTrue(ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferAsciiFile() 351 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferAsciiFile() 353 assertTrue(ftpClient.storeFile(FILENAME, inputStream)); in testTransferAsciiFile() 370 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferBinaryFiles() 372 assertTrue("GET", ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferBinaryFiles() 377 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferBinaryFiles() [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerIntegrationTest.java | 60 private static final String FILENAME = "abc.txt"; field in StubFtpServerIntegrationTest 299 boolean success = ftpClient.deleteFile(FILENAME); in testDele() 358 boolean success = ftpClient.rename(FILENAME, "new_" + FILENAME); in testRename() 383 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferAsciiFile() 385 assertTrue(ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferAsciiFile() 390 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferAsciiFile() 392 assertTrue(ftpClient.storeFile(FILENAME, inputStream)); in testTransferAsciiFile() 409 LOG.info("Get File for remotePath [" + FILENAME + "]"); in testTransferBinaryFiles() 411 assertTrue("GET", ftpClient.retrieveFile(FILENAME, outputStream)); in testTransferBinaryFiles() 416 LOG.info("Put File for local path [" + FILENAME + "]"); in testTransferBinaryFiles() [all …]
|