/xen-4.10.0-shim-comet/tools/libxl/ |
A D | gentest.py | 57 for f in [f for f in ty.fields if not f.const]: 97 f = open(impl, "w") variable 98 f.write(""" 234 f.write(""" 242 f.write(""" 292 f.write("\n") 328 f.write("\n") 340 f.write("\n") 351 f.write("\n") 363 f.write("\n") [all …]
|
A D | gentypes.py | 50 x = libxl_C_instance_of(f.type, f.name) 92 for f in [f for f in ty.fields if not f.const]: 137 for f in [f for f in ty.fields if not f.const and not f.type.private]: 162 return [f for f in ty.fields if not f.const and isinstance(f.type,idl.KeyedUnion)] 186 for f in [f for f in ty.fields if not f.const]: 271 for f in [f for f in field.type.fields if not f.const]: 281 for f in [f for f in field.type.fields if not f.const]: 395 for f in [f for f in ty.fields if not f.const and not f.type.private]: 493 for f in [f for f in ty.fields if not f.const and not f.type.private]: 634 f.close() [all …]
|
/xen-4.10.0-shim-comet/tools/include/xen-foreign/ |
A D | mkchecker.py | 10 f = open(outfile, "w"); variable 11 f.write(''' 29 f.write('\tprintf("\\n");'); 33 f.write('\tprintf("\\n");'); 35 f.write('\tprintf("\\n");'); 55 f.write('\t);\n') 56 f.write("#else\n"); 61 f.write("#endif\n"); 66 f.write('\texit(0);\n'); 67 f.write('}\n'); [all …]
|
/xen-4.10.0-shim-comet/xen/arch/arm/arm32/lib/ |
A D | copy_template.S | 73 blt 8f 76 bne 9f 78 bne 10f 82 blt 5f 95 PLD( blt 4f ) 113 b 7f 174 beq 17f 175 bgt 18f 181 blt 14f 226 beq 16f [all …]
|
A D | memmove.S | 37 blt 8f 40 bne 9f 42 bne 10f 46 blt 5f 50 CALGN( bcs 2f ) 59 PLD( blt 4f ) 74 b 7f 123 beq 17f 124 blt 18f 130 blt 14f [all …]
|
/xen-4.10.0-shim-comet/tools/libfsimage/ext2fs-lib/ |
A D | ext2fs-lib.c | 74 ext2_file_t *f; in ext2lib_open() local 86 f = malloc(sizeof (*f)); in ext2lib_open() 87 if (f == NULL) in ext2lib_open() 93 free(f); in ext2lib_open() 98 file = fsip_file_alloc(fsi, f); in ext2lib_open() 100 free(f); in ext2lib_open() 107 ext2_file_t *f = fsip_file_data(file); in ext2lib_read() local 123 ext2_file_t *f = fsip_file_data(file); in ext2lib_pread() local 153 ext2_file_t *f = fsip_file_data(file); in ext2lib_close() local 154 ext2fs_file_close(*f); in ext2lib_close() [all …]
|
/xen-4.10.0-shim-comet/tools/ocaml/libs/xl/ |
A D | genwrap.py | 114 name = f.name 119 for f in ty.fields: 120 if f.type.private: 140 for f in ty.fields: 143 if isinstance(f.type, idl.Struct) and not f.type.has_fields(): continue 153 for f in ty.fields: 160 u.append("%s of %s_%s" % (f.name.capitalize(), nparent, f.name)) 237 anon = gen_ocaml_anonstruct(f.type, interface, "\t", f.name) 310 if f.type is None or not f.type.has_fields(): 322 if f.type is not None and f.type.has_fields(): [all …]
|
/xen-4.10.0-shim-comet/tools/libs/toollog/ |
A D | xtl_logger_stdio.c | 34 FILE *f; member 72 fprintf(lg->f, "[%lu] ", (unsigned long)getpid()); in stdiostream_vmessage() 75 fprintf(lg->f, "%s: ", context); in stdiostream_vmessage() 77 fprintf(lg->f, "%s: ", xtl_level_to_string(level)); in stdiostream_vmessage() 79 vfprintf(lg->f, format, al); in stdiostream_vmessage() 82 fprintf(lg->f, ": %s", strerror(errnoval)); in stdiostream_vmessage() 84 putc('\n', lg->f); in stdiostream_vmessage() 85 fflush(lg->f); in stdiostream_vmessage() 133 putc('\r', lg->f); in stdiostream_progress() 142 fprintf(lg->f, "%*s\r", extra_erase, ""); in stdiostream_progress() [all …]
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | alternative.h | 23 #define __ALT_PTR(a,f) ((u32 *)((void *)&(a)->f + (a)->f)) argument 87 altinstruction_entry 661b, 663f, \cap, 662b-661b, 664f-663f 106 altinstruction_entry 661f, 663f, \cap, 662f-661f, 664f-663f
|
/xen-4.10.0-shim-comet/tools/flask/utils/ |
A D | label-pci.c | 43 FILE *f; in main() local 63 f = fopen(buf, "r"); in main() 64 if (!f) { in main() 79 while (fscanf(f, "0x%"SCNx64" 0x%"SCNx64" 0x%"SCNx64"\n", &start, &end, &flags) == 3) { in main() 100 fclose(f); in main() 104 f = fopen(buf, "r"); in main() 105 if (!f) in main() 107 if (fscanf(f, "%" SCNu64, &start) != 1) in main() 117 fclose(f); in main()
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xen-detect.c | 124 FILE *f; in check_dir() local 128 f = fopen(filename, "r"); in check_dir() 129 if ( !f ) in check_dir() 131 res = !fstat(fileno(f), &stab) && S_ISDIR(stab.st_mode); in check_dir() 132 fclose(f); in check_dir() 139 FILE *f; in read_file_content() local 144 f = fopen(filename, "r"); in read_file_content() 145 if ( !f ) in read_file_content() 160 datalen = fread(content, 1, stab.st_size, f); in read_file_content() 162 if ( ferror(f) ) in read_file_content() [all …]
|
A D | xencov.c | 49 FILE *f; in gcov_read() local 69 f = stdout; in gcov_read() 71 f = fopen(fn, "w"); in gcov_read() 73 if (!f) in gcov_read() 76 if (fwrite(p, 1, total_len, f) != total_len) in gcov_read() 79 if (f != stdout) in gcov_read() 80 fclose(f); in gcov_read()
|
A D | xencov_split | 19 f = open(input_file) 22 s = f.read(4) 29 content = f.read() 31 f.close() 61 f = open(full_path, "w") 62 f.write(payload) 63 f.close()
|
/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/ |
A D | vhd-util-read.c | 94 vhd_print_footer(vhd_footer_t *f, int hex) in vhd_print_footer() argument 109 ff_maj = f->ff_version >> 16; in vhd_print_footer() 110 ff_min = f->ff_version & 0xffff; in vhd_print_footer() 119 memcpy(creator, f->crtr_app, 4); in vhd_print_footer() 123 cr_maj = f->crtr_ver >> 16; in vhd_print_footer() 124 cr_min = f->crtr_ver & 0xffff; in vhd_print_footer() 139 c = f->geometry >> 16; in vhd_print_footer() 140 h = (f->geometry & 0x0000FF00) >> 8; in vhd_print_footer() 141 s = f->geometry & 0x000000FF; in vhd_print_footer() 149 f->type <= HD_TYPE_MAX ? in vhd_print_footer() [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/control/ |
A D | tap-ctl-check.c | 39 FILE *f; in tap_ctl_check_blktap() local 45 f = fopen("/proc/misc", "r"); in tap_ctl_check_blktap() 46 if (!f) { in tap_ctl_check_blktap() 51 while (fscanf(f, "%d %32s", &minor, name) == 2) { in tap_ctl_check_blktap() 60 fclose(f); in tap_ctl_check_blktap()
|
A D | tap-ctl-spawn.c | 133 FILE *f; in tap_ctl_get_child_id() local 135 f = fdopen(readfd, "r"); in tap_ctl_get_child_id() 136 if (!f) { in tap_ctl_get_child_id() 142 if (fscanf(f, BLKTAP2_CONTROL_DIR"/" in tap_ctl_get_child_id() 149 fclose(f); in tap_ctl_get_child_id()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | compat.h | 158 #define CHECK_FIELD_COMMON(name, t, f) \ argument 161 BUILD_BUG_ON(offsetof(xen_ ## t ## _t, f) != \ 163 return &x->f == &c->f; \ 165 #define CHECK_FIELD_COMMON_(k, name, n, f) \ argument 168 BUILD_BUG_ON(offsetof(k xen_ ## n, f) != \ 169 offsetof(k compat_ ## n, f)); \ 170 return &x->f == &c->f; \ 173 #define CHECK_FIELD(t, f) \ argument 174 CHECK_FIELD_COMMON(CHECK_NAME(t ## __ ## f, F), t, f) 175 #define CHECK_FIELD_(k, n, f) \ argument [all …]
|
A D | rwlock.h | 190 #define read_lock_irqsave(l, f) \ argument 192 BUILD_BUG_ON(sizeof(f) != sizeof(unsigned long)); \ 193 ((f) = _read_lock_irqsave(l)); \ 198 #define read_unlock_irqrestore(l, f) _read_unlock_irqrestore(l, f) argument 203 #define write_lock_irqsave(l, f) \ argument 205 BUILD_BUG_ON(sizeof(f) != sizeof(unsigned long)); \ 206 ((f) = _write_lock_irqsave(l)); \ 212 #define write_unlock_irqrestore(l, f) _write_unlock_irqrestore(l, f) argument
|
/xen-4.10.0-shim-comet/tools/firmware/xen-dir/ |
A D | Makefile | 28 find $(d) ! -type l -type f \ 31 $(foreach f, $(LINK_FILES), \ 32 echo $(f) >> linkfarm.stamp.tmp ;) 36 cat linkfarm.stamp | while read f; \ 37 do rm -f "$(D)/$$f"; ln -s "$(XEN_ROOT)/$$f" "$(D)/$$f"; done \
|
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/lib/ |
A D | memset.S | 66 tbz count, #3, 1f 69 tbz count, #2, 2f 72 tbz count, #1, 3f 75 tbz count, #0, 4f 103 b.eq 3f 105 b.eq 1f 106 b.lt 2f 118 cbz count, 4f 181 b.eq 2f /* Already aligned. */
|
A D | memcpy.S | 74 tbz tmp2, #0, 1f 78 tbz tmp2, #1, 2f 82 tbz tmp2, #2, 3f 105 b.eq 1f 106 b.lt 2f 127 tbz count, #3, 1f 131 tbz count, #2, 2f 135 tbz count, #1, 3f
|
A D | memmove.S | 79 tbz tmp2, #0, 1f 83 tbz tmp2, #1, 2f 87 tbz tmp2, #2, 3f 111 b.eq 1f 112 b.lt 2f 123 tbz count, #3, 1f 127 tbz count, #2, 2f 131 tbz count, #1, 3f
|
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/ |
A D | config.ml | 91 | Unit f -> f () 92 | Bool f -> f (bool_of_string v) 93 | String f -> f v 94 | Int f -> f (int_of_string v) 95 | Float f -> f (float_of_string v)
|
A D | trie.mli | 43 (** [iter f t] applies the function [f] to every node of the trie [t]. 45 [f] is an option type. *) 48 (** [iter_path f t p] iterates [f] over nodes associated with the path [p] in the trie [t]. 52 (** [fold f t x] fold [f] over every nodes of [t], with [x] as initial value. *) 55 (** [map f t] maps [f] over every values stored in [t]. The return value of [f] is of type 'c option
|
A D | trie.ml | 79 let rec iter f tree = 81 f node.Node.key node.Node.value; 82 iter f node.Node.children 86 let rec map f tree = 91 | Some value -> f value 93 { node with Node.value = value; Node.children = map f node.Node.children } 97 let rec fold f tree acc = 99 fold f node.Node.children (f node.Node.key node.Node.value accu) 134 let rec iter_path f tree = function 140 f node.Node.key node.Node.value; [all …]
|