| /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);
|
| 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...] |
| 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);
|
| 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-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-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);
|
| /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...] |
| 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:__anon98 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...] |
| dict_nisplus.c | 68 char *template; /* parsed query template */ member in struct:__anon98 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/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);
|