Home
last modified time | relevance | path

Searched full:nil (Results 1 – 25 of 1296) sorted by relevance

12345678910>>...52

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.get_number_props.zcp29 props['used'] = {{true, nil}, {true, nil}, {true, nil}}
30 props['available'] = {{true, nil}, {nil, nil}, {true, nil}}
31 props['referenced'] = {{true, nil}, {true, nil}, {true, nil}}
32 props['compressratio'] = {{true, nil}, {true, nil}, {true, nil}}
33 props['refcompressratio'] = {{true, nil}, {true, nil}, {true, nil}}
34 props['volblocksize'] = {{nil, nil}, {nil, nil}, {true, nil}}
35 props['usedbysnapshots'] = {{true, nil}, {nil, nil}, {true, nil}}
36 props['usedbydataset'] = {{true, nil}, {nil, nil}, {true, nil}}
37 props['usedbychildren'] = {{true, nil}, {nil, nil}, {true, nil}}
38 props['usedbyrefreservation'] = {{true, nil}, {nil, nil}, {true, nil}}
[all …]
H A Dtst.get_index_props.zcp25 props['redundant_metadata'] = {{'all', 'default'}, {nil, nil}}
26 props['sync'] = {{'standard', 'default'}, {nil, nil}}
27 props['checksum'] = {{'on', 'default'}, {nil, nil}}
28 props['dedup'] = {{'off', 'default'}, {nil, nil}}
29 props['compression'] = {{'off', 'default'}, {nil, nil}}
30 props['snapdir'] = {{'hidden', 'default'}, {nil, nil}}
36 props['aclinherit'] = {{'restricted','default'}, {nil, nil}}
37 props['copies'] = {{'1', 'default'}, {nil, nil}}
40 props['logbias'] = {{'latency', 'default'}, {nil, nil}}
41 props['atime'] = {{'on', 'default'}, {nil, nil}}
[all …]
H A Dtst.get_string_props.zcp25 props['origin'] = {{nil, nil}, {nil, nil}, {snap, nil}}
26 props['clones'] = {{nil, nil}, {{clone}, nil}, {nil, nil}}
27 props['mountpoint'] = {{'/' .. fs, 'default'}, {nil, nil}, {'/' .. clone, 'default'}}
28 props['sharenfs'] = {{'off', 'default'}, {nil, nil}, {'off', 'default'}}
29 props['type'] = {{'filesystem', nil}, {'snapshot', nil}, {'filesystem', nil}}
30 props['sharesmb'] = {{'off', 'default'}, {nil, nil}, {'off', 'default'}}
32 props['receive_resume_token'] = {{nil, nil}, {nil, nil}, {nil, nil}}
34 props['name'] = {{fs, nil}, {snap, nil}, {clone, nil}}
35 props['iscsioptions'] = {{nil, nil}, {nil, nil}, {nil, nil}}
36 props['prevsnap'] = {{snap, nil}, {nil, nil}, {snap, nil}}
/freebsd/contrib/lyaml/spec/
H A Dlib_lyaml_functional_spec.yaml14 fail = function() return nil end
19 nil,
50 expect(f{pass, throw}()).not_to_be(nil)
52 expect(f(list({nil, false, true}))()).to_be(nil)
53 expect(f{1, 2, pass, 'pass'}()).not_to_be(nil)
54 - it returns non-nil if any callable returns non-nil:
55 expect(f{pass, pass, fail}()).not_to_be(nil)
56 expect(f{pass, fail}()).not_to_be(nil)
57 expect(f{fail, pass}()).not_to_be(nil)
58 - it returns nil if all callables are nil:
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_base.lua39 B = nil
42 assert(getmetatable{} == nil)
43 assert(getmetatable(4) == nil)
44 assert(getmetatable(nil) == nil)
53 assert(setmetatable(a,nil) == a)
54 assert(getmetatable(a) == nil)
107 foi = false; a[1]=nil; assert(not foi)
108 foi = false; a[1]=nil; assert(foi)
112 setmetatable(t, nil)
118 assert(x==a and y[1]=='a' and y[2]==1 and y[3]==nil)
[all …]
H A Dtst.lib_coroutine.lua44 _G.x = nil -- declare x
64 assert(s and a == nil and coroutine.status(f) == "suspended")
67 assert(s and a == 1 and b == nil)
70 assert(s and a == 'a' and b == 'b' and c == 'c' and d == nil)
73 assert(s and a == 1 and b == 2 and c == 3 and d == nil)
126 if n == nil then break end
133 x, a = nil
217 x = nil
219 assert(C[1] == nil)
289 __eq = function(a,b) coroutine.yield(nil, "eq"); return a.x == b.x end,
[all …]
H A Dtst.lib_table.lua73 assert(next(x) == nil) -- no elements
75 assert(next(x) == nil) -- no elements
77 assert(x == 10 and y == nil)
79 assert(x == 10 and y == 11 and z == nil)
81 assert(a==1 and x==nil)
83 assert(a==1 and x==nil)
94 assert(a == 20 and b == nil)
96 assert(a == nil and b == 20)
102 assert(a[1] == nil and a.n == 0)
107 a = table.pack(nil, nil, nil, nil)
[all …]
/freebsd/stand/lua/
H A Dcore.lua43 if argstr ~= nil then
71 if lua_path == nil then
80 if module:match(".lua$") == nil then
110 if verbose == nil then
123 if single_user == nil then
140 if loader.getenv("acpi.rsdp") ~= nil then
154 return c == nil or tonumber(c) ~= 1
158 if acpi == nil then
173 if safe_mode == nil then
198 core.cached_kernels = nil
[all...]
H A Dconfig.lua37 -- Values to restore env to (nil to unset)
88 if restore_value == nil then
99 if restore_value ~= nil then
116 if loader_env_restricted_table[key] ~= nil or
117 env_changed[key] ~= nil then
127 if loader_env_restricted_table[key] ~= nil then
132 if env_restore[key] == nil then
143 if modules[key] == nil then
168 return nil, MSG_FAILSYN_EOLESC
173 return nil, MSG_FAILSYN_QUOTE:format(i)
[all …]
H A Ddrawer.lua53 -- be so old as to not have them, but in that case, we want to copy the nil
57 if gfx == nil then
66 if name_handler ~= nil then
76 if gfxname == nil then
81 if ret == nil then
138 if brand == nil then
139 return nil
145 if branddef == nil then
152 if branddefs[brand] == nil then
154 return nil
[all …]
/freebsd/crypto/openssl/crypto/
H A DREADME-sparse_array.md62 | |nil|nil|...|nil|
88 | |nil| |...|nil|
96 |nil| |nil|...|nil| |nil| |nil|...|nil|
129 | |nil| |...|nil|
137 |nil|nil|nil|...|nil| |nil| |nil|...|nil|
/freebsd/contrib/lyaml/lib/lyaml/
H A Dimplicit.lua43 elseif f '1' ~= nil then
59 if r ~= nil then
71 -- @return[2] nil otherwise, nil
95 -- @treturn[2] nil otherwise, nil
105 -- @treturn[2] nil otherwise, nil
125 -- @treturn[2] nil otherwise, nil
145 -- @treturn[2] nil otherwise, nil
165 -- @treturn[2] nil otherwise, nil
184 -- @treturn[2] nil otherwise, nil
207 -- @treturn[2] nil otherwise, nil
[all …]
/freebsd/sys/tools/syscalls/core/
H A Dfreebsd-syscall.lua20 if v.stdcompat ~= nil then
39 if file == nil then
40 return nil, "No file given"
46 if fh == nil then
47 return nil, msg
60 if line == nil or line == "" then
62 elseif s ~= nil then
76 s = nil
82 if h ~= nil and h ~= "" then
113 s = nil
[all …]
/freebsd/contrib/one-true-awk/
H A Dawkgram.y128 { --inloop; $$ = stat4(FOR, $3, NIL, $7, $10); }
176 pa_pat { $$ = stat2(PASTAT, $1, stat2(PRINT, rectonode(), NIL)); }
178 | pa_pat ',' opt_nl pa_pat { $$ = pa2stat($1, $4, stat2(PRINT, rectonode(), NIL)); }
180 | lbrace stmtlist '}' { $$ = stat2(PASTAT, NIL, $2); }
207 | ppattern MATCHOP reg_expr { $$ = op3($2, NIL, $1, (Node*)makedfa($3, 0)); free($3); }
210 $$ = op3($2, NIL, $1, (Node*)makedfa(strnode($3), 0));
235 | pattern MATCHOP reg_expr { $$ = op3($2, NIL, $1, (Node*)makedfa($3, 0)); free($3); }
238 $$ = op3($2, NIL, $1, (Node*)makedfa(strnode($3), 0));
285 { $$ = op3(MATCH, NIL, rectonode(), (Node*)makedfa($1, 0)); free($1); }
307 | print prarg { $$ = stat3($1, $2, NIL, NIL); }
[all …]
/freebsd/contrib/ofed/opensm/complib/
H A Dcl_map.c134 CL_ASSERT(p_item->p_right != &p_map->nil); in __cl_map_rot_left()
146 * Set B's parent to A. We trap for B being NIL since the in __cl_map_rot_left()
147 * caller may depend on NIL not changing. in __cl_map_rot_left()
149 if ((*pp_root)->p_left != &p_map->nil) in __cl_map_rot_left()
180 CL_ASSERT(p_item->p_left != &p_map->nil); in __cl_map_rot_right()
191 * Set B's parent to C. We trap for B being NIL since the in __cl_map_rot_right()
192 * caller may depend on NIL not changing. in __cl_map_rot_right()
194 if ((*pp_root)->p_right != &p_map->nil) in __cl_map_rot_right()
211 p_map->root.p_left = &p_map->nil; in cl_qmap_init()
212 p_map->root.p_right = &p_map->nil; in cl_qmap_init()
[all …]
/freebsd/sys/tools/syscalls/tools/
H A Dutil.lua16 -- PARAM: char, nil or optional character to trim.
19 if s == nil then
20 return nil
22 if char == nil then
82 if tbl ~= nil then
83 if next(tbl) == nil then
105 if a[i] == nil then
106 return nil
119 -- PARAM: abi, nil or optional ABI-specified intptr_t.
137 -- Returns the name of the struct pointed to by the argument or nil.
[all …]
/freebsd/contrib/netbsd-tests/lib/libbluetooth/
H A Dt_sdp_get.c145 0x00, // nil in ATF_TC_BODY()
177 sdp_data_t nil; in ATF_TC_BODY() local
191 ATF_REQUIRE(sdp_get_data(&test, &nil)); /* (skip) */ in ATF_TC_BODY()
192 ATF_CHECK_EQ(sdp_data_type(&nil), SDP_DATA_NIL); in ATF_TC_BODY()
212 0x00, // nil in ATF_TC_BODY()
216 sdp_data_t nil; in ATF_TC_BODY() local
227 ATF_REQUIRE(sdp_get_data(&test, &nil)); /* (skip) */ in ATF_TC_BODY()
228 ATF_CHECK_EQ(sdp_data_type(&nil), SDP_DATA_NIL); in ATF_TC_BODY()
251 0x00, // nil in ATF_TC_BODY()
279 sdp_data_t nil; in ATF_TC_BODY() local
[all …]
/freebsd/libexec/nuageinit/
H A Dnuage.lua15 if localbase == nil or localbase:len() == 0 then
88 return nil
92 return nil
98 if lfs.attributes(path, "mode") ~= nil then
103 return nil, err .. " (creating " .. path .. ")"
109 if hostname == nil then
197 return nil
241 local input = nil
265 return nil
323 if dirattrs == nil then
[all …]
/freebsd/contrib/lyaml/build-aux/
H A Dluke3 local require=function(modname)if package.loaded[modname]==nil then
6 return nil
63 end,function(opt)if match(opt,'^-')~=nil then
66 end,validate_arguments=function(parsed)local luke,err=loadluke(parsed.fname)diagnose(luke~=nil,'bad…
70 local r=filter(parsed.targets,function(target)if target~='install'and luke.modules[target]==nil then
80 luke.external_dependencies=nil
92 …lue)local fmt=cond({[int(value)==1]='-D%s'},{[match(value,SHELLMETACHARS)~=nil]="-D%s='%s'"},{[tru…
105 …G $PKGFLAGS $CPPFLAGS',defines(env,except(list(rules.defines,luke.defines),nil)),incdirs(rules.inc…
120 local function found_library(L,x)if x==nil or x==''then
134 return with(File(progpath,'r'),function(h)return h and isfile(h.context)and progpath or nil
[all …]
/freebsd/contrib/flex/src/
H A Decs.c90 if (bck[i] == NIL) { in cre8ecs()
92 for (j = fwd[i]; j != NIL; j = fwd[j]) in cre8ecs()
138 …for (i = fwd[cclm]; i != NIL && i <= llsiz; i = fwd[i]) { /* look for the symbol in the character … in mkeccl()
175 if (oldec != NIL) in mkeccl()
183 if (bck[cclm] != NIL || oldec != bck[cclm]) { in mkeccl()
184 bck[cclm] = NIL; in mkeccl()
185 fwd[oldec] = NIL; in mkeccl()
188 fwd[newec] = NIL; in mkeccl()
208 if (fwd[tch] != NIL) in mkechar()
211 if (bck[tch] != NIL) in mkechar()
[all …]
/freebsd/contrib/ntp/sntp/unity/auto/
H A Dgenerate_module.rb92 raise "ERROR: You can't have more than one Module name specified!" unless @module_name.nil?
101 raise "ERROR: You must have a Module name specified! (use option -h for help)" if @module_name.nil?
107 @path_src = cfg[:defaults][:path_src] if @path_src.nil?
108 @path_inc = cfg[:defaults][:path_inc] if @path_inc.nil?
109 @path_tst = cfg[:defaults][:path_tst] if @path_tst.nil?
110 @update_svn = cfg[:defaults][:update_svn] if @update_svn.nil?
118 @path_src = HERE + "../src/" if @path_src.nil?
119 @path_inc = @path_src if @path_inc.nil?
120 @path_tst = HERE + "../test/" if @path_tst.nil?
124 @pattern = 'src' if @pattern.nil?
[all …]
/freebsd/release/packages/
H A Dgenerate-ucl.lua77 if pkgname:match(pattern[1]) ~= nil then
105 if pkgname == nil or pkggenname == nil then
108 if no_gen_deps[pkgname] ~= nil then
111 if pkgname:match("%-lib$") ~= nil then
121 local pkgname = nil
122 local pkggenname = nil
123 local pkgprefix = nil
124 local pkgversion = nil
165 if obj["deps"] == nil then
222 if pkgprefix ~= nil and obj["deps"] ~= nil then
[all …]
/freebsd/contrib/lyaml/doc/modules/
H A Dlyaml.implicit.html138 nil otherwise, nil
175 <span class="types"><span class="type">nil</span></span>
176 otherwise, nil
212 <span class="types"><span class="type">nil</span></span>
213 otherwise, nil
249 <span class="types"><span class="type">nil</span></span>
250 otherwise, nil
286 <span class="types"><span class="type">nil</span></span>
287 otherwise, nil
323 <span class="types"><span class="type">nil</span></span>
[all …]
/freebsd/tools/build/options/
H A Dmakeman.lua272 if take_dupes or options[name] == nil then
284 if take_dupes or options[name] == nil then
379 local options = config_options(srcconf, nil, omit_others)
382 options[name] = nil
386 options[name] = nil
453 while next(children) ~= nil do
462 children[pid] = nil
515 local target_opts = config_options(nil, {"TARGET=" .. target,
529 if different_defaults[opt] == nil then
531 opts[opt] = nil
[all …]
/freebsd/libexec/talkd/
H A Dtable.c55 #define NIL ((TABLE_ENTRY *)0) macro
70 static TABLE_ENTRY *table = NIL;
86 for (ptr = table; ptr != NIL; ptr = next) { in find_match()
124 for (ptr = table; ptr != NIL; ptr = next) { in find_request()
160 if (ptr == NIL) { in insert_table()
167 if (ptr->next != NIL) in insert_table()
169 ptr->last = NIL; in insert_table()
198 for (ptr = table; ptr != NIL; ptr = ptr->next) { in delete_invite()
204 if (ptr != NIL) { in delete_invite()
222 else if (ptr->last != NIL) in delete()
[all …]

12345678910>>...52