| /src/external/gpl2/dtc/dist/tests/ |
| check_header.c | 26 void *fdt = dtdup(template); \ 38 void *template; local 42 template = load_blob(argv[1]); 45 err = fdt_check_header(template);
|
| /src/external/bsd/libarchive/dist/libarchive/test/ |
| test_write_format_gnutar_filenames.c | 41 struct archive_entry *ae, *template; local 49 /* Create a template entry. */ 50 assert((template = archive_entry_new()) != NULL); 51 archive_entry_set_atime(template, 2, 20); 52 archive_entry_set_birthtime(template, 3, 30); 53 archive_entry_set_ctime(template, 4, 40); 54 archive_entry_set_mtime(template, 5, 50); 55 archive_entry_set_mode(template, S_IFREG | 0755); 56 archive_entry_set_size(template, 8); 61 archive_entry_copy_pathname(template, filename) 97 struct archive_entry *ae, *template; local [all...] |
| /src/external/bsd/openpam/dist/t/ |
| t_openpam_subst.c | 58 T_FUNC(final_percent, "template ends with %") 60 char template[] = "test%\0deadbeef"; variable 65 pam_err = openpam_subst(NULL, buf, &bufsize, template);
|
| /src/external/bsd/tmux/dist/ |
| cmd-list-buffers.c | 52 const char *template, *filter; local 56 if ((template = args_get(args, 'F')) == NULL) 57 template = LIST_BUFFERS_TEMPLATE; 72 line = format_expand(ft, template);
|
| cmd-list-clients.c | 61 const char *template, *filter; local 71 if ((template = args_get(args, 'F')) == NULL) 72 template = LIST_CLIENTS_TEMPLATE; 91 line = format_expand(ft, template);
|
| cmd-list-sessions.c | 59 const char *template, *filter; local 63 if ((template = args_get(args, 'F')) == NULL) 64 template = LIST_SESSIONS_TEMPLATE; 80 line = format_expand(ft, template);
|
| cmd-break-pane.c | 63 const char *template; local 140 if ((template = args_get(args, 'F')) == NULL) 141 template = BREAK_PANE_TEMPLATE; 142 cp = format_single(item, template, tc, dst_s, wl, wp);
|
| cmd-list-panes.c | 95 const char *template, *filter; local 99 template = args_get(args, 'F'); 100 if (template == NULL) { 103 template = "#{pane_index}: " 110 template = "#{window_index}.#{pane_index}: " 117 template = "#{session_name}:#{window_index}." 140 line = format_expand(ft, template);
|
| cmd-list-windows.c | 92 const char *template, *filter; local 96 template = args_get(args, 'F'); 97 if (template == NULL) { 100 template = LIST_WINDOWS_TEMPLATE; 103 template = LIST_WINDOWS_WITH_SESSION_TEMPLATE; 122 line = format_expand(ft, template);
|
| cmd-display-message.c | 69 const char *template; local 107 template = args_string(args, 0); 109 template = args_get(args, 'F'); 110 if (template == NULL) 111 template = DISPLAY_MESSAGE_TEMPLATE; 138 msg = xstrdup(template); 140 msg = format_expand_time(ft, template);
|
| cmd-new-window.c | 65 const char *template, *name; local 145 if ((template = args_get(args, 'F')) == NULL) 146 template = NEW_WINDOW_TEMPLATE; 147 cp = format_single(item, template, tc, s, new_wl,
|
| cmd-split-window.c | 69 const char *template; local 183 if ((template = args_get(args, 'F')) == NULL) 184 template = SPLIT_WINDOW_TEMPLATE; 185 cp = format_single(item, template, tc, s, wl, new_wp);
|
| control-notify.c | 48 const char *template; local 51 template = "%layout-change #{window_id} #{window_layout} " 72 cp = format_single(NULL, template, c, NULL, wl, NULL);
|
| /src/tests/lib/libc/stdlib/ |
| t_mktemp.c | 68 char template[] = "I will barf/XXXXXX"; local 69 ATF_REQUIRE(mktemp(template) != NULL); 82 char *template; local 91 template = malloc(tlen); 92 ATF_REQUIRE(template != NULL); 94 ATF_REQUIRE(strcpy(template, path) != NULL); 95 ATF_REQUIRE(mktemp(template) != NULL); 96 ATF_REQUIRE(strlen(template) == strlen(path)); 97 ATF_REQUIRE(strcmp(template, path) != 0); 98 ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0) 121 char template[] = "\/tmp\/mktemp.XXXXXX"; local 146 char template[] = "\/tmp\/mktemp.XXXyyy"; local 173 char template[] = "\/tmp\/mktemp.XXXXXX"; local 200 char template[] = "\/tmp\/mktemp.XXXXXX"; local 235 char template[] = "\/tmp\/mktemp.XXXyyy"; local [all...] |
| /src/external/ibm-public/postfix/dist/src/util/ |
| dict_nisplus.c | 68 char *template; /* parsed query template */ member in struct:__anon23217 176 * Plug the key into the query template, which typically looks something 184 vstring_sprintf(query, dict_nisplus->template, STR(quoted_key)); 244 myfree(dict_nisplus->template); 280 * Convert the query template into an indexed name and column number. The 281 * query template looks like: 290 dict_nisplus->template = mystrdup(map); 291 translit(dict_nisplus->template, ";", ","); 292 if ((col_field = strstr(dict_nisplus->template, ".:")) != 0) [all...] |
| /src/sys/arch/x68k/stand/installboot/ |
| installboot.c | 57 char template[] = _PATH_TMP "/installbootXXXXXX"; variable 227 target = template;
|
| /src/crypto/external/bsd/netpgp/dist/src/libverify/ |
| pgpsum.c | 74 char template[256]; local 77 snprintf(template, sizeof(template), "netpgpvmd.XXXXXX"); 78 if ((fd = mkstemp(template)) < 0) { 79 fprintf(stderr, "can't mkstemp %s\n", template);
|
| /src/external/bsd/pcc/dist/pcc/driver/ |
| path.c | 123 const char *template; local 128 template = getenv("TMPDIR"); 129 if (template == NULL) 130 template = "/tmp"; 131 template_len = strlen(template); 132 if (template_len && template[template_len - 1] == '/') 137 memcpy(path, template, template_len);
|
| /src/usr.bin/xlint/lint1/ |
| main1.c | 105 char template[] = "/tmp/lint.XXXXXX"; local 108 if ((fd = mkstemp(template)) == -1) 110 (void)unlink(template);
|
| /src/usr.sbin/ypserv/makedbm/ |
| makedbm.c | 233 static const char template[] = "ypdbXXXXXX"; local 261 if (strlen(database) + strlen(template) + strlen(YPDB_SUFFIX) > 266 database, template);
|
| /src/usr.sbin/ypserv/mkalias/ |
| mkalias.c | 160 static const char template[] = "ypdbXXXXXX"; local 231 if (strlen(output) + strlen(template) + strlen(YPDB_SUFFIX) > 236 output, template);
|
| /src/crypto/external/apache2/openssl/dist/crypto/store/ |
| store_register.c | 214 OSSL_STORE_LOADER template; local 217 template.scheme = scheme; 218 template.open = NULL; 219 template.load = NULL; 220 template.eof = NULL; 221 template.closefn = NULL; 222 template.open_ex = NULL; 235 &template)) 247 OSSL_STORE_LOADER template; local 250 template.scheme = scheme [all...] |
| /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| pgpsum.c | 90 char template[256]; local 93 snprintf(template, sizeof(template), "netpgpvmd.XXXXXX"); 94 if ((fd = mkstemp(template)) < 0) { 95 fprintf(stderr, "can't mkstemp %s\n", template);
|
| /src/crypto/external/bsd/openssl/dist/crypto/store/ |
| store_register.c | 216 OSSL_STORE_LOADER template; local 219 template.scheme = scheme; 220 template.open = NULL; 221 template.load = NULL; 222 template.eof = NULL; 223 template.closefn = NULL; 224 template.open_ex = NULL; 236 &template)) == NULL) 247 OSSL_STORE_LOADER template; local 250 template.scheme = scheme [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/store/ |
| store_register.c | 208 OSSL_STORE_LOADER template; local 211 template.scheme = scheme; 212 template.open = NULL; 213 template.load = NULL; 214 template.eof = NULL; 215 template.close = NULL; 227 loader = lh_OSSL_STORE_LOADER_retrieve(loader_register, &template); 242 OSSL_STORE_LOADER template; local 245 template.scheme = scheme; 246 template.open = NULL [all...] |