/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
KeyTypeData.java | 229 String to = typeAliasDataEntry.getString(); local 233 Set<String> aliasSet = typeAliasMap.get(to); 236 typeAliasMap.put(to, aliasSet); 258 String to = bcpTypeAliasDataEntry.getString(); local 259 Set<String> aliasSet = bcpTypeAliasMap.get(to); 262 bcpTypeAliasMap.put(to, aliasSet); 318 // equivalent to bcp type value of a different 363 // In future, we may import the data into code like below directly from CLDR to 438 String to = typeAliasDataEntry[1]; local 439 Set<String> aliasSet = typeAliasMap.get(to); 454 String to = bcpTypeAliasDataEntry[1]; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
RuleBasedTimeZone.java | 16 * <code>RuleBasedTimeZone</code> is a concrete subclass of <code>TimeZone</code> that allows users to define 60 throw new UnsupportedOperationException("Attempt to modify a frozen RuleBasedTimeZone instance."); 78 // If this is not a final rule, add it to the historic rule list 98 // Convert to extended year 398 TimeZoneRule to = result.getTo(); local 399 if (from.getRawOffset() == to.getRawOffset() 400 && from.getDSTSavings() == to.getDSTSavings()) { 468 TimeZoneRule to = result.getTo(); local 469 if (from.getRawOffset() == to.getRawOffset() 470 && from.getDSTSavings() == to.getDSTSavings()) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
ICUDurationTest.java | 31 * Allows us to not depend on javax.xml.datatype.DatatypeFactory. 34 * to convert the Duration into an internal Period type. 72 * Pass in negative values for fields not to be set. 310 String to = tc.expected; local 318 if(output.equals(to)) { 319 logln("SUCCESS: locale: " + loc + ", from " + from + " ["+d.toString()+"] " +" to " + to + "= " + output); 321 logln("FAIL: locale: " + loc + ", from " + from + " ["+d.toString()+"] " +": expected " + to + " got " + output); 386 "to return an exception for an unsupported operation.");
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_optimize.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the 9 * Software is furnished to do so, subject to the following conditions: 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 228 /* SEND may perform an implicit mov to a mrf register */ 249 /* Specific path for message register since we need to handle the compr4 case * 473 int i, nr_insn = 0, to = 0, from = 0; local [all...] |
/external/nanopb-c/generator/ |
nanopb_generator.py | 9 # Add some dummy imports to keep packaging tools happy. 10 import google, distutils.util # bbfreeze seems to need these namespace 11 import pkg_resources # pyinstaller / protobuf 2.5 seem to need these namespace 34 *** Failed to import the protocol definitions for generator. *** 35 *** You have to run 'make' in the nanopb/generator/proto folder. *** 66 '''Keeps a set of nested names and formats them to C identifier.''' 104 '''Class used to represent the encoded size of a field or a message. 227 # Decide the C data type to use in the struct. 253 self.enc_size = None # Needs to be filled in after the message type is available 270 # String/bytes arrays need to be defined as pointers to pointer [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
MessageChannel.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 73 // to the message channel and decremented when 83 * Message processor to whom I belong (if set). 121 * @param sipMessage Message to send. 146 * Generate a key which identifies the message channel. This allows us to cache the messag 370 String to = this.getHost() + ":" + getPort(); local [all...] |
/external/protobuf/python/google/protobuf/pyext/ |
repeated_composite_container.cc | 16 // contributors may be used to endorse or promote products derived from 21 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 63 // TODO(tibell): We might also want to check: 112 // TODO(anuraag): Is there a better way to do this then reinventing the wheel? 119 return 0; // Nothing to sort. 207 // The container has been released (i.e. by a call to Clear() or 219 // A MergeFrom on a parent message could have caused extra messages to be 220 // added in the underlying protobuf so add them to our list. They can never 221 // be removed in such a way so there's no need to worry about that 358 Py_ssize_t to; local 409 Py_ssize_t to; local [all...] |
/external/toybox/toys/pending/ |
tftp.c | 16 Transfer file from/to tftp server. 61 #define TFTP_ES_NEGOTIATE "Terminate transfer due to option negotiation" 66 struct timeval to = { .tv_sec = 10, //Time out local 71 xsetsockopt(sd, SOL_SOCKET, SO_RCVTIMEO, (void *)&to, sizeof(struct timeval)); 159 * sends data to server TO from BUFF of length LEN through socket SD 163 struct sockaddr_storage *to) 168 nb = sendto(sd, buf, len, 0, (struct sockaddr *)to, 373 // Sends file to server.
|
/external/toybox/toys/posix/ |
sed.c | 18 Stream editor. Apply one or more editing SCRIPTs to each line of input 19 (from FILE or stdin) producing output (by default to stdout). 21 -e add SCRIPT to list 22 -f add contents of SCRIPT_FILE to list 24 -n No default output. (Use the p command to output matched lines.) 34 Each COMMAND may be preceded by an address which limits the command to 35 apply only to the specified line(s). Commands without an address apply to 45 everything from the first address to the second address (inclusive). If 51 Backslashes may be used to escape the delimiter if it occurs in th 606 char *from, *to = (char *)logrus; local 706 char *to, *from, mode = 0, d; local [all...] |
/external/v8/src/ |
lookup.cc | 38 // Here we try to avoid having to rebuild the string later 166 ElementsKind to = value->OptimalElementsKind(); local 167 if (IsHoleyElementsKind(kind)) to = GetHoleyElementsKind(to); 168 to = GetMoreGeneralElementsKind(kind, to); 169 JSObject::TransitionElementsKind(holder, to); 173 if (IsFastSmiOrObjectElementsKind(to)) { 231 // Can only be called when the receiver is a JSObject. JSProxy has to b [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/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...] |
/frameworks/av/media/libstagefright/foundation/ |
AMessage.cpp | 10 * Unless required by applicable law or agreed to in writing, software 42 ALOGE("trying to post a duplicate reply"); 350 ALOGW("failed to deliver message as target handler %d is gone.", mTarget); 360 ALOGW("failed to post message as target looper for handler %d is gone.", mTarget); 371 ALOGW("failed to post message as target looper for handler %d is gone.", mTarget); 377 ALOGE("failed to create reply token"); 388 ALOGW("failed to post reply to a NULL token"); 393 ALOGW("failed to post reply as target looper is gone."); 410 // TODO: delete Object instead of setting it to NUL 430 Item *to = &msg->mItems[i]; local [all...] |
/libcore/ojluni/src/main/java/java/util/regex/ |
Matcher.java | 9 * particular file as subject to the "Classpath" exception as provided 19 * 2 along with this work; if not, write to the Free Software Foundation, 36 * Pattern#matcher matcher} method. Once created, a matcher can be used to 41 * <li><p> The {@link #matches matches} method attempts to match the entire 44 * <li><p> The {@link #lookingAt lookingAt} method attempts to match the 68 * #appendTail appendTail} methods can be used in tandem in order to collect 70 * #replaceAll replaceAll} method can be used to create a string in which every 80 * <p> The explicit state of a matcher is initially undefined; attempting to 82 * IllegalStateException} to be thrown. The explicit state of a matcher is 93 * to zero 344 int to = matchOffsets[(group * 2) + 1]; local [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
DatagramSocketAdaptor.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 37 // java.net.DatagramSocket so as to simplify tracking future changes to that 54 // passing a dummy DatagramSocketImpl object to aovid any native 190 long to = timeout; local 195 int ns = sel.select(to); 201 to -= System.currentTimeMillis() - st; 202 if (to <= 0) 380 * A dummy implementation of DatagramSocketImpl that can be passed to th [all...] |
/ndk/build/core/ |
init.mk | 9 # Unless required by applicable law or agreed to in writing, software 36 # Define NDK_LOG=1 in your environment to display log traces when 55 # NDK_ROOT *must* be defined and point to the root of the NDK installation 62 $(error,Please fix the problem by reinstalling to a different location.) 72 # Used to output warnings and error from the library, it's possible to 93 # Arguments: 1: text to print when NDK_LOG is defined to 1 119 # Returns : Path to the given prebuilt toolchain. 127 # Returns : Path to the given prebuilt binutils [all...] |
/ndk/sources/cxx-stl/stlport/src/details/ |
fstream_win32io.cpp | 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 146 // For Read/Write access we have to guess 234 // requires them both to behave same. 329 // Associated the filebuf with a file descriptor pointing to an already- 330 // open file. Mode is set to be consistent with the way that the file 387 // Read up to n characters into a buffer. Return value is number of 391 //Here cast to size_t is safe as n cannot be negative. 393 // The following, while validating that we are still able to extract chunkSiz 405 char *to = buf + readen; local [all...] |
/ndk/sources/third_party/googletest/googletest/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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 17 * may be used to endorse or promote products derived from this software 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 54 * This provider allows application to interact with Bluetooth OPP manager 72 /** Database version to which upgrading is a nop */ 84 /** URI matcher used to recognize URIs sent by applications */ 102 * Creates and updated database on demand when opening it. Helper class to 114 * Creates database the first time we try to open it. 122 //TODO: use this function to check garbage transfer left in db, for example, 138 // to gracefully handle upgrades we should be careful abou [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 10 * Unless required by applicable law or agreed to in writing, software 44 * is actually only a pointer to either a {@link DayInfo} or an 72 * contains all of the data necessary to display that event, including the 192 * contains all of the data necessary to display that day header, including 200 /** The string representation of this day header, to be displayed */ 254 time.setToNow(); // This is needed for gmtoff to be set 288 // we don't compute these ourselves because it seems to produce the 307 // we might get some extra events when querying, in order to 318 int to = Math.min(endDay, mMaxJulianDay); local 319 for (int day = from; day <= to; day++) [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
SmtpSender.java | 10 * Unless required by applicable law or agreed to in writing, software 82 * up and ready to use. Do not use for real code. 83 * @param testTransport The Transport to inject and use for all future communication. 98 // Try to get local address in the proper format. 101 // Address Literal formatted in accordance to RFC2821 Sec. 4.1.3 114 * TODO may need to add code to fall back to HELO I switched it from 117 * We should really be paying more attention to the capabilities 164 // It is acceptable to hvae no authentication at all for SMTP 190 Address[] to = Address.fromHeader(message.mTo); local [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
OpenWnnDictionaryImplJni.c | 10 * Unless required by applicable law or agreed to in writing, software 50 /* convert UTF-16BE character to NJ_CHAR format */ 66 /* convert UTF-8 to UTF-16BE */ 142 /* convert UTF-16BE to a UTF-8 */ 239 /* Retrieve data pointers of dictionary from the dictionary library, and put to internal work area */ 261 /* Execute the initialize method to initialize the internal work area */ 356 /* If -1 was specified to base or high, clear that dictionary information structure */ 419 /* If the link search feature is specified, set the predict search information to structure */ 602 work->approxSet.to[ i ] = NULL; 630 NJ_CHAR* to; local 691 NJ_CHAR* to; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
tic.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a * 6 * "Software"), to deal in the Software without restriction, including * 7 * without limitation the rights to use, copy, modify, merge, publish, * 9 * copies of the Software, and to permit persons to whom the Software is * 10 * furnished to do so, subject to the following conditions: * 16 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 24 * holders shall not be used in advertising or otherwise to promote the * 57 ** A null byte may be inserted here to mak 203 const char *to; member in struct:alias [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
tic.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a * 6 * "Software"), to deal in the Software without restriction, including * 7 * without limitation the rights to use, copy, modify, merge, publish, * 9 * copies of the Software, and to permit persons to whom the Software is * 10 * furnished to do so, subject to the following conditions: * 16 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 24 * holders shall not be used in advertising or otherwise to promote the * 57 ** A null byte may be inserted here to mak 216 const char *to; member in struct:alias [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
ssl.py | 18 notBefore and notAfter functions to integer 92 import base64 # for DER-to-PEM translation namespace 113 # in the instancce, which we don't need -- but we want to provide the 156 """Read up to LEN bytes and return them. 169 """Write DATA to the underlying SSL channel. Returns 194 "non-zero flags not allowed in calls to send() on %s" % 224 "non-zero flags not allowed in calls to sendall() on %s" % 239 "non-zero flags not allowed in calls to recv() on %s" % 253 "non-zero flags not allowed in calls to recv_into() on %s" % 311 raise ValueError("attempt to connect already-connected SSLSocket!" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
ssl.py | 18 notBefore and notAfter functions to integer 92 import base64 # for DER-to-PEM translation namespace 113 # in the instancce, which we don't need -- but we want to provide the 156 """Read up to LEN bytes and return them. 169 """Write DATA to the underlying SSL channel. Returns 194 "non-zero flags not allowed in calls to send() on %s" % 224 "non-zero flags not allowed in calls to sendall() on %s" % 239 "non-zero flags not allowed in calls to recv() on %s" % 253 "non-zero flags not allowed in calls to recv_into() on %s" % 311 raise ValueError("attempt to connect already-connected SSLSocket!" [all...] |