/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/ |
tree_left_rotate.pass.cpp | 32 Node root; local 35 root.__left_ = &x; 38 x.__parent_ = &root; 43 assert(root.__parent_ == 0); 44 assert(root.__left_ == &y); 45 assert(root.__right_ == 0); 46 assert(y.__parent_ == &root); 57 Node root; local 63 root.__left_ = &x; 66 x.__parent_ = &root; [all...] |
tree_right_rotate.pass.cpp | 32 Node root; local 35 root.__left_ = &x; 38 x.__parent_ = &root; 43 assert(root.__parent_ == 0); 44 assert(root.__left_ == &y); 45 assert(root.__right_ == 0); 46 assert(y.__parent_ == &root); 57 Node root; local 63 root.__left_ = &x; 66 x.__parent_ = &root; [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
file_system_test.py | 50 for root, dirs, files in file_system.Walk(''): 51 all_files.update(root + '/' + name for name in files) 52 all_dirs.update(root + '/' + name for name in dirs) 67 for root, dirs, files in file_system.Walk('templates/public'): 68 all_files.update(root + '/' + name for name in files)
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ContainerNodeAlgorithms.cpp | 39 for (ShadowRoot* root = tree->youngestShadowRoot(); root; root = root->olderShadowRoot()) 40 append(root); 74 for (ShadowRoot* root = node.youngestShadowRoot(); root; root = root->olderShadowRoot()) 75 notifyNodeInsertedIntoTree(*root); [all...] |
NodeIterator.cpp | 51 bool NodeIterator::NodePointer::moveToNext(Node* root) 59 node = NodeTraversal::next(*node, root); 63 bool NodeIterator::NodePointer::moveToPrevious(Node* root) 71 node = NodeTraversal::previous(*node, root); 77 , m_referenceNode(root(), true) 81 root()->document().attachNodeIterator(this); 86 root()->document().detachNodeIterator(this); 99 while (m_candidateNode.moveToNext(root())) { 128 while (m_candidateNode.moveToPrevious(root())) { 149 root()->document().detachNodeIterator(this) [all...] |
/external/chromium/chrome/common/ |
json_value_serializer_unittest.cc | 23 scoped_ptr<Value> root(serializer.Deserialize(NULL, NULL)); 24 ASSERT_TRUE(root.get()); 25 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY)); 27 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); 123 DictionaryValue root; local 125 root.SetString("web", test); 131 ASSERT_TRUE(serializer.Serialize(root)); 147 DictionaryValue root; local 149 root.SetString("test", test); 155 ASSERT_TRUE(serializer.Serialize(root)); 179 scoped_ptr<Value> root; local 218 scoped_ptr<Value> root; local 259 scoped_ptr<Value> root; local 309 scoped_ptr<Value> root; local 335 scoped_ptr<Value> root; local [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
dfs-visit.h | 42 // // Invoked when state discovered (2nd arg is DFS tree root) 43 // bool InitState(StateId s, StateId root); 51 // // when S is tree root) 100 for (StateId root = start; dfs && root < nstates;) { 101 state_color[root] = kDfsGrey; 102 state_stack.push(new DfsState<Arc>(fst, root)); 103 dfs = visitor->InitState(root, root); 136 dfs = visitor->InitState(arc.nextstate, root); [all...] |
/external/chromium_org/cc/layers/ |
layer_impl_unittest.cc | 23 root->ResetAllChangeTrackingForSubtree(); \ 25 EXPECT_TRUE(root->LayerPropertyChanged()); \ 30 root->ResetAllChangeTrackingForSubtree(); \ 32 EXPECT_FALSE(root->LayerPropertyChanged()); \ 37 root->ResetAllChangeTrackingForSubtree(); \ 39 EXPECT_TRUE(root->LayerPropertyChanged()); \ 44 root->ResetAllChangeTrackingForSubtree(); \ 46 EXPECT_FALSE(root->LayerPropertyChanged()); \ 51 root->ResetAllChangeTrackingForSubtree(); \ 58 root->ResetAllChangeTrackingForSubtree(); 74 scoped_ptr<LayerImpl> root = LayerImpl::Create(host_impl.active_tree(), 1); local 198 scoped_ptr<LayerImpl> root = LayerImpl::Create(host_impl.active_tree(), 1); local [all...] |
/external/libcap-ng/libcap-ng-0.7/ |
libcap-ng.spec | 11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 90 %defattr(-,root,root,-) 92 %attr(0755,root,root) /%{_lib}/libcap-ng.so.* 95 %defattr(-,root,root,-) 96 %attr(0644,root,root) %{_mandir}/man3/* 97 %attr(0644,root,root) %{_includedir}/cap-ng. [all...] |
/external/chromium_org/build/linux/ |
sysroot_ld_path.sh | 21 local root="$1" 28 local entry="$root$localpath" 37 local root="$1" 53 process_ld_so_conf "$root" "$root$inc_file" 55 process_ld_so_conf "$root" "$(pwd)/$inc_file" 64 process_entry "$root" "$ENTRY"
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
export-w3c-performance-wg-tests | 65 for root, dirs, files in os.walk(os.path.join(source_directory, directory_to_copy)): 66 root = os.path.relpath(root, source_directory) variable 68 destination_subdirectory = os.path.join(destination_directory, root, dirname) 74 with open(os.path.join(source_directory, root, filename), 'r') as in_file: 75 with open(os.path.join(destination_directory, root, filename), 'w') as out_file: 80 print 'Exported %s' % os.path.join(root, filename)
|
/art/compiler/sea_ir/ir/ |
regions_test.cc | 29 sea_ir::Region* root = sg.GetNewRegion(); local 34 EXPECT_TRUE(std::find(regions->begin(), regions->end(), root) != regions->end()); 38 sg.AddEdge(root, then_region); 39 std::vector<sea_ir::Region*>* succs = root->GetSuccessors(); 44 EXPECT_EQ(root, preds->at(0)); 46 sg.AddEdge(root, else_region); 47 succs = root->GetSuccessors(); 53 EXPECT_EQ(root, preds->at(0)); 56 EXPECT_EQ(root, preds->at(0));
|
/external/chromium_org/third_party/angle/src/compiler/ |
ShHandle.h | 88 bool detectCallDepth(TIntermNode* root, TInfoSink& infoSink, bool limitCallStackDepth); 90 void rewriteCSSShader(TIntermNode* root); 93 bool validateLimitations(TIntermNode* root); 95 void collectVariables(TIntermNode* root); 97 void mapLongVariableNames(TIntermNode* root); 99 virtual void translate(TIntermNode* root) = 0; 104 bool enforceTimingRestrictions(TIntermNode* root, bool outputGraph); 106 bool enforceVertexShaderTimingRestrictions(TIntermNode* root); 111 bool limitExpressionComplexity(TIntermNode* root);
|
Compiler.cpp | 155 TIntermNode* root = parseContext.treeRoot; local 156 success = intermediate.postProcess(root); 159 success = detectCallDepth(root, infoSink, (compileOptions & SH_LIMIT_CALL_STACK_DEPTH) != 0); 162 success = validateLimitations(root); 165 success = enforceTimingRestrictions(root, (compileOptions & SH_DEPENDENCY_GRAPH) != 0); 168 rewriteCSSShader(root); 172 ForLoopUnroll::MarkForLoopsWithIntegerIndicesForUnrolling(root); 176 builtInFunctionEmulator.MarkBuiltInFunctionsForEmulation(root); 180 arrayBoundsClamper.MarkIndirectArrayBoundsForClamping(root); 184 success = limitExpressionComplexity(root); [all...] |
/external/qemu/proxy/ |
proxy_http_rewriter.c | 323 /* root->socket is connected to the proxy server. while 348 ProxyConnection root[1]; member in struct:__anon28215 368 rewrite_connection_free( ProxyConnection* root ) 370 RewriteConnection* conn = (RewriteConnection*)root; 377 proxy_connection_done(root); 385 HttpService* service = (HttpService*) conn->root->service; 386 ProxyConnection* root = conn->root; local 391 if (socket_connect( root->socket, &service->server_addr ) < 0) { 393 PROXY_LOG("%s: connecting", conn->root->name) 413 ProxyConnection* root = conn->root; local 431 ProxyConnection* root = conn->root; local 477 ProxyConnection* root = conn->root; local 518 ProxyConnection* root = conn->root; local 565 ProxyConnection* root = conn->root; local 602 ProxyConnection* root = conn->root; local 622 ProxyConnection* root = conn->root; local 705 ProxyConnection* root = conn->root; local 902 ProxyConnection* root = conn->root; local [all...] |
/external/chromium_org/chrome/installer/util/ |
uninstall_metrics_unittest.cc | 49 scoped_ptr<Value> root(json_deserializer.Deserialize(NULL, &error_message)); 50 ASSERT_TRUE(root.get()); 54 ExtractUninstallMetrics(*static_cast<DictionaryValue*>(root.get()),
|
install_util_unittest.cc | 78 const HKEY root = system_level ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 84 override_manager.OverrideRegistry(root, L"root_inst_res"); 85 RegKey(root, state_key_path.c_str(), KEY_SET_VALUE); 90 RegKey(root, state_key_path.c_str(), KEY_QUERY_VALUE) 98 override_manager.OverrideRegistry(root, L"root_inst_res"); 99 RegKey(root, state_key_path.c_str(), KEY_SET_VALUE) 105 RegKey(root, state_key_path.c_str(), KEY_QUERY_VALUE) 113 override_manager.OverrideRegistry(root, L"root_inst_res"); 114 RegKey(root, state_key_path.c_str(), KEY_SET_VALUE) 120 RegKey(root, state_key_path.c_str(), KEY_QUERY_VALUE 128 const HKEY root = system_level ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 178 const HKEY root = HKEY_CURRENT_USER; local 282 const HKEY root = HKEY_CURRENT_USER; local [all...] |
/external/chromium_org/components/tools/metrics/ |
count_ifdefs_unittest.py | 18 self.root = os.path.join(os.path.dirname(__file__), 'testdata') 21 count = count_ifdefs.CountIfdefs('OS_[A-Z]+', self.root) 25 count = count_ifdefs.CountIfdefs('OS_[A-Z]+', self.root, True)
|
/external/chromium_org/net/data/ssl/scripts/ |
generate-aia-certs.sh | 7 # This script generates a set of test (end-entity, intermediate, root) 19 try echo 1 > out/aia-test-root-serial 23 touch out/aia-test-root-index.txt 27 try openssl genrsa -out out/aia-test-root.key 2048 31 # Generate the root certificate 32 CA_COMMON_NAME="AIA Test Root CA" \ 34 CA_NAME=aia-test-root \ 37 -key out/aia-test-root.key \ 38 -out out/aia-test-root.csr \ 41 CA_COMMON_NAME="AIA Test Root CA" [all...] |
generate-policy-certs.sh | 7 # This script generates a (end-entity, intermediate, root) certificate, where 8 # the root has no explicit policies associated, the intermediate has multiple 22 try echo 1 > out/policy-root-serial 26 touch out/policy-root-index.txt 30 try openssl genrsa -out out/policy-root.key 2048 34 # Generate the root certificate 35 COMMON_NAME="Policy Test Root CA" \ 37 CA_NAME=policy-root \ 40 -key out/policy-root.key \ 41 -out out/policy-root.csr [all...] |
/external/guava/guava/src/com/google/common/collect/ |
BstRangeOps.java | 38 BstAggregate<? super N> aggregate, GeneralRange<K> range, @Nullable N root) { 41 if (root == null || range.isEmpty()) { 44 long total = aggregate.treeValue(root); 46 total -= totalBeyondRangeToSide(aggregate, range, LEFT, root); 49 total -= totalBeyondRangeToSide(aggregate, range, RIGHT, root); 56 BstAggregate<? super N> aggregate, GeneralRange<K> range, BstSide side, @Nullable N root) { 58 while (root != null) { 59 if (beyond(range, root.getKey(), side)) { 60 accum += aggregate.entryValue(root); 61 accum += aggregate.treeValue(root.childOrNull(side)) [all...] |
/external/icu4c/samples/uresb/ |
resources.mak | 4 TARGETS = en.res root.res sr.res 23 root.res : root.txt
|
/external/oprofile/module/ |
compat.c | 30 struct dentry * root = current->fs->root; local 38 if (dentry == root)
|
/external/valgrind/main/coregrind/ |
m_oset.c | 121 AvlNode* root; // root node member in struct:_OSet 204 static void avl_swl ( AvlNode** root ) 206 AvlNode* a = *root; 208 *root = b; 214 static void avl_swr ( AvlNode** root ) 216 AvlNode* a = *root; 218 *root = b; 224 static void avl_nasty ( AvlNode* root ) 226 switch (root->balance) [all...] |
/external/chromium_org/sandbox/win/src/ |
registry_dispatcher.cc | 22 // Builds a path using the root directory and the name. 23 bool GetCompletePath(HANDLE root, const base::string16& name, 25 if (root) { 26 if (!sandbox::GetPathFromHandle(root, complete_name)) 75 IPCInfo* ipc, base::string16* name, DWORD attributes, HANDLE root, 80 // If there is a root directory, we need to duplicate the handle to make 82 if (root) { 83 if (!::DuplicateHandle(ipc->client_info->process, root, 84 ::GetCurrentProcess(), &root, 0, FALSE, 88 root_handle.Set(root); [all...] |