Home
last modified time | relevance | path

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

/scripts/gdb/linux/
Dutils.py97 def read_u16(buffer, offset): argument
98 buffer_val = buffer[offset:offset + 2]
114 def read_u32(buffer, offset): argument
116 return read_u16(buffer, offset) + (read_u16(buffer, offset + 2) << 16)
118 return read_u16(buffer, offset + 2) + (read_u16(buffer, offset) << 16)
121 def read_u64(buffer, offset): argument
123 return read_u32(buffer, offset) + (read_u32(buffer, offset + 4) << 32)
125 return read_u32(buffer, offset + 4) + (read_u32(buffer, offset) << 32)
128 def read_ulong(buffer, offset): argument
130 return read_u64(buffer, offset)
[all …]
/scripts/mod/
Dmodpost.h100 struct buffer { struct
107 buf_printf(struct buffer *buf, const char *fmt, ...); argument
110 buf_write(struct buffer *buf, const char *s, int len);
126 struct buffer dev_table_buf;
184 void add_moddevtable(struct buffer *buf, struct module *mod);
Dmodpost.c2079 void __attribute__((format(printf, 2, 3))) buf_printf(struct buffer *buf, in buf_printf()
2092 void buf_write(struct buffer *buf, const char *s, int len) in buf_write()
2165 static void add_header(struct buffer *b, struct module *mod) in add_header()
2197 static void add_intree_flag(struct buffer *b, int is_intree) in add_intree_flag()
2211 static void add_scmversion(struct buffer *b) in add_scmversion()
2218 static void add_retpoline(struct buffer *b) in add_retpoline()
2225 static void add_staging_flag(struct buffer *b, const char *name) in add_staging_flag()
2234 static void add_versions(struct buffer *b, struct module *mod) in add_versions()
2274 static void add_depends(struct buffer *b, struct module *mod) in add_depends()
2306 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
[all …]
Dfile2alias.c1573 void add_moddevtable(struct buffer *buf, struct module *mod) in add_moddevtable()
/scripts/kconfig/
Dlexer.l33 struct buffer { struct
34 struct buffer *parent; argument
38 static struct buffer *current_buf; argument
Dgconf.c364 GtkTextBuffer *buffer; in text_insert_help() local
371 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_help()
372 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_help()
373 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_help()
376 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
377 gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1, in text_insert_help()
379 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); 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, str_get(&help), -1, tag2, in text_insert_help()
389 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.txt251 bufer||buffer
252 bufufer||buffer
/scripts/clang-tools/
Drun-clang-tools.py59 sys.stderr.buffer.write(p.stdout)