Home
last modified time | relevance | path

Searched refs:first_param (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_posix.py303 def _test_all_chown_common(self, chown_func, first_param, stat_func): argument
307 stat = stat_func(first_param)
313 chown_func(first_param, uid, gid)
315 chown_func(first_param, -1, gid)
317 chown_func(first_param, uid, -1)
335 chown_func(first_param, big_value, big_value)
337 chown_func(first_param, -1, -1)
339 chown_func(first_param, uid, gid)
348 self.assertRaises(OSError, chown_func, first_param, 0, 0)
350 self.assertRaises(OSError, chown_func, first_param, 0, -1)
[all …]
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dgmock_class.py87 first_param = node.parameters[0]
88 if source[first_param.start:first_param.end].strip() == 'void':
/external/googletest/googlemock/scripts/generator/cpp/
Dgmock_class.py88 first_param = node.parameters[0]
89 if source[first_param.start:first_param.end].strip() == 'void':
/external/mesa3d/src/compiler/glsl/
Dast_function.cpp1341 ir_rvalue *first_param = (ir_rvalue *)parameters->get_head_raw(); in emit_inline_vector_constructor() local
1342 ir_rvalue *rhs = new(ctx) ir_swizzle(first_param, 0, 0, 0, 0, in emit_inline_vector_constructor()
1544 ir_rvalue *const first_param = (ir_rvalue *) parameters->get_head_raw(); in emit_inline_matrix_constructor() local
1549 glsl_base_type param_base_type = first_param->type->base_type; in emit_inline_matrix_constructor()
1550 assert(first_param->type->is_float() || first_param->type->is_double()); in emit_inline_matrix_constructor()
1559 if (first_param->type->is_float()) in emit_inline_matrix_constructor()
1572 inst = new(ctx) ir_assignment(rhs_ref, first_param, NULL, 0x01); in emit_inline_matrix_constructor()
1615 } else if (first_param->type->is_matrix()) { in emit_inline_matrix_constructor()
1625 assert(first_param->next->is_tail_sentinel()); in emit_inline_matrix_constructor()
1626 ir_rvalue *const src_matrix = first_param; in emit_inline_matrix_constructor()
[all …]
/external/python/cpython3/Lib/test/
Dtest_posix.py694 def _test_all_chown_common(self, chown_func, first_param, stat_func): argument
698 stat = stat_func(first_param)
704 chown_func(first_param, uid, gid)
706 chown_func(first_param, -1, gid)
708 chown_func(first_param, uid, -1)
726 chown_func(first_param, big_value, big_value)
728 chown_func(first_param, -1, -1)
730 chown_func(first_param, uid, gid)
739 self.assertRaises(OSError, chown_func, first_param, 0, 0)
741 self.assertRaises(OSError, chown_func, first_param, 0, -1)
[all …]
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc719 auto first_param = context->tensors[node->inputs->data[0]].params; in Map() local
722 if (curr_param.scale != first_param.scale || in Map()
723 curr_param.zero_point != first_param.zero_point) { in Map()
/external/python/cpython3/Lib/email/
D_header_value_parser.py735 first_param = parts[0][1]
736 charset = first_param.charset
740 if not first_param.extended and len(parts) > 1: