Lines Matching refs:desc
43 PropertyDescriptor* desc) { in ToPropertyDescriptorFastPath() argument
80 desc->set_enumerable(value->BooleanValue()); in ToPropertyDescriptorFastPath()
82 desc->set_configurable(value->BooleanValue()); in ToPropertyDescriptorFastPath()
84 desc->set_value(value); in ToPropertyDescriptorFastPath()
86 desc->set_writable(value->BooleanValue()); in ToPropertyDescriptorFastPath()
90 desc->set_get(value); in ToPropertyDescriptorFastPath()
94 desc->set_set(value); in ToPropertyDescriptorFastPath()
97 if ((desc->has_get() || desc->has_set()) && in ToPropertyDescriptorFastPath()
98 (desc->has_value() || desc->has_writable())) { in ToPropertyDescriptorFastPath()
182 PropertyDescriptor* desc) { in ToPropertyDescriptor() argument
191 DCHECK(desc->is_empty()); in ToPropertyDescriptor()
194 if (ToPropertyDescriptorFastPath(isolate, receiver, desc)) { in ToPropertyDescriptor()
207 desc->set_enumerable(enumerable->BooleanValue()); in ToPropertyDescriptor()
219 desc->set_configurable(configurable->BooleanValue()); in ToPropertyDescriptor()
230 if (!value.is_null()) desc->set_value(value); in ToPropertyDescriptor()
240 if (!writable.is_null()) desc->set_writable(writable->BooleanValue()); in ToPropertyDescriptor()
258 desc->set_get(getter); in ToPropertyDescriptor()
276 desc->set_set(setter); in ToPropertyDescriptor()
282 if ((desc->has_get() || desc->has_set()) && in ToPropertyDescriptor()
283 (desc->has_value() || desc->has_writable())) { in ToPropertyDescriptor()
297 PropertyDescriptor* desc) { in CompletePropertyDescriptor() argument
306 if (!IsAccessorDescriptor(desc)) { in CompletePropertyDescriptor()
309 if (!desc->has_value()) { in CompletePropertyDescriptor()
310 desc->set_value(isolate->factory()->undefined_value()); in CompletePropertyDescriptor()
314 if (!desc->has_writable()) desc->set_writable(false); in CompletePropertyDescriptor()
319 if (!desc->has_get()) { in CompletePropertyDescriptor()
320 desc->set_get(isolate->factory()->undefined_value()); in CompletePropertyDescriptor()
324 if (!desc->has_set()) { in CompletePropertyDescriptor()
325 desc->set_set(isolate->factory()->undefined_value()); in CompletePropertyDescriptor()
330 if (!desc->has_enumerable()) desc->set_enumerable(false); in CompletePropertyDescriptor()
333 if (!desc->has_configurable()) desc->set_configurable(false); in CompletePropertyDescriptor()