HomeSort by relevance Sort by last modified time
    Searched defs:string (Results 351 - 375 of 1323) sorted by null

<<11121314151617181920>>

  /packages/apps/Calendar/src/com/android/calendar/
EventRecurrenceFormatter.java 33 private static String[][] mMonthRepeatByDayOfWeekStrs;
35 public static String getRepeatString(Context context, Resources r, EventRecurrence recurrence,
37 String endString = "";
44 final String dateStr = DateUtils.formatDateTime(context,
46 sb.append(r.getString(R.string.endByDate, dateStr));
58 // TODO Implement "Until" portion of string, as well as custom settings
65 return r.getString(R.string.every_weekday) + endString;
67 String string; local
87 string = days.toString()
    [all...]
  /packages/apps/Nfc/tests/src/com/android/nfc/snep/
SnepCustomClientTests.java 36 private static final String TAG = "nfcTest";
83 StringBuffer string = new StringBuffer(size); local
85 string.append('A' + (i % 26));
88 new byte[0], string.toString().getBytes());
SnepDefaultClientTests.java 36 private static final String TAG = "nfcTest";
83 StringBuffer string = new StringBuffer(size); local
85 string.append('A' + (i % 26));
88 new byte[0], string.toString().getBytes());
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/
bdist_rpm.py 10 import string namespace
365 l = string.split(string.strip(line))
463 val = getattr(self, string.lower(field))
465 spec_file.append('%s: %s' % (field, string.join(val)))
478 string.join(self.build_requires))
539 spec_file.extend(string.split(open(val, 'r').read(), '\n'))
552 spec_file.append('%doc ' + string.join(self.doc_files))
570 for line in string.split(string.strip(changelog), '\n')
    [all...]
bdist_wininst.py 10 import string namespace
163 value = string.upper(key)
220 return string.replace(s, "\n", "\\n")
227 (string.capitalize(name), escape(data)))
250 return string.join(lines, "\n")
330 # specify a Python executable rather than a simple version string.
332 # as the real sys.version string for the build.
337 # string compares seem wrong, but are what sysconfig.py itself uses
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
AutoComplete.py 8 import string namespace
12 # This string includes all chars that may be in a file name (without a path
14 FILENAME_CHARS = string.ascii_letters + string.digits + os.curdir + "._~#$:-"
15 # This string includes all chars that may be in an identifier
16 ID_CHARS = string.ascii_letters + string.digits + "_"
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
pipes.py 34 where kind is a string of two characters: the first is '-' if the
46 If infile or outfile are the empty string, standard input is read or
63 import string namespace
112 'Template.append: cmd must be a string'
134 'Template.prepend: cmd must be a string'
195 # [input filename or '', command string, kind, output filename or '']
262 # Reliably quote a string as a single argument for /bin/sh
265 _safechars = frozenset(string.ascii_letters + string.digits + '@%_-+=:,./')
268 """Return a shell-escaped version of the file string.""
    [all...]
textwrap.py 10 import string, re namespace
33 # that character winds up in string.whitespace. Respecting
34 # string.whitespace in those cases would 1) make textwrap treat 0xa0 the
53 string that will be prepended to the first line of wrapped
56 string that will be prepended to all lines save the first
82 whitespace_trans = string.maketrans(_whitespace, ' ' * len(_whitespace))
106 # XXX this is not locale- or charset-aware -- string.lowercase
112 % string.lowercase)
147 """_munge_whitespace(text : string) -> string
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pipes.py 3 import string namespace
13 s_command = 'tr %s %s' % (string.ascii_lowercase, string.ascii_uppercase)
77 safeunquoted = string.ascii_letters + string.digits + '@%_-+=:,./'
121 # try a non-string command
155 # try a non-string command
test_userstring.py 2 # UserString is a wrapper around the native builtin string type.
3 # UserString instances should behave similar to builtin string objects.
5 import string namespace
93 orig = string.ascii_letters + string.digits
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/
bdist_rpm.py 10 import string namespace
365 l = string.split(string.strip(line))
463 val = getattr(self, string.lower(field))
465 spec_file.append('%s: %s' % (field, string.join(val)))
478 string.join(self.build_requires))
539 spec_file.extend(string.split(open(val, 'r').read(), '\n'))
552 spec_file.append('%doc ' + string.join(self.doc_files))
570 for line in string.split(string.strip(changelog), '\n')
    [all...]
bdist_wininst.py 10 import string namespace
163 value = string.upper(key)
220 return string.replace(s, "\n", "\\n")
227 (string.capitalize(name), escape(data)))
250 return string.join(lines, "\n")
330 # specify a Python executable rather than a simple version string.
332 # as the real sys.version string for the build.
337 # string compares seem wrong, but are what sysconfig.py itself uses
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
AutoComplete.py 8 import string namespace
12 # This string includes all chars that may be in a file name (without a path
14 FILENAME_CHARS = string.ascii_letters + string.digits + os.curdir + "._~#$:-"
15 # This string includes all chars that may be in an identifier
16 ID_CHARS = string.ascii_letters + string.digits + "_"
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
pipes.py 34 where kind is a string of two characters: the first is '-' if the
46 If infile or outfile are the empty string, standard input is read or
63 import string namespace
112 'Template.append: cmd must be a string'
134 'Template.prepend: cmd must be a string'
195 # [input filename or '', command string, kind, output filename or '']
262 # Reliably quote a string as a single argument for /bin/sh
265 _safechars = frozenset(string.ascii_letters + string.digits + '@%_-+=:,./')
268 """Return a shell-escaped version of the file string.""
    [all...]
textwrap.py 10 import string, re namespace
33 # that character winds up in string.whitespace. Respecting
34 # string.whitespace in those cases would 1) make textwrap treat 0xa0 the
53 string that will be prepended to the first line of wrapped
56 string that will be prepended to all lines save the first
82 whitespace_trans = string.maketrans(_whitespace, ' ' * len(_whitespace))
106 # XXX this is not locale- or charset-aware -- string.lowercase
112 % string.lowercase)
147 """_munge_whitespace(text : string) -> string
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pipes.py 3 import string namespace
13 s_command = 'tr %s %s' % (string.ascii_lowercase, string.ascii_uppercase)
77 safeunquoted = string.ascii_letters + string.digits + '@%_-+=:,./'
121 # try a non-string command
155 # try a non-string command
test_userstring.py 2 # UserString is a wrapper around the native builtin string type.
3 # UserString instances should behave similar to builtin string objects.
5 import string namespace
93 orig = string.ascii_letters + string.digits
  /system/core/include/utils/
String16.h 40 //! This is a string holding UTF-16 characters.
66 inline const char16_t* string() const;
142 inline const char16_t* String16::string() const function in class:android::String16
  /cts/tests/tests/widget/src/android/widget/cts/
EditTextTest.java 93 String string = "android"; local
94 editText.setText(string, BufferType.EDITABLE);
113 editText.setSelection(string.length() + 1);
123 String string = "android"; local
124 editText.setText(string, BufferType.EDITABLE);
151 editText.setSelection(5, string.length() + 1);
161 String string = "android" local
    [all...]
  /libcore/luni/src/test/java/libcore/io/
OsTest.java 45 String path = System.getProperty("java.io.tmpdir") + "/test_unix_socket";
82 String s = new String(request, "UTF-8");
99 String string = "hello, world!"; local
101 byte[] request = string.getBytes("UTF-8");
107 assertEquals(string.toUpperCase(Locale.ROOT), new String(response, "UTF-8"));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
ImportExportDialogFragment.java 56 public static final String TAG = "ImportExportDialogFragment";
58 private static final String KEY_RES_ID = "resourceId";
59 private static final String ARG_CONTACTS_ARE_AVAILABLE = "CONTACTS_ARE_AVAILABLE";
61 private final String[] LOOKUP_PROJECTION = new String[] {
83 final String callingActivity = getArguments().getString(
86 // Adapter that shows a list of string resources
102 adapter.add(R.string.import_from_sim);
105 adapter.add(R.string.import_from_sdcard);
109 adapter.add(R.string.export_to_sdcard)
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
JavaNetHttpHelper.java 35 private static final String TAG = "QSB.JavaNetHttpHelper";
39 private static final String USER_AGENT_HEADER = "User-Agent";
40 private static final String DEFAULT_CHARSET = "UTF-8";
44 private final String mUserAgent;
51 * @param userAgent User agent string, e.g. "MyApp/1.0".
53 public JavaNetHttpHelper(UrlRewriter rewriter, String userAgent) {
62 * @return The response content. This is the empty string if the response
67 public String get(GetRequest request) throws IOException, HttpException {
76 * @return The response content. This is the empty string if the response
81 public String get(String url, Map<String,String> requestHeaders
160 StringBuilder string = new StringBuilder(); local
    [all...]
  /art/compiler/driver/
compiler_driver_test.cc 107 const mirror::String* string = dex_cache->GetResolvedString(i); local
108 EXPECT_TRUE(string != NULL) << "string_idx=" << i;
  /bionic/libc/kernel/common/linux/
moduleparam.h 56 char *string; member in struct:kparam_string
75 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name, param_set_copystring, param_get_string, &__param_string_##name, perm); __MODULE_PARM_TYPE(name, "string")
  /bionic/libc/kernel/tools/
kernel.py 7 import sys, cpp, re, os.path, string, time namespace
59 r"^.*<((%s)/[\d\w_\+\.\-/]*)>.*$" % string.join(kernel_dirs,"|")
305 line = string.strip(line)

Completed in 373 milliseconds

<<11121314151617181920>>