Searched refs:default_value (Results 1 - 25 of 75) sorted by relevance

123

/macosx-10.9.5/CPANInternal-140/DBIx-Class/t/lib/DBICTest/Schema/
H A DComputedColumn.pm18 default_value => \'getdate()',
27 default_value => 'foo',
H A DArtistGUID.pm20 default_value => 13,
H A DArtist.pm24 default_value => 13,
/macosx-10.9.5/pdisk-9/
H A Dio.h61 int get_number_argument(const char *prompt, long *number, long default_value);
62 int get_okay(const char *prompt, int default_value);
H A Dio.c148 get_okay(const char *prompt, int default_value) argument
164 return default_value;
205 get_number_argument(const char *prompt, long *number, long default_value) argument
218 if (default_value == kDefault) {
222 *number = default_value;
/macosx-10.9.5/xnu-2422.115.4/tools/lldbmacros/core/
H A Dcaching.py94 def GetStaticCacheData(key, default_value = None):
98 default_value : obj - an object that should be returned if key is not found.
100 default_value - if the static cache does not have your data.
107 return default_value
128 def GetDynamicCacheData(key, default_value=None):
132 default_value : obj - an object that should be returned if key is not found.
134 default_value - if dynamic cache does not have data or if the saved version mismatches with current session id.
145 return default_value
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tk/
H A Ditemconfig.rb152 :default_value=>3, :current_value=>4}
416 fnt = conf[__item_configinfo_struct(tagid(tagOrId))[:default_value]]
418 conf[__item_configinfo_struct(tagid(tagOrId))[:default_value]] = TkNamedFont.new(fnt)
441 if ( __item_configinfo_struct(tagid(tagOrId))[:default_value] \
442 && conf[__item_configinfo_struct(tagid(tagOrId))[:default_value]] )
443 optval = conf[__item_configinfo_struct(tagid(tagOrId))[:default_value]]
450 conf[__item_configinfo_struct(tagid(tagOrId))[:default_value]] = val
471 if ( __item_configinfo_struct(tagid(tagOrId))[:default_value] \
472 && conf[__item_configinfo_struct(tagid(tagOrId))[:default_value]] )
474 conf[__item_configinfo_struct(tagid(tagOrId))[:default_value]]
[all...]
/macosx-10.9.5/CPANInternal-140/DBIx-Class-Schema-Loader-0.07033/lib/DBIx/Class/Schema/Loader/DBI/Component/
H A DQuotedDefault.pm30 if (my $def = $info->{default_value}) {
36 $info->{default_value} = $1;
40 $info->{default_value} = $1;
43 $info->{default_value} = $1;
47 $info->{default_value} = \$null;
50 $info->{default_value} = \$def;
/macosx-10.9.5/libauto-185.5/
H A DEnvironment.h83 // Return the value, or returns default_value if var is unset.
86 static long read_long(const char *var, long default_value, const char *msg = NULL);
92 // Returns default_value if var is not set in the environment.
98 static bool read_bool(const char *var, bool default_value = false, const char *msg = NULL);
H A DEnvironment.cpp70 // Return the value, or returns default_value if var is unset.
73 long Environment::read_long(const char *var, long default_value, const char *msg) { argument
74 long result = default_value;
81 if (result != default_value)
93 // Returns default_value if var is not set in the environment.
99 bool Environment::read_bool(const char *var, bool default_value, const char *msg) { argument
100 bool result = default_value;
110 if (result != default_value)
/macosx-10.9.5/CPANInternal-140/DBIx-Class-Schema-Loader/t/lib/
H A Ddbixcsl_mssql_extra_tests.pm74 is eval { $rsrc->column_info('dat')->{default_value} }, 'foo',
75 'correct default_value for column with literal string default';
77 is eval { $rsrc->column_info('anint')->{default_value} }, 6,
78 'correct default_value for column with literal integer default';
80 cmp_ok eval { $rsrc->column_info('num')->{default_value} },
82 'correct default_value for column with literal numeric default';
85 eval { $rsrc->column_info('ts')->{default_value} }),
86 'got default_value for column with function default');
89 'default_value for function default is a SCALAR ref';
92 'default_value fo
[all...]
/macosx-10.9.5/CPANInternal-140/DBIx-Class-Schema-Loader-0.05003/t/lib/
H A Ddbixcsl_mssql_extra_tests.pm74 is eval { $rsrc->column_info('dat')->{default_value} }, 'foo',
75 'correct default_value for column with literal string default';
77 is eval { $rsrc->column_info('anint')->{default_value} }, 6,
78 'correct default_value for column with literal integer default';
80 cmp_ok eval { $rsrc->column_info('num')->{default_value} },
82 'correct default_value for column with literal numeric default';
85 eval { $rsrc->column_info('ts')->{default_value} }),
86 'got default_value for column with function default');
89 'default_value for function default is a SCALAR ref';
92 'default_value fo
[all...]
/macosx-10.9.5/CPANInternal-140/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Component/
H A DQuotedDefault.pm29 if (my $def = $info->{default_value}) {
35 $info->{default_value} = $1;
38 $info->{default_value} = $def =~ /^\d/ ? $def : \$def;
/macosx-10.9.5/CPANInternal-140/DBIx-Class-Schema-Loader-0.05003/lib/DBIx/Class/Schema/Loader/DBI/Component/
H A DQuotedDefault.pm29 if (my $def = $info->{default_value}) {
35 $info->{default_value} = $1;
38 $info->{default_value} = $def =~ /^\d/ ? $def : \$def;
/macosx-10.9.5/CPANInternal-140/DBIx-Class-Schema-Loader-0.07033/lib/DBIx/Class/Schema/Loader/DBI/ODBC/
H A DSQL_Anywhere.pm33 if (ref $info->{default_value} && ${ $info->{default_value} } eq 'null') {
34 delete $info->{default_value};
/macosx-10.9.5/bind9-45.100/bind9/unit/atf-src/atf-c/
H A Dconfig.c44 const char *default_value; member in struct:var
105 var->value = var->default_value;
107 var->value = var->default_value;
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/
H A Dtk.rb3758 :default_value=>3, :current_value=>4}
4118 fnt = conf[__configinfo_struct[:default_value]]
4120 conf[__configinfo_struct[:default_value]] = TkNamedFont.new(fnt)
4143 if ( __configinfo_struct[:default_value] \
4144 && conf[__configinfo_struct[:default_value]] )
4145 optval = conf[__configinfo_struct[:default_value]]
4152 conf[__configinfo_struct[:default_value]] = val
4173 if ( __configinfo_struct[:default_value] \
4174 && conf[__configinfo_struct[:default_value]])
4176 conf[__configinfo_struct[:default_value]]
[all...]
/macosx-10.9.5/CPANInternal-140/DBIx-Class-Schema-Loader-0.07033/lib/DBIx/Class/Schema/Loader/DBI/
H A DPg.pm311 if (ref($info->{default_value}) eq 'SCALAR'
312 && ${ $info->{default_value} } =~ /\bnextval\('([^:]+)'/i) {
315 delete $info->{default_value};
319 if ((eval { lc ${ $info->{default_value} } }||'') eq 'now()') {
321 ${$info->{default_value}} = 'current_timestamp';
324 $info->{original}{default_value} = \$now;
328 if ($data_type =~ /^bool/i && exists $info->{default_value}) {
329 if ($info->{default_value} eq '0') {
331 $info->{default_value} = \$false;
333 elsif ($info->{default_value} e
[all...]
H A DInterBase.pm287 delete $info->{default_value} if $info->{default_value} && $info->{default_value} eq 'NULL';
300 $info->{default_value} = $quoted;
303 $info->{default_value} = $def =~ /^-?\d/ ? $def : \$def;
307 ${ $info->{default_value} } = 'current_timestamp'
308 if ref $info->{default_value} && ${ $info->{default_value} } eq 'CURRENT_TIMESTAMP';
H A DOracle.pm351 if (not defined $info->{default_value}) {
368 $info->{default_value} = $1;
371 $info->{default_value} = $1;
375 $info->{default_value} = \$null;
379 $info->{default_value} = \$val;
384 if ((try { lc(${ $info->{default_value} }) }||'') eq 'sysdate') {
386 $info->{default_value} = \$current_timestamp;
389 $info->{original}{default_value} = \$sysdate;
H A DSQLAnywhere.pm88 my $def = $info->{default_value};
90 delete $info->{default_value};
142 if ((eval { lc ${ $info->{default_value} } }||'') eq 'current timestamp') {
143 ${ $info->{default_value} } = 'current_timestamp';
146 $info->{original}{default_value} = \$orig_deflt;
H A Dmysql.pm279 # Sometimes apparently there's a bug where default_value gets set to ''
281 if (exists $info->{default_value} && $info->{default_value} eq '') {
284 delete $info->{default_value};
288 delete $info->{default_value} unless $data_type =~ /char|text/i;
315 $extra_info{default_value} = \$current_timestamp;
/macosx-10.9.5/ruby-104/ruby/ext/socket/
H A Dmkconstants.rb43 name, default_value, comment = s.chomp.split(/\s+/, 3)
46 default_value = nil if default_value == 'nil'
52 h[name] = default_value
58 DEFS.each {|name, default_value|
69 yield guard, make_value, name, default_value
74 DEFS.each {|name, default_value|
81 % each_const {|guard, make_value, name, default_value|
85 %if default_value
87 # define <%=name%> <%=default_value
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/utils/unittest/googletest/
H A Dgtest-port.cc708 // the given flag; if it's not set, returns default_value.
711 bool BoolFromGTestEnv(const char* flag, bool default_value) {
715 default_value : strcmp(string_value, "0") != 0;
720 // doesn't represent a valid 32-bit integer, returns default_value.
721 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) {
726 return default_value;
729 Int32 result = default_value;
733 (Message() << default_value).GetString().c_str());
735 return default_value;
742 // the given flag; if it's not set, returns default_value
[all...]
/macosx-10.9.5/CPANInternal-140/DBIx-Class/lib/SQL/Translator/Producer/DBIx/Class/
H A DFile.pm91 default_value => $_->default_value,

Completed in 205 milliseconds

123