/external/libtextclassifier/util/base/ |
logging.cc | 29 // Returns pointer to beginning of last /-separated token from file_name. 30 // file_name should be a pointer to a zero-terminated array of chars. 32 const char *JumpToBasename(const char *file_name) { 33 if (file_name == nullptr) { 38 const char *last_token_start = file_name; 39 while (*file_name != '\0') { 40 if (*file_name == '/') { 42 // this position. Notice that if file_name is a valid zero-terminated 43 // string, file_name + 1 is a valid pointer (there is at least one char 44 // after address file_name, the zero terminator) [all...] |
/external/autotest/client/cros/cellular/wardmodem/state_machines/ |
__init__.py | 4 for file_name in os.listdir(os.path.dirname(__file__)): 5 if (file_name.endswith('.py') and 6 file_name not in ['common.py', '__init__.py'] and 7 file_name.find('unittest') == -1): 8 module_name = file_name.rstrip('.py')
|
/external/autotest/client/deps/glbench/src/ |
png_helper.h | 8 void write_png_file(const char* file_name, char* pixels, int width, int height);
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
ANTLRFileStream.pm | 10 has 'file_name' => ( 20 my $file_name = $args->{file_name}; 21 if (!defined $file_name) { 28 open $fh, "<:encoding($encoding)", $file_name 29 or croak "Can't open $file_name: $!"; 32 open $fh, '<', $file_name 33 or croak "Can't open $file_name: $!"; 49 my ($self, $file_name, $encoding) = @_; 51 if (!defined $file_name) { [all...] |
/libcore/ojluni/src/test/ |
gen-test-list | 38 local file_name 42 while read file_name; do 43 package_string="$(grep "package" "$file_name")" 44 [[ $? -ne 0 ]] && error_print "File $file_name missing package declaration." 45 debug_print "File: $file_name" 52 class_name="$(basename "$file_name")"
|
/external/libxkbcommon/xkbcommon/src/compose/ |
parser.h | 30 const char *file_name); 34 FILE *file, const char *file_name);
|
/external/tensorflow/tensorflow/core/kernels/ |
spectrogram_test_utils.h | 29 bool ReadWaveFileToVector(const string& file_name, std::vector<double>* data); 35 const string& file_name, int row_length, 40 const string& file_name, 50 bool WriteDoubleVectorToFile(const string& file_name, 55 bool WriteFloatVectorToFile(const string& file_name, 60 bool WriteDoubleArrayToFile(const string& file_name, int size, 65 bool WriteFloatArrayToFile(const string& file_name, int size, 71 const string& file_name,
|
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/ |
realpath.c | 19 file_name, an absolute pathname that names the same file, whose resolution
28 @param[in] file_name The filename to convert.
36 char *file_name,
41 if (file_name == NULL || resolved_name == NULL) {
45 Temp = AllocateZeroPool((1+AsciiStrLen(file_name))*sizeof(CHAR16));
50 AsciiStrToUnicodeStr(file_name, Temp);
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
file_utils.h | 27 Status LoadTextOrBinaryGraphFile(const string& file_name, GraphDef* graph_def);
|
file_utils.cc | 23 Status LoadTextOrBinaryGraphFile(const string& file_name, GraphDef* graph_def) { 26 ReadFileToString(Env::Default(), file_name, &file_data); 28 errors::AppendToMessage(&load_file_status, " (for file ", file_name, ")"); 32 Status load_status = ReadBinaryProto(Env::Default(), file_name, graph_def); 39 file_name, ")");
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_params.h | 76 bool has_java_package(const string& file_name) const { 77 return java_packages_.find(file_name) 80 void set_java_package(const string& file_name, 82 java_packages_[file_name] = java_package; 84 const string& java_package(const string& file_name) const { 87 itr = java_packages_.find(file_name); 98 bool has_java_outer_classname(const string& file_name) const { 99 return java_outer_classnames_.find(file_name) 102 void set_java_outer_classname(const string& file_name, 104 java_outer_classnames_[file_name] = java_outer_classname [all...] |
/toolchain/binutils/binutils-2.27/binutils/ |
binemul.h | 51 #define AR_EMUL_ELEMENT_CHECK(abfd, file_name) \ 52 do { if ((abfd) == NULL) bfd_fatal (file_name); } while (0) 54 #define AR_EMUL_APPEND_PRINT_VERBOSE(verbose, file_name) \ 55 do { if (verbose) printf ("a - %s\n", file_name); } while (0) 57 #define AR_EMUL_REPLACE_PRINT_VERBOSE(verbose, file_name) \ 58 do { if (verbose) printf ("r - %s\n", file_name); } while (0)
|
/external/libvpx/libvpx/third_party/libwebm/common/ |
file_util.h | 22 // Returns size of file specified by |file_name|, or 0 upon failure. 23 uint64_t GetFileSize(const std::string& file_name); 30 explicit TempFileDeleter(std::string file_name) : file_name_(file_name) {}
|
/external/lisa/libs/utils/platforms/ |
__init__.py | 7 for file_name in os.listdir(this_dir): 8 name, ext = os.path.splitext(file_name) 10 platform = JsonConf(os.path.join(this_dir, file_name)).load()
|
/external/chromium-trace/catapult/devil/devil/android/ |
device_list.py | 14 def GetPersistentDeviceList(file_name): 18 file_name: the file name containing a list of devices. 22 if not os.path.isfile(file_name): 23 logger.warning("Device file %s doesn't exist.", file_name) 27 with open(file_name) as f: 36 'Error reading device file %s. Falling back to old format.', file_name) 39 with open(file_name) as f: 43 def WritePersistentDeviceList(file_name, device_list): 44 path = os.path.dirname(file_name) 51 with open(file_name, 'w') as f [all...] |
/external/tensorflow/tensorflow/contrib/lite/examples/ios/simple/ |
ios_image_load.h | 20 std::vector<uint8_t> LoadImageFromFile(const char* file_name, int* out_width,
|
/external/tensorflow/tensorflow/examples/ios/benchmark/ |
ios_image_load.h | 22 std::vector<tensorflow::uint8> LoadImageFromFile(const char* file_name,
|
/external/tensorflow/tensorflow/examples/ios/camera/ |
ios_image_load.h | 22 std::vector<tensorflow::uint8> LoadImageFromFile(const char* file_name,
|
/external/tensorflow/tensorflow/examples/ios/simple/ |
ios_image_load.h | 22 std::vector<tensorflow::uint8> LoadImageFromFile(const char* file_name,
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
resample_input_audio_file.h | 27 ResampleInputAudioFile(const std::string file_name, int file_rate_hz) 28 : InputAudioFile(file_name), 31 ResampleInputAudioFile(const std::string file_name, 34 : InputAudioFile(file_name),
|
rtp_file_source.h | 33 // Creates an RtpFileSource reading from |file_name|. If the file cannot be 35 static RtpFileSource* Create(const std::string& file_name); 38 static bool ValidRtpDump(const std::string& file_name); 39 static bool ValidPcap(const std::string& file_name); 57 bool OpenFile(const std::string& file_name);
|
output_wav_file.h | 25 // Creates an OutputWavFile, opening a file named |file_name| for writing. 27 OutputWavFile(const std::string& file_name, int sample_rate_hz) 28 : wav_writer_(file_name, sample_rate_hz, 1) {}
|
/development/vndk/tools/header-checker/header-abi-util/src/ |
collect_exported_headers.cpp | 27 static bool ShouldSkipFile(llvm::StringRef &file_name) { 31 if (file_name.empty() || file_name.startswith(".") || 32 file_name.endswith(".swp") || file_name.endswith(".swo") || 33 file_name.endswith("#") || file_name.endswith(".cpp") || 34 file_name.endswith(".cc") || file_name.endswith(".c")) { 63 llvm::StringRef file_name(llvm::sys::path::filename(file_path)) [all...] |
/external/libvpx/libvpx/test/ |
i420_video_source.h | 24 I420VideoSource(const std::string &file_name, unsigned int width, 27 : YUVVideoSource(file_name, VPX_IMG_FMT_I420, width, height,
|
/frameworks/opt/telephony/tools/ |
tdi | 5 file_name='tdi' 14 echo "Usage: $file_name $cmd <dc> <count> <cause> <retry-time>"
|