| /openbsd-src/usr.bin/tmux/ |
| H A D | cmd-command-prompt.c | 87 struct cmd_command_prompt_cdata *cdata; in cmd_command_prompt_exec() local 98 cdata = xcalloc(1, sizeof *cdata); in cmd_command_prompt_exec() 100 cdata->item = item; in cmd_command_prompt_exec() 101 cdata->state = args_make_commands_prepare(self, item, 0, "%1", wait, in cmd_command_prompt_exec() 106 tmp = args_make_commands_get_command(cdata->state); in cmd_command_prompt_exec() 121 cdata->prompts = xreallocarray(cdata->prompts, cdata->count + 1, in cmd_command_prompt_exec() 122 sizeof *cdata->prompts); in cmd_command_prompt_exec() 127 cdata->prompts[cdata->count].prompt = tmp; in cmd_command_prompt_exec() 135 cdata->prompts[cdata->count].input = xstrdup(input); in cmd_command_prompt_exec() 137 cdata->count++; in cmd_command_prompt_exec() [all …]
|
| H A D | cmd-run-shell.c | 81 struct cmd_run_shell_data *cdata = job_get_data(job); in cmd_run_shell_print() local 86 if (cdata->wp_id != -1) in cmd_run_shell_print() 87 wp = window_pane_find_by_id(cdata->wp_id); in cmd_run_shell_print() 89 if (cdata->item != NULL) { in cmd_run_shell_print() 90 cmdq_print(cdata->item, "%s", msg); in cmd_run_shell_print() 93 if (cdata->item != NULL && cdata->client != NULL) in cmd_run_shell_print() 94 wp = server_client_get_pane(cdata->client); in cmd_run_shell_print() 112 struct cmd_run_shell_data *cdata; in cmd_run_shell_exec() local 132 cdata = xcalloc(1, sizeof *cdata); in cmd_run_shell_exec() 136 cdata->cmd = format_single_from_target(item, cmd); in cmd_run_shell_exec() [all …]
|
| H A D | cmd-source-file.c | 81 cmd_source_file_complete(struct client *c, struct cmd_source_file_data *cdata) in cmd_source_file_complete() 87 if (cdata->retval == CMD_RETURN_ERROR && 92 cmdq_insert_after(cdata->after, new_item); in cmd_source_file_done() local 95 for (i = 0; i < cdata->nfiles; i++) in cmd_source_file_done() 96 free(cdata->files[i]); in cmd_source_file_done() 97 free(cdata->files); in cmd_source_file_done() 98 free(cdata); in cmd_source_file_done() 105 struct cmd_source_file_data *cdata = data; in cmd_source_file_done() 106 struct cmdq_item *item = cdata->item; in cmd_source_file_done() 119 if (load_cfg_from_buffer(bdata, bsize, path, c, cdata in cmd_source_file_done() 68 cmd_source_file_complete(struct client * c,struct cmd_source_file_data * cdata) cmd_source_file_complete() argument 123 cmd_source_file_add(struct cmd_source_file_data * cdata,const char * path) cmd_source_file_add() argument 135 struct cmd_source_file_data *cdata; cmd_source_file_exec() local [all...] |
| H A D | cmd-if-shell.c | 77 struct cmd_if_shell_data *cdata; in cmd_if_shell_exec() local 104 cdata = xcalloc(1, sizeof *cdata); in cmd_if_shell_exec() 106 cdata->cmd_if = args_make_commands_prepare(self, item, 1, NULL, wait, in cmd_if_shell_exec() 109 cdata->cmd_else = args_make_commands_prepare(self, item, 2, in cmd_if_shell_exec() 114 cdata->client = cmdq_get_client(item); in cmd_if_shell_exec() 115 cdata->item = item; in cmd_if_shell_exec() 117 cdata->client = tc; in cmd_if_shell_exec() 118 if (cdata->client != NULL) in cmd_if_shell_exec() 119 cdata->client->references++; in cmd_if_shell_exec() 123 cmd_if_shell_callback, cmd_if_shell_free, cdata, 0, -1, in cmd_if_shell_exec() [all …]
|
| H A D | cmd-confirm-before.c | 70 struct cmd_confirm_before_data *cdata; in cmd_confirm_before_exec() local 77 cdata = xcalloc(1, sizeof *cdata); in cmd_confirm_before_exec() 78 cdata->cmdlist = args_make_commands_now(self, item, 0, 1); in cmd_confirm_before_exec() 79 if (cdata->cmdlist == NULL) { in cmd_confirm_before_exec() 80 free(cdata); in cmd_confirm_before_exec() 85 cdata->item = item; in cmd_confirm_before_exec() 87 cdata->default_yes = args_has(args, 'y'); in cmd_confirm_before_exec() 92 cdata->confirm_key = confirm_key[0]; in cmd_confirm_before_exec() 95 free(cdata); in cmd_confirm_before_exec() 124 struct cmd_confirm_before_data *cdata = data; cmd_confirm_before_callback() local 159 struct cmd_confirm_before_data *cdata = data; cmd_confirm_before_free() local [all...] |
| H A D | cmd-load-buffer.c | 57 struct cmd_load_buffer_data *cdata = data; in cmd_load_buffer_done() local 58 struct client *tc = cdata->client; in cmd_load_buffer_done() 59 struct cmdq_item *item = cdata->item; in cmd_load_buffer_done() 73 if (paste_set(copy, bsize, cdata->name, &cause) != 0) { in cmd_load_buffer_done() 86 free(cdata->name); in cmd_load_buffer_done() 87 free(cdata); in cmd_load_buffer_done() 95 struct cmd_load_buffer_data *cdata; in cmd_load_buffer_exec() local 99 cdata = xcalloc(1, sizeof *cdata); in cmd_load_buffer_exec() 100 cdata->item = item; in cmd_load_buffer_exec() 102 cdata->name = xstrdup(bufname); in cmd_load_buffer_exec() [all …]
|
| H A D | cmd-display-panes.c | 215 struct cmd_display_panes_data *cdata = data; in cmd_display_panes_free() local 217 if (cdata->item != NULL) in cmd_display_panes_free() 218 cmdq_continue(cdata->item); in cmd_display_panes_free() 219 args_make_commands_free(cdata->state); in cmd_display_panes_free() 220 free(cdata); in cmd_display_panes_free() 226 struct cmd_display_panes_data *cdata = data; in cmd_display_panes_key() local 228 struct cmdq_item *item = cdata->item, *new_item; in cmd_display_panes_key() 253 cmdlist = args_make_commands(cdata->state, 1, &expanded, &error); in cmd_display_panes_key() 277 struct cmd_display_panes_data *cdata; in cmd_display_panes_exec() local 293 cdata = xcalloc(1, sizeof *cdata); in cmd_display_panes_exec() [all …]
|
| H A D | window.c | 1635 struct window_pane_input_data *cdata = data; 1640 wp = window_pane_find_by_id(cdata->wp); in window_set_fill_character() 1641 if (cdata->file != NULL && (wp == NULL || c->flags & CLIENT_DEAD)) { in window_set_fill_character() 1646 file_cancel(cdata->file); in window_set_fill_character() 1647 } else if (cdata->file == NULL || closed || error != 0) { in window_set_fill_character() 1648 cmdq_continue(cdata->item); in window_set_fill_character() 1650 free(cdata); in window_set_fill_character() 1661 struct window_pane_input_data *cdata; in window_pane_default_cursor() 1672 cdata = xmalloc(sizeof *cdata); 1568 struct window_pane_input_data *cdata = data; window_pane_input_callback() local 1594 struct window_pane_input_data *cdata; window_pane_start_input() local [all...] |
| /openbsd-src/lib/libc/crypt/ |
| H A D | bcrypt.c | 102 u_int32_t cdata[BCRYPT_WORDS]; in bcrypt_hashpass() local 171 cdata[i] = Blowfish_stream2word(ciphertext, 4 * BCRYPT_WORDS, &j); in bcrypt_hashpass() 175 blf_enc(&state, cdata, BCRYPT_WORDS / 2); in bcrypt_hashpass() 178 ciphertext[4 * i + 3] = cdata[i] & 0xff; in bcrypt_hashpass() 179 cdata[i] = cdata[i] >> 8; in bcrypt_hashpass() 180 ciphertext[4 * i + 2] = cdata[i] & 0xff; in bcrypt_hashpass() 181 cdata[i] = cdata[i] >> 8; in bcrypt_hashpass() 182 ciphertext[4 * i + 1] = cdata[i] & 0xff; in bcrypt_hashpass() 183 cdata[i] = cdata[i] >> 8; in bcrypt_hashpass() 184 ciphertext[4 * i + 0] = cdata[i] & 0xff; in bcrypt_hashpass() [all …]
|
| /openbsd-src/sys/lib/libsa/ |
| H A D | bcrypt_pbkdf.c | 60 uint32_t cdata[BCRYPT_WORDS]; in bcrypt_hash() local 76 cdata[i] = Blowfish_stream2word(ciphertext, sizeof(ciphertext), in bcrypt_hash() 79 blf_enc(&state, cdata, BCRYPT_WORDS / 2); in bcrypt_hash() 83 out[4 * i + 3] = (cdata[i] >> 24) & 0xff; in bcrypt_hash() 84 out[4 * i + 2] = (cdata[i] >> 16) & 0xff; in bcrypt_hash() 85 out[4 * i + 1] = (cdata[i] >> 8) & 0xff; in bcrypt_hash() 86 out[4 * i + 0] = cdata[i] & 0xff; in bcrypt_hash() 91 explicit_bzero(cdata, sizeof(cdata)); in bcrypt_hash()
|
| /openbsd-src/lib/libutil/ |
| H A D | bcrypt_pbkdf.c | 62 uint32_t cdata[BCRYPT_WORDS]; in bcrypt_hash() local 78 cdata[i] = Blowfish_stream2word(ciphertext, sizeof(ciphertext), in bcrypt_hash() 81 blf_enc(&state, cdata, BCRYPT_WORDS / 2); in bcrypt_hash() 85 out[4 * i + 3] = (cdata[i] >> 24) & 0xff; in bcrypt_hash() 86 out[4 * i + 2] = (cdata[i] >> 16) & 0xff; in bcrypt_hash() 87 out[4 * i + 1] = (cdata[i] >> 8) & 0xff; in bcrypt_hash() 88 out[4 * i + 0] = cdata[i] & 0xff; in bcrypt_hash() 93 explicit_bzero(cdata, sizeof(cdata)); in bcrypt_hash()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_libbacktrace.cpp | 112 SymbolizeCodeCallbackArg *cdata = (SymbolizeCodeCallbackArg *)vdata; in SymbolizeCodePCInfoCallback() local 114 AddressInfo *info = cdata->get_new_frame(addr); in SymbolizeCodePCInfoCallback() 119 cdata->frames_symbolized++; in SymbolizeCodePCInfoCallback() 126 SymbolizeCodeCallbackArg *cdata = (SymbolizeCodeCallbackArg *)vdata; in SymbolizeCodeCallback() local 128 AddressInfo *info = cdata->get_new_frame(addr); in SymbolizeCodeCallback() 130 cdata->frames_symbolized++; in SymbolizeCodeCallback()
|
| /openbsd-src/sys/arch/alpha/eisa/ |
| H A D | eisa_machdep.c | 336 u_int8_t *cdata, *data; in eisa_init() local 406 cdata = malloc(CBUFSIZE, M_TEMP, M_ZERO|M_WAITOK); in eisa_init() 416 eisa_read_config_bytes(cfgaddr, &cdata[0], 1); in eisa_init() 424 eisa_read_config_bytes(cfgaddr, &cdata[i], 1); in eisa_init() 425 if (cdata[i - 1] == 0 && cdata[i] == 0) in eisa_init() 447 printf("0x%02x ", cdata[j]); in eisa_init() 453 cdp = cdata; in eisa_init() 575 free(cdata, M_TEMP, CBUFSIZE); in eisa_init()
|
| /openbsd-src/usr.bin/ctfconv/ |
| H A D | generate.c | 396 char *cdata; in generate() 399 cdata = data_compress(ctfdata + sizeof(cth), in generate() 401 if (cdata == NULL) { in generate() 407 memcpy(ctfdata + sizeof(cth), cdata, clen); in generate() 410 free(cdata); in generate() 394 char *cdata; generate() local
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | coffread.c | 504 coff_data_type *cdata = coff_data (abfd); in coff_symfile_read() local 521 symtab_offset = cdata->sym_filepos; /* Symbol table file offset */ in coff_symfile_read() 523 num_symbols * cdata->local_symesz; in coff_symfile_read() 527 local_n_btmask = cdata->local_n_btmask; in coff_symfile_read() 528 local_n_btshft = cdata->local_n_btshft; in coff_symfile_read() 529 local_n_tmask = cdata->local_n_tmask; in coff_symfile_read() 530 local_n_tshift = cdata->local_n_tshift; in coff_symfile_read() 531 local_linesz = cdata->local_linesz; in coff_symfile_read() 532 local_symesz = cdata->local_symesz; in coff_symfile_read() 533 local_auxesz = cdata->local_auxesz; in coff_symfile_read() [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/__ranges/ |
| H A D | data.h | 104 inline constexpr auto cdata = __cdata::__fn{};
|
| /openbsd-src/sys/dev/pci/drm/radeon/ |
| H A D | radeon_cs.c | 314 uint32_t __user *cdata; in radeon_cs_parser_init() local 345 cdata = (void __user *)(unsigned long)user_chunk.chunk_data; in radeon_cs_parser_init() 346 p->chunks[i].user_ptr = cdata; in radeon_cs_parser_init() 360 if (copy_from_user(p->chunks[i].kdata, cdata, size)) { in radeon_cs_parser_init()
|
| /openbsd-src/usr.bin/dig/lib/dns/ |
| H A D | name.c | 1203 unsigned char *cdata, *ndata; in dns_name_fromwire() local 1264 cdata = isc_buffer_current(source); in dns_name_fromwire() 1276 c = *cdata++; in dns_name_fromwire() 1328 cdata = (unsigned char *)source->base + current; in dns_name_fromwire()
|
| /openbsd-src/sys/dev/pci/ |
| H A D | maestro.c | 597 u_int16_t cdata; in maestro_attach() local 676 maestro_read_codec(sc, 0, &cdata); in maestro_attach() 677 if (cdata == 0x80) { in maestro_attach()
|
| /openbsd-src/sys/dev/pci/drm/amd/amdgpu/ |
| H A D | amdgpu_cs.c | 212 uint32_t __user *cdata; in amdgpu_cs_pass1() local 225 cdata = u64_to_user_ptr(user_chunk.chunk_data); in amdgpu_cs_pass1() 235 if (copy_from_user(p->chunks[i].kdata, cdata, size)) { in amdgpu_cs_pass1()
|
| /openbsd-src/share/zoneinfo/datfiles/ |
| H A D | asia | 883 # http://www.cwb.gov.tw/V6/astronomy/cdata/summert.htm
|