Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 192) sorted by relevance

12345678

/xen/tools/libxl/
A Dgentest.py59 for f in [f for f in ty.fields if not f.const]:
99 f = open(impl, "w") variable
100 f.write("""
236 f.write("""
244 f.write("""
294 f.write("\n")
330 f.write("\n")
342 f.write("\n")
353 f.write("\n")
365 f.write("\n")
[all …]
A Dgentypes.py52 x = libxl_C_instance_of(f.type, f.name)
94 for f in [f for f in ty.fields if not f.const]:
139 for f in [f for f in ty.fields if not f.const and not f.type.private]:
164 return [f for f in ty.fields if not f.const and isinstance(f.type,idl.KeyedUnion)]
201 for f in [f for f in ty.fields if not f.const]:
286 for f in [f for f in field.type.fields if not f.const]:
296 for f in [f for f in field.type.fields if not f.const]:
402 for f in [f for f in ty.fields if not f.const and not f.type.private]:
504 for f in [f for f in ty.fields if not f.const and not f.type.private]:
645 f.close()
[all …]
A Didl.py218 for f in fields:
220 if len(f) == 2:
221 n,t = f
223 elif len(f) == 3:
224 n,t,kw = f
238 def member(self, v, f, isref): argument
244 if f.name is None: # Anonymous
278 for f in fields:
280 e, ty = f
350 def parse(f): argument
[all …]
/xen/tools/include/xen-foreign/
A Dmkchecker.py10 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/tools/golang/xenlight/
A Dgengotypes.py47 f.write(tdef)
48 f.write('\n')
107 for f in ty.fields:
129 r = xenlight_golang_define_union(f.type, ty.typename, f.name)
163 for f in ty.fields:
210 f.write('/*\n')
214 f.write('\n')
217 f.write(s)
254 for f in ty.fields:
268 r = xenlight_golang_union_from_C(f.type, f.name, ty.typename)
[all …]
/xen/xen/arch/arm/arm32/lib/
A Dcopy_template.S73 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 Dmemmove.S37 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/tools/tests/x86_emulator/
A Devex-disp8.c112 INSN(comisd, 66, 0f, 2f, el, q, el),
113 INSN(comiss, , 0f, 2f, el, d, el),
185 INSN_FP(max, 0f, 5f),
192 INSN(movdqa32, 66, 0f, 6f, vl, d_nb, vl),
193 INSN(movdqa32, 66, 0f, 7f, vl, d_nb, vl),
194 INSN(movdqa64, 66, 0f, 6f, vl, q_nb, vl),
195 INSN(movdqa64, 66, 0f, 7f, vl, q_nb, vl),
369 INSN(movdqu8, f2, 0f, 6f, vl, b, vl),
370 INSN(movdqu8, f2, 0f, 7f, vl, b, vl),
371 INSN(movdqu16, f2, 0f, 6f, vl, w, vl),
[all …]
/xen/xen/include/asm-arm/
A Dalternative.h23 #define __ALT_PTR(a,f) ((void *)&(a)->f + (a)->f) argument
105 altinstruction_entry 661b, 663f, \cap, 662b-661b, 664f-663f
140 altinstruction_entry 661f, 663f, \cap, 662f-661f, 664f-663f
148 altinstruction_entry 663f, 661f, \cap, 664f-663f, 662f-661f
171 altinstruction_entry 661f, \cb, ARM_CB_PATCH, 662f-661f, 0
/xen/tools/libfsimage/ext2fs-lib/
A Dext2fs-lib.c74 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/tools/ocaml/libs/xl/
A Dgenwrap.py117 name = f.name
122 for f in ty.fields:
123 if f.type.private:
143 for f in ty.fields:
146 if isinstance(f.type, idl.Struct) and not f.type.has_fields(): continue
156 for f in ty.fields:
163 u.append("%s of %s_%s" % (f.name.capitalize(), nparent, f.name))
240 anon = gen_ocaml_anonstruct(f.type, interface, "\t", f.name)
313 if f.type is None or not f.type.has_fields():
325 if f.type is not None and f.type.has_fields():
[all …]
/xen/tools/libs/toollog/
A Dxtl_logger_stdio.c34 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/tools/misc/
A Dxen-detect.c124 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 Dxencov.c49 FILE *f; in cov_read() local
69 f = stdout; in cov_read()
71 f = fopen(fn, "w"); in cov_read()
73 if (!f) in cov_read()
76 if (fwrite(p, 1, total_len, f) != total_len) in cov_read()
79 if (f != stdout) in cov_read()
80 fclose(f); in cov_read()
A Dxencov_split19 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/tools/flask/utils/
A Dlabel-pci.c43 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/xen/include/xen/
A Dcompat.h158 #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 Drwlock.h242 #define read_lock_irqsave(l, f) \ argument
244 BUILD_BUG_ON(sizeof(f) != sizeof(unsigned long)); \
245 ((f) = _read_lock_irqsave(l)); \
250 #define read_unlock_irqrestore(l, f) _read_unlock_irqrestore(l, f) argument
255 #define write_lock_irqsave(l, f) \ argument
257 BUILD_BUG_ON(sizeof(f) != sizeof(unsigned long)); \
258 ((f) = _write_lock_irqsave(l)); \
264 #define write_unlock_irqrestore(l, f) _write_unlock_irqrestore(l, f) argument
/xen/tools/firmware/xen-dir/
A DMakefile49 find $(d) ! -type l -type f $(addprefix ! -name ,$(LINK_EXCLUDES))) \
51 $(foreach f, $(LINK_FILES), \
52 echo $(f) >> linkfarm.stamp.tmp ;)
55 cat linkfarm.stamp.tmp | while read f; \
56 do rm -f "$(D)/$$f"; ln -s "$(XEN_ROOT)/$$f" "$(D)/$$f"; done; \
/xen/xen/arch/arm/arm64/lib/
A Dmemset.S66 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 Dmemcpy.S74 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 Dmemmove.S79 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/tools/ocaml/xenstored/
A Dtrie.ml79 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 …]
A Dconfig.ml91 | 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 Dtrie.mli43 (** [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

Completed in 29 milliseconds

12345678