Home
last modified time | relevance | path

Searched refs:fstr (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-meta/
H A Dmap.c343 struct berval *fstr, in ldap_back_int_filter_map_rewrite() argument
368 assert( fstr != NULL ); in ldap_back_int_filter_map_rewrite()
369 BER_BVZERO( fstr ); in ldap_back_int_filter_map_rewrite()
372 ber_dupbv_x( fstr, &ber_bvnone, memctx ); in ldap_back_int_filter_map_rewrite()
384 fstr->bv_len = atmp.bv_len + vtmp.bv_len in ldap_back_int_filter_map_rewrite()
386 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 1, memctx ); in ldap_back_int_filter_map_rewrite()
387 if ( !fstr->bv_val ) { in ldap_back_int_filter_map_rewrite()
392 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s=%s)", in ldap_back_int_filter_map_rewrite()
405 fstr->bv_len = atmp.bv_len + vtmp.bv_len in ldap_back_int_filter_map_rewrite()
407 fstr->bv_val = ber_memalloc_x( fstr->bv_len + 1, memctx ); in ldap_back_int_filter_map_rewrite()
[all …]
H A Dback-meta.h122 struct berval *fstr,
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dfilter.c61 struct berval *fstr );
611 filter2bv_x( Operation *op, Filter *f, struct berval *fstr ) in filter2bv_x() argument
613 filter2bv_undef_x( op, f, 0, fstr ); in filter2bv_x()
617 filter2bv_undef_x( Operation *op, Filter *f, int noundef, struct berval *fstr ) in filter2bv_undef_x() argument
637 ber_dupbv_x( fstr, &ber_bvnone, op->o_tmpmemctx ); in filter2bv_undef_x()
647 fstr->bv_len = STRLENOF("(=)"); in filter2bv_undef_x()
651 fstr->bv_len = STRLENOF("(>=)"); in filter2bv_undef_x()
655 fstr->bv_len = STRLENOF("(<=)"); in filter2bv_undef_x()
659 fstr->bv_len = STRLENOF("(~=)"); in filter2bv_undef_x()
679 fstr->bv_len += f->f_av_desc->ad_cname.bv_len + tmp.bv_len; in filter2bv_undef_x()
[all …]
H A Dcontrols.c1416 struct berval fstr = BER_BVNULL; in parseAssert() local
1458 filter2bv_x( op, op->o_assertion, &fstr ); in parseAssert()
1461 op->o_connid, fstr.bv_len ? fstr.bv_val : "empty" ); in parseAssert()
1462 op->o_tmpfree( fstr.bv_val, op->o_tmpmemctx ); in parseAssert()
1600 struct berval fstr = BER_BVNULL; in parseValuesReturnFilter() local
1643 vrFilter2bv( op, op->o_vrFilter, &fstr ); in parseValuesReturnFilter()
1647 fstr.bv_len ? fstr.bv_val : "empty" ); in parseValuesReturnFilter()
1648 op->o_tmpfree( fstr.bv_val, op->o_tmpmemctx ); in parseValuesReturnFilter()
H A Dsaslauthz.c927 struct berval *fstr, in slap_parseURI() argument
939 BER_BVZERO( fstr ); in slap_parseURI()
1149 fstr->bv_len = STRLENOF( "(&(objectClass=)(=" /* )) */ ) in slap_parseURI()
1151 fstr->bv_val = ch_malloc( fstr->bv_len + 1 ); in slap_parseURI()
1153 tmp = lutil_strncopy( fstr->bv_val, "(&(objectClass=" /* )) */ , in slap_parseURI()
1226 ber_str2bv( ludp->lud_filter, 0, 0, fstr ); in slap_parseURI()
1245 BER_BVZERO( fstr ); in slap_parseURI()
H A Dproto-slap.h1142 LDAP_SLAPD_F (void) vrFilter2bv LDAP_P(( Operation *op, ValuesReturnFilter *f, struct berval *fstr
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/
H A Dsearch.c73 struct berval *fstr ) in asyncmeta_int_filter2bv() argument
94 assert( fstr != NULL ); in asyncmeta_int_filter2bv()
95 BER_BVZERO( fstr ); in asyncmeta_int_filter2bv()
98 ber_dupbv_x( fstr, &ber_bvnone, memctx ); in asyncmeta_int_filter2bv()
111 fstr->bv_len = f->f_av_desc->ad_cname.bv_len + ntmp.bv_len in asyncmeta_int_filter2bv()
113 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 1, memctx ); in asyncmeta_int_filter2bv()
115 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s=%s)", in asyncmeta_int_filter2bv()
123 fstr->bv_len = f->f_av_desc->ad_cname.bv_len + ntmp.bv_len in asyncmeta_int_filter2bv()
125 fstr->bv_val = dc->op->o_tmpalloc( fstr->bv_len + 1, memctx ); in asyncmeta_int_filter2bv()
127 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s>=%s)", in asyncmeta_int_filter2bv()
[all …]
H A Dback-asyncmeta.h460 struct berval *fstr );
/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/
H A Drwmmap.c522 struct berval *fstr ) in rwm_int_filter_map_rewrite() argument
546 assert( fstr != NULL ); in rwm_int_filter_map_rewrite()
547 BER_BVZERO( fstr ); in rwm_int_filter_map_rewrite()
550 ber_dupbv_x( fstr, &ber_bvnone, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite()
570 fstr->bv_len = atmp.bv_len + vtmp.bv_len + STRLENOF( "(=)" ); in rwm_int_filter_map_rewrite()
571 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite()
573 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s=%s)", in rwm_int_filter_map_rewrite()
587 fstr->bv_len = atmp.bv_len + vtmp.bv_len + STRLENOF( "(>=)" ); in rwm_int_filter_map_rewrite()
588 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx ); in rwm_int_filter_map_rewrite()
590 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s>=%s)", in rwm_int_filter_map_rewrite()
[all …]
H A Dpcache.c340 struct berval *fstr );
1895 struct berval *fstr ) in filter2template() argument
1904 ret = snprintf( fstr->bv_val+fstr->bv_len, len + 1, "(%s=)", ad->ad_cname.bv_val ); in filter2template()
1906 fstr->bv_len += len; in filter2template()
1912 ret = snprintf( fstr->bv_val+fstr->bv_len, len + 1, "(%s>=)", ad->ad_cname.bv_val); in filter2template()
1914 fstr->bv_len += len; in filter2template()
1920 ret = snprintf( fstr->bv_val+fstr->bv_len, len + 1, "(%s<=)", ad->ad_cname.bv_val); in filter2template()
1922 fstr->bv_len += len; in filter2template()
1928 ret = snprintf( fstr->bv_val+fstr->bv_len, len + 1, "(%s~=)", ad->ad_cname.bv_val); in filter2template()
1930 fstr->bv_len += len; in filter2template()
[all …]
H A Drwm.h156 struct berval *fstr );
H A Drwm.c955 struct berval fstr = BER_BVNULL; in rwm_op_search() local
981 rc = rwm_filter_map_rewrite( op, &dc, op->ors_filter, &fstr ); in rwm_op_search()
987 f = str2filter_x( op, fstr.bv_val ); in rwm_op_search()
995 op->ors_filterstr = fstr; in rwm_op_search()
1023 if ( !BER_BVISNULL( &fstr ) ) { in rwm_op_search()
1024 op->o_tmpfree( fstr.bv_val, op->o_tmpmemctx ); in rwm_op_search()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/engine/
H A Dtb_asnmth.c189 ENGINE_FIND_STR fstr; in ENGINE_pkey_asn1_find_str() local
190 fstr.e = NULL; in ENGINE_pkey_asn1_find_str()
191 fstr.ameth = NULL; in ENGINE_pkey_asn1_find_str()
192 fstr.str = str; in ENGINE_pkey_asn1_find_str()
193 fstr.len = len; in ENGINE_pkey_asn1_find_str()
201 engine_table_doall(pkey_asn1_meth_table, look_str_cb, &fstr); in ENGINE_pkey_asn1_find_str()
203 if (fstr.e) { in ENGINE_pkey_asn1_find_str()
204 fstr.e->struct_ref++; in ENGINE_pkey_asn1_find_str()
205 engine_ref_debug(fstr.e, 0, 1); in ENGINE_pkey_asn1_find_str()
207 *pe = fstr.e; in ENGINE_pkey_asn1_find_str()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/engine/
H A Dtb_asnmth.c192 ENGINE_FIND_STR fstr; in ENGINE_pkey_asn1_find_str() local
193 fstr.e = NULL; in ENGINE_pkey_asn1_find_str()
194 fstr.ameth = NULL; in ENGINE_pkey_asn1_find_str()
195 fstr.str = str; in ENGINE_pkey_asn1_find_str()
196 fstr.len = len; in ENGINE_pkey_asn1_find_str()
205 engine_table_doall(pkey_asn1_meth_table, look_str_cb, &fstr); in ENGINE_pkey_asn1_find_str()
207 if (fstr.e) { in ENGINE_pkey_asn1_find_str()
208 fstr.e->struct_ref++; in ENGINE_pkey_asn1_find_str()
209 ENGINE_REF_PRINT(fstr.e, 0, 1); in ENGINE_pkey_asn1_find_str()
211 *pe = fstr.e; in ENGINE_pkey_asn1_find_str()
[all …]
/netbsd-src/usr.bin/make/
H A Dstr.h83 FStr fstr; in FStr_InitOwn() local
84 fstr.str = str; in FStr_InitOwn()
85 fstr.freeIt = str; in FStr_InitOwn()
86 return fstr; in FStr_InitOwn()
93 FStr fstr; in FStr_InitRefer() local
94 fstr.str = str; in FStr_InitRefer()
95 fstr.freeIt = NULL; in FStr_InitRefer()
96 return fstr; in FStr_InitRefer()
100 FStr_Done(FStr *fstr) in FStr_Done() argument
102 free(fstr->freeIt); in FStr_Done()
[all …]
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dstabs.c192 char *fstr = NULL, *ofstr = NULL; in stabs_read() local
289 fstr = concat(fstr, str, offset); in stabs_read()
292 fstr = concat(fstr, str, 0); in stabs_read()
295 fstr, stab->n_type, 0, stab->n_desc, in stabs_read()
307 if (ofstr && strcmp(fstr, ofstr) == 0) { in stabs_read()
309 free(fstr); in stabs_read()
310 fstr = NULL; in stabs_read()
316 ofstr = fstr; in stabs_read()
320 if ((rc = parse_stab(stab, fstr, &iidescp)) < 0) { in stabs_read()
371 fstr = NULL; in stabs_read()
/netbsd-src/external/bsd/unbound/dist/pythonmod/
H A Dpythonmod.c488 char* fstr = NULL; in pythonmod_init()
494 fstr = malloc(flen+1); in pythonmod_init()
495 if(!fstr) { in pythonmod_init()
508 if(fread(fstr, flen, 1, script_py) < 1) { in pythonmod_init()
511 free(fstr); in pythonmod_init()
522 fstr[flen] = 0; in pythonmod_init()
526 (void)Py_CompileString(fstr, pe->fname, Py_file_input); in pythonmod_init()
542 free(fstr); in pythonmod_init()
/netbsd-src/external/bsd/wpa/dist/src/ap/
H A Dtaxonomy.c85 static void ie_to_string(char *fstr, size_t fstr_len, const struct wpabuf *ies) in ie_to_string() argument
87 char *fpos = fstr; in ie_to_string()
88 char *fend = fstr + fstr_len; in ie_to_string()
234 fstr[0] = '\0'; in ie_to_string()
/netbsd-src/external/bsd/openldap/dist/tests/progs/
H A Dslapd-auth.c206 char dn[BUFSIZ], *ptr, fstr[256]; in my_task() local
221 sprintf(fstr, filter, j); in my_task()
224 fstr, attrs, 0, NULL, NULL, 0, 0, &msgid ); in my_task()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DPerfHelper.cpp68 Arg.fstr = &Fstr; in PerfEvent()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/
H A Dp_lib.c2448 char fstr[80]; in EVP_PKEY_get_field_type() local
2474 fstr, sizeof(fstr), &fstrlen)) in EVP_PKEY_get_field_type()
2477 if (strcmp(fstr, SN_X9_62_prime_field) == 0) in EVP_PKEY_get_field_type()
2479 else if (strcmp(fstr, SN_X9_62_characteristic_two_field)) in EVP_PKEY_get_field_type()
/netbsd-src/external/gpl3/gcc/dist/libgfortran/io/
H A Dwrite.c1602 write_float_string (st_parameter_dt *dtp, char *fstr, size_t len) in write_float_string() argument
1611 memcpy4 (p4, fstr, len); in write_float_string()
1614 memcpy (p, fstr, len); in write_float_string()
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dwrite.c1557 write_float_string (st_parameter_dt *dtp, char *fstr, size_t len) in write_float_string() argument
1566 memcpy4 (p4, fstr, len); in write_float_string()
1569 memcpy (p, fstr, len); in write_float_string()