/illumos-gate/usr/src/lib/sasl_plugins/gssapi/ |
H A D | gssapi.c | 187 #define sasl_gss_log(x,y,z) sasl_gss_seterror_(text,y,z,1) 188 #define sasl_gss_seterror(x,y,z) sasl_gss_seterror_(text,y,z,0) 190 sasl_gss_seterror_(const context_t *text, OM_uint32 maj, OM_uint32 min, in sasl_gss_seterror_() argument 204 const sasl_utils_t *utils = text->utils; in sasl_gss_seterror_() 223 GSS_C_GSS_CODE, text->mech_oid, in sasl_gss_seterror_() 231 utils->log(text->utils->conn, SASL_LOG_FAIL, in sasl_gss_seterror_() 285 GSS_C_MECH_CODE, text->mech_oid, 293 utils->log(text->utils->conn, SASL_LOG_FAIL, 343 utils->log(text->utils->conn, SASL_LOG_FAIL, out); 357 context_t *text = (context_t *)context; in sasl_gss_encode() local [all …]
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 750 static int dec_3des(context_t *text, argument 757 des_context_t *c = (des_context_t *) text->cipher_dec_context; 790 static int enc_3des(context_t *text, argument 797 des_context_t *c = (des_context_t *) text->cipher_enc_context; 824 static int init_3des(context_t *text, argument 832 c = (des_context_t *) text->utils->malloc(2 * sizeof(des_context_t)); 845 text->cipher_enc_context = (cipher_context_t *) c; 859 text->cipher_dec_context = (cipher_context_t *) c; 871 static int dec_des(context_t *text, argument 878 des_context_t *c = (des_context_t *) text->cipher_dec_context; [all …]
|
/illumos-gate/usr/src/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 81 uint8_t *text, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) in dt_pid_has_jump_table() argument 94 size = dt_instr_size(&text[i], dtp, pid, symp->st_value + i, in dt_pid_has_jump_table() 110 if ((text[i] == 0xff && DT_MODRM_REG(text[i + 1]) == 4) || in dt_pid_has_jump_table() 111 (dmodel == PR_MODEL_LP64 && (text[i] & 0xf0) == 0x40 && in dt_pid_has_jump_table() 112 text[i + 1] == 0xff && DT_MODRM_REG(text[i + 2]) == 4)) { in dt_pid_has_jump_table() 127 uint8_t *text; in dt_pid_create_return_probe() local 137 if ((text = calloc(1, symp->st_size + 4)) == NULL) { in dt_pid_create_return_probe() 142 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { in dt_pid_create_return_probe() 144 free(text); in dt_pid_create_return_probe() 166 if (dt_pid_has_jump_table(P, dtp, text, ftp, symp)) { in dt_pid_create_return_probe() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/sparc/ |
H A D | dt_isadep.c | 74 uint32_t *text; in dt_pid_create_return_probe() local 78 if ((text = malloc(symp->st_size + 4)) == NULL) { in dt_pid_create_return_probe() 83 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { in dt_pid_create_return_probe() 85 free(text); in dt_pid_create_return_probe() 93 text[symp->st_size / 4] = 0; in dt_pid_create_return_probe() 106 while (text[i] == FASTTRAP_INSTR) { in dt_pid_create_return_probe() 116 if (Pread(P, &text[i], 4, in dt_pid_create_return_probe() 120 free(text); in dt_pid_create_return_probe() 126 free(text); in dt_pid_create_return_probe() 132 text[i] = instr.ftiq_instr; in dt_pid_create_return_probe() [all …]
|
/illumos-gate/usr/src/lib/sasl_plugins/login/ |
H A D | login.c | 89 server_context_t *text; in login_server_mech_new() local 92 text = sparams->utils->malloc(sizeof(server_context_t)); in login_server_mech_new() 93 if (text == NULL) { in login_server_mech_new() 98 memset(text, 0, sizeof(server_context_t)); in login_server_mech_new() 100 text->state = 1; in login_server_mech_new() 102 *conn_context = text; in login_server_mech_new() 118 server_context_t *text = (server_context_t *) conn_context; in login_server_mech_step() local 123 switch (text->state) { in login_server_mech_step() 126 text->state = 2; in login_server_mech_step() 153 text->username = in login_server_mech_step() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | display.c | 79 display(win, text, size) in display() argument 81 register char *text; 90 if (*text == '\n'|| *text == '\r') { 92 text++; 98 if (*text == win->cerase) { 104 text++; 112 if (*text == win->werase) { 137 if (*text == win->kill) { 141 text++; 144 if (*text == '\f') { [all …]
|
/illumos-gate/usr/src/lib/sasl_plugins/cram/ |
H A D | cram.c | 118 server_context_t *text; in crammd5_server_mech_new() local 121 text = sparams->utils->malloc(sizeof(server_context_t)); in crammd5_server_mech_new() 122 if (text == NULL) { in crammd5_server_mech_new() 127 memset(text, 0, sizeof(server_context_t)); in crammd5_server_mech_new() 129 text->state = 1; in crammd5_server_mech_new() 131 *conn_context = text; in crammd5_server_mech_new() 191 crammd5_server_mech_step1(server_context_t *text, in crammd5_server_mech_step1() argument 221 text->challenge = sparams->utils->malloc(200 + 1); in crammd5_server_mech_step1() 222 if (text->challenge == NULL) { in crammd5_server_mech_step1() 228 snprintf(text->challenge, 200, "<%s.%s@%s>", randdigits, time, in crammd5_server_mech_step1() [all …]
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | external.c | 242 client_context_t *text; in external_client_mech_new() local 254 text = params->utils->malloc(sizeof(client_context_t)); in external_client_mech_new() 256 text = sasl_ALLOC(sizeof(client_context_t)); in external_client_mech_new() 258 if(!text) return SASL_NOMEM; in external_client_mech_new() 260 memset(text, 0, sizeof(client_context_t)); in external_client_mech_new() 262 *conn_context = text; in external_client_mech_new() 277 client_context_t *text = (client_context_t *)conn_context; in external_client_mech_step() local 319 _plug_make_prompts(params->utils, &text->h, prompt_need, in external_client_mech_step() 321 convert_prompt(params->utils, &text->h, in external_client_mech_step() 342 result = _plug_buf_alloc(params->utils, &text->out_buf, in external_client_mech_step() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_login.c | 1067 char *text = data; in iscsi_process_login_response() local 1089 end = text + ntoh24(ilrhp->dlength) + 1; in iscsi_process_login_response() 1154 while (text && (text < end)) { in iscsi_process_login_response() 1161 while ((text < end) && (*text == '\0')) { in iscsi_process_login_response() 1162 text++; in iscsi_process_login_response() 1164 if (text >= end) { in iscsi_process_login_response() 1180 text, end, &value, &value_end)) { in iscsi_process_login_response() 1194 text = value_end; in iscsi_process_login_response() 1197 text, end, &value, &value_end)) { in iscsi_process_login_response() 1205 text = value_end; in iscsi_process_login_response() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | fill_db_type_size.pl | 18 my $text = shift; 20 if ($text =~ /s64min/) { 22 } elsif ($text =~/s32min/) { 24 } elsif ($text =~ /s16min/) { 26 } elsif ($text =~ /s64max/) { 28 } elsif ($text =~ /s32max/) { 30 } elsif ($text =~ /s16max/) { 32 } elsif ($text =~ /u64max/) { 34 } elsif ($text =~ /u32max/) { 36 } elsif ($text =~ /u16max/) { [all …]
|
H A D | fill_db_type_value.pl | 17 my $text = shift; 19 if ($text =~ /s64min/) { 21 } elsif ($text =~/s32min/) { 23 } elsif ($text =~ /s16min/) { 25 } elsif ($text =~ /s64max/) { 27 } elsif ($text =~ /s32max/) { 29 } elsif ($text =~ /s16max/) { 31 } elsif ($text =~ /u64max/) { 33 } elsif ($text =~ /u32max/) { 35 } elsif ($text =~ /u16max/) { [all …]
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_plugin.c | 101 __audit_dowarn(char *option, char *text, int count) in __audit_dowarn() argument 119 if (text == NULL) in __audit_dowarn() 120 text = empty; in __audit_dowarn() 123 (void) execl(auditwarn, auditwarn, option, text, 0); in __audit_dowarn() 128 (void) execl(auditwarn, auditwarn, option, text, countstr, 0); in __audit_dowarn() 136 gettext("soft limit in %s.\n"), text); in __audit_dowarn() 139 gettext("hard limit in %s.\n"), text); in __audit_dowarn() 167 __audit_dowarn2(char *option, char *name, char *error, char *text, int count) in __audit_dowarn2() argument 186 if ((text == NULL) || (*text == '\0')) in __audit_dowarn2() 187 text = empty; in __audit_dowarn2() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.chargend/ |
H A D | in.chargend.c | 66 char text[LINESIZE+2]; in chargen_stream() local 78 dp = text; in chargen_stream() 95 if (safe_write(s, text, dp - text) != 0) in chargen_stream() 105 char text[LINESIZE+2]; in chargen_dg() local 114 (void) memmove(text, rp, i); in chargen_dg() 118 (void) memmove(text, rp, i); in chargen_dg() 123 text[LINESIZE - 2] = '\r'; in chargen_dg() 124 text[LINESIZE - 1] = '\n'; in chargen_dg() 126 (void) safe_sendto(s, text, sizeof (text), 0, sap, sa_size); in chargen_dg()
|
/illumos-gate/usr/src/lib/sasl_plugins/plain/ |
H A D | plain.c | 285 client_context_t *text; in plain_client_mech_new() local 288 text = params->utils->malloc(sizeof(client_context_t)); in plain_client_mech_new() 289 if (text == NULL) { in plain_client_mech_new() 294 memset(text, 0, sizeof(client_context_t)); in plain_client_mech_new() 296 *conn_context = text; in plain_client_mech_new() 310 client_context_t *text = (client_context_t *) conn_context; in plain_client_mech_step() local 371 _plug_make_prompts(params->utils, &text->h, prompt_need, in plain_client_mech_step() 373 convert_prompt(params->utils, &text->h, in plain_client_mech_step() 378 convert_prompt(params->utils, &text->h, in plain_client_mech_step() 383 convert_prompt(params->utils, &text->h, in plain_client_mech_step() [all …]
|
/illumos-gate/usr/src/cmd/auditrecord/ |
H A D | mkmsg.pl | 127 my @text = @_; 129 my $text; 130 foreach $text (@text) { 131 next if ($text =~ /^$/); 132 $text =~ s/:/:/g; 133 $translateText{$text} = 1; 144 my $text; 150 foreach $text (sort keys %translateText) { 151 $text =~ s/"/\\"/g; 152 print Message "msgid \"$text\"\nmsgstr\n";
|
/illumos-gate/usr/src/test/os-tests/tests/stackalign/ |
H A D | stackalign.c | 39 #define ALIGN_ERR_IMPL(align, text) \ argument 40 "stack was not aligned to " #align " on " text "\n" 41 #define ALIGN_ERR_HELP(align, text) ALIGN_ERR_IMPL(align, text) argument 42 #define ALIGN_ERR(text) ALIGN_ERR_HELP(STACK_ALIGN, text) argument 48 char *text; member 92 .text = "pthread_create()" in main() 105 arg.text = "thr_create()"; in main() 128 arg.text = "swapcontext()"; in main() 136 arg.text = "door_call()"; in main()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uucleanup.c | 358 char text[BUFSIZ]; local 362 (void) sprintf(text, "xprocess: unlink(%s)", fullname); 365 logit(text, errno); 386 char text[BUFSIZ], text1[BUFSIZ], text2[BUFSIZ]; local 408 (void) sprintf(text, "dDprocess: dummy C. unlinked(%s)", 412 logit(text, errno); 422 (void) sprintf(text, "cprocess: Bad C. %s, unlink(%s)", 427 *text = NULLCHAR; 454 if (!*text) { 455 (void) sprintf(text, [all …]
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | copymt.c | 61 let[0].text = TRUE; /* until proven otherwise.... */ 79 if (let[nlet-1].text == TRUE) { 80 let[nlet-1].text = istext((unsigned char*)line,clen); 83 (let[nlet-1].text ? "TRUE":"FALSE")); 105 if (let[nlet-1].text == TRUE) { 106 let[nlet-1].text = istext((unsigned char*)line,n); 109 (let[nlet-1].text ? "TRUE" : "FALSE")); 151 let[nlet].text = TRUE; 177 if (let[nlet-1].text == TRUE) { 178 let[nlet-1].text = istext((unsigned char*)line,n); [all …]
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | suggestions.c | 66 pt_sugg_add(char *text, int weight, char key, char *sb_msg, sugg_func_t *func) in pt_sugg_add() argument 73 if (text == NULL) in pt_sugg_add() 86 if (text != NULL) in pt_sugg_add() 87 new->text = strdup(text); in pt_sugg_add() 99 if (strcmp(n->text, text) == 0) in pt_sugg_add() 114 new->text = strdup(text); in pt_sugg_add() 194 if (n->text != NULL) in pt_sugg_remove() 241 if (g_curr_sugg->text != NULL) in pt_sugg_pick() 250 pt_display_suggestions(n->text); in pt_sugg_pick()
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | e.y | 121 fwd : FWD text { $$ = atoi((char *) $1); } ; 122 up : UP text { $$ = atoi((char *) $1); } ; 123 back : BACK text { $$ = atoi((char *) $1); } ; 124 down : DOWN text { $$ = atoi((char *) $1); } ; 146 left : LEFT text { $$ = ((char *)$2)[0]; } 150 right : RIGHT text { $$ = ((char *)$2)[0]; } 164 size : SIZE text { $$ = ps; setsize((char *) $2); } 170 | FONT text { setfont(((char *)$2)[0]); } 180 | QTEXT { text(QTEXT, (char *) $1); } 181 | CONTIG { text(CONTIG, (char *) $1); } [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irp_nw.c | 141 char text[256]; in nw_byaddr() local 156 text, sizeof text, in nw_byaddr() 189 char text[256]; in nw_byname() local 205 text, sizeof text, in nw_byname() 234 char text[256]; in nw_rewind() local 245 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); in nw_rewind() 248 syslog(LOG_WARNING, "setnetent failed: %s", text); in nw_rewind() 267 char text[256]; in nw_next() local 278 text, sizeof text, in nw_next()
|
H A D | irp_pr.c | 132 char text[256]; in pr_byname() local 147 text, sizeof text, in pr_byname() 181 char text[256]; in pr_bynumber() local 196 text, sizeof text, in pr_bynumber() 225 char text[256]; in pr_rewind() local 236 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); in pr_rewind() 239 syslog(LOG_WARNING, "setprotoent failed: %s", text); in pr_rewind() 258 char text[256]; in pr_next() local 269 text, sizeof text, in pr_next()
|
H A D | irp_sv.c | 136 char text[256]; in sv_next() local 147 text, sizeof text, in sv_next() 179 char text[256]; in sv_byname() local 198 text, sizeof text, in sv_byname() 231 char text[256]; in sv_byport() local 250 text, sizeof text, in sv_byport() 279 char text[256]; in sv_rewind() local 290 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); in sv_rewind() 293 syslog(LOG_WARNING, "setservent failed: %s", text); in sv_rewind()
|
H A D | irp_ng.c | 125 char text[256]; in ng_rewind() local 137 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); in ng_rewind() 141 group, text); in ng_rewind() 162 char text[256]; in ng_next() local 172 text, sizeof text, in ng_next() 203 char text[256]; in ng_test() local 217 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); in ng_test()
|
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecl_curve.c | 67 if (params->text != NULL) { in ECCurveParams_dup() 69 ret->text = kmem_alloc(strlen(params->text) + 1, kmflag); in ECCurveParams_dup() 70 bcopy(params->text, ret->text, strlen(params->text) + 1); in ECCurveParams_dup() 72 CHECK(ret->text = strdup(params->text)); in ECCurveParams_dup() 155 if (params->text != NULL) in EC_FreeCurveParams() 157 kmem_free(params->text, strlen(params->text) + 1); in EC_FreeCurveParams() 159 free(params->text); in EC_FreeCurveParams()
|