Home
last modified time | relevance | path

Searched refs:file_spec (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpdf_filespec_unittest.cpp75 CPDF_FileSpec file_spec(str_obj.get()); in TEST() local
76 EXPECT_STREQ(test_data.expected, file_spec.GetFileName().c_str()); in TEST()
106 CPDF_FileSpec file_spec(dict_obj.get()); in TEST() local
107 EXPECT_TRUE(file_spec.GetFileName().IsEmpty()); in TEST()
110 EXPECT_STREQ(test_data[i].expected, file_spec.GetFileName().c_str()); in TEST()
116 EXPECT_STREQ(test_data[4].input, file_spec.GetFileName().c_str()); in TEST()
121 CPDF_FileSpec file_spec(name_obj.get()); in TEST() local
122 EXPECT_TRUE(file_spec.GetFileName().IsEmpty()); in TEST()
163 CPDF_FileSpec file_spec(name_obj.get()); in TEST() local
164 EXPECT_FALSE(file_spec.GetFileStream()); in TEST()
[all …]
/external/selinux/python/semanage/
Dsemanage327 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)
337 OBJECT.delete(args.file_spec, args.equal)
339 OBJECT.delete(args.file_spec, args.ftype)
/external/selinux/libselinux/src/
Dmatchpathcon.c166 typedef struct file_spec { struct
170 struct file_spec *next; /* next association in hash bucket chain */ argument
Dselinux_restorecon.c409 typedef struct file_spec { struct
413 struct file_spec *next; /* next association in hash bucket chain */ argument
/external/pdfium/third_party/pymock/
Dmock.py2316 file_spec = None variable
2331 global file_spec
2332 if file_spec is None:
2336 file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
2338 file_spec = file
2343 handle = MagicMock(spec=file_spec)
/external/python/mock/mock/
Dmock.py2449 file_spec = None variable
2501 global file_spec
2502 if file_spec is None:
2506 file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
2508 file_spec = file
2513 handle = MagicMock(spec=file_spec)
/external/python/cpython2/Lib/test/
D_mock_backport.py2266 file_spec = None variable
2317 global file_spec
2318 if file_spec is None:
2320 file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
2325 handle = MagicMock(spec=file_spec)
/external/python/cpython3/Lib/unittest/
Dmock.py2330 file_spec = None variable
2387 global file_spec
2388 if file_spec is None:
2390 file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
2395 handle = MagicMock(spec=file_spec)