Searched defs:prototype (Results 26 - 50 of 73) sorted by relevance

123

/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dmessage.cc241 void RegisterType(const Descriptor* descriptor, const Message* prototype);
285 const Message* prototype) {
294 if (!InsertIfNotPresent(&type_map_, descriptor, prototype)) {
352 const Descriptor* descriptor, const Message* prototype) {
353 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
284 RegisterType(const Descriptor* descriptor, const Message* prototype) argument
351 InternalRegisterGeneratedMessage( const Descriptor* descriptor, const Message* prototype) argument
H A Dextension_set.cc150 const MessageLite* prototype) {
154 info.message_prototype = prototype;
458 const MessageLite& prototype,
466 extension->message_value = prototype.New();
473 return extension->lazymessage_value->MutableMessage(prototype);
512 const MessageLite& prototype) {
521 ret = iter->second.lazymessage_value->ReleaseMessage(prototype);
551 const MessageLite& prototype,
569 result = prototype.New();
147 RegisterMessageExtension(const MessageLite* containing_type, int number, FieldType type, bool is_repeated, bool is_packed, const MessageLite* prototype) argument
457 MutableMessage(int number, FieldType type, const MessageLite& prototype, const FieldDescriptor* descriptor) argument
511 ReleaseMessage(int number, const MessageLite& prototype) argument
550 AddMessage(int number, FieldType type, const MessageLite& prototype, const FieldDescriptor* descriptor) argument
H A Dgenerated_message_reflection.cc264 // the prototype. Only count the string if it has been changed
281 // For singular fields, the prototype just stores a pointer to the
282 // external type's prototype, so there is no extra memory usage.
1075 const Message* prototype; local
1077 prototype = factory->GetPrototype(field->message_type());
1079 prototype = &repeated->Get<GenericTypeHandler<Message> >(0);
1081 result = prototype->New();
/external/chromium_org/v8/src/ic/
H A Dhandler-compiler.cc32 if (receiver_map->prototype()->IsNull()) {
33 // TODO(jkummerow/verwaest): If there is no prototype and the property
42 // If no dictionary mode objects are present in the prototype chain, the load
52 Handle<JSObject> last(JSObject::cast(receiver_map->prototype()));
55 if (current_map->prototype()->IsNull()) break;
56 last = handle(JSObject::cast(current_map->prototype()));
111 Object* prototype = JSFunction::cast(function)->instance_prototype(); local
112 set_type_for_object(handle(prototype, isolate()));
116 // Check that the maps starting from the prototype haven't changed.
150 // If |type| has null as its prototype, |holde
[all...]
/external/icu/icu4c/source/tools/makeconv/
H A Dmakeconv.c438 const UConverterStaticData *prototype; local
514 prototype=ucnv_converterStaticData[staticData->conversionType];
515 if(prototype!=NULL) {
517 uprv_strcpy((char *)staticData->name, prototype->name);
521 staticData->codepage=prototype->codepage;
525 staticData->platform=prototype->platform;
529 staticData->minBytesPerChar=prototype->minBytesPerChar;
533 staticData->maxBytesPerChar=prototype->maxBytesPerChar;
537 staticData->subCharLen=prototype->subCharLen;
538 if(prototype
[all...]
/external/chromium_org/v8/src/ic/ia32/
H A Dhandler-compiler-ia32.cc91 MacroAssembler* masm, int index, Register prototype, Label* miss) {
96 Register scratch = prototype;
104 __ Move(prototype, Immediate(Handle<Map>(function->initial_map())));
105 // Load the prototype from the initial map.
106 __ mov(prototype, FieldOperand(prototype, Map::kPrototypeOffset));
517 Handle<JSObject> prototype = Handle<JSObject>::null(); local
520 // Traverse the prototype chain and check the maps in the prototype chain for
530 prototype
90 GenerateDirectLoadGlobalFunctionPrototype( MacroAssembler* masm, int index, Register prototype, Label* miss) argument
[all...]
/external/chromium_org/v8/src/ic/x64/
H A Dhandler-compiler-x64.cc59 MacroAssembler* masm, int index, Register prototype, Label* miss) {
66 Register scratch = prototype;
74 __ Move(prototype, Handle<Map>(function->initial_map()));
75 // Load the prototype from the initial map.
76 __ movp(prototype, FieldOperand(prototype, Map::kPrototypeOffset));
514 Handle<JSObject> prototype = Handle<JSObject>::null(); local
517 // Traverse the prototype chain and check the maps in the prototype chain for
527 prototype
58 GenerateDirectLoadGlobalFunctionPrototype( MacroAssembler* masm, int index, Register prototype, Label* miss) argument
[all...]
/external/chromium_org/v8/src/ic/x87/
H A Dhandler-compiler-x87.cc91 MacroAssembler* masm, int index, Register prototype, Label* miss) {
96 Register scratch = prototype;
104 __ Move(prototype, Immediate(Handle<Map>(function->initial_map())));
105 // Load the prototype from the initial map.
106 __ mov(prototype, FieldOperand(prototype, Map::kPrototypeOffset));
519 Handle<JSObject> prototype = Handle<JSObject>::null(); local
522 // Traverse the prototype chain and check the maps in the prototype chain for
532 prototype
90 GenerateDirectLoadGlobalFunctionPrototype( MacroAssembler* masm, int index, Register prototype, Label* miss) argument
[all...]
/external/chromium_org/components/autofill/core/browser/
H A Dautofill_profile.cc150 const T& prototype,
152 form_group_items->resize(values.size(), prototype);
157 form_group_items->resize(std::max<size_t>(1UL, values.size()), prototype);
163 const T& prototype,
166 form_group_items->resize(values.size(), prototype);
171 form_group_items->resize(std::max<size_t>(1UL, values.size()), prototype);
148 CopyRawValuesToItems(ServerFieldType type, const std::vector<base::string16>& values, const T& prototype, std::vector<T>* form_group_items) argument
161 CopyValuesToItems(AutofillType type, const std::vector<base::string16>& values, const T& prototype, const std::string& app_locale, std::vector<T>* form_group_items) argument
/external/chromium_org/third_party/icu/source/i18n/
H A Dtransreg.cpp416 * can represent prototype transliterators to be cloned, or can
441 Transliterator* prototype; // For PROTOTYPE member in union:TransliteratorEntry::__anon12104
462 u.prototype = 0;
471 delete u.prototype;
488 delete u.prototype;
491 u.prototype = adopted;
497 delete u.prototype;
1260 t = entry->u.prototype->clone();
/external/chromium_org/v8/src/
H A Daccessors.cc18 #include "src/prototype.h"
307 // a Value with a String wrapper in its prototype chain.
891 return Handle<Object>(function->prototype(), isolate);
902 old_value = handle(function->prototype(), isolate);
908 DCHECK(function->prototype() == *value);
925 Handle<Object> prototype) {
928 return SetFunctionPrototype(isolate, function, prototype);
924 FunctionSetPrototype(Handle<JSFunction> function, Handle<Object> prototype) argument
H A Dbootstrapper.cc264 // object and overrides the prototype in 'to' with the one from
271 // With prototype.
274 // Without prototype.
315 // prototype for the processing of JS builtins. Later the function maps are
316 // replaced in order to make prototype writable. These are the final, writable
317 // prototype, maps.
377 Handle<JSObject> prototype; local
378 Handle<JSFunction> function = maybe_prototype.ToHandle(&prototype)
379 ? factory->NewFunction(internalized_name, call_code, prototype,
438 Handle<AccessorInfo> prototype local
498 Handle<JSObject> prototype = factory->NewJSObject( local
596 Handle<AccessorInfo> prototype = local
784 Handle<JSObject> prototype = local
1603 Handle<JSObject> prototype = local
1698 Handle<JSObject> prototype = local
1840 Handle<JSObject> prototype = local
[all...]
/external/chromium_org/v8/src/ic/arm/
H A Dhandler-compiler-arm.cc143 MacroAssembler* masm, int index, Register prototype, Label* miss) {
150 Register scratch = prototype;
160 __ Move(prototype, Handle<Map>(function->initial_map()));
161 // Load the prototype from the initial map.
162 __ ldr(prototype, FieldMemOperand(prototype, Map::kPrototypeOffset));
528 Handle<JSObject> prototype = Handle<JSObject>::null(); local
531 // Traverse the prototype chain and check the maps in the prototype chain for
541 prototype
142 GenerateDirectLoadGlobalFunctionPrototype( MacroAssembler* masm, int index, Register prototype, Label* miss) argument
[all...]
/external/chromium_org/v8/src/ic/arm64/
H A Dhandler-compiler-arm64.cc60 MacroAssembler* masm, int index, Register prototype, Label* miss) {
67 Register scratch = prototype;
75 __ Mov(prototype, Operand(Handle<Map>(function->initial_map())));
76 // Load the prototype from the initial map.
77 __ Ldr(prototype, FieldMemOperand(prototype, Map::kPrototypeOffset));
564 Handle<JSObject> prototype = Handle<JSObject>::null(); local
567 // Traverse the prototype chain and check the maps in the prototype chain for
577 prototype
59 GenerateDirectLoadGlobalFunctionPrototype( MacroAssembler* masm, int index, Register prototype, Label* miss) argument
[all...]
/external/chromium_org/v8/src/ic/mips/
H A Dhandler-compiler-mips.cc141 MacroAssembler* masm, int index, Register prototype, Label* miss) {
148 Register scratch = prototype;
157 __ li(prototype, Handle<Map>(function->initial_map()));
158 // Load the prototype from the initial map.
159 __ lw(prototype, FieldMemOperand(prototype, Map::kPrototypeOffset));
526 Handle<JSObject> prototype = Handle<JSObject>::null(); local
529 // Traverse the prototype chain and check the maps in the prototype chain for
539 prototype
140 GenerateDirectLoadGlobalFunctionPrototype( MacroAssembler* masm, int index, Register prototype, Label* miss) argument
[all...]
/external/chromium_org/v8/src/ic/mips64/
H A Dhandler-compiler-mips64.cc141 MacroAssembler* masm, int index, Register prototype, Label* miss) {
148 Register scratch = prototype;
157 __ li(prototype, Handle<Map>(function->initial_map()));
158 // Load the prototype from the initial map.
159 __ ld(prototype, FieldMemOperand(prototype, Map::kPrototypeOffset));
526 Handle<JSObject> prototype = Handle<JSObject>::null(); local
529 // Traverse the prototype chain and check the maps in the prototype chain for
539 prototype
140 GenerateDirectLoadGlobalFunctionPrototype( MacroAssembler* masm, int index, Register prototype, Label* miss) argument
[all...]
/external/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h285 /// Compute the arguments required by the given formal prototype,
288 static RequiredArgs forPrototypePlus(const FunctionProtoType *prototype, argument
290 if (!prototype->isVariadic()) return All;
291 return RequiredArgs(prototype->getNumParams() + additional);
294 static RequiredArgs forPrototype(const FunctionProtoType *prototype) { argument
295 return forPrototypePlus(prototype, 0);
298 static RequiredArgs forPrototype(CanQual<FunctionProtoType> prototype) { argument
299 return forPrototype(prototype.getTypePtr());
302 static RequiredArgs forPrototypePlus(CanQual<FunctionProtoType> prototype, argument
304 return forPrototypePlus(prototype
[all...]
/external/icu/icu4c/source/i18n/
H A Dtransreg.cpp416 * can represent prototype transliterators to be cloned, or can
441 Transliterator* prototype; // For PROTOTYPE member in union:TransliteratorEntry::__anon21914
462 u.prototype = 0;
471 delete u.prototype;
488 delete u.prototype;
491 u.prototype = adopted;
497 delete u.prototype;
1260 t = entry->u.prototype->clone();
/external/protobuf/src/google/protobuf/
H A Dextension_set.cc150 const MessageLite* prototype) {
154 info.message_prototype = prototype;
423 const MessageLite& prototype,
430 extension->message_value = prototype.New();
459 const MessageLite& prototype,
477 result = prototype.New();
147 RegisterMessageExtension(const MessageLite* containing_type, int number, FieldType type, bool is_repeated, bool is_packed, const MessageLite* prototype) argument
422 MutableMessage(int number, FieldType type, const MessageLite& prototype, const FieldDescriptor* descriptor) argument
458 AddMessage(int number, FieldType type, const MessageLite& prototype, const FieldDescriptor* descriptor) argument
H A Dgenerated_message_reflection.cc279 // the prototype. Only count the string if it has been changed
296 // For singular fields, the prototype just stores a pointer to the
297 // external type's prototype, so there is no extra memory usage.
1044 const Message* prototype; local
1046 prototype = factory->GetPrototype(field->message_type());
1048 prototype = &repeated->Get<GenericTypeHandler<Message> >(0);
1050 result = prototype->New();
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dast.h600 * Is this prototype part of the function definition?
610 * Function signature corresponding to this function prototype instance
800 ast_function *prototype; member in class:ast_function_definition
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/
H A Dpython-proto2.cc410 const Message* prototype = global_message_factory->GetPrototype( local
412 GOOGLE_DCHECK(prototype != NULL);
413 child_cmessage->message = prototype->New();
/external/mesa3d/src/glsl/
H A Dast.h600 * Is this prototype part of the function definition?
610 * Function signature corresponding to this function prototype instance
800 ast_function *prototype; member in class:ast_function_definition
/external/chromium_org/third_party/angle/src/compiler/translator/
H A Dglslang_tab.cpp3287 TIntermAggregate *prototype = new TIntermAggregate; local
3288 prototype->setType(function.getReturnType());
3289 prototype->setName(function.getName());
3298 prototype = context->intermediate.growAggregate(prototype, context->intermediate.addSymbol(variable.getUniqueId(), variable.getName(), variable.getType(), (yylsp[(1) - (2)])), (yylsp[(1) - (2)]));
3302 prototype = context->intermediate.growAggregate(prototype, context->intermediate.addSymbol(0, "", *param.type, (yylsp[(1) - (2)])), (yylsp[(1) - (2)]));
3306 prototype->setOp(EOpPrototype);
3307 (yyval.interm.intermNode) = prototype;
3422 // Add the function prototype t
[all...]
/external/chromium_org/v8/src/arm/
H A Dcode-stubs-arm.cc1312 const Register prototype = r4; // Prototype of the function. local
1340 // Get the prototype of the function.
1341 __ TryGetFunctionPrototype(function, prototype, scratch, &slow, true);
1343 // Check that the function prototype is a JS object.
1344 __ JumpIfSmi(prototype, &slow);
1345 __ IsObjectJSObjectType(prototype, scratch, scratch, &slow);
1366 // Register mapping: r3 is object map and r4 is function prototype.
1367 // Get prototype of object into r2.
1374 // Loop through the prototype chain looking for the function prototype
[all...]

Completed in 778 milliseconds

123