/libcore/luni/src/test/java/libcore/internal/ |
StringPoolTest.java | 20 import libcore.internal.StringPool; 25 StringPool stringPool = new StringPool(); 26 String bcd = stringPool.get(new char[] { 'a', 'b', 'c', 'd', 'e' }, 1, 3); 28 assertSame(bcd, stringPool.get(new char[] { 'a', 'b', 'c', 'd', 'e' }, 1, 3)); 32 StringPool stringPool = new StringPool(); 37 String aString = stringPool.get(a, 0, 2) [all...] |
/external/llvm/lib/Support/ |
StringPool.cpp | 1 //===-- StringPool.cpp - Interned string pool -----------------------------===// 10 // This file implements the StringPool class. 14 #include "llvm/Support/StringPool.h" 19 StringPool::StringPool() {} 21 StringPool::~StringPool() { 25 PooledStringPtr StringPool::intern(StringRef Key) {
|
Android.mk | 60 StringPool.cpp \
|
CMakeLists.txt | 49 StringPool.cpp
|
/cts/tools/dex-tools/src/dex/reader/ |
DexAnnotationAttributeImpl.java | 28 private String[] stringPool; 35 DexAnnotation annotation, int[] typeIds, String[] stringPool, 40 this.stringPool = stringPool; 48 stringPool, fieldIdItems); 52 return stringPool[nameIdx];
|
DexEncodedAnnotationImpl.java | 34 private final String[] stringPool; 40 int[] typeIds, String[] stringPool, FieldIdItem[] fieldIdItems) { 44 this.stringPool = stringPool; 55 typeIds, stringPool, fieldIdItems)); 68 return stringPool[typeIds[typeIdx]];
|
DexFileImpl.java | 32 private final String[] stringPool; 42 public DexFileImpl(DexBuffer buffer, String[] stringPool, int[] typeIds, 46 this.stringPool = stringPool; 64 classDefItems[i], stringPool, typeIds, protoIdItems, 74 b.append("StringPool:\n").append(Arrays.toString(stringPool)); 77 b.append(stringPool[typeIds[i]] + "\n");
|
DexFieldImpl.java | 32 private String[] stringPool; 44 FieldAnnotation fieldAnnotation, String[] stringPool, 51 this.stringPool = stringPool; 64 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); 70 return stringPool[fieldIdItem.name_idx]; 74 return stringPool[typeIds[fieldIdItem.type_idx]];
|
DexAnnotationImpl.java | 31 private String[] stringPool; 39 String[] stringPool, FieldIdItem[] fieldIdItems) { 43 this.stringPool = stringPool; 52 stringPool, fieldIdItems);
|
DexParameterImpl.java | 33 private final String[] stringPool; 37 Integer annotationOffset, int[] typeIds, String[] stringPool, 43 this.stringPool = stringPool; 55 buffer.readUInt(), typeIds, stringPool, fieldIdItems));
|
DexMethodImpl.java | 41 private String[] stringPool; 57 ParameterAnnotation parameterAnnotation, String[] stringPool, 66 this.stringPool = stringPool; 91 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); 97 return stringPool[methodsIdItem.name_idx]; 101 return stringPool[typeIds[protoIdItem.return_type_idx]]; 118 stringPool[typeIds[paramTypeIdx[i]]], 119 parameterIdToIndex.get(i), typeIds, stringPool,
|
DexEncodedValueImpl.java | 33 private String[] stringPool; 44 * @param stringPool 48 int[] typeIds, String[] stringPool, FieldIdItem[] fieldIdItems) { 52 this.stringPool = stringPool; 137 stringPool, fieldIdItems); 150 stringPool, fieldIdItems)); 164 String constantName = stringPool[fieldIdItem.name_idx]; 165 String typeName = stringPool[typeIds[fieldIdItem.type_idx]]; 189 String fieldName = stringPool[fieldIdItem.name_idx] [all...] |
DexClassImpl.java | 45 private final String[] stringPool; 70 String[] stringPool, int[] typeIds, ProtIdItem[] protoIdItems, 74 this.stringPool = stringPool; 243 buffer.readUInt(), typeIds, stringPool, fieldIdItems)); 269 idToFieldAnnotation.get(fieldIdIdx), stringPool, 301 .get(methodIdIdx), stringPool, typeIds, 317 interfaces.add(stringPool[typeIds[buffer.readUShort()]]); 327 : stringPool[typeIds[classDefItem.superclass_idx]]; 335 return stringPool[typeIds[classDefItem.class_idx]] [all...] |
DexFileReader.java | 60 private String[] stringPool; 61 private int[] typeIds; // values are index of stringPool 101 return new DexFileImpl(b.createCopy(), stringPool, typeIds, 157 stringPool = new String[nStrings]; 164 stringPool[i] = new String(values); 203 // directly stringpool) 225 // directly stringpool)
|
/external/chromium_org/native_client_sdk/src/libraries/xray/ |
library.dsc | 13 'stringpool.c',
|
/frameworks/base/tools/aapt/ |
XMLNode.h | 10 #include "StringPool.h" 27 Vector<StringPool::entry_style_span>* outSpans, 172 status_t collect_strings(StringPool* dest, Vector<uint32_t>* outResIds, 175 status_t collect_attr_strings(StringPool* outPool, 178 status_t collect_resid_strings(StringPool* outPool, 181 status_t flatten_node(const StringPool& strings, const sp<AaptFile>& dest,
|
StringPool.h | 34 * The StringPool class is used as an intermediate representation for 38 class StringPool 85 explicit StringPool(bool utf8 = false); 177 ANDROID_TRIVIAL_MOVE_TRAIT(StringPool::entry); 178 ANDROID_TRIVIAL_MOVE_TRAIT(StringPool::entry_style_span); 179 ANDROID_TRIVIAL_MOVE_TRAIT(StringPool::entry_style);
|
StringPool.cpp | 7 #include "StringPool.h" 60 String8 StringPool::entry::makeConfigsString() const { 74 int StringPool::entry::compare(const entry& o) const { 104 StringPool::StringPool(bool utf8) : 109 ssize_t StringPool::add(const String16& value, const Vector<entry_style_span>& spans, 119 ssize_t StringPool::add(const String16& value, 182 status_t StringPool::addStyleSpan(size_t idx, const String16& name, 192 status_t StringPool::addStyleSpans(size_t idx, const Vector<entry_style_span>& spans) 204 status_t StringPool::addStyleSpan(size_t idx, const entry_style_span& span [all...] |
ResourceTable.h | 10 #include "StringPool.h" 125 const Vector<StringPool::entry_style_span>* style = NULL, 148 const Vector<StringPool::entry_style_span>* style = NULL, 211 bool stringToValue(Res_value* outValue, StringPool* pool, 215 const Vector<StringPool::entry_style_span>* style = NULL, 262 const Vector<StringPool::entry_style_span>* _style = NULL, 285 Vector<StringPool::entry_style_span> style; 318 const Vector<StringPool::entry_style_span>* style = NULL, 324 const Vector<StringPool::entry_style_span>* style = NULL, 341 status_t prepareFlatten(StringPool* strings, ResourceTable* table [all...] |
Android.mk | 18 StringPool.cpp \
|
/external/llvm/include/llvm/Support/ |
StringPool.h | 1 //===-- StringPool.h - Interned string pool ---------------------*- C++ -*-===// 15 // StringPool Pool; 40 /// StringPool - An interned string pool. Use the intern method to add a 43 class StringPool { 47 StringPool *Pool; ///< So the string can remove itself. 61 StringPool(); 62 ~StringPool(); 80 typedef StringPool::entry_t entry_t;
|
/external/chromium_org/net/base/registry_controlled_domains/ |
registry_controlled_domain.cc | 69 // 'stringpool' is defined as a macro by the gperf-generated 71 const char* const kDefaultStringPool = stringpool; 72 #undef stringpool macro 268 const char* stringpool) { 270 g_stringpool = stringpool ? stringpool : kDefaultStringPool;
|
/external/clang/tools/libclang/ |
CXTranslationUnit.h | 29 clang::cxstring::CXStringPool *StringPool;
|
/libcore/luni/src/main/java/libcore/internal/ |
StringPool.java | 24 public final class StringPool {
|
/external/llvm/test/DebugInfo/X86/ |
stringpool.ll | 37 ; Verify that "yyyy" ended up in the stringpool.
|