Searched refs:nil (Results 1 - 25 of 47) sorted by relevance

12

/freebsd-current/sys/dev/zlib/
H A Dzcalloc.c13 zcalloc_waitok(void *nil, u_int items, u_int size) argument
20 zcalloc_nowait(void *nil, u_int items, u_int size) argument
27 zcalloc(void *nil, u_int items, u_int size) argument
30 return zcalloc_nowait(nil, items, size);
34 zcfree(void *nil, void *ptr) argument
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_base.lua38 B = nil
41 assert(getmetatable{} == nil)
42 assert(getmetatable(4) == nil)
43 assert(getmetatable(nil) == nil)
52 assert(setmetatable(a,nil) == a)
53 assert(getmetatable(a) == nil)
106 foi = false; a[1]=nil; assert(not foi)
107 foi = false; a[1]=nil; assert(foi)
111 setmetatable(t, nil)
[all...]
H A Dtst.lib_table.lua72 assert(next(x) == nil) -- no elements
74 assert(next(x) == nil) -- no elements
76 assert(x == 10 and y == nil)
78 assert(x == 10 and y == 11 and z == nil)
80 assert(a==1 and x==nil)
82 assert(a==1 and x==nil)
93 assert(a == 20 and b == nil)
95 assert(a == nil and b == 20)
101 assert(a[1] == nil and a.n == 0)
106 a = table.pack(nil, ni
[all...]
H A Dtst.lib_coroutine.lua43 _G.x = nil -- declare x
63 assert(s and a == nil and coroutine.status(f) == "suspended")
66 assert(s and a == 1 and b == nil)
69 assert(s and a == 'a' and b == 'b' and c == 'c' and d == nil)
72 assert(s and a == 1 and b == 2 and c == 3 and d == nil)
125 if n == nil then break end
132 x, a = nil
216 x = nil
218 assert(C[1] == nil)
288 __eq = function(a,b) coroutine.yield(nil, "e
[all...]
H A Dtst.lib_strings.lua54 assert(string.find("1234567890123456789", "346", 4) == nil)
56 assert(string.find("abcdefg", "\0", 5, 1) == nil)
60 assert(string.find('', 'aaa', 1) == nil)
81 assert(string.byte("") == nil)
82 assert(string.byte("hi", -3) == nil)
83 assert(string.byte("hi", 3) == nil)
84 assert(string.byte("hi", 9, 10) == nil)
85 assert(string.byte("hi", 2, 1) == nil)
133 assert(string.format("%s %s", nil, true) == "nil tru
[all...]
/freebsd-current/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...]
H A Dgenerate_test_runner.rb12 def initialize(options = nil)
39 unless (config_file.nil? or config_file.empty?)
48 def run(input_file, output_file, options=nil)
54 @options.merge!(options) unless options.nil?
60 source = source.force_encoding("ISO-8859-1").encode("utf-8", :replace => nil) if ($QUICK_RUBY_VERSION > 10900)
113 args = nil
247 unless (@options[:suite_setup].nil?)
254 unless (@options[:suite_teardown].nil?)
330 output.puts(" suite_setup();") unless @options[:suite_setup].nil?
336 if ((test[:args].nil
[all...]
/freebsd-current/lib/libc/uuid/
H A Duuid_to_string.c46 uuid_t nil; local
56 u = &nil;
57 uuid_create_nil(&nil, NULL);
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.get_count_and_limit.ksh49 assert(ans == nil)
50 assert(src == nil)
59 assert(ans == nil)
60 assert(src == nil)
72 assert(src == nil)
86 assert(src == nil)
H A Dtst.get_userquota.ksh64 assert(ans == nil)
65 assert(setpoint == nil)
72 assert(ans == nil)
73 assert(setpoint == nil)
H A Dtst.get_mountpoint.ksh54 assert(ans == nil)
55 assert(src == nil)
78 assert(ans == nil)
79 assert(src == nil)
/freebsd-current/contrib/ofed/opensm/include/complib/
H A Dcl_fleximap.h222 cl_fmap_item_t nil; member in struct:_cl_fmap
234 * nil
422 return (&p_map->nil);
459 return ((cl_fmap_item_t *) p_map->nil.pool_item.list_item.p_next);
495 return ((cl_fmap_item_t *) p_map->nil.pool_item.list_item.p_prev);
803 p_map->root.p_left = &p_map->nil;
804 p_map->nil.pool_item.list_item.p_next = &p_map->nil.pool_item.list_item;
805 p_map->nil.pool_item.list_item.p_prev = &p_map->nil
[all...]
H A Dcl_qmap.h248 cl_map_item_t nil; member in struct:_cl_qmap
259 * nil
495 return (&p_map->nil);
532 return ((cl_map_item_t *) p_map->nil.pool_item.list_item.p_next);
568 return ((cl_map_item_t *) p_map->nil.pool_item.list_item.p_prev);
835 p_map->root.p_left = &p_map->nil;
836 p_map->nil.pool_item.list_item.p_next = &p_map->nil.pool_item.list_item;
837 p_map->nil.pool_item.list_item.p_prev = &p_map->nil
[all...]
/freebsd-current/stand/lua/
H A Dcore.lua43 if argstr ~= nil then
74 if module:match(".lua$") == nil then
104 if verbose == nil then
117 if single_user == nil then
134 if loader.getenv("acpi.rsdp") ~= nil then
148 return c == nil or tonumber(c) ~= 1
152 if acpi == nil then
167 if safe_mode == nil then
190 core.cached_kernels = nil
194 if core.cached_kernels ~= nil the
[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
105 if brand == nil then
106 return nil
112 if branddef == nil then
119 if branddefs[brand] == nil then
121 return 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_QUOT
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libbluetooth/
H A Dt_sdp_match.c48 0x00, // nil
59 sdp_data_t nil; local
69 ATF_REQUIRE(sdp_get_data(&test, &nil)); /* (skip) */
70 ATF_CHECK_EQ(sdp_data_type(&nil), SDP_DATA_NIL);
H A Dt_sdp_get.c145 0x00, // nil
177 sdp_data_t nil; local
191 ATF_REQUIRE(sdp_get_data(&test, &nil)); /* (skip) */
192 ATF_CHECK_EQ(sdp_data_type(&nil), SDP_DATA_NIL);
212 0x00, // nil
216 sdp_data_t nil; local
227 ATF_REQUIRE(sdp_get_data(&test, &nil)); /* (skip) */
228 ATF_CHECK_EQ(sdp_data_type(&nil), SDP_DATA_NIL);
251 0x00, // nil
279 sdp_data_t nil; local
389 sdp_data_t nil; local
559 sdp_data_t nil; local
604 sdp_data_t nil; local
[all...]
/freebsd-current/stand/libsa/
H A Duuid_to_string.c62 * NOTE: we don't support u == NULL for a nil UUID, sorry.
73 uuid_t nil; local
87 u = &nil;
88 uuid_create_nil(&nil, NULL);
/freebsd-current/contrib/ofed/opensm/complib/
H A Dcl_map.c134 CL_ASSERT(p_item->p_right != &p_map->nil);
149 if ((*pp_root)->p_left != &p_map->nil)
180 CL_ASSERT(p_item->p_left != &p_map->nil);
194 if ((*pp_root)->p_right != &p_map->nil)
211 p_map->root.p_left = &p_map->nil;
212 p_map->root.p_right = &p_map->nil;
216 p_map->nil.p_up = &p_map->nil;
217 p_map->nil.p_left = &p_map->nil;
[all...]
/freebsd-current/libexec/nuageinit/
H A Dnuage.lua18 return nil
22 return nil
28 if lfs.attributes(path, "mode") ~= nil then
33 return nil,err.." (creating "..path..")"
39 if hostname == nil then return end
73 return nil
125 return nil
175 if dirattrs == nil then
178 if dirattrs == nil then
/freebsd-current/sys/tools/
H A Dmakesyscalls.lua245 if s == nil then
246 return nil
248 if char == nil then
268 return nil, "No file given"
278 if key ~= nil and value ~= nil then
326 if file == nil then
332 if fh == nil then
361 if v.stdcompat ~= nil then
388 if known_abi_flags[txtflag] == nil the
[all...]
/freebsd-current/bin/uuidgen/
H A Duuidgen.c49 uuid_t nil; local
58 u = &nil;
59 uuid_create_nil(&nil, NULL);
/freebsd-current/tools/regression/usr.bin/env/
H A Dregress-sb.rb64 @user_args = nil
137 return false if symres == nil
206 usercmd += " " + @user_args if @user_args != nil
271 if $rgdatafile == nil
315 @@rgtest_opts = nil;
419 $cmdopt_testpgm = nil
420 $testpgm = nil
421 $rgdatafile = nil
428 errline = nil
455 if $cmdopt_testpgm == nil
[all...]
/freebsd-current/sys/contrib/openzfs/contrib/zcp/
H A Dautosnap.lua21 root_snap = nil
34 if root_snap == nil or property == nil then

Completed in 217 milliseconds

12