Lines Matching full:identifier
587 kern_return_t WKPCGetStringIdentifier(mach_port_t clientPort, data_t name, mach_msg_type_number_t nameCnt, uint64_t* identifier)
591 COMPILE_ASSERT(sizeof(*identifier) == sizeof(IdentifierRep*), identifier_sizes);
593 *identifier = reinterpret_cast<uint64_t>(IdentifierRep::get(name));
597 kern_return_t WKPCGetIntIdentifier(mach_port_t clientPort, int32_t value, uint64_t* identifier)
599 COMPILE_ASSERT(sizeof(*identifier) == sizeof(NPIdentifier), identifier_sizes);
601 *identifier = reinterpret_cast<uint64_t>(IdentifierRep::get(value));
605 static Identifier identifierFromIdentifierRep(IdentifierRep* identifier)
607 ASSERT(IdentifierRep::isValid(identifier));
608 ASSERT(identifier->isString());
610 const char* str = identifier->string();
611 return Identifier(JSDOMWindow::commonJSGlobalData(), stringToUString(String::fromUTF8WithLatin1Fallback(str, strlen(str))));
629 IdentifierRep* identifier = reinterpret_cast<IdentifierRep*>(serverIdentifier);
630 if (!IdentifierRep::isValid(identifier))
633 Identifier methodNameIdentifier = identifierFromIdentifierRep(identifier);
711 IdentifierRep* identifier = reinterpret_cast<IdentifierRep*>(serverIdentifier);
712 if (!IdentifierRep::isValid(identifier))
721 if (identifier->isString()) {
722 Identifier propertyNameIdentifier = identifierFromIdentifierRep(identifier);
725 returnValue = instanceProxy->setProperty(objectID, identifier->number(), resultData, resultLength);
752 IdentifierRep* identifier = reinterpret_cast<IdentifierRep*>(serverIdentifier);
753 if (!IdentifierRep::isValid(identifier))
757 if (identifier->isString()) {
758 Identifier propertyNameIdentifier = identifierFromIdentifierRep(identifier);
761 result = instanceProxy->setProperty(objectID, identifier->number(), valueData, valueLength);
784 IdentifierRep* identifier = reinterpret_cast<IdentifierRep*>(serverIdentifier);
785 if (!IdentifierRep::isValid(identifier))
789 if (identifier->isString()) {
790 Identifier propertyNameIdentifier = identifierFromIdentifierRep(identifier);
793 result = instanceProxy->removeProperty(objectID, identifier->number());
816 IdentifierRep* identifier = reinterpret_cast<IdentifierRep*>(serverIdentifier);
817 if (!IdentifierRep::isValid(identifier))
821 if (identifier->isString()) {
822 Identifier propertyNameIdentifier = identifierFromIdentifierRep(identifier);
825 returnValue = instanceProxy->hasProperty(objectID, identifier->number());
848 IdentifierRep* identifier = reinterpret_cast<IdentifierRep*>(serverIdentifier);
849 if (!IdentifierRep::isValid(identifier))
852 Identifier methodNameIdentifier = identifierFromIdentifierRep(identifier);
866 IdentifierRep* identifier = reinterpret_cast<IdentifierRep*>(serverIdentifier);
867 if (!IdentifierRep::isValid(identifier))
871 if (identifier->isString()) {
872 const char* str = identifier->string();
875 info = [NSNumber numberWithInt:identifier->number()];