/external/pdfium/core/fpdfdoc/ |
cpdf_filespec_unittest.cpp | 75 CPDF_FileSpec file_spec(str_obj.get()); 76 EXPECT_STREQ(test_data.expected, file_spec.GetFileName().c_str()); 106 CPDF_FileSpec file_spec(dict_obj.get()); 107 EXPECT_TRUE(file_spec.GetFileName().IsEmpty()); 110 EXPECT_STREQ(test_data[i].expected, file_spec.GetFileName().c_str()); 116 EXPECT_STREQ(test_data[4].input, file_spec.GetFileName().c_str()); 121 CPDF_FileSpec file_spec(name_obj.get()); 122 EXPECT_TRUE(file_spec.GetFileName().IsEmpty()); 163 CPDF_FileSpec file_spec(name_obj.get()); 164 EXPECT_FALSE(file_spec.GetFileStream()) [all...] |
/development/gsi/gsi_util/gsi_util/utils/ |
debugfs.py | 27 def dump(image_file, file_spec, out_file): 28 """Dumps the content of the file file_spec to the output file out_file. 32 file_spec: The full file/directory in the image_file to be copied. 37 debugfs_command = 'dump {} {}'.format(file_spec, out_file) 40 logging.debug('debugfs failed to dump the file %s', file_spec) 46 def get_type(image_file, file_spec): 47 """Gets the type of the given file_spec. 51 file_spec: The full file/directory in the image_file to be query. 53 None if file_spec does not exist. 54 'regular' if file_spec is a file [all...] |
/development/gsi/gsi_util/gsi_util/mounters/ |
image_mounter.py | 82 file_spec = os.path.join('/', filename) 83 if debugfs.get_type(raw_image_file, file_spec) != 'regular': 89 file_spec = os.path.join('/system', filename) 90 if debugfs.get_type(raw_image_file, file_spec) != 'regular':
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/ |
io_semihosting.c | 75 const io_file_spec_t *file_spec = (const io_file_spec_t *)spec; local 77 assert(file_spec != NULL); 80 sh_result = semihosting_file_open(file_spec->path, file_spec->mode);
|
/external/selinux/python/semanage/ |
semanage | 53 usage_fcontext_dict = {' --add': ('(', '-t TYPE', '-f FTYPE', '-r RANGE', '-s SEUSER', '|', '-e EQUAL', ')', 'FILE_SPEC',), ' --delete': ('(', '-t TYPE', '-f FTYPE', '|', '-e EQUAL', ')', 'FILE_SPEC',), ' --modify': ('(', '-t TYPE', '-f FTYPE', '-r RANGE', '-s SEUSER', '|', '-e EQUAL', ')', 'FILE_SPEC',), ' --list': ('[-C]',), ' --extract': ('',), ' --deleteall': ('',)} 314 fcontext_args = {'list': [('equal', 'ftype', 'seuser', 'type'), ('')], 'add': [('locallist'), ('type', 'file_spec')], 'modify': [('locallist'), ('type', 'file_spec')], 'delete': [('locallist'), ('file_spec')], 'extract': [('locallist', 'equal', 'ftype', 'seuser', 'type'), ('')], 'deleteall': [('locallist'), ('')]} 327 OBJECT.add_equal(args.file_spec, args.equal) 329 OBJECT.add(args.file_spec, args.type, args.ftype, args.range, args.seuser) 332 OBJECT.add_equal(args.file_spec, args.equal) 334 OBJECT.modify(args.file_spec, args.type, args.ftype, args.range, args.seuser [all...] |
/external/selinux/libselinux/src/ |
matchpathcon.c | 166 typedef struct file_spec { struct 170 struct file_spec *next; /* next association in hash bucket chain */
|
selinux_restorecon.c | 409 typedef struct file_spec { struct 413 struct file_spec *next; /* next association in hash bucket chain */
|
/external/pdfium/third_party/pymock/ |
mock.py | 2316 file_spec = None variable [all...] |
/external/python/mock/mock/ |
mock.py | 2449 file_spec = None variable [all...] |
/external/python/cpython2/Lib/test/ |
_mock_backport.py | 2266 file_spec = None variable [all...] |
/external/python/cpython3/Lib/unittest/ |
mock.py | 2330 file_spec = None variable [all...] |