Home
last modified time | relevance | path

Searched refs:current_file (Results 1 – 25 of 34) sorted by relevance

12

/external/arm-trusted-firmware/drivers/renesas/common/io/
Dio_emmcdrv.c32 static file_state_t current_file = { 0 }; variable
60 sector_add = current_file.file_pos >> EMMC_SECTOR_SIZE_SHIFT; in emmcdrv_block_read()
65 current_file.partition, current_file.file_pos, in emmcdrv_block_read()
88 if (current_file.in_use != 0U) { in emmcdrv_block_open()
93 current_file.file_pos = 0; in emmcdrv_block_open()
94 current_file.in_use = 1; in emmcdrv_block_open()
100 current_file.partition = emmcdrv_bootpartition; in emmcdrv_block_open()
112 current_file.partition = block_spec->partition; in emmcdrv_block_open()
114 current_file.partition = emmcdrv_bootpartition; in emmcdrv_block_open()
118 if (emmc_select_partition(current_file.partition) != EMMC_SUCCESS) { in emmcdrv_block_open()
[all …]
Dio_memdrv.c35 static file_state_t current_file = { 0 }; variable
52 if (current_file.in_use != 0U) { in memdrv_block_open()
57 current_file.base = block_spec->offset; in memdrv_block_open()
58 current_file.file_pos = 0; in memdrv_block_open()
59 current_file.in_use = 1; in memdrv_block_open()
61 entity->info = (uintptr_t) &current_file; in memdrv_block_open()
105 memset((void *)&current_file, 0, sizeof(current_file)); in memdrv_block_close()
Dio_rcar.c122 static file_state_t current_file = { 0 }; variable
495 if (current_file.offset != 0U) { in rcar_file_open()
507 current_file.offset = 1; in rcar_file_open()
508 current_file.dst = 0; in rcar_file_open()
509 current_file.size = 1; in rcar_file_open()
510 current_file.position = 0; in rcar_file_open()
511 current_file.no_load = noload; in rcar_file_open()
512 current_file.partition = 0; in rcar_file_open()
513 entity->info = (uintptr_t) &current_file; in rcar_file_open()
527 current_file.partition = partition; in rcar_file_open()
[all …]
/external/arm-trusted-firmware/drivers/intel/soc/stratix10/io/
Ds10_memmap_qspi.c34 static file_state_t current_file = {0}; variable
114 if (current_file.in_use == 0) { in memmap_block_open()
118 current_file.in_use = 1; in memmap_block_open()
119 current_file.base = block_spec->offset; in memmap_block_open()
121 current_file.file_pos = 0; in memmap_block_open()
122 current_file.size = block_spec->length; in memmap_block_open()
123 entity->info = (uintptr_t)&current_file; in memmap_block_open()
233 zeromem((void *)&current_file, sizeof(current_file)); in memmap_block_close()
/external/libconfig/lib/
Dscanctx.c109 frame->current_file = NULL; in libconfig_scanctx_push_include()
135 if(include_frame->current_file) in libconfig_scanctx_next_include_file()
136 ++(include_frame->current_file); in libconfig_scanctx_next_include_file()
138 include_frame->current_file = include_frame->files; in libconfig_scanctx_next_include_file()
146 if(!*(include_frame->current_file)) in libconfig_scanctx_next_include_file()
149 include_frame->current_stream = fopen(*(include_frame->current_file), "rt"); in libconfig_scanctx_next_include_file()
193 return(*(ctx->include_stack[ctx->stack_depth - 1].current_file)); in libconfig_scanctx_current_filename()
Dscanctx.h43 const char **current_file; member
/external/arm-trusted-firmware/drivers/io/
Dio_dummy.c20 static struct file_state current_file = {0}; variable
88 if (current_file.in_use == 0) { in dummy_block_open()
92 current_file.in_use = 1; in dummy_block_open()
93 current_file.size = block_spec->length; in dummy_block_open()
94 entity->info = (uintptr_t)&current_file; in dummy_block_open()
135 current_file.in_use = 0; in dummy_block_close()
/external/uwb/src/rust/uwb_core/src/uci/
Dpcapng_uci_logger_factory.rs139 current_file: Option<BufferedFile>, field
149 if self.current_file.is_none() in write_once()
150 || data.len() + self.current_file.as_ref().unwrap().file_size() > self.file_size_limit in write_once()
152 self.current_file = Some( in write_once()
157 self.current_file.as_mut().unwrap().buffered_write(data) in write_once()
177 if let Some(current_file) = &mut self.current_file { in handle_new_chip()
179 if idb_data.len() + current_file.file_size() <= self.file_size_limit { in handle_new_chip()
180 current_file.buffered_write(idb_data)?; in handle_new_chip()
182 self.current_file = in handle_new_chip()
204 match &self.current_file { in run()
[all …]
/external/skia/tools/
Dparse_llvm_coverage.py73 current_file = None
80 if current_file and current_file != not_checked_in:
81 files[current_file] = file_lines
83 current_file = match_filename or not_checked_in
86 if current_file != not_checked_in:
/external/angle/src/compiler/
Dgenerate_parser_tools.py139 current_file = __file__
140 if current_file.endswith('.pyc'):
141 current_file = current_file[:-1]
142 inputs += [current_file]
/external/webrtc/tools_webrtc/sslroots/
Dgenerate_sslroots.py113 for current_file in files:
114 if current_file.startswith(_PREFIX):
116 length = len(current_file) - len(_EXTENSION)
117 label = current_file[prefix_length:length]
118 filtered_output, cert_size = _CreateCertSection(root_dir, current_file,
/external/libchrome/libchrome_tools/uprev/
Dreconnect_history.py228 for current_file, current_file_lines in lines_to_track.items():
229 print('Reconstructing', current_file, 'for', track_commit)
230 blame_base = utils.git_blame(current_base_commit, current_file)
231 constructed_files[current_file] = reconstruct_file(
232 blames[current_file], blame_base, current_file_lines,
/external/tensorflow/tensorflow/core/api_def/
Dupdate_api_def.sh22 current_file="$(readlink -f "$0")"
23 current_dir="$(dirname "$current_file")"
/external/tensorflow/tensorflow/c/experimental/ops/
Dupdate_cpp_ops.sh21 current_file="$(readlink -f "$0")"
22 current_dir="$(dirname "$current_file")"
/external/cronet/base/
Dwrite_build_date_header.py29 with open(args.output_file, 'r') as current_file:
30 current_contents = current_file.read()
/external/rust/crates/protobuf-parse/src/pure/convert/
Doption_resolver.rs806 self.custom_options(&self.resolver.current_file.package, input) in service_options()
813 self.custom_options(&self.resolver.current_file.package, input) in service_method_options()
951 for message_model in &self.resolver.current_file.messages { in file()
958 &self.resolver.current_file.package, in file()
964 for enum_model in &self.resolver.current_file.enums { in file()
970 self.enumeration(&self.resolver.current_file.package, enum_proto, enum_model)?; in file()
976 .current_file in file()
984 for extension_model in &self.resolver.current_file.extensions { in file()
991 &self.resolver.current_file.package, in file()
999 &self.resolver.current_file.package, in file()
[all …]
Dmod.rs133 current_file: &'a model::FileDescriptor, field
329 let scope = &self.current_file.package; in service_method()
364 (self.current_file.syntax, input.t.rule) in is_proto3_optional()
610 current_file: &input, in file_descriptor()
612 current_file: &input, in file_descriptor()
632 let (ext, group_messages) = resolver.extension(&resolver.current_file.package, &e.t)?; in file_descriptor()
639 let message = resolver.message(&resolver.current_file.package, &m.t)?; in file_descriptor()
664 .map(|e| resolver.enumeration(&resolver.current_file.package, e)) in file_descriptor()
Dtype_resolver.rs142 pub(crate) current_file: &'a model::FileDescriptor, field
148 iter::once(self.current_file) in all_files()
/external/libchrome/build/
Dwrite_build_date_header.py108 with open(args.output_file, 'r') as current_file:
109 current_contents = current_file.read()
/external/icing/icing/legacy/index/
Dicing-storage-collection.cc35 void IcingStorageCollection::Swap(const IIcingStorage *current_file, in Swap() argument
38 if (files_[i].file == current_file) { in Swap()
Dicing-storage-collection.h40 void Swap(const IIcingStorage *current_file, IIcingStorage *new_file);
/external/rust/crates/protobuf-codegen/2.27.1/src/
Denums.rs66 current_file: &FileDescriptorProto, in new()
71 == current_file.get_name() in new()
78 current_file, in new()
/external/toybox/kconfig/
Dlex.zconf.c_shipped1019 current_file->lineno++;
1046 current_pos.file = current_file;
1047 current_pos.lineno = current_file->lineno;
1066 current_file->lineno++;
1110 BEGIN(INITIAL); current_file->lineno++; return T_EOL;
1136 current_file->lineno++;
1200 current_file->lineno++;
1243 current_file->lineno++;
1252 current_file->lineno++;
1274 if (current_file) {
[all …]
/external/toolchain-utils/llvm_tools/
Dpatch_utils.py122 current_file = None
127 current_file = checked_file_match.group(1)
131 if not current_file:
134 failed_hunks[current_file].append(hunk_id)
/external/google-breakpad/src/tools/mac/crash_report/
Dcrash_report.mm320 NSString *current_file = nil;
321 while ((current_file = [enumerator nextObject])) {
323 if ([[current_file pathExtension] isEqualTo:@"dmp"]) {
325 [current_file cStringUsingEncoding:NSASCIIStringEncoding]);
327 [minidump_path stringByAppendingPathComponent:current_file];

12