Searched defs:pairs (Results 1 - 10 of 10) sorted by relevance
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_hc_opl.c | 80 nvlist_t *pairs[HC_MAXPAIRS]; local 98 if (nvlist_alloc(&pairs[i], NV_UNIQUE_NAME, 0) != 0) { 103 err |= nvlist_add_string(pairs[i], FM_FMRI_HC_NAME, name); 104 err |= nvlist_add_string(pairs[i], FM_FMRI_HC_ID, idstr); 110 err |= nvlist_add_nvlist_array(fmri, FM_FMRI_HC_LIST, pairs, npairs); 117 nvlist_free(pairs[j]);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandoc.c | 353 * Collapse pairs of quotes inside quoted arguments. 361 int quoted, pairs, white; local 371 pairs = 0; 379 if (pairs) 380 cp[-pairs] = cp[0]; 392 pairs++; 412 pairs++; 427 if (pairs) 428 cp[-pairs] = '\0';
|
H A D | mdoc_argv.c | 451 int pairs; local 525 * Collapse pairs of quotes inside quoted literals. 536 pairs = 0; 539 if (pairs) 540 buf[*pos - pairs] = buf[*pos]; 547 pairs++; 550 if (pairs) 551 buf[*pos - pairs] = '\0';
|
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiboot.c | 137 int pairs; local 167 pairs = read_resume_cfg(); 169 pairs = -1; 171 if (pairs == 0) { 235 for (i = 0; i < pairs; i++) { 244 if (i != pairs) 253 for (i = 0; i < pairs; i++) {
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrboot.c | 134 int pairs; local 179 pairs = read_libcfg(flag); 182 if (pairs) { 184 " set IDs"), pairs); 187 "IDs"), pairs); 193 if (pairs == 0) { 202 while (pairs--) { 217 pair_list[pairs].ffile, NSC_MAXPATH); 219 pair_list[pairs].tfile, NSC_MAXPATH); 221 pair_list[pairs] [all...] |
H A D | sndradm.c | 82 * rdc_islocal is only pertinent while creating the pairs array. 83 * after all the pairs are set, its value is useless, retaining 1728 int pairs; local 2273 pairs = read_libcfg(flag, group_arg, ctag_arg); 2274 if (pairs == 0) { 2694 pairs = 1; 2696 pairs = read_config(flag, config_file, group_arg, ctag_arg); 2697 if (pairs == 0) { 2706 while (pairs--) { 2709 (void) strncpy(fromfile, pair_list[pairs] [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | fm.c | 900 nvlist_t *pairs[HC_MAXPAIRS]; local 917 pairs[i] = fm_nvlist_create(nva); 918 if (nvlist_add_string(pairs[i], FM_FMRI_HC_NAME, name) != 0 || 919 nvlist_add_string(pairs[i], FM_FMRI_HC_ID, idstr) != 0) { 926 if (nvlist_add_nvlist_array(fmri, FM_FMRI_HC_LIST, pairs, npairs) != 0) 930 fm_nvlist_destroy(pairs[i], FM_NVA_RETAIN); 1291 nvlist_t *pairs[HC_MAXPAIRS]; local 1302 * copy the bboard nvpairs to the pairs array 1323 pairs[i] = fm_nvlist_create(nva); 1324 if (nvlist_add_string(pairs[ [all...] |
/illumos-gate/usr/src/uts/intel/os/ |
H A D | fmsmb.c | 778 nvlist_t *pairs[MAX_PAIRS]; local 789 pairs[n] = NULL; 813 pairs[i] = fm_nvlist_create(NULL); 814 if (pairs[i] == NULL) { 819 if ((nvlist_add_string(pairs[i], FM_FMRI_HC_NAME, 821 (nvlist_add_string(pairs[i], FM_FMRI_HC_ID, idstr)) != 0) { 822 fm_nvlist_destroy(pairs[i], FM_NVA_FREE); 831 pairs[i] = fm_nvlist_create(NULL); 832 if (pairs[i] == NULL) { 834 if (pairs[ [all...] |
/illumos-gate/usr/src/lib/hal/libhal-storage/common/ |
H A D | libhal-storage.c | 127 libhal_storage_policy_set_icon_mapping (LibHalStoragePolicy *policy, LibHalStoragePolicyIconPair *pairs) argument 131 for (i = pairs; i->icon != 0x00; i++) {
|
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | libfru.cc | 1150 TagInstPair *pairs; member in struct:tag_inst_hist_t 1161 if (tags_equal((hist->pairs)[s].tag, tag)) { 1163 hist->pairs[s].inst++; 1173 (hist->pairs)[(hist->numStored)].tag.raw_data = tag.raw_data; 1174 (hist->pairs)[(hist->numStored)].inst = 0; 1185 if (tags_equal((hist->pairs)[j].tag, tag)) { 1186 *instance = (hist->pairs)[j].inst; 1210 hist.pairs = (TagInstPair *)alloca(sizeof (TagInstPair) * num_tags); 1211 if (hist.pairs == NULL) { 1288 hist.pairs [all...] |
Completed in 126 milliseconds