/external/vboot_reference/host/lib/include/ |
file_keys.h | 13 /* Read file named [input_file] into a buffer and stores the length into 19 uint8_t* BufferFromFile(const char* input_file, uint64_t* len); 21 /* Read a pre-processed RSA Public Key from file [input_file]. 26 RSAPublicKey* RSAPublicKeyFromFile(const char* input_file); 28 /* Returns the appropriate digest for the data in [input_file] 32 uint8_t* DigestFile(char* input_file, int sig_algorithm);
|
/external/vboot_reference/utility/include/ |
verify_data.h | 9 /* Reads a pre-processed key from [input_file] and 13 RSAPublicKey* read_RSAkey(char *input_file); 15 /* Return a signature of [len] bytes read from [input_file]. 18 uint8_t* read_signature(char *input_file, int len);
|
/external/vboot_reference/host/lib/ |
file_keys.c | 21 uint8_t* BufferFromFile(const char* input_file, uint64_t* len) { 26 if ((fd = open(input_file, O_RDONLY)) == -1) { 27 VBDEBUG(("Couldn't open file %s\n", input_file)); 32 VBDEBUG(("Couldn't stat file %s\n", input_file)); 39 VbExError("Couldn't allocate %ld bytes for file %s\n", *len, input_file); 44 VBDEBUG(("Couldn't read file %s into a buffer\n", input_file)); 52 RSAPublicKey* RSAPublicKeyFromFile(const char* input_file) { 55 uint8_t* buf = BufferFromFile(input_file, &len); 62 uint8_t* DigestFile(char* input_file, int sig_algorithm) { 68 if( (input_fd = open(input_file, O_RDONLY)) == -1 ) [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
incremental-dump.cc | 60 typename Inputs_reader::Incremental_input_entry_reader input_file = local 61 incremental_inputs.input_file(i); 62 if (input_file.type() != INCREMENTAL_INPUT_OBJECT 63 && input_file.type() != INCREMENTAL_INPUT_ARCHIVE_MEMBER) 65 unsigned int nsyms = input_file.get_global_symbol_count(); 66 if (offset >= input_file.get_symbol_offset(0) 67 && offset < input_file.get_symbol_offset(nsyms)) 69 *symndx = ((offset - input_file.get_symbol_offset(0)) 71 return input_file; 119 Entry_reader input_file = incremental_inputs.input_file(i) local 355 Entry_reader input_file = local 400 Entry_reader input_file = local [all...] |
target.cc | 70 Input_file* input_file, 78 || (et == elfcpp::ET_EXEC && input_file->just_symbols())) 81 new Sized_relobj_file<size, big_endian>(name, input_file, offset, ehdr); 88 new Sized_dynobj<size, big_endian>(name, input_file, offset, ehdr); 100 // Make an ELF object called NAME by reading INPUT_FILE at OFFSET. EHDR 106 Target::do_make_elf_object(const std::string& name, Input_file* input_file, 109 return this->do_make_elf_object_implementation<32, false>(name, input_file, 116 Target::do_make_elf_object(const std::string& name, Input_file* input_file [all...] |
nacl.h | 37 Sniff_file(Input_file* input_file, off_t offset) 38 : file_(input_file->file()), offset_(offset) 113 do_recognize(Input_file* file, off_t offset, 161 recognize_nacl_file(Input_file* input_file, off_t offset) 168 return do_recognize_nacl_file<32, true>(input_file, offset); 172 return do_recognize_nacl_file<64, true>(input_file, offset); 182 return do_recognize_nacl_file<32, false>(input_file, offset); 186 return do_recognize_nacl_file<64, false>(input_file, offset) [all...] |
/external/sfntly/cpp/src/test/ |
test_font_utils.cc | 67 FILE* input_file = NULL; local 69 fopen_s(&input_file, input_file_path, "rb"); 71 input_file = fopen(input_file_path, "rb"); 73 EXPECT_NE(input_file, reinterpret_cast<FILE*>(NULL)); 74 fseek(input_file, 0, SEEK_END); 75 size_t file_size = ftell(input_file); 76 fseek(input_file, 0, SEEK_SET); 78 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); 80 fclose(input_file);
|
/external/selinux/policycoreutils/semanage/ |
semanage-import.8 | 5 .B semanage import [\-h] [\-N] [\-S STORE] [\-f INPUT_FILE] 23 .I \-f INPUT_FILE, \-\-input_file INPUT_FILE
|
/external/sfntly/cpp/src/sample/subsetter/ |
subset_util.cc | 46 FILE* input_file = fopen(input_file_path, "rb"); local 47 if (input_file == NULL) { 51 fseek(input_file, 0, SEEK_END); 52 size_t file_size = ftell(input_file); 53 fseek(input_file, 0, SEEK_SET); 55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file); 57 fclose(input_file);
|
/external/sfntly/cpp/src/sample/chromium/ |
chrome_subsetter.cc | 44 FILE* input_file = NULL; local 46 fopen_s(&input_file, input_file_path, "rb"); 48 input_file = fopen(input_file_path, "rb"); 50 if (input_file == NULL) { 53 fseek(input_file, 0, SEEK_END); 54 size_t file_size = ftell(input_file); 55 fseek(input_file, 0, SEEK_SET); 57 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); 58 fclose(input_file);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
isac_unittest.cc | 44 FILE* input_file; local 47 input_file = fopen(file_name.c_str(), "rb"); 48 ASSERT_TRUE(input_file != NULL); 51 kIsacNumberOfSamples, input_file))); 52 fclose(input_file); 53 input_file = NULL;
|
/external/wpa_supplicant_8/wpa_supplicant/utils/ |
log2pcap.py | 34 input_file = open(input, 'r') 40 for line in input_file: 53 input_file.close()
|
/external/eigen/bench/btl/generic_bench/utils/ |
xy_file.hh | 32 std::ifstream input_file (filename.c_str(),std::ios::in); 34 if (!input_file){ 45 while (input_file >> size >> mflops ){ 52 input_file.close();
|
/external/webrtc/webrtc/tools/frame_analyzer/ |
video_quality_analysis.cc | 102 FILE* input_file = fopen(i420_file_name, "rb"); local 103 if (input_file == NULL) { 110 fseek(input_file, offset, SEEK_SET); 112 size_t bytes_read = fread(result_frame, 1, frame_size, input_file); 114 ferror(input_file)) { 119 fclose(input_file); 132 FILE* input_file = fopen(y4m_file_name, "rb"); local 133 if (input_file == NULL) { 145 fread(frame_header, 1, Y4M_FILE_HEADER_MAX_SIZE, input_file); 146 if (bytes_read != static_cast<size_t>(frame_size) && ferror(input_file)) { [all...] |
/external/webrtc/webrtc/voice_engine/test/auto_test/ |
voe_conference_test.cc | 53 const std::string input_file = local 61 unsigned int id_1 = trans.AddStream(input_file, kInputFormat); 62 unsigned int id_2 = trans.AddStream(input_file, kInputFormat); 130 const std::string input_file = local 142 unsigned int id_1 = trans.AddStream(input_file, kInputFormat); 143 unsigned int id_2 = trans.AddStream(input_file, kInputFormat); 144 unsigned int id_3 = trans.AddStream(input_file, kInputFormat);
|
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
compile_cs | 30 input_file = 'gen_cs_' + name + '.in' 40 'echo "$(SRCS)" > $(@D)/' + input_file + ' && ' 43 '--src_list_file=$(@D)/' + input_file + ' '
|
/external/webrtc/webrtc/modules/video_processing/test/ |
deflickering_test.cc | 36 const std::string input_file = local 38 source_file_ = fopen(input_file.c_str(), "rb"); 39 ASSERT_TRUE(source_file_ != NULL) << "Cannot read input file: " << input_file
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
object_unittest.cc | 46 Input_file input_file(task, "test.o", test_file, test_file_size); 47 Object* object = make_elf_object("test.o", &input_file, 0,
|
/external/eigen/bench/btl/data/ |
regularize.cxx | 111 ifstream input_file (filename.c_str(),ios::in) ; 113 if (!input_file){ 122 while (input_file >> size >> mflops ){ 129 input_file.close();
|
/external/webrtc/webrtc/modules/audio_processing/agc/ |
agc_unittest.cc | 54 FILE* input_file = fopen( local 56 ASSERT_TRUE(input_file != NULL); 71 input_file)); 83 fclose(input_file);
|
/external/webrtc/webrtc/tools/converter/ |
converter.cc | 137 FILE* input_file = fopen(input_file_name, "rb"); local 138 if (input_file == NULL) { 144 size_t nbr_read = fread(buffer, 1, input_frame_size, input_file); 145 fclose(input_file);
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
file_before_streaming_test.cc | 44 FILE* input_file = fopen(input_filename_.c_str(), "wb"); local 45 ASSERT_TRUE(input_file != NULL); 47 ASSERT_EQ(1u, fwrite(&kInputValue, sizeof(kInputValue), 1, input_file)); 49 ASSERT_EQ(0, fclose(input_file));
|
/cts/tools/selinux/ |
SELinuxNeverallowTestGen.py | 36 input_file = sys.argv[1] variable 44 neverallow_rules = extract_neverallow_rules(input_file)
|
/external/libvpx/libvpx/test/ |
postproc.sh | 31 local input_file="$1" 40 eval "${VPX_TEST_PREFIX}" "${decoder}" "${input_file}" "${output_file}" \
|
simple_decoder.sh | 31 local input_file="$1" 40 eval "${VPX_TEST_PREFIX}" "${decoder}" "${input_file}" "${output_file}" \
|