Searched refs:newString (Results 1 – 13 of 13) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyDescriptorPool.java | 134 ((RubyEnumDescriptor) symtab.get(runtime.newString(enumName))) in buildFileDescriptor() 139 … symtab.get(runtime.newString(Utils.unescapeIdentifier(descriptor.getName())))); in buildFileDescriptor() 148 … runtime.newString(Utils.unescapeIdentifier(fieldDescriptor.getMessageType().getName()))); in buildFileDescriptor() 153 … runtime.newString(Utils.unescapeIdentifier(fieldDescriptor.getEnumType().getName()))); in buildFileDescriptor()
|
D | Utils.java | 153 IRubyObject wrapped = runtime.newString(((ByteString) value).toStringUtf8()); in wrapPrimaryValue() 158 IRubyObject wrapped = runtime.newString(value.toString()); in wrapPrimaryValue() 240 fieldDef.setLabel(context, runtime.newString(label)); in msgdefCreateField()
|
D | RubyMessageBuilderContext.java | 168 keyField.setName(context, runtime.newString("key")); in map() 176 valueField.setName(context, runtime.newString("value")); in map()
|
D | RubyMessage.java | 156 return getRuntime().newString(sb.toString()); in inspect() 235 RubyString equalSign = context.runtime.newString(Utils.EQUAL_SIGN); in methodMissing() 293 return context.runtime.newString(new ByteList(message.build(context).toByteArray())); in encode() 573 return runtime.newString(value.toString()); in wrapField() 743 context.runtime.newString("value")); in newMapForField()
|
D | RubyOneofDescriptor.java | 64 this.name = context.runtime.newString(name.asJavaString()); in setName()
|
D | RubyEnumDescriptor.java | 176 enumModule.instance_variable_set(runtime.newString(Utils.DESCRIPTOR_INSTANCE_VAR), this); in buildModuleFromDescriptor()
|
D | RubyFieldDescriptor.java | 122 this.name = context.runtime.newString(nameStr); in setName()
|
D | RubyDescriptor.java | 253 klass.instance_variable_set(runtime.newString(Utils.DESCRIPTOR_INSTANCE_VAR), this); in buildClassFromDescriptor()
|
D | RubyMap.java | 234 return context.runtime.newString(new ByteList(digest.digest())); in hash()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | CodedOutputStreamTest.java | 513 String[] invalidStrings = new String[] {newString(Character.MIN_HIGH_SURROGATE), 514 "foobar" + newString(Character.MIN_HIGH_SURROGATE), newString(Character.MIN_LOW_SURROGATE), 515 "foobar" + newString(Character.MIN_LOW_SURROGATE), 516 newString(Character.MIN_HIGH_SURROGATE, Character.MIN_HIGH_SURROGATE)}; 539 String invalidString = newString(Character.MIN_HIGH_SURROGATE, 'f', 'o', 'o', 'b', 'a', 'r'); 651 private static String newString(char... chars) {
|
D | NioByteStringTest.java | 528 ByteString newString = new NioByteString(backingBuffer); in testPeekCachedHashCode() local 530 newString.peekCachedHashCode()); in testPeekCachedHashCode() 531 newString.hashCode(); in testPeekCachedHashCode() 533 EXPECTED_HASH, newString.peekCachedHashCode()); in testPeekCachedHashCode()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/ |
D | jsoncpp.cpp | 2503 char* newString = static_cast<char*>(malloc(length + 1)); in duplicateStringValue() local 2504 if (newString == NULL) { in duplicateStringValue() 2509 memcpy(newString, value, length); in duplicateStringValue() 2510 newString[length] = 0; in duplicateStringValue() 2511 return newString; in duplicateStringValue() 2526 char* newString = static_cast<char*>(malloc(actualLength)); in duplicateAndPrefixStringValue() local 2527 if (newString == 0) { in duplicateAndPrefixStringValue() 2532 *reinterpret_cast<unsigned*>(newString) = length; in duplicateAndPrefixStringValue() 2533 memcpy(newString + sizeof(unsigned), value, length); in duplicateAndPrefixStringValue() 2534 newString[actualLength - 1U] = 0; // to avoid buffer over-run accidents by users later in duplicateAndPrefixStringValue() [all …]
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 33180 Landroid/icu/text/UTF16;->newString([III)Ljava/lang/String;
|