/scripts/gdb/linux/ |
D | utils.py | 94 def read_u16(buffer): argument 97 if type(buffer[0]) is str: 98 value[0] = ord(buffer[0]) 99 value[1] = ord(buffer[1]) 101 value[0] = buffer[0] 102 value[1] = buffer[1] 110 def read_u32(buffer): argument 112 return read_u16(buffer[0:2]) + (read_u16(buffer[2:4]) << 16) 114 return read_u16(buffer[2:4]) + (read_u16(buffer[0:2]) << 16) 117 def read_u64(buffer): argument [all …]
|
/scripts/ |
D | conmakehash.c | 83 char buffer[65536]; in main() local 117 while ( fgets(buffer, sizeof(buffer), ctbl) != NULL ) in main() 119 if ( (p = strchr(buffer, '\n')) != NULL ) in main() 124 p = buffer; in main() 145 fprintf(stderr, "Bad input line: %s\n", buffer); in main() 158 fprintf(stderr, "Bad input line: %s\n", buffer); in main()
|
D | asn1_compiler.c | 350 static void tokenise(char *buffer, char *end) in tokenise() argument 359 token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); in tokenise() 367 while (buffer < end) { in tokenise() 370 line = buffer; in tokenise() 371 nl = memchr(line, '\n', end - buffer); in tokenise() 373 buffer = nl = end; in tokenise() 375 buffer = nl + 1; in tokenise() 569 char *buffer, *p; in main() local 609 if (!(buffer = malloc(st.st_size + 1))) { in main() 614 if ((readlen = read(fd, buffer, st.st_size)) < 0) { in main() [all …]
|
/scripts/kconfig/ |
D | zconf.lex.c_shipped | 161 /* Size of default input buffer. */ 164 /* On IA-64, the buffer size is 16k, not 8k. 174 /* The state buf must be large enough to hold one state per character in the main buffer. 220 char *yy_ch_buf; /* input buffer */ 221 char *yy_buf_pos; /* current position in input buffer */ 223 /* Size of input buffer in bytes, not including room for EOB 233 /* Whether we "own" the buffer - i.e., we know we created it, 255 /* Whether to try to fill the input buffer when we reach the 265 * then we mark the buffer as YY_EOF_PENDING, to indicate that we 284 /* We provide macros for accessing buffer states in case in the [all …]
|
D | gconf.c | 369 GtkTextBuffer *buffer; in text_insert_help() local 376 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_help() 377 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_help() 378 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_help() 381 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help() 382 gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1, in text_insert_help() 384 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); in text_insert_help() 385 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help() 386 gtk_text_buffer_insert_with_tags(buffer, &end, str_get(&help), -1, tag2, in text_insert_help() 394 GtkTextBuffer *buffer; in text_insert_msg() local [all …]
|
D | zconf.l | 29 struct buffer { struct 30 struct buffer *parent; argument 34 struct buffer *current_buf; argument
|
/scripts/mod/ |
D | modpost.h | 99 struct buffer { struct 106 buf_printf(struct buffer *buf, const char *fmt, ...); argument 109 buf_write(struct buffer *buf, const char *s, int len); 120 struct buffer dev_table_buf; 177 void add_moddevtable(struct buffer *buf, struct module *mod);
|
D | modpost.c | 2019 void __attribute__((format(printf, 2, 3))) buf_printf(struct buffer *buf, in buf_printf() 2032 void buf_write(struct buffer *buf, const char *s, int len) in buf_write() 2106 static void add_header(struct buffer *b, struct module *mod) in add_header() 2127 static void add_intree_flag(struct buffer *b, int is_intree) in add_intree_flag() 2134 static void add_retpoline(struct buffer *b) in add_retpoline() 2141 static void add_staging_flag(struct buffer *b, const char *name) in add_staging_flag() 2157 static int add_versions(struct buffer *b, struct module *mod) in add_versions() 2213 static void add_depends(struct buffer *b, struct module *mod, in add_depends() 2248 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion() 2257 static void write_if_changed(struct buffer *b, const char *fname) in write_if_changed() [all …]
|
D | file2alias.c | 1404 void add_moddevtable(struct buffer *buf, struct module *mod) in add_moddevtable()
|
/scripts/dtc/ |
D | dtc-lexer.lex.c_shipped | 143 /* Size of default input buffer. */ 146 /* On IA-64, the buffer size is 16k, not 8k. 156 /* The state buf must be large enough to hold one state per character in the main buffer. 203 char *yy_ch_buf; /* input buffer */ 204 char *yy_buf_pos; /* current position in input buffer */ 206 /* Size of input buffer in bytes, not including room for EOB 216 /* Whether we "own" the buffer - i.e., we know we created it, 238 /* Whether to try to fill the input buffer when we reach the 248 * then we mark the buffer as YY_EOF_PENDING, to indicate that we 267 /* We provide macros for accessing buffer states in case in the [all …]
|
/scripts/genksyms/ |
D | lex.lex.c_shipped | 141 /* Size of default input buffer. */ 146 /* The state buf must be large enough to hold one state per character in the main buffer. 192 char *yy_ch_buf; /* input buffer */ 193 char *yy_buf_pos; /* current position in input buffer */ 195 /* Size of input buffer in bytes, not including room for EOB 205 /* Whether we "own" the buffer - i.e., we know we created it, 227 /* Whether to try to fill the input buffer when we reach the 237 * then we mark the buffer as YY_EOF_PENDING, to indicate that we 256 /* We provide macros for accessing buffer states in case in the 257 * future we want to put the buffer states in a more general [all …]
|
D | genksyms.c | 422 char buffer[256]; in read_node() local 424 .string = buffer, in read_node() 430 if (node.string == buffer) in read_node() 436 if (node.string == buffer) in read_node() 441 if (node.string >= buffer + sizeof(buffer) - 1) { in read_node() 447 if (node.string == buffer) in read_node() 450 node.string = buffer; in read_node()
|