HomeSort by: relevance | last modified time | path
    Searched refs:mods (Results 1 - 25 of 101) sorted by relevancy

1 2 3 4 5

  /src/external/bsd/openldap/dist/libraries/libldap/
free.c 86 ldap_mods_free( LDAPMod **mods, int freemods )
90 if ( mods == NULL )
93 for ( i = 0; mods[i] != NULL; i++ ) {
94 if ( mods[i]->mod_op & LDAP_MOD_BVALUES ) {
95 if( mods[i]->mod_bvalues != NULL )
96 ber_bvecfree( mods[i]->mod_bvalues );
98 } else if( mods[i]->mod_values != NULL ) {
99 LDAP_VFREE( mods[i]->mod_values );
102 if ( mods[i]->mod_type != NULL ) {
103 LDAP_FREE( mods[i]->mod_type )
    [all...]
modify.c 63 LDAPMod **mods,
84 /* allow mods to be NULL ("touch") */
85 if ( mods ) {
87 for ( i = 0; mods[i] != NULL; i++ ) {
88 if (( mods[i]->mod_op & LDAP_MOD_BVALUES) != 0 ) {
90 (ber_int_t) ( mods[i]->mod_op & ~LDAP_MOD_BVALUES ),
91 mods[i]->mod_type, mods[i]->mod_bvalues );
94 (ber_int_t) mods[i]->mod_op,
95 mods[i]->mod_type, mods[i]->mod_values )
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/back-perl/
modify.c 44 Modification *mods = &modlist->sml_mod; local
46 switch ( mods->sm_op & ~LDAP_MOD_BVALUES ) {
61 XPUSHs(sv_2mortal(newSVpv( mods->sm_desc->ad_cname.bv_val,
62 mods->sm_desc->ad_cname.bv_len )));
65 mods->sm_values != NULL && mods->sm_values[i].bv_val != NULL;
68 XPUSHs(sv_2mortal(newSVpv( mods->sm_values[i].bv_val, mods->sm_values[i].bv_len )));
  /src/external/bsd/openldap/dist/servers/slapd/
slapmodify.c 310 Modification mods = { 0 }; local
316 local_rc = slap_str2ad( mod->mod_type, &mods.sm_desc, &text );
325 local_rc = slap_str2undef_ad( mod->mod_type, &mods.sm_desc, &text, 0 );
334 mods.sm_type = mods.sm_desc->ad_cname;
336 if ( mods.sm_desc->ad_type->sat_syntax->ssyn_pretty ) {
340 assert( mods.sm_desc->ad_type->sat_syntax->ssyn_validate != NULL );
343 if ( mods.sm_desc->ad_type->sat_equality &&
344 mods.sm_desc->ad_type->sat_equality->smr_normalize )
360 mods.sm_values = ch_calloc( sizeof( struct berval ), i + 1 )
    [all...]
add.c 397 Modifications *mods,
416 for( ; mods != NULL; mods = mods->sml_next ) {
419 assert( mods->sml_desc != NULL );
421 attr = attr_find( (*e)->e_attrs, mods->sml_desc );
440 j = mods->sml_numvals;
450 for ( j = 0; mods->sml_values[j].bv_val; j++ ) {
451 ber_dupbv( &attr->a_vals[i+j], &mods->sml_values[j] );
456 AC_MEMCPY( &attr->a_vals[i], mods->sml_values
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/back-ldap/
modify.c 48 *mods = NULL; local
61 /* just count mods */ ;
69 mods = (LDAPMod *)&modv[ i + 1 ];
78 modv[ i ] = &mods[ i ];
79 mods[ i ].mod_op = ( ml->sml_op | LDAP_MOD_BVALUES );
80 mods[ i ].mod_type = ml->sml_desc->ad_cname.bv_val;
84 /* just count mods */ ;
85 mods[ i ].mod_bvalues =
89 mods[ i ].mod_bvalues[ j ] = &ml->sml_values[ j ];
91 mods[ i ].mod_bvalues[ j ] = NULL
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/bn/
bn_prime.c 25 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods);
26 static int probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods,
61 prime_t *mods = NULL; local
78 mods = OPENSSL_zalloc(sizeof(*mods) * NUMPRIMES);
79 if (mods == NULL)
92 if (!probable_prime(ret, bits, safe, mods))
95 if (!probable_prime_dh(ret, bits, safe, mods, add, rem, ctx))
138 OPENSSL_free(mods);
272 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods)
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/back-meta/
modify.c 47 LDAPMod *mods = NULL; local
86 mods = (LDAPMod *)&modv[ i + 1 ];
113 modv[ i ] = &mods[ i ];
114 mods[ i ].mod_op = ml->sml_op | LDAP_MOD_BVALUES;
115 mods[ i ].mod_type = mapped.bv_val;
126 mods[ i ].mod_bvalues =
139 mods[ i ].mod_bvalues[ j ] = &ml->sml_values[ j ];
142 mods[ i ].mod_bvalues[ j ] = &mapping->dst;
146 mods[ i ].mod_bvalues[ j ] = NULL;
160 mods[ i ].mod_bvalues
    [all...]
  /src/external/mpl/dhcp/
dhcp2netbsd 56 mv /tmp/dhcp1$$ $c && echo did source mods for $c
67 mv /tmp/dhcp1$$ $c && echo did source mods for $c
81 mv /tmp/dhcp1$$ $c && echo did source mods for $c
93 mv /tmp/dhcp2$$ $m && echo did manpage mods for $m
  /src/sys/arch/next68k/dev/
nextkbd.c 71 uint32_t mods; member in struct:nextkbd_internal
356 printf("datain %08x mods %08x\n", datain, id->mods);
359 if (((datain ^ id->mods) & KD_LSHIFT) != 0) {
360 id->mods ^= KD_LSHIFT;
366 } else if (((datain ^ id->mods) & KD_RSHIFT) != 0) {
367 id->mods ^= KD_RSHIFT;
373 } else if (((datain ^ id->mods) & KD_LALT) != 0) {
374 id->mods ^= KD_LALT;
380 } else if (((datain ^ id->mods) & KD_RALT) != 0)
    [all...]
  /src/external/cddl/dtracetoolkit/dist/Bin/
hotkernel 60 my $mods = defined $main::opt_m and $main::opt_m ? 1 : 0;
99 $name =~ s/\`.*// if $mods;
108 printf "\n%-52s %8s %6s\n", $mods ? "MODULE" : "FUNCTION", "COUNT", "PCNT";
  /src/external/cddl/dtracetoolkit/dist/
hotkernel 60 my $mods = defined $main::opt_m and $main::opt_m ? 1 : 0;
99 $name =~ s/\`.*// if $mods;
108 printf "\n%-52s %8s %6s\n", $mods ? "MODULE" : "FUNCTION", "COUNT", "PCNT";
  /src/external/bsd/openldap/dist/tests/progs/
slapd-modify.c 146 struct ldapmod *mods[2]; local
154 mods[0] = &mod;
155 mods[1] = NULL;
169 rc = ldap_modify_ext_s( ld, entry, mods, NULL, NULL );
196 rc = ldap_modify_ext_s( ld, entry, mods, NULL, NULL );
  /src/crypto/external/bsd/openssl/dist/crypto/bn/
bn_prime.c 22 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods,
24 static int probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods,
130 prime_t *mods = NULL; local
147 mods = OPENSSL_zalloc(sizeof(*mods) * NUMPRIMES);
148 if (mods == NULL) {
160 if (!probable_prime(ret, bits, safe, mods, ctx))
163 if (!probable_prime_dh(ret, bits, safe, mods, add, rem, ctx))
206 OPENSSL_free(mods);
472 * |mods| is a preallocated array that gets reused when called again
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/bn/
bn_prime.c 22 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods,
24 static int probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods,
130 prime_t *mods = NULL; local
147 mods = OPENSSL_zalloc(sizeof(*mods) * NUMPRIMES);
148 if (mods == NULL)
158 if (!probable_prime(ret, bits, safe, mods, ctx))
161 if (!probable_prime_dh(ret, bits, safe, mods, add, rem, ctx))
204 OPENSSL_free(mods);
481 * |mods| is a preallocated array that gets reused when called again
    [all...]
  /src/external/gpl2/lvm2/dist/
lvm2netbsd 83 mv /tmp/file3$$ $c && echo did source mods for $c
99 $m > `dirname $m`/$base && echo did manpage mods for $base
  /src/external/bsd/nvi/dist/dist/ExtUtils/
Embed.pm 39 my($file, $std, $mods) = @_;
40 my($fh,@mods,%seen);
44 @mods = @$mods if $mods;
50 @mods = @ARGV;
52 $std = 1 unless scalar @mods;
61 push(@mods, static_ext()) if defined $std;
62 @mods = grep(!$seen{$_}++, @mods);
    [all...]
  /src/external/gpl3/binutils/dist/ld/
ldmisc.c 43 size_t mods = strspn (scan, "-+ #0"); local
45 while (scan[mods] != '0' && ISDIGIT (scan[mods]))
46 ++mods;
47 if (scan[mods] == '.')
48 ++mods;
49 while (scan[mods] != '0' && ISDIGIT (scan[mods]))
50 ++mods;
52 return mods;
257 size_t mods; local
    [all...]
  /src/external/bsd/openldap/dist/contrib/slapd-modules/addpartial/
addpartial-overlay.c 86 Modifications *mods = NULL; local
87 Modifications **modtail = &mods;
253 if(mods)
261 Debug(LDAP_DEBUG_TRACE, "%s: mods to do...\n",
265 nop.orm_modlist = mods;
270 for(m = mods, modcount = 0; m; m = m->sml_next,
273 /* count number of mods */
276 Debug(LDAP_DEBUG_TRACE, "%s: number of mods: %d\n",
302 Debug(LDAP_DEBUG_TRACE, "%s: freeing mods...\n",
305 for(toDel = mods; toDel; toDel = mods
    [all...]
  /src/external/bsd/unbound/dist/testcode/
unitzonemd.c 254 struct module_stack mods; local
291 modstack_init(&mods);
292 if(!modstack_call_startup(&mods, env.cfg->module_conf, &env))
294 if(!modstack_call_init(&mods, env.cfg->module_conf, &env))
296 env.mesh = mesh_create(&mods, &env);
308 auth_zone_verify_zonemd(z, &env, &mods, &result, 1, 0);
333 modstack_call_deinit(&mods, &env);
334 modstack_call_destartup(&mods, &env);
335 modstack_free(&mods);
  /src/external/bsd/openldap/dist/servers/slapd/overlays/
ppolicy.c 2443 Modifications *mods = NULL, *modtail = NULL, local
2956 mods = NULL;
2958 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 );
2959 mods->sml_op = LDAP_MOD_REPLACE;
2960 mods->sml_numvals = 1;
2961 mods->sml_values = (BerVarray) ch_calloc( sizeof( struct berval ), 2 );
2962 mods->sml_nvalues = (BerVarray) ch_calloc( sizeof( struct berval ), 2 );
2964 ber_dupbv( &mods->sml_values[0], &timestamp );
2965 ber_dupbv( &mods->sml_nvalues[0], &timestamp );
2967 mods = (Modifications *) ch_calloc( sizeof( Modifications ), 1 )
    [all...]
  /src/external/bsd/file/
file2netbsd 72 mv /tmp/file3$$ $c && echo did source mods for $c
91 mv /tmp/file4$$ $m && echo did manpage mods for $m
  /src/external/bsd/openldap/dist/contrib/slapd-modules/nops/
nops.c 44 nops_rm_mod( Modifications **mods, Modifications *mod ) {
48 if (*mods == mod) {
49 *mods = next;
53 for (m = *mods; m; m = m->sml_next) {
  /src/external/bsd/unbound/dist/cachedb/
cachedb.h 116 * @param mods: module stack. It finds the cachedb module environment.
120 int cachedb_is_enabled(struct module_stack* mods, struct module_env* env);
  /src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/
modify.c 53 LDAPMod *mods = NULL; local
83 mods = (LDAPMod *)&modv[ i + 1 ];
94 modv[ i ] = &mods[ i ];
95 mods[ i ].mod_op = ml->sml_op | LDAP_MOD_BVALUES;
96 mods[ i ].mod_type = ml->sml_desc->ad_cname.bv_val;
100 mods[ i ].mod_bvalues =(struct berval **)op->o_tmpalloc( ( j + 1 ) *sizeof( struct berval * ), op->o_tmpmemctx );
102 mods[ i ].mod_bvalues[ j ] = op->o_tmpalloc(sizeof( struct berval ), op->o_tmpmemctx );
104 asyncmeta_dn_massage( &dc, &ml->sml_values[ j ], mods[ i ].mod_bvalues[ j ] );
106 *mods[ i ].mod_bvalues[ j ] = ml->sml_values[ j ];
108 mods[ i ].mod_bvalues[ j ] = NULL
    [all...]

Completed in 31 milliseconds

1 2 3 4 5