Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 125) sorted by relevance

12345

/tools/ocaml/xenstored/
A Ddisk.ml41 and i = ref 0 in
42 let d = Buffer.create len in
67 in
73 | c -> c in
81 let channel = open_in file in
89 ) in
101 let len = String.length s in
105 let i = ref 1 in
122 len - 1 in
136 in
[all …]
A Dutils.ml33 in
38 let l = List.length path in
39 let revpath = List.rev path in
43 in
50 let seq = hexseq_of_char c in
92 let buf = Bytes.make 20 '\000' in
93 let sz = Unix.read fd buf 0 20 in
100 let len = String.length path in
108 in
117 let len = String.length abs_path in
[all …]
A Dxenstored.ml45 in
66 ) in
214 in
373 in
388 in
407 in
410 in
478 in
509 in
575 in
[all …]
A Dconnections.ml41 let capacity = get_capacity () in
131 let key = key_of_str apath in
137 in
143 let key = key_of_str apath in
153 let key = key_of_path path in
155 let roots = oldroot, root in
159 in
164 in
184 let res = ref 0 in
187 in
[all …]
A Dprocess.ml298 in
306 in
332 in
345 in
531 in
543 in
559 in
583 in
598 in
609 in
[all …]
A Dlogging.ml40 | None -> "" in
43 | None -> "" in
48 | None -> "" in
82 else accu in
83 aux [] 1 in
93 with _ -> () in
100 counter := 0 in
103 let s = s ^ "\n" in
262 in
319 | _ -> true in
[all …]
A Dconfig.ml31 let len = String.length s and i = ref 0 in
39 let i = ref (String.length s - 1) in
57 let lc = [ ' '; '\t' ] in
62 | _ -> None in
73 End_of_file -> [] in
77 let stream = open_in filename in
78 let cf = parse_line stream in
83 let err = ref [] in
84 let append x = err := x :: !err in
90 in
[all …]
A Dstore.ml97 let invalid = -1 in
107 in
170 in
223 in
316 in
331 in
360 c.Node.perms in
370 true in
381 in
394 in
[all …]
A Ddomains.ml9 * exception on linking described in file LICENSE.
25 let fname = Dynlink.adapt_filename fname in
39 let list_files = Sys.readdir plugins_dir in
121 let notify = ref false in
122 let dead_dom = ref [] in
170 in
179 let before = dom.Domain.conflict_credit in
180 let after = max (-1.0) (before -. 1.0) in
211 let d = pop q in
218 in
[all …]
A Dpoll.ml7 * exception on linking described in file LICENSE.
9 * This program is distributed in the hope that it will be useful,
18 readfds, writefds, exceptfds concept as in select. *)
32 let ch = open_in "/proc/sys/fs/nr_open" in
33 let v = Utils.int_of_string_exn (input_line ch) in
40 let h = Hashtbl.create 57 in
45 let e = init_event () in
46 Hashtbl.add h fd e; e in
47 event_set e in
54 let i = ref (-1) in
[all …]
A Dtransaction.ml35 ) false hierarch in
109 in last !short_running_txns
116 in
134 } in
136 let now = Unix.gettimeofday () in
167 let path_exists = path_exists t path in
191 let r = Store.ls t.store perm path in
207 let has_coalesced = ref false in
237 in
250 in
[all …]
A Dconnection.ml68 let item = Queue.peek t.q in
73 let _ = Queue.pop t.q in
193 in
199 in
204 in
227 in
263 let rpath = get_path con in
272 let path = path ^ "/" in
313 con.watches [] in
362 in
[all …]
A Dstdext.ml10 * exception on linking described in file LICENSE.
31 clean_f (); raise exn in
61 let r = find_opt k t in
62 let r' = f r in
87 let accu = ref accu in
112 let p_name = Filename.dirname dir in
115 mkdir_safe dir perm in
144 0o640 in
147 let pid = Unix.getpid () in
148 let buf = string_of_int pid ^ "\n" in
[all …]
A Dtrie.ml77 in
86 in
88 in
95 in
104 let node = find_node tree h in
123 && (let node = find_node tree h in
134 let node = find_node tree h in
153 let node = find_node tree h in
156 let node = Node.empty h in
165 let node = find_node tree h in
[all …]
A Dtrie.mli8 * exception on linking described in file LICENSE.
10 * This program is distributed in the hope that it will be useful,
27 (** [mem t k] returns true if a value is associated with the key [k] in the trie [t].
31 (** [find t k] returns the value associated with the key [k] in the trie [t].
32 Returns [Not_found] if no values are associated with [k] in [t]. *)
35 (** [set t k v] associates the value [v] with the key [k] in the trie [t]. *)
38 (** [unset k v] removes the association of value [v] with the key [k] in the trie [t].
48 (** [iter_path f t p] iterates [f] over nodes associated with the path [p] in the trie [t].
55 (** [map f t] maps [f] over every values stored in [t]. The return value of [f] is of type 'c option
59 (** [sub t p] returns the sub-trie associated with the path [p] in the trie [t].
/tools/ocaml/libs/xs/
A Dxsraw.ml9 * exception on linking described in file LICENSE.
28 (Xb.Op.to_string received) in
61 let owner, other, acl = perms in
80 end in
82 try let i = String.index s '\000' in
92 let workdone = ref false in
105 let fd = Xb.get_fd con.xb in
117 and event_data = List.nth ls 1 in
124 let pkt = pkt_recv con in
133 let pkt = pkt_recv con in
[all …]
A Dxs.ml9 * exception on linking described in file LICENSE.
84 let start_time = Unix.gettimeofday () in
85 let end_time = start_time +. timeout in
87 let left = ref timeout in
91 let success = ref false in
96 !success in
99 let fd = get_fd xsh in
107 let success = ref false in
127 let current_time = Unix.gettimeofday () in
166 let devpath = "/dev/xen/xenbus" in
[all …]
A Dqueueop.ml9 * exception on linking described in file LICENSE.
11 * This program is distributed in the hope that it will be useful,
21 let data = data_concat [ path; ] in
34 let data = data_concat [ path; data; ] in
38 let data = data_concat [ path; data; ] in
45 let data = data_concat [ (if commit then "T" else "F"); ] in
51 string_of_int port; ] in
55 let data = data_concat [ Printf.sprintf "%u" domid; ] in
59 let data = data_concat [ Printf.sprintf "%u" domid; ] in
63 let data = data_concat [ Printf.sprintf "%u" domid; ] in
[all …]
/tools/xenstored/
A Dcore.c391 req->in = in; in delay_request()
399 if (conn->in == in) in delay_request()
1204 if (!in->used || get_string(in, 0) != in->used) in onearg()
2058 assert(conn->in == in); in process_message()
2110 conn->in = req->in; in process_delayed_message()
2164 in = conn->in; in handle_input()
2198 in->buffer = talloc_array(in, char, in->hdr.msg.len); in handle_input()
2207 in->hdr.msg.len - in->used); in handle_input()
2214 if (in->used != in->hdr.msg.len) in handle_input()
2885 unsigned int hlen = in->inhdr ? in->used : sizeof(in->hdr); in dump_input_buffered_data()
[all …]
A Ddomain.h59 struct buffered_data *in);
63 struct buffered_data *in);
67 struct buffered_data *in);
71 struct buffered_data *in);
75 struct buffered_data *in);
79 struct buffered_data *in);
83 struct buffered_data *in);
87 struct buffered_data *in);
91 struct buffered_data *in);
/tools/ocaml/libs/xb/
A Dxb.ml72 let classification = t.classify e in
90 let e = Queue.pop t.q in
91 let classification = t.classify e in
95 in
102 let b = Buffer.create 128 in
199 let s = Bytes.make len '\000' in
235 "" in
238 let len = String.length s in
239 let sz = write con s len in
254 let to_read = to_read con in
[all …]
/tools/firmware/vgabios/
A DChangeLog17 - in LFB modes the number of banks must be set to 1
25 - updated year in copyright
92 definition now in vbetables-gen.c)
195 - missing license text added in biossums.c
380 - VBE function 0x03 rewritten in assembler
455 rewritten in assembler
496 - init functions rewitten in assembler
505 in assembler
846 in graphics modes
899 0x100 in some cases in biosfn_set_all_dac_reg,
[all …]
A DREADME4 The goal of this project is to have a LGPL'd Video Bios in plex86,
13 The Cirrus SVGA extension is designed for the Cirrus emulation in Bochs and
30 Edit your plex86/bochs conf file, and modify the load-rom command in the
41 You can then use the "printf" function in the bios.
96 . minor bugfixes in biossums utility, VBE support and makefile
131 . a lot of vgabios and vbe functions rewritten in assembler
148 . "noclear" flag stored in BIOS area
174 . Added LFB modes (to be used with the vbe-lfb patch in bochs)
175 see VBE_HAVE_LFB in vbe.c (currently default enabled)
180 . Fixed bug in function ah=13
[all …]
/tools/libs/light/
A DCODING_STYLE8 Much of the code in libxl does not yet follow this coding style
9 document in every respect. However, new code is expected to conform.
28 "libxl memory management" in libxl.h.
98 then checking it in a separate statement:
153 The code for asynchronous operations should be laid out in
170 * fields that the caller must fill in, and which are,
185 documented in comments, if it is nontrivial.
194 _init method) in your own _init method.
224 - Tabs are rendered badly in patches, causing off-by-one errors in almost
240 characters, +/- diff characters, and so on, in emails.
[all …]
/tools/libs/util/
A DCODING_STYLE8 Much of the code in libxl does not yet follow this coding style
9 document in every respect. However, new code is expected to conform.
28 "libxl memory management" in libxl.h.
98 then checking it in a separate statement:
143 The code for asynchronous operations should be laid out in
160 * fields that the caller must fill in, and which are,
175 documented in comments, if it is nontrivial.
184 _init method) in your own _init method.
214 - Tabs are rendered badly in patches, causing off-by-one errors in almost
230 characters, +/- diff characters, and so on, in emails.
[all …]

Completed in 42 milliseconds

12345