/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/ |
util.py | 2 # Module providing various facilities to other parts of the package 19 # used to endorse or promote products derived from this software 23 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 38 import threading # we want threading to install it's namespace 114 Turn on logging and add a handler which prints to stderr 220 Return whether this finalizer is still waiting to invoke callback 291 # NB: we hold on to references to functions in the arglist due to th [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
dbshelve.py | 21 # 13-Dec-2000: Updated to be used with the new bsddb3 package. 41 import cPickle # Will be converted to "pickle" by "2to3" namespace 120 """A shelf to hold pickled objects, built upon a bsddb DB object. It 121 automatically pickles/unpickles data objects going to/from the DB. 137 """Many methods we can just pass through to the DB object. 176 # Or is it enough to pass thru "getattr"? 246 # given nothing is passed to the extension module. That way 278 # Methods allowed to pass-through to self.db 298 """Some methods we can just pass through to the cursor object. (See below)"" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
util.py | 2 # Module providing various facilities to other parts of the package 19 # used to endorse or promote products derived from this software 23 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 38 import threading # we want threading to install it's namespace 114 Turn on logging and add a handler which prints to stderr 220 Return whether this finalizer is still waiting to invoke callback 291 # NB: we hold on to references to functions in the arglist due to th [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
dbshelve.py | 21 # 13-Dec-2000: Updated to be used with the new bsddb3 package. 41 import cPickle # Will be converted to "pickle" by "2to3" namespace 120 """A shelf to hold pickled objects, built upon a bsddb DB object. It 121 automatically pickles/unpickles data objects going to/from the DB. 137 """Many methods we can just pass through to the DB object. 176 # Or is it enough to pass thru "getattr"? 246 # given nothing is passed to the extension module. That way 278 # Methods allowed to pass-through to self.db 298 """Some methods we can just pass through to the cursor object. (See below)"" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
util.py | 2 # Module providing various facilities to other parts of the package 19 # used to endorse or promote products derived from this software 23 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 38 import threading # we want threading to install it's namespace 114 Turn on logging and add a handler which prints to stderr 220 Return whether this finalizer is still waiting to invoke callback 291 # NB: we hold on to references to functions in the arglist due to th [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
DependencyGraph.java | 10 * Unless required by applicable law or agreed to in writing, software 40 * Data structure about relative layout relationships which makes it possible to: 52 /** Format to chain include cycles in: a=>b=>c=>d etc */ 55 /** Format to chain constraint dependencies: button 1 above button2 etc */ 107 // NOTE: The id could refer to some widget that is NOT a sibling! 121 // This is valid but we might want to warn... 153 * @param nodes the set of nodes that we want to compute the transitive dependencies 195 assert constraint.to == view; 198 // Cycle - what do we do to highlight this? 201 // TODO: display to the user somehow. We need log access for th 245 ViewData to = constraint.to; local 288 public final ViewData to; field in class:DependencyGraph.Constraint [all...] |
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/ |
perf.h | 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 10 *** To edit the content of this header, modify the corresponding 152 u64 to; member in struct:branch_entry
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/ |
perf.h | 190 u64 to; member in struct:branch_entry
|
/system/extras/perfprofd/quipper/ |
perf_parser.h | 31 // Comparator that allows this to be stored in a STL set. 40 // TODO(sque): Turn this struct into a class to privatize member variables. 46 // For mmap events, use this to count the number of samples that are in this 95 DSOAndOffset to; member in struct:quipper::ParsedEvent::BranchEntry 126 // Set this flag to discard non-sample events that don't have any associated 130 // successfully mapped in order for ProcessEvents() to return true. 132 // mapping to be considered successful. 149 // Returns an array of pointers to |parsed_events_| sorted by sample time. 193 // See MaybeSortParsedEvents to see why this might not actually be sorted 199 // Maps pid/tid to commands [all...] |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
SIPRequest.java | 6 * Pursuant to title 15 Untied States Code Section 105, works of NIST 7 * employees are not subject to copyright protection in the United States 8 * and are considered to be in the public domain. As a result, a formal 9 * license is not needed to use the software. 17 * not limited to the correctness, accuracy, reliability or usefulness of 20 * Permission to use this software is contingent upon your acceptance 51 * Acknowledgements: Mark Bednarek made a few fixes to this code. Jeff Keyser added two methods 54 * newline added to the end of the buffer when encoding it. Incorporates a bug report from Andreas 100 * A table that maps a name string to its cannonical constant. This is used to speed u 554 To to = (To) this.getTo(); local 997 To to = (To) nextHeader; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessageMime.java | 9 * Unless required by applicable law or agreed to in writing, software 35 public long mId = INVALID_VALUE; /* The _id from the content provider, can be used to 42 public String mCharsetName = null; /* This seems to be a number e.g. 106 for UTF-8 44 public String mFileName = null; /* Do not seem to be used */ 52 // Figure out if we support the charset, else fall back to UTF-8, as this is what 53 // the MAP specification suggest to use, and is compatible with US-ASCII. 144 private ArrayList<Rfc822Token> to = null; // Shall not be empty field in class:BluetoothMapbMessageMime 195 return format.format(dateObj); // Format according to RFC 2822 page 14 232 return to; 234 public void setTo(ArrayList<Rfc822Token> to) { [all...] |
/art/test/ |
Android.run-test.mk | 9 # Unless required by applicable law or agreed to in writing, software 25 # The art-run-tests module, used to build all run-tests into an image. 49 # Helper to create individual build targets for tests. Must be called with $(eval). 80 # The build system use this flag to pick up files generated by declare-make-art-run-test. 91 # General rules to build and run a run-test. 197 # To generate a full list or tests: 202 # Convert's a rule name to the form used in variables, e.g. no-relocate to NO_RELOCATE 203 define name-to-var 205 endef # name-to-va [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
NFAFactory.java | 14 * 3. The name of the author may not be used to endorse or promote products 18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 39 /** Routines to construct StateClusters from EBNF grammar constructs. 40 * No optimization is done to remove unnecessary epsilon edges. 43 * will help with speed of conversion and make it easier to view NFA. For 47 /** This factory is attached to a specifc NFA that it is building. 79 * and throw away any epsilon transitions used to link up simple elements. 98 // bypass epsilon transition and point to what the epsilon's 99 // target points to unless that epsilon transition points t 187 int to = Grammar.getCharValueFromGrammarCharLiteral(b); local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XString.java | 2 * Licensed to the Apache Software Foundation (ASF) under one 6 * to you under the Apache License, Version 2.0 (the "License"); 12 * Unless required by applicable law or agreed to in writing, software 35 * converting the string to other types, such as a number. 97 * Cast result object to a number. 108 * Convert a string to a double -- Allowed input is in fixed 120 * So trim() method is used to remove leading and trailing white spaces. 142 * Cast result object to a boolean. 153 * Cast result object to a string. 163 * Cast result object to a string 550 int to = toffset; local [all...] |
/external/clang/test/CodeGenCXX/ |
rtti-layout.cpp | 65 template<typename T> const T& to(const std::type_info &info) { function 93 #define CHECK_BASE_INFO_TYPE(type, index, base) CHECK(to<__vmi_class_type_info>(typeid(type)).__base_info[(index)].__base_type == &typeid(base)) 94 #define CHECK_BASE_INFO_OFFSET_FLAGS(type, index, offset, flags) CHECK(to<__vmi_class_type_info>(typeid(type)).__base_info[(index)].__offset_flags == (((offset) << 8) | (flags))) 115 CHECK(to<__si_class_type_info>(typeid(SI1)).__base_type == &typeid(A)); 119 CHECK(to<__si_class_type_info>(typeid(SI2)).__base_type == &typeid(Empty)); 124 CHECK(to<__si_class_type_info>(typeid(SI3)).__base_type == &typeid(Empty)); 140 CHECK(to<__vmi_class_type_info>(typeid(VMI5)).__flags == __vmi_class_type_info::__non_diamond_repeat_mask); 141 CHECK(to<__vmi_class_type_info>(typeid(VMI5)).__base_count == 2); 149 CHECK(to<__vmi_class_type_info>(typeid(VMI6)).__flags == __vmi_class_type_info::__diamond_shaped_mask); 150 CHECK(to<__vmi_class_type_info>(typeid(VMI6)).__base_count == 2) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_deadlock_detector.h | 70 // lock_id < BV::kSize, can cast to a smaller int. 131 // For deadlock detection to work we need one global DeadlockDetector object 154 // If we are out of available nodes first try to recycle some. 155 // If there is nothing to recycle, flush the graph and increment the epoch. 164 recycled_nodes_.getBit(edges_[i].to)) { 216 // Add cur_node to the set of locks held currently by dtls. 224 // Returns true if all edges from the currently held locks to cur_node exist. 240 // Adds edges from currently held locks to cur_node, 269 if (edges_[i].from == from_idx && edges_[i].to == to_idx) { 291 // to add this lock to the currently held locks, but we should not try t 398 u16 to; member in struct:__sanitizer::DeadlockDetector::Edge [all...] |
/external/curl/packages/OS400/ |
ccsidcurl.c | 14 * You may opt to use, copy, modify, merge, publish, distribute and/or sell 15 * copies of the Software, and permit persons to whom the Software is 16 * furnished to do so, under the terms of the COPYING file. 62 *** Convert a CCSID to the corresponding IBM iconv_open() character 64 *** This code is specific to the OS400 implementation of the iconv library. 89 *** If `cstr' is non-zero, conversion is set up to stop whenever a 189 /* Need to null-terminate even when source length is given. 190 Since destination code size is unknown, use a conversion to generate 204 cp = realloc(d, l); /* Shorten to minimum needed. */ 218 struct curl_slist * to = (struct curl_slist *) NULL local [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest-port_test.cc | 15 // contributors may be used to endorse or promote products derived from 20 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 51 // included, or there will be a compiler error. This trick is to 165 class To { 167 To(bool* converted) { *converted = true; } // NOLINT 172 To to = ::testing::internal::ImplicitCast_<To>(&converted); local 173 (void)to; [all...] |
/external/gtest/test/ |
gtest-port_test.cc | 15 // contributors may be used to endorse or promote products derived from 20 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 51 // included, or there will be a compiler error. This trick is to 202 class To { 204 To(bool* converted) { *converted = true; } // NOLINT 209 To to = ::testing::internal::ImplicitCast_<To>(&converted); local 210 (void)to; [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
DerivedCollectionGenerators.java | 10 * Unless required by applicable law or agreed to in writing, software 39 * Derived suite generators, split out of the suite builders so that they are available to GWT. 83 // TODO: investigate some API changes to SampleElements that would tidy up 270 // The indexes are small enough for the subtraction trick to be safe. 332 * Two bounds (from and to) define how to build a subMap. 342 final Bound to; field in class:DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator 350 TestSortedSetGenerator<E> delegate, Bound to, Bound from) { 351 this.to = to; 468 final Bound to; field in class:DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
KeyTypeData.java | 231 String to = typeAliasDataEntry.getString(); local 235 Set<String> aliasSet = typeAliasMap.get(to); 238 typeAliasMap.put(to, aliasSet); 260 String to = bcpTypeAliasDataEntry.getString(); local 261 Set<String> aliasSet = bcpTypeAliasMap.get(to); 264 bcpTypeAliasMap.put(to, aliasSet); 320 // equivalent to bcp type value of a different 365 // In future, we may import the data into code like below directly from CLDR to 440 String to = typeAliasDataEntry[1]; local 441 Set<String> aliasSet = typeAliasMap.get(to); 456 String to = bcpTypeAliasDataEntry[1]; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
RuleBasedTimeZone.java | 17 * <code>RuleBasedTimeZone</code> is a concrete subclass of <code>TimeZone</code> that allows users to define 57 throw new UnsupportedOperationException("Attempt to modify a frozen RuleBasedTimeZone instance."); 75 // If this is not a final rule, add it to the historic rule list 93 // Convert to extended year 376 TimeZoneRule to = result.getTo(); local 377 if (from.getRawOffset() == to.getRawOffset() 378 && from.getDSTSavings() == to.getDSTSavings()) { 444 TimeZoneRule to = result.getTo(); local 445 if (from.getRawOffset() == to.getRawOffset() 446 && from.getDSTSavings() == to.getDSTSavings()) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
ICUDurationTest.java | 35 * Allows us to not depend on javax.xml.datatype.DatatypeFactory. 38 * to convert the Duration into an internal Period type. 76 * Pass in negative values for fields not to be set. 314 String to = tc.expected; local 322 if(output.equals(to)) { 323 logln("SUCCESS: locale: " + loc + ", from " + from + " ["+d.toString()+"] " +" to " + to + "= " + output); 325 logln("FAIL: locale: " + loc + ", from " + from + " ["+d.toString()+"] " +": expected " + to + " got " + output); 390 "to return an exception for an unsupported operation.");
|
/external/icu/icu4c/source/test/cintltst/ |
cdateintervalformattest.c | 46 const UDate to; member in struct:__anon12887 94 int32_t fmtLen = udtitvfmt_format(udtitvfmt, testItemPtr->from, testItemPtr->to, result, kFormatBufLen, NULL, &status); 102 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n", 103 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, 107 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n", 108 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErrorName(status) ); 308 u_strToUTF8(bebuf, kSizeBBuf, NULL, uebuf, uelen, &status); // convert back to get unescaped string
|
utransts.c | 56 * To test the Replaceable glue we have to dummy up a C-based 213 /* try to actually open only a few transliterators */ 441 * []|eabcd start - no match, copy e to tranlated buffer 444 * [exz]|d no match, copy d to transliterated buffer 553 * transliterator known to rely on this call. 673 UChar to[CAP]; local 687 u_uastrcpy(to, cto); 702 if (0 == u_strcmp(buf, to)) { 724 if (0 == u_strcmp(buf, to)) { [all...] |