Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 10 of 10) sorted by relevance

/scripts/gdb/linux/
Dutils.py98 def read_u16(buffer, offset): argument
99 buffer_val = buffer[offset:offset + 2]
115 def read_u32(buffer, offset): argument
117 return read_u16(buffer, offset) + (read_u16(buffer, offset + 2) << 16)
119 return read_u16(buffer, offset + 2) + (read_u16(buffer, offset) << 16)
122 def read_u64(buffer, offset): argument
124 return read_u32(buffer, offset) + (read_u32(buffer, offset + 4) << 32)
126 return read_u32(buffer, offset + 4) + (read_u32(buffer, offset) << 32)
129 def read_ulong(buffer, offset): argument
131 return read_u64(buffer, offset)
[all …]
/scripts/mod/
Dmodpost.h101 struct buffer { struct
108 buf_printf(struct buffer *buf, const char *fmt, ...); argument
111 buf_write(struct buffer *buf, const char *s, int len);
127 struct buffer dev_table_buf;
196 void add_moddevtable(struct buffer *buf, struct module *mod);
Dmodpost.c2139 void __attribute__((format(printf, 2, 3))) buf_printf(struct buffer *buf, in buf_printf()
2152 void buf_write(struct buffer *buf, const char *s, int len) in buf_write()
2249 static void add_header(struct buffer *b, struct module *mod) in add_header()
2279 static void add_intree_flag(struct buffer *b, int is_intree) in add_intree_flag()
2293 static void add_scmversion(struct buffer *b) in add_scmversion()
2300 static void add_retpoline(struct buffer *b) in add_retpoline()
2307 static void add_staging_flag(struct buffer *b, const char *name) in add_staging_flag()
2316 static void add_versions(struct buffer *b, struct module *mod) in add_versions()
2356 static void add_depends(struct buffer *b, struct module *mod) in add_depends()
2388 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
[all …]
Dfile2alias.c1516 void add_moddevtable(struct buffer *buf, struct module *mod) in add_moddevtable()
/scripts/kconfig/
Dlexer.l34 struct buffer { struct
35 struct buffer *parent; argument
39 static struct buffer *current_buf; argument
Dgconf.c368 GtkTextBuffer *buffer; in text_insert_help() local
375 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_help()
376 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_help()
377 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_help()
380 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
381 gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1, in text_insert_help()
383 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); in text_insert_help()
384 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
385 gtk_text_buffer_insert_with_tags(buffer, &end, str_get(&help), -1, tag2, in text_insert_help()
393 GtkTextBuffer *buffer; in text_insert_msg() local
[all …]
/scripts/genksyms/
Dgenksyms.c410 char buffer[256]; in read_node() local
412 .string = buffer, in read_node()
418 if (node.string == buffer) in read_node()
424 if (node.string == buffer) in read_node()
429 if (node.string >= buffer + sizeof(buffer) - 1) { in read_node()
435 if (node.string == buffer) in read_node()
438 node.string = buffer; in read_node()
/scripts/
Dasn1_compiler.c346 static void tokenise(char *buffer, char *end) in tokenise() argument
355 token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); in tokenise()
363 while (buffer < end) { in tokenise()
366 line = buffer; in tokenise()
367 nl = memchr(line, '\n', end - buffer); in tokenise()
369 buffer = nl = end; in tokenise()
371 buffer = nl + 1; in tokenise()
565 char *buffer, *p; in main() local
605 if (!(buffer = malloc(st.st_size + 1))) { in main()
610 if ((readlen = read(fd, buffer, st.st_size)) < 0) { in main()
[all …]
Dspelling.txt243 bufer||buffer
244 bufufer||buffer
/scripts/clang-tools/
Drun-clang-tools.py59 sys.stderr.buffer.write(p.stdout)