/external/chromium_org/content/test/data/indexeddb/ |
H A D | key_path_test.js | 12 shouldBe("event.target.result.value.keyPath", "'myKey' + count"); 32 obj = {'keyPath': 'myKey' + count, 'value': 'myValue' + count}; 47 window.objectStore = db.createObjectStore('test', {keyPath: 'keyPath'});
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
H A D | IDBKeyPathTest.cpp | 39 void checkKeyPath(const String& keyPath, const Vector<String>& expected, int parserError) argument 41 IDBKeyPath idbKeyPath(keyPath); 47 IDBParseKeyPath(keyPath, keyPathElements, error); 59 String keyPath(""); 60 checkKeyPath(keyPath, expected, 0); 66 String keyPath("foo"); 68 checkKeyPath(keyPath, expected, 0); 74 String keyPath("foo.bar.baz"); 78 checkKeyPath(keyPath, expected, 0); 84 String keyPath(" "); [all...] |
H A D | IDBAny.cpp | 119 const IDBKeyPath& IDBAny::keyPath() const function in class:blink::IDBAny 199 IDBAny::IDBAny(PassRefPtr<SharedBuffer> value, const Vector<WebBlobInfo>* blobInfo, IDBKey* key, const IDBKeyPath& keyPath) argument 202 , m_idbKeyPath(keyPath)
|
H A D | IDBIndex.cpp | 68 ScriptValue IDBIndex::keyPath(ScriptState* scriptState) const function in class:blink::IDBIndex 70 return idbAnyToScriptValue(scriptState, IDBAny::create(m_metadata.keyPath));
|
H A D | IDBMetadata.h | 41 IDBIndexMetadata(const String& name, int64_t id, const IDBKeyPath& keyPath, bool unique, bool multiEntry) argument 44 , keyPath(keyPath) 49 IDBKeyPath keyPath; member in struct:blink::IDBIndexMetadata 58 IDBObjectStoreMetadata(const String& name, int64_t id, const IDBKeyPath& keyPath, bool autoIncrement, int64_t maxIndexId) argument 61 , keyPath(keyPath) 68 IDBKeyPath keyPath; member in struct:blink::IDBObjectStoreMetadata
|
H A D | IDBObjectStore.h | 65 ScriptValue keyPath(ScriptState*) const; 78 IDBIndex* createIndex(ScriptState* scriptState, const String& name, const String& keyPath, const IDBIndexParameters& options, ExceptionState& exceptionState) argument 80 return createIndex(scriptState, name, IDBKeyPath(keyPath), options, exceptionState); 82 IDBIndex* createIndex(ScriptState* scriptState, const String& name, const Vector<String>& keyPath, const IDBIndexParameters& options, ExceptionState& exceptionState) argument 84 return createIndex(scriptState, name, IDBKeyPath(keyPath), options, exceptionState);
|
H A D | WebIDBCallbacksImpl.cpp | 127 void WebIDBCallbacksImpl::onSuccess(const WebData& value, const WebVector<WebBlobInfo>& webBlobInfo, const WebIDBKey& key, const WebIDBKeyPath& keyPath) argument 130 m_request->onSuccess(value, ConvertBlobInfo(webBlobInfo), key, keyPath);
|
H A D | IDBAny.h | 76 static IDBAny* create(PassRefPtr<SharedBuffer> value, const Vector<WebBlobInfo>* blobInfo, IDBKey* key, const IDBKeyPath& keyPath) argument 78 return new IDBAny(value, blobInfo, key, keyPath); 116 const IDBKeyPath& keyPath() const;
|
H A D | IDBRequest.cpp | 330 void IDBRequest::onSuccess(PassRefPtr<SharedBuffer> prpValueBuffer, PassOwnPtr<Vector<WebBlobInfo> > blobInfo, IDBKey* prpPrimaryKey, const IDBKeyPath& keyPath) argument 336 ASSERT(keyPath == effectiveObjectStore(m_source)->metadata().keyPath); 343 assertPrimaryKeyValidOrInjectable(m_scriptState.get(), valueBuffer, m_blobInfo.get(), primaryKey, keyPath); 346 onSuccessInternal(IDBAny::create(valueBuffer, m_blobInfo.get(), primaryKey, keyPath));
|
H A D | IDBDatabase.cpp | 200 IDBKeyPath keyPath; local 205 if (DictionaryHelper::get(options, "keyPath", keyPathArray)) 206 keyPath = IDBKeyPath(keyPathArray); 207 else if (options.getWithUndefinedOrNullCheck("keyPath", keyPathString)) 208 keyPath = IDBKeyPath(keyPathString); 213 return createObjectStore(name, keyPath, autoIncrement, exceptionState); 216 IDBObjectStore* IDBDatabase::createObjectStore(const String& name, const IDBKeyPath& keyPath, bool autoIncrement, ExceptionState& exceptionState) argument 238 if (!keyPath.isNull() && !keyPath.isValid()) { 239 exceptionState.throwDOMException(SyntaxError, "The keyPath optio [all...] |
H A D | IDBObjectStore.cpp | 72 ScriptValue IDBObjectStore::keyPath(ScriptState* scriptState) const function in class:blink::IDBObjectStore 74 return idbAnyToScriptValue(scriptState, IDBAny::create(m_metadata.keyPath)); 122 IDBKey* indexKey = createIDBKeyFromScriptValueAndKeyPath(isolate, objectValue, indexMetadata.keyPath); 189 const IDBKeyPath& keyPath = m_metadata.keyPath; local 190 const bool usesInLineKeys = !keyPath.isNull(); 203 IDBKey* keyPathKey = createIDBKeyFromScriptValueAndKeyPath(scriptState->isolate(), clone, keyPath); 217 IDBKey* keyPathKey = createIDBKeyFromScriptValueAndKeyPath(scriptState->isolate(), clone, keyPath); 227 if (!canInjectIDBKeyIntoScriptValue(scriptState->isolate(), clone, keyPath)) { 407 IDBIndex* IDBObjectStore::createIndex(ScriptState* scriptState, const String& name, const IDBKeyPath& keyPath, cons argument [all...] |
H A D | InspectorIndexedDBAgent.cpp | 233 RefPtr<KeyPath> keyPath; local 236 keyPath = KeyPath::create().setType(KeyPath::Type::Null); 239 keyPath = KeyPath::create().setType(KeyPath::Type::String); 240 keyPath->setString(idbKeyPath.string()); 243 keyPath = KeyPath::create().setType(KeyPath::Type::Array); 248 keyPath->setArray(array); 255 return keyPath.release(); 286 .setKeyPath(keyPathFromIDBKeyPath(indexMetadata.keyPath)) 294 .setKeyPath(keyPathFromIDBKeyPath(objectStoreMetadata.keyPath))
|
/external/chromium_org/third_party/WebKit/public/platform/ |
H A D | WebIDBKeyPath.h | 45 WebIDBKeyPath(const WebIDBKeyPath& keyPath) { assign(keyPath); } argument 47 WebIDBKeyPath& operator=(const WebIDBKeyPath& keyPath) argument 49 assign(keyPath);
|
H A D | WebIDBMetadata.h | 59 WebIDBKeyPath keyPath; member in struct:blink::WebIDBMetadata::ObjectStore 65 : keyPath(WebIDBKeyPath::createNull()) 71 WebIDBKeyPath keyPath; member in struct:blink::WebIDBMetadata::Index 76 : keyPath(WebIDBKeyPath::createNull())
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebIDBKeyPath.cpp | 36 WebIDBKeyPath WebIDBKeyPath::create(const WebString& keyPath) argument 38 return WebIDBKeyPath(IDBKeyPath(keyPath)); 41 WebIDBKeyPath WebIDBKeyPath::create(const WebVector<WebString>& keyPath) argument 44 for (size_t i = 0; i < keyPath.size(); ++i) 45 strings.append(keyPath[i]); 54 void WebIDBKeyPath::assign(const WebIDBKeyPath& keyPath) argument 56 ASSERT(keyPath.m_private.get()); 57 m_private.reset(new IDBKeyPath(keyPath));
|
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/ |
H A D | IDBBindingUtilitiesTest.cpp | 39 IDBKey* checkKeyFromValueAndKeyPathInternal(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath) argument 41 IDBKeyPath idbKeyPath(keyPath); 47 void checkKeyPathNullValue(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath) argument 49 ASSERT_FALSE(checkKeyFromValueAndKeyPathInternal(isolate, value, keyPath)); 52 bool injectKey(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath) argument 54 IDBKeyPath idbKeyPath(keyPath); 60 void checkInjection(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath) argument 62 bool result = injectKey(scriptState, key, value, keyPath); 64 IDBKey* extractedKey = checkKeyFromValueAndKeyPathInternal(scriptState->isolate(), value, keyPath); 68 void checkInjectionFails(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath) argument 73 checkKeyPathStringValue(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath, const String& expected) argument 81 checkKeyPathNumberValue(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath, int expected) argument [all...] |
H A D | IDBBindingUtilities.cpp | 154 return toV8(impl->keyPath(), creationContext, isolate); 158 bool injected = injectV8KeyIntoV8Value(isolate, key, value, impl->keyPath()); 307 static IDBKey* createIDBKeyFromScriptValueAndKeyPathInternal(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath, bool allowExperimentalTypes) argument 311 IDBParseKeyPath(keyPath, keyPathElements, error); 323 static IDBKey* createIDBKeyFromScriptValueAndKeyPathInternal(v8::Isolate* isolate, const ScriptValue& value, const IDBKeyPath& keyPath, bool allowExperimentalTypes = false) argument 325 ASSERT(!keyPath.isNull()); 327 if (keyPath.type() == IDBKeyPath::ArrayType) { 329 const Vector<String>& array = keyPath.array(); 339 ASSERT(keyPath.type() == IDBKeyPath::StringType); 340 return createIDBKeyFromScriptValueAndKeyPathInternal(isolate, value, keyPath 343 createIDBKeyFromScriptValueAndKeyPath(v8::Isolate* isolate, const ScriptValue& value, const IDBKeyPath& keyPath) argument 362 injectV8KeyIntoV8Value(v8::Isolate* isolate, v8::Handle<v8::Value> key, v8::Handle<v8::Value> value, const IDBKeyPath& keyPath) argument 387 canInjectIDBKeyIntoScriptValue(v8::Isolate* isolate, const ScriptValue& scriptValue, const IDBKeyPath& keyPath) argument 444 assertPrimaryKeyValidOrInjectable(ScriptState* scriptState, PassRefPtr<SharedBuffer> buffer, const Vector<blink::WebBlobInfo>* blobInfo, IDBKey* key, const IDBKeyPath& keyPath) argument [all...] |
/external/clang/lib/Driver/ |
H A D | WindowsToolChain.cpp | 89 static bool getSystemRegistryString(const char *keyPath, const char *valueName, argument 102 if (strncmp(keyPath, "HKEY_CLASSES_ROOT\\", 18) == 0) { 104 subKey = keyPath + 18; 105 } else if (strncmp(keyPath, "HKEY_USERS\\", 11) == 0) { 107 subKey = keyPath + 11; 108 } else if (strncmp(keyPath, "HKEY_LOCAL_MACHINE\\", 19) == 0) { 110 subKey = keyPath + 19; 111 } else if (strncmp(keyPath, "HKEY_CURRENT_USER\\", 18) == 0) { 113 subKey = keyPath + 18;
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | usprep.cpp | 353 LocalMemory<char> keyPath; local 357 keyPath.allocateInsteadAndCopy(uprv_strlen(path)+1) == NULL) 376 key->path = keyPath.orphan();
|
H A D | uresbund.cpp | 844 char *chAlias = NULL, *path = NULL, *locale = NULL, *keyPath = NULL; local 896 keyPath = locale; 903 keyPath = uprv_strchr(locale, RES_PATH_SEPARATOR); 904 if(keyPath) { 905 *keyPath = 0; 906 keyPath++; 912 keyPath = uprv_strchr(locale, RES_PATH_SEPARATOR); 913 if(keyPath) { 914 *keyPath = 0; 915 keyPath [all...] |
/external/icu/icu4c/source/common/ |
H A D | usprep.cpp | 353 LocalMemory<char> keyPath; local 357 keyPath.allocateInsteadAndCopy(uprv_strlen(path)+1) == NULL) 376 key->path = keyPath.orphan();
|
H A D | uresbund.cpp | 844 char *chAlias = NULL, *path = NULL, *locale = NULL, *keyPath = NULL; local 896 keyPath = locale; 903 keyPath = uprv_strchr(locale, RES_PATH_SEPARATOR); 904 if(keyPath) { 905 *keyPath = 0; 906 keyPath++; 912 keyPath = uprv_strchr(locale, RES_PATH_SEPARATOR); 913 if(keyPath) { 914 *keyPath = 0; 915 keyPath [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | com.ibm.icu_4.2.1.v20100412.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |