/frameworks/native/opengl/libs/EGL/include/private/EGL/ |
cache.h | 23 ANDROID_API void egl_set_cache_filename(const char* filename);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
suff.py | 12 for filename in files:
13 suff = getsuffix(filename)
16 suffixes[suff].append(filename)
22 def getsuffix(filename):
24 for i in range(len(filename)):
25 if filename[i] == '.':
26 suff = filename[i:]
|
fixps.py | 11 for filename in sys.argv[1:]:
13 f = open(filename, 'r')
15 print filename, ': can\'t open :', msg
19 print filename, ': not a /usr/local/bin/python script'
26 print filename, ':', repr(line)
27 f = open(filename, "w")
|
/external/python/cpython2/Tools/scripts/ |
suff.py | 12 for filename in files: 13 suff = getsuffix(filename) 16 suffixes[suff].append(filename) 22 def getsuffix(filename): 24 for i in range(len(filename)): 25 if filename[i] == '.': 26 suff = filename[i:]
|
fixps.py | 11 for filename in sys.argv[1:]: 13 f = open(filename, 'r') 15 print filename, ': can\'t open :', msg 19 print filename, ': not a /usr/local/bin/python script' 26 print filename, ':', repr(line) 27 f = open(filename, "w")
|
/external/python/cpython3/Tools/scripts/ |
crlf.py | 7 for filename in sys.argv[1:]: 8 if os.path.isdir(filename): 9 print(filename, "Directory!") 11 with open(filename, "rb") as f: 14 print(filename, "Binary!") 18 print(filename) 19 with open(filename, "wb") as f:
|
lfcr.py | 8 for filename in sys.argv[1:]: 9 if os.path.isdir(filename): 10 print(filename, "Directory!") 12 with open(filename, "rb") as f: 15 print(filename, "Binary!") 19 print(filename) 20 with open(filename, "wb") as f:
|
fixps.py | 11 for filename in sys.argv[1:]: 13 f = open(filename, 'r') 15 print(filename, ': can\'t open :', msg) 19 print(filename, ': not a /usr/local/bin/python script') 26 print(filename, ':', repr(line)) 27 f = open(filename, "w")
|
/external/slf4j/ |
binderVersion.pl | 15 my $filename = $_[0]; 17 if(-s $filename) { 18 print "Processing [" . $filename . "]\r\n"; 20 my $original = "$filename.original"; 22 rename($filename, $original); 23 open(OUT, ">$filename"); 36 print "File [" . $filename . "] does not exist\r\n"
|
version.pl | 12 my $filename = $_[0]; 14 if(-s $filename) { 15 print "Processing [" . $filename . "]\r\n"; 17 my $original = "$filename.original"; 19 rename($filename, $original); 20 open(OUT, ">$filename"); 35 print "File [" . $filename . "] does not exist\r\n"
|
/external/webrtc/webrtc/modules/audio_processing/logging/ |
aec_logging_file_handling.cc | 32 char filename[64]; local 33 int written = rtc::sprintfn(filename, sizeof(filename), "%s%d-%d.wav", name, 39 RTC_DCHECK_LT(static_cast<size_t>(written), sizeof(filename)); 41 *wav_file = rtc_WavOpen(filename, sample_rate, 1); 45 char filename[64]; local 46 int written = rtc::sprintfn(filename, sizeof(filename), "%s_%d.dat", name, 52 RTC_DCHECK_LT(static_cast<size_t>(written), sizeof(filename)); 54 *file = fopen(filename, "wb") [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
AssetFileAddress.java | 32 public AssetFileAddress(final String filename, final long offset, final long length) { 33 mFilename = filename; 41 * @param filename the filename. 44 public static AssetFileAddress makeFromFileName(final String filename) { 45 if (null == filename) return null; 46 final File f = new File(filename); 48 return new AssetFileAddress(filename, 0l, f.length()); 54 * @param filename the filename [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
StouCommandHandler.java | 24 * unique filename, which is "" by default. You can customize the returned filename by setting
25 * the <code>filename</code> property.
39 private String filename = "";
field in class:StouCommandHandler 42 * Override the default implementation to send a custom reply text that includes the STOU response filename
47 final String[] ARGS = {filename};
52 * Set the filename returned with the final reply of the STOU command
54 * @param filename - the filename
56 public void setFilename(String filename) {
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
linecache.py | 3 This is intended to read lines from modules imported -- hence if a filename
13 def getline(filename, lineno, module_globals=None):
14 lines = getlines(filename, module_globals)
33 def getlines(filename, module_globals=None):
37 if filename in cache:
38 return cache[filename][2]
41 return updatecache(filename, module_globals)
47 def checkcache(filename=None):
51 if filename is None:
54 if filename in cache: [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
linecache.py | 3 This is intended to read lines from modules imported -- hence if a filename
13 def getline(filename, lineno, module_globals=None):
14 lines = getlines(filename, module_globals)
33 def getlines(filename, module_globals=None):
37 if filename in cache:
38 return cache[filename][2]
40 return updatecache(filename, module_globals)
43 def checkcache(filename=None):
47 if filename is None:
50 if filename in cache: [all...] |
/external/python/cpython2/Lib/ |
linecache.py | 3 This is intended to read lines from modules imported -- hence if a filename 13 def getline(filename, lineno, module_globals=None): 14 lines = getlines(filename, module_globals) 33 def getlines(filename, module_globals=None): 37 if filename in cache: 38 return cache[filename][2] 41 return updatecache(filename, module_globals) 47 def checkcache(filename=None): 51 if filename is None: 54 if filename in cache [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
linecache.py | 3 This is intended to read lines from modules imported -- hence if a filename 13 def getline(filename, lineno, module_globals=None): 14 lines = getlines(filename, module_globals) 33 def getlines(filename, module_globals=None): 37 if filename in cache: 38 return cache[filename][2] 40 return updatecache(filename, module_globals) 43 def checkcache(filename=None): 47 if filename is None: 50 if filename in cache [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
linecache.py | 3 This is intended to read lines from modules imported -- hence if a filename 13 def getline(filename, lineno, module_globals=None): 14 lines = getlines(filename, module_globals) 33 def getlines(filename, module_globals=None): 37 if filename in cache: 38 return cache[filename][2] 40 return updatecache(filename, module_globals) 43 def checkcache(filename=None): 47 if filename is None: 50 if filename in cache [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
linecache.py | 3 This is intended to read lines from modules imported -- hence if a filename 13 def getline(filename, lineno, module_globals=None): 14 lines = getlines(filename, module_globals) 33 def getlines(filename, module_globals=None): 37 if filename in cache: 38 return cache[filename][2] 40 return updatecache(filename, module_globals) 43 def checkcache(filename=None): 47 if filename is None: 50 if filename in cache [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
linecache.py | 3 This is intended to read lines from modules imported -- hence if a filename 13 def getline(filename, lineno, module_globals=None): 14 lines = getlines(filename, module_globals) 33 def getlines(filename, module_globals=None): 37 if filename in cache: 38 return cache[filename][2] 40 return updatecache(filename, module_globals) 43 def checkcache(filename=None): 47 if filename is None: 50 if filename in cache [all...] |
/external/python/cpython3/Lib/ |
linecache.py | 3 This is intended to read lines from modules imported -- hence if a filename 15 def getline(filename, lineno, module_globals=None): 16 lines = getlines(filename, module_globals) 37 def getlines(filename, module_globals=None): 41 if filename in cache: 42 entry = cache[filename] 44 return cache[filename][2] 47 return updatecache(filename, module_globals) 53 def checkcache(filename=None): 57 if filename is None [all...] |
/bionic/libc/system_properties/ |
context_node.cpp | 43 // allocation of memory for each filename. 52 char filename[PROP_FILENAME_MAX]; local 53 int len = async_safe_format_buffer(filename, sizeof(filename), "%s/%s", filename_, context_); 60 pa_ = prop_area::map_prop_area_rw(filename, context_, fsetxattr_failed); 62 pa_ = prop_area::map_prop_area(filename); 87 char filename[PROP_FILENAME_MAX]; local 88 int len = async_safe_format_buffer(filename, sizeof(filename), "%s/%s", filename_, context_); 93 return access(filename, R_OK) == 0 [all...] |
/device/linaro/bootloader/edk2/BaseTools/Tests/ |
CheckPythonSyntax.py | 29 def SingleFileTest(self, filename):
31 py_compile.compile(filename, doraise=True)
33 self.fail('syntax error: %s, Error is %s' % (filename, str(e)))
39 for filename in files:
40 if filename.lower().endswith('.py'):
42 os.path.join(root, filename)
46 def MakeTestName(filename):
47 assert filename.lower().endswith('.py')
48 name = filename[:-3]
53 def MakeNewTest(filename): [all...] |
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/helper/ |
Abbreviator.java | 40 public String abbreviate(String filename) { 41 if (filename.length() <= desiredLength) { 42 return filename; 45 int firstIndex = filename.indexOf(folderSeparator, invariantPrefixLength); 48 return filename; 51 buf.append(filename.substring(0, firstIndex + 1)); 53 int nextIndex = computeNextIndex(filename, firstIndex); 55 buf.append(filename.substring(nextIndex)); 58 return filename; 61 if (buf.length() < filename.length()) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FilenameUtils.java | 26 * General filename and filepath manipulation utilities. 42 * This class defines six components within a filename 53 * If you omit the last separator, it is impossible to determine if the filename 200 * @param filename the filename to normalize, null returns null 201 * @return the normalized filename, or null if invalid 203 public static String normalize(String filename) { 204 return doNormalize(filename, true); 246 * @param filename the filename to normalize, null returns nul [all...] |