| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
| HyperParser.py | 11 import string namespace 61 # so that stopatindex can be used to synchronize the string with the 92 """Is the index given to the HyperParser is in a string?""" 142 # This string includes all chars that may be in a white space 144 # This string includes all chars that may be in an identifier 145 _id_chars = string.ascii_letters + string.digits + "_" 146 # This string includes all chars that may be the first char of an identifier 147 _id_first_chars = string.ascii_letters + "_" 149 # Given a string and pos, return the number of chars in the identifie [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_md5.py | 11 import string namespace 12 h = string.hexdigits
|
| test_mimetools.py | 4 import string namespace 19 start = string.ascii_letters + "=" + string.digits + "\n"
|
| test_pkgimport.py | 1 import os, sys, string, random, tempfile, unittest namespace 10 self.package_name += random.choose(string.letters) 62 var += random.choose(string.letters)
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
| FmEscapeXmlAttributeMethod.java | 28 * Method invoked by FreeMarker to escape a string such that it can be used 37 String string = args.get(0).toString(); local 38 return new SimpleScalar(XmlUtils.toXmlAttributeValue(string));
|
| FmEscapeXmlStringMethod.java | 28 * Method invoked by FreeMarker to escape a string such that it can be placed 29 * as text in a string resource file. 32 *{@code <string>} elements. 40 String string = args.get(0).toString(); local 41 return new SimpleScalar(ValueXmlHelper.escapeResourceString(string));
|
| FmEscapeXmlTextMethod.java | 28 * Method invoked by FreeMarker to escape a string such that it can be used 37 String string = args.get(0).toString(); local 38 return new SimpleScalar(XmlUtils.toXmlTextValue(string));
|
| FmExtractLettersMethod.java | 26 * Method invoked by FreeMarker to extract letters from a string; this will remove 35 String string = args.get(0).toString(); local 36 StringBuilder sb = new StringBuilder(string.length()); 37 for (int i = 0, n = string.length(); i < n; i++) { 38 char c = string.charAt(i);
|
| /external/mesa3d/src/gallium/state_trackers/clover/core/ |
| compat.hpp | 29 #include <string> 251 class string : public vector_ref<const char> { class in namespace:clover::compat 253 string(const char *p) : vector_ref(p, std::strlen(p)) { function in class:clover::compat::string 257 string(const C &v) : vector_ref(v) { function in class:clover::compat::string 260 operator std::string() const { 261 return std::string(begin(), end()); 265 find(const string &s) const {
|
| /external/skia/tools/lua/ |
| skia.lua | 3 function string.startsWith(String,Start) 4 return string.sub(String,1,string.len(Start))==Start 7 function string.endsWith(String,End) 8 return End=='' or string.sub(String,-string.len(End))==En [all...] |
| /libcore/luni/src/test/java/libcore/java/text/ |
| OldAttributedCharacterIteratorTest.java | 30 String string = "test test"; field in class:OldAttributedCharacterIteratorTest 104 assertEquals(string.length(), limit); 195 AttributedString as = new AttributedString(string);
|
| /bionic/libc/tools/ |
| generate-NOTICE.py | 11 import string namespace
|
| /bionic/libc/upstream-openbsd/lib/libc/stdio/ |
| fmemopen.c | 24 #include <string.h> 28 char *string; /* actual stream */ member in struct:state 42 b[i] = st->string[st->pos + i]; 55 st->string[st->pos + i] = b[i]; 62 st->string[st->len] = '\0'; 64 st->string[st->size - 1] = '\0'; 110 free(st->string); 152 if ((st->string = malloc(size)) == NULL) { 157 *st->string = '\0'; 159 st->string = (char *)buf [all...] |
| open_memstream.c | 24 #include <string.h> 30 char *string; /* actual stream */ member in struct:state 53 p = realloc(st->string, sz); 57 *st->pbuf = st->string = p; 62 st->string[st->pos + i] = b[i]; 67 st->string[st->len] = '\0'; 133 if ((st->string = calloc(1, st->size)) == NULL) { 139 *st->string = '\0'; 145 *pbuf = st->string;
|
| open_wmemstream.c | 24 #include <string.h> 31 wchar_t *string; /* actual stream */ member in struct:state 55 p = reallocarray(st->string, sz, sizeof(wchar_t)); 59 *st->pbuf = st->string = p; 64 len = mbsnrtowcs(st->string + st->pos, &b, nmc, l, &st->mbs); 71 st->string[st->len] = L'\0'; 143 if ((st->string = calloc(1, st->size)) == NULL) { 149 *st->string = L'\0'; 156 *pbuf = st->string;
|
| /development/testrunner/ |
| create_test.py | 24 import string namespace 111 output = string.Template(TestsConsts.TEST_MANIFEST_TEMPLATE).substitute(mapping) 161 output = string.Template(TestsConsts.TEST_MK_TEMPLATE).substitute(mapping)
|
| /docs/source.android.com/scripts/ |
| build.py | 22 import string namespace 44 # Step 1, concatenate the template pieces into a single template string 48 template = string.Template(t)
|
| /external/autotest/client/bin/ |
| test_config.py | 10 import types, re, string namespace 26 * A string containing configuration data 53 # Config file is just a string, convert it to a python file like 124 aux = string.split(param, '.') 157 @param ip String: IP Address
|
| /external/autotest/client/common_lib/cros/tendo/ |
| buffet_config.py | 7 import string namespace 24 RAND_CHARS = string.ascii_lowercase + string.digits 46 """Converts boolean value into lowercase string 49 @return lower case string: 'true' or 'false'. 59 @param separator: String to be used as separator between key=value strings. 60 @return formated string.
|
| /external/autotest/client/profilers/powertop/src/ |
| suggestions.c | 28 #include <string.h> 45 char *string; member in struct:suggestion 68 free(ptr->string); 91 new->string = strdup(text); 125 if (strcmp(ptr->string, previous)==0 && displaytime > 0.0) 132 show_suggestion(ptr->string); 133 if (strcmp(ptr->string, previous)) { 135 strcpy(previous, ptr->string); 151 printf("\n%s\n", ptr->string);
|
| /external/autotest/client/site_tests/login_RemoteOwnership/ |
| login_RemoteOwnership.py | 5 import logging, random, string, os namespace 50 self.username = (''.join(random.sample(string.ascii_lowercase,6)) + 52 password = ''.join(random.sample(string.ascii_lowercase,6))
|
| /external/autotest/server/hosts/ |
| gce_host.py | 5 import string namespace 65 key_set = set(string.split(keys, '\n')) 70 string.join(list(new_key_set), '\n')) 93 @returns The version string in lsb-release, under attribute
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
| ASN1OctetString.java | 11 * Abstract base for the ASN.1 OCTET STRING data type 15 * DER form is always primitive single OCTET STRING, while 26 * NOTE — Where it is necessary to transfer part of an octet string 27 * before the entire OCTET STRING is available, the constructed encoding 77 * <p><b>9.2 String encoding forms</b></p> 79 * BIT STRING, OCTET STRING,and restricted character string 82 * encoding otherwise. The string fragments contained in 94 * <b>10.2 String encoding forms</b 104 byte[] string; field in class:ASN1OctetString [all...] |
| DERBMPString.java | 14 private final char[] string; field in class:DERBMPString 17 * return a BMP String from the given object. 47 * return a BMP String from a tagged object. 73 * basic constructor - byte encoded string. 74 * @param string the encoded BMP STRING to wrap. 77 byte[] string) 79 char[] cs = new char[string.length / 2]; 83 cs[i] = (char)((string[2 * i] << 8) | (string[2 * i + 1] & 0xff)) [all...] |
| DERGeneralString.java | 15 private final byte[] string; field in class:DERGeneralString 74 DERGeneralString(byte[] string) 76 this.string = string; 80 * Construct a GeneralString from the passed in String. 82 * @param string the string to be contained in this object. 84 public DERGeneralString(String string) 86 this.string = Strings.toByteArray(string) [all...] |