Home
last modified time | relevance | path

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

/scripts/gdb/linux/
Dutils.py95 def read_u16(buffer, offset): argument
96 buffer_val = buffer[offset:offset + 2]
112 def read_u32(buffer, offset): argument
114 return read_u16(buffer, offset) + (read_u16(buffer, offset + 2) << 16)
116 return read_u16(buffer, offset + 2) + (read_u16(buffer, offset) << 16)
119 def read_u64(buffer, offset): argument
121 return read_u32(buffer, offset) + (read_u32(buffer, offset + 4) << 32)
123 return read_u32(buffer, offset + 4) + (read_u32(buffer, offset) << 32)
/scripts/
Dconmakehash.c80 char buffer[65536]; in main() local
114 while ( fgets(buffer, sizeof(buffer), ctbl) != NULL ) in main()
116 if ( (p = strchr(buffer, '\n')) != NULL ) in main()
121 p = buffer; in main()
142 fprintf(stderr, "Bad input line: %s\n", buffer); in main()
155 fprintf(stderr, "Bad input line: %s\n", buffer); in main()
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.txt232 bufufer||buffer
/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;
188 void add_moddevtable(struct buffer *buf, struct module *mod);
Dmodpost.c2136 void __attribute__((format(printf, 2, 3))) buf_printf(struct buffer *buf, in buf_printf()
2149 void buf_write(struct buffer *buf, const char *s, int len) in buf_write()
2266 static void add_header(struct buffer *b, struct module *mod) in add_header()
2291 static void add_intree_flag(struct buffer *b, int is_intree) in add_intree_flag()
2298 static void add_retpoline(struct buffer *b) in add_retpoline()
2305 static void add_staging_flag(struct buffer *b, const char *name) in add_staging_flag()
2314 static int add_versions(struct buffer *b, struct module *mod) in add_versions()
2358 static void add_depends(struct buffer *b, struct module *mod) in add_depends()
2390 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
2399 static void write_if_changed(struct buffer *b, const char *fname) in write_if_changed()
[all …]
Dfile2alias.c1481 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 struct buffer *current_buf; argument
Dgconf.c367 GtkTextBuffer *buffer; in text_insert_help() local
374 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_help()
375 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_help()
376 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_help()
379 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
380 gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1, in text_insert_help()
382 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); in text_insert_help()
383 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
384 gtk_text_buffer_insert_with_tags(buffer, &end, str_get(&help), -1, tag2, in text_insert_help()
392 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()