Lines Matching refs:disposition
95 local function excludes_stack_overflow(disposition, is_heap)
96 return (not is_heap) and disposition > 0
1076 local function generate_test_name(func, variant, disposition, heap)
1084 if disposition < 0 then
1086 elseif disposition == 0 then
1115 local function generate_stackframe(buftype, bufsize, disposition, heap, def)
1116 local function len_offset(inverted, disposition)
1122 if disposition < 0 then
1124 elseif disposition == 0 then
1155 local bufsize_offset = len_offset(not uses_len, disposition)
1211 if disposition > 0 then
1223 local function write_test(fh, func, disposition, heap, def)
1224 local testname = generate_test_name(func, def.variant, disposition, heap)
1229 if def.exclude and def.exclude(disposition, heap) then
1244 body = body .. generate_stackframe(buftype, bufsize, disposition, heap, def) ..
1257 if disposition > 0 then
1314 if disposition <= 0 then
1518 for _, disposition in ipairs(dispositions) do
1519 tests_added[#tests_added + 1] = write_test(fh, func, disposition, heap, def)