/prebuilts/ndk/r16/sources/third_party/shaderc/libshaderc_util/include/libshaderc_util/ |
io.h | 39 std::string GetBaseFileName(const std::string& file_path);
|
/system/bt/service/ |
settings.h | 21 #include <base/files/file_path.h>
|
/system/core/logwrapper/include/logwrap/ |
logwrap.h | 50 * file_path argument, otherwise pass NULL). These are bit fields, 55 * file_path: if log_target has the LOG_FILE bit set, then this parameter 76 int log_target, bool abbreviated, char *file_path, void* unused_opts,
|
/system/tools/aidl/ |
line_reader.h | 35 const std::string& file_path);
|
io_delegate.cpp | 106 const string& file_path) const { 107 return LineReader::ReadFromFile(file_path); 177 const string& file_path) const { 178 return GetFileWriter(file_path); 181 void IoDelegate::RemovePath(const std::string& file_path) const { 183 _unlink(file_path.c_str()); 185 unlink(file_path.c_str());
|
/test/vts/drivers/hal/common/include/component_loader/ |
DllLoader.h | 41 void* Load(const char* file_path);
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
arduino_test_utils.py | 47 file_path = utils.exe_cmd(cmd).decode("utf-8", "ignore").rstrip() 48 write_status = wd.write(ARDUINO, file_path, network) 68 file_path = utils.exe_cmd(cmd).decode("utf-8", "ignore").rstrip() 69 write_status = wd.write(ARDUINO, file_path)
|
/external/libbrillo/policy/tests/ |
resilient_policy_util_unittest.cc | 10 #include <base/files/file_path.h> 20 void CreateFile(const base::FilePath& file_path) { 21 base::File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_WRITE);
|
/external/pdfium/core/fpdfapi/parser/ |
cpdf_hint_tables_unittest.cpp | 23 std::string file_path; local 24 if (!PathService::GetTestFilePath(file_name, &file_path)) 27 nullptr, IFX_SeekableReadStream::CreateFromFilename(file_path.c_str()),
|
/external/sfntly/cpp/src/test/ |
test_utils.cc | 33 // OutputStream CreateOutputStream(const char *file_path) { 37 // void TestUtils::CreateNewFile(const char* file_path) { 84 const char* TestUtils::Extension(const char* file_path) { 85 if (!file_path) 87 return strrchr(file_path, EXTENSION_SEPARATOR);
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
base_config_unittest.py | 60 self.file_path = os.path.abspath(os.path.join( 159 config = dependency_manager.BaseConfig(self.file_path, writable=True) 162 for line in file_module(self.file_path): 164 self.fs.CloseOpenFile(file_module(self.file_path)) 166 self.assertEqual(self.file_path, config._config_path) 170 dependency_manager.BaseConfig, self.file_path) 201 self.assertFalse(os.path.exists(self.file_path)) 202 dependency_manager.BaseConfig._WriteConfigToFile(self.file_path) 203 self.assertTrue(os.path.exists(self.file_path)) 205 for line in file_module(self.file_path) [all...] |
/external/owasp/sanitizer/tools/ |
googlecode_upload.py | 110 def encode_upload_request(fields, file_path): 134 file_name = os.path.basename(file_path) 135 f = open(file_path, 'rb') 155 def upload_find_auth(file_path, project_name, summary, labels=None, 159 file_path, project_name, summary, and labels are passed as-is to upload. 162 file_path: The local path to the file. 194 status, reason, url = upload(file_path, project_name, user_name, password, 235 file_path = args[0] 242 status, reason, url = upload_find_auth(file_path, options.project,
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
input_data_test.py | 50 file_path = os.path.join(dir_name, "some_audio_%d.wav" % i) 51 self._saveTestWavFile(file_path, wav_data) 110 file_path = os.path.join(background_dir, "background_audio_%d.wav" % i) 111 self._saveTestWavFile(file_path, wav_data) 119 file_path = os.path.join(tmp_dir, "load_test.wav") 121 self._saveTestWavFile(file_path, wav_data) 122 sample_data = input_data.load_wav_file(file_path) 127 file_path = os.path.join(tmp_dir, "load_test.wav") 129 input_data.save_wav_file(file_path, save_data, 16000) 130 loaded_data = input_data.load_wav_file(file_path) [all...] |
/frameworks/base/core/jni/ |
fd_utils.cpp | 142 const std::string file_path; member in class:FileDescriptorInfo 152 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags, 213 std::string file_path; local 215 if (!android::base::Readlink(fd_path, &file_path)) { 222 if (!whitelist->IsAllowed(file_path)) { 223 *error_msg = std::string("Not whitelisted : ").append(file_path); 234 file_path.c_str(), 255 file_path.c_str(), 269 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); 290 const int new_fd = TEMP_FAILURE_RETRY(open(file_path.c_str(), open_flags)) [all...] |
/external/adhd/cras/src/tests/ |
file_wait_unittest.cc | 51 static void SimpleFileWait(const char *file_path) { 59 stat_rc = stat(file_path, &stat_buf); 64 EXPECT_EQ(0, cras_file_wait_create(file_path, CRAS_FILE_WAIT_FLAG_NONE, 79 EXPECT_EQ(0, RmRF(file_path)); 81 EXPECT_EQ(0, mknod(file_path, S_IFREG | 0600, 0)); 106 std::string file_path; local 111 file_path = subdir_path + "/does_not_exist"; 148 EXPECT_EQ(0, cras_file_wait_create(file_path.c_str(), 189 EXPECT_EQ(0, mknod(file_path.c_str(), S_IFREG | 0600, 0)); 200 EXPECT_EQ(0, unlink(file_path.c_str())) [all...] |
/external/autotest/client/cros/chameleon/ |
screen_comparison.py | 119 file_path = os.path.join( 122 logging.info('Output the image %d to %s', i, file_path) 123 images[i].save(file_path) 125 file_path = os.path.join( 127 logging.info('Output the diff image to %s', file_path) 133 bw_image.save(file_path)
|
/system/iot/attestation/at-factory-tool/ |
fastbootsh.py | 112 def Flash(self, partition, file_path): 116 file_path: The partition file to be flashed. 126 '-s', self.serial_number, 'flash', partition, file_path) 133 def Upload(self, file_path): 137 file_path: The file path of the file system 147 file_path) 154 def Download(self, file_path): 158 file_path: The file path of the file on the local file system 167 out = self.fastboot_command('-s', self.serial_number, 'stage', file_path)
|
/external/autotest/utils/ |
run_pylint.py | 222 def should_check_file(file_path): 226 @param file_path: abs path of file to check. 229 file_path = os.path.abspath(file_path) 230 if file_path.endswith('.py'): 231 return all(not fnmatch.fnmatch(file_path, '*' + pattern) 236 def check_file(file_path, base_opts): 241 @param file_path: path to the file we need to run pylint on. 243 if not isinstance(file_path, basestring): 245 type(file_path)) [all...] |
/external/libxcam/xcore/ |
calibration_parser.cpp | 190 CalibrationParser::parse_intrinsic_file(const char *file_path, IntrinsicParameter &intrinsic_param) 192 XCAM_ASSERT (file_path); 200 WARNING, xcam_ret_is_ok (ret = file_reader.open (file_path, "r")), ret, 201 "open intrinsic file(%s) failed.", file_path); 204 "read intrinsic file(%s) failed to get file size.", file_path); 208 "read intrinsic file(%s) failed, file size:%d.", file_path, (int)file_size); 216 CalibrationParser::parse_extrinsic_file(const char *file_path, ExtrinsicParameter &extrinsic_param) 218 XCAM_ASSERT (file_path); 226 WARNING, xcam_ret_is_ok (ret = file_reader.open (file_path, "r")), ret, 227 "open extrinsic file(%s) failed.", file_path); [all...] |
/external/tensorflow/tensorflow/contrib/testing/python/framework/ |
util_test.py | 89 file_path = latest_event_file(base_dir) 90 return summary_io.summary_iterator(file_path) if file_path else []
|
/external/tensorflow/tensorflow/core/platform/profile_utils/ |
android_armv7a_cpu_utils_helper.cc | 111 const string file_path = strings::Printf( local 113 FILE *fp = fopen(file_path.c_str(), "r"); 120 LOG(WARNING) << "Failed to \"" << file_path << "\"";
|
/frameworks/rs/tests/lldb/tests/harness/ |
util_log.py | 34 file_path=None, file_mode='a'): 48 file_path: String, path to the text file in which to store the logs. 56 ValueError: If the argument "file_path" has not been provided when 82 if file_path is None: 83 raise ValueError('Missing mandatory argument "file_path"') 85 handler_default = logging.FileHandler(file_path, file_mode)
|
/system/tools/aidl/tests/ |
fake_io_delegate.h | 44 const std::string& file_path) const override; 50 const std::string& file_path) const override; 51 void RemovePath(const std::string& file_path) const override;
|
/art/imgdiag/ |
imgdiag_test.cc | 92 std::string file_path = GetImgDiagFilePath(); local 93 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; 111 file_path,
|
/development/testrunner/coverage/ |
coverage_targets.py | 55 def Parse(self, file_path): 59 file_path: absolute file path to parse 61 errors.ParseError if file_path cannot be parsed 64 doc = xml.dom.minidom.parse(file_path) 67 logger.Log('Results file %s does not exist' % file_path) 70 logger.Log('Error Parsing xml file: %s ' % file_path) 125 """parses out a file_path class from given path to xml"""
|