HomeSort by relevance Sort by last modified time
    Searched defs:string (Results 426 - 450 of 856) sorted by null

<<11121314151617181920>>

  /ndk/sources/host-tools/nawk-20071023/
lex.c 27 #include <string.h>
165 int string(void);
349 return string(); /* BUG: should be like tran.c ? */
357 int string(void) function
367 if (!adjbuf(&buf, &bufsz, bp-buf+2, 500, &bp, "string"))
368 FATAL("out of space for string %.10s...", buf);
373 SYNTAX( "non-terminated string %.10s...", buf );
433 RET(STRING);
576 void unputstr(const char *s) /* put a string back on input */
  /ndk/sources/host-tools/sed-4.2.1/testsuite/
tst-rxspencer.c 32 #include <string.h>
168 check_match (regmatch_t *rm, int idx, const char *string,
193 if (strncmp (string + rm[idx].rm_so, match + 1, strlen (match + 1)
203 || strncmp (string + rm[idx].rm_so, match,
214 test (const char *pattern, int cflags, const char *string, int eflags,
238 if (strcmp (string, codes[i].name))
241 fail, codes[i].name, string);
264 if (strcmp (string, "EMPTY") == 0)
271 if (regexec (&re, string, 10, rm, eflags))
291 ret = check_match (rm, 0, string, expect, fail)
440 char *pattern, *flagstr, *string, *expect, *matches, *p; local
    [all...]
  /packages/apps/Browser/src/com/android/browser/
UploadHandler.java 40 private String mCameraFilePath;
51 String getFilePath() {
93 void openFileChooser(ValueCallback<Uri> uploadMsg, String acceptType, String capture) {
95 final String imageMimeType = "image/*";
96 final String videoMimeType = "video/*";
97 final String audioMimeType = "audio/*";
98 final String mediaSourceKey = "capture";
99 final String mediaSourceValueCamera = "camera";
100 final String mediaSourceValueFileSystem = "filesystem"
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
GeneralPreferences.java 34 private static final String PREFERENCE_CATEGORY_KEY = "category_general_preferences";
36 private static final String PREFERENCE_KEY_AUTO_ADVANCE = "auto_advance";
37 private static final String PREFERENCE_KEY_TEXT_ZOOM = "text_zoom";
38 private static final String PREFERENCE_KEY_REPLY_ALL = Preferences.REPLY_ALL;
39 private static final String PREFERENCE_KEY_CLEAR_TRUSTED_SENDERS = "clear_trusted_senders";
71 String key = preference.getKey();
74 mPreferences.setAutoAdvanceDirection(mAutoAdvance.findIndexOfValue((String) newValue));
77 mPreferences.setTextZoom(mTextZoom.findIndexOfValue((String) newValue));
91 String key = preference.getKey();
95 getActivity(), R.string.trusted_senders_cleared, Toast.LENGTH_SHORT).show()
    [all...]
  /packages/apps/Nfc/tests/src/com/android/nfc/snep/
SnepBasicTests.java 32 private static final String TAG = "snepBasicTests";
268 StringBuffer string = new StringBuffer(size); local
270 string.append('A' + (i % 26));
273 new byte[0], string.toString().getBytes());
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDevicePreference.java 47 private static final String TAG = "BluetoothDevicePreference";
191 String name = mCachedDevice.getName();
193 name = context.getString(R.string.bluetooth_device);
195 String message = context.getString(R.string.bluetooth_disconnect_all_profiles, name);
196 String title = context.getString(R.string.bluetooth_disconnect_title);
211 R.string.bluetooth_pairing_error_message);
248 return R.string.bluetooth_connected_no_headset_no_a2dp;
250 return R.string.bluetooth_connected_no_a2dp
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/
ProjectsActivity.java 49 private static final String LOG_TAG = "ProjectsActivity";
55 public static final String PARAM_OPEN_PROJECT_PATH = "path";
56 public static final String PARAM_CREATE_PROJECT_NAME = "name";
66 private static final String PARAM_DIALOG_PATH_ID = "path";
103 actionBar.setTitle(R.string.full_app_name);
170 menu.add(Menu.NONE, MENU_NEW_PROJECT_ID, Menu.NONE, R.string.projects_new_project)
198 getString(android.R.string.ok),
204 final String projectName = tv.getText().toString();
209 getString(android.R.string.cancel),
224 getString(R.string.projects_project_name))
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
FeedbackFragment.java 37 private static final String TAG = FeedbackFragment.class.getSimpleName();
39 public static final String KEY_FEEDBACK_STRING = "FeedbackString";
40 public static final String KEY_INCLUDE_ACCOUNT_NAME = "IncludeAccountName";
41 public static final String KEY_HAS_USER_RECORDING = "HasRecording";
95 final String feedbackContents = editable.toString();
98 R.string.research_feedback_empty_feedback_error_message,
120 final String savedFeedbackString = mEditText.getText().toString();
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
KeySpecParserCsvTests.java 42 final String[] testResourceNames = getAllResourceIdNames(
43 com.android.inputmethod.latin.tests.R.string.class);
46 com.android.inputmethod.latin.tests.R.string.empty_string);
49 private static String[] getAllResourceIdNames(final Class<?> resourceIdClass) {
50 final ArrayList<String> names = CollectionUtils.newArrayList();
56 return names.toArray(new String[names.size()]);
59 private static void assertArrayEquals(final String message, final Object[] expected,
78 private void assertTextArray(final String message, final String value,
79 final String ... expectedArray)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactLookupKey.java 35 public static final String PROFILE_LOOKUP_KEY = "profile";
40 public String rawContactId;
41 public String key;
59 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) {
67 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet,
68 String accountName, long rawContactId, String sourceId,
69 String displayName) {
91 private static boolean appendEscapedSourceId(StringBuilder sb, String sourceId)
122 String string = Uri.decode(lookupKey); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
ExtractStringProposal.java 80 public String getAdditionalProposalInfo() {
87 String string = buffer.getText(start, length); local
88 string = ExtractStringRefactoring.unquoteAttrValue(string);
89 String token = ExtractStringInputPage.guessId(string);
91 // Look up the beginning and the end of the line (outside of the extracted string)
93 // foo.setTitle("Hello"); we want to show foo.setTitle(R.string.hello);
105 String linePrefix = buffer.getText(i + 1, start - (i + 1)).trim()
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiSettings.java 95 private static final String TAG = "WifiSettings";
116 private static final String SAVE_DIALOG_EDIT_MODE = "edit_mode";
117 private static final String SAVE_DIALOG_ACCESS_POINT_STATE = "wifi_ap_state";
151 private static final String EXTRA_ENABLE_NEXT_ON_CONNECT = "wifi_enable_next_on_connect";
154 private static final String EXTRA_AUTO_FINISH_ON_CONNECT = "wifi_auto_finish_on_connect";
157 protected static final String EXTRA_SHOW_CUSTOM_BUTTON = "wifi_show_custom_button";
160 protected static final String EXTRA_SHOW_WIFI_REQUIRED_INFO = "wifi_show_wifi_required_info";
163 private static final String EXTRA_IS_FIRST_RUN = "firstRun";
306 R.string.wifi_failed_connect_message,
321 R.string.wifi_failed_save_message
    [all...]
  /cts/tools/signature-tools/src/signature/converter/dex/
DexUtil.java 46 private static final String PACKAGE_INFO = "package-info";
47 private static final String THROWS_ANNOTATION =
49 private static final String SIGNATURE_ANNOTATION =
51 private static final String ANNOTATION_DEFAULT_ANNOTATION =
53 private static final String ENCLOSING_CLASS_ANNOTATION =
55 private static final String ENCLOSING_METHOD_ANNOTATION =
57 private static final String INNER_CLASS_ANNOTATION =
59 private static final String MEMBER_CLASS_ANNOTATION =
61 private static final String JAVA_LANG_OBJECT = "Ljava/lang/Object;";
63 private static final Set<String> INTERNAL_ANNOTATION_NAMES
    [all...]
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/ui/
ImageGridFragment.java 57 private static final String TAG = "ImageGridFragment";
58 private static final String IMAGE_CACHE_DIR = "thumbs";
190 Toast.makeText(getActivity(), R.string.clear_cache_complete_toast,
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3string.c 2 * Implementation of the ANTLR3 string and string factory classes
42 static pANTLR3_STRING newPtr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
43 static pANTLR3_STRING newPtrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
44 static pANTLR3_STRING newPtrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size);
45 static pANTLR3_STRING newStr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string);
46 static pANTLR3_STRING newStrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string);
47 static pANTLR3_STRING newStrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string);
48 static void destroy (pANTLR3_STRING_FACTORY factory, pANTLR3_STRING string);
49 static pANTLR3_STRING printable8 (pANTLR3_STRING_FACTORY factory, pANTLR3_STRING string);
188 pANTLR3_STRING string; local
217 pANTLR3_STRING string; local
423 pANTLR3_STRING string; local
451 pANTLR3_STRING string; local
478 pANTLR3_STRING string; local
511 pANTLR3_STRING string; local
559 pANTLR3_STRING string; local
679 pANTLR3_STRING string; local
726 pANTLR3_STRING string; local
    [all...]
antlr3tokenstream.c 537 pANTLR3_STRING string; local
560 /* Finally, let's get a string
562 string = tsource->strFactory->newRaw(tsource->strFactory);
569 string->appendS(string, tok->getText(tok));
573 return string;
1075 /// Return a string that represents the name assoicated with the input source
1087 // because this is a token stream, not a file or string stream, which are the
  /external/chromium/chrome/browser/sync/sessions/
session_state.h 18 #include <string>
106 const std::string member in namespace:browser_sync::sessions
118 const std::string
136 const std::string download_progress_markers[syncable::MODEL_TYPE_COUNT];
  /external/chromium/chrome/common/
metrics_helpers.cc 98 std::string MetricsLogBase::version_extension_;
100 MetricsLogBase::MetricsLogBase(const std::string& client_id, int session_id,
101 const std::string& version_string)
168 std::string MetricsLogBase::GetEncodedLogString() {
170 return std::string(reinterpret_cast<char*>(xml_wrapper_->buffer()->content));
177 std::string MetricsLogBase::CreateHash(const std::string& value) {
201 return std::string(reinterpret_cast<char*>(digest.a), arraysize(digest.a));
204 std::string MetricsLogBase::CreateBase64Hash(const std::string& string)
207 DVLOG(1) << "Metrics: Hash [" << encoded_digest << "]=[" << string << "]"; local
    [all...]
  /external/chromium/sdch/open-vcdiff/src/
vcencoder_test.cc 19 #include <string.h> // memcpy
21 #include <string>
67 typedef std::string string; typedef in class:open_vcdiff::__anon5231::VerifyEncodedBytesTest
79 EXPECT_EQ(string(s, size),
80 string(delta_data() + delta_index_, size));
106 const string& delta_as_const() const { return delta_; }
107 string* delta() { return &delta_; }
113 string delta_;
134 string result_target_
    [all...]
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
p5-0x.cpp 169 struct string { struct in namespace:pr10644
170 string(const char* __s);
173 int& operator[](const string& __k);
175 int& operator[](const string&& __k);
  /external/clang/test/SemaCXX/
cxx0x-initializer-constructor.cpp 222 template<int N> struct string {}; struct in namespace:PR12167
229 template<int N, class Comparator> bool g(const string<N>& s, Comparator cmp) {
232 template<int N> bool f(const string<N> &s) {
236 bool s = f(string<1>());
typo-correction.cpp 74 class string {}; class in namespace:AnotherStd
76 another_std::string str; // expected-error{{use of undeclared identifier 'another_std'; did you mean 'AnotherStd'?}}
  /external/freetype/src/psaux/
psobjs.c 642 /************* check for literal string *****************/
939 /* XXX: some stupid fonts have a `Notice' or `Copyright' string */
945 /* notice/copyright was not recognized as a valid string token */
977 /* now copy the string */
1086 FT_String* string; local
1139 /* we allow both a string or a name */
1159 " expected a name or string\n"
1177 if ( FT_ALLOC( string, len + 1 ) )
1180 FT_MEM_COPY( string, cur, len );
1181 string[len] = 0
    [all...]
  /external/harfbuzz_ng/src/hb-old/
harfbuzz-shaper.cpp 230 const HB_UChar16 *uc = item->string + item->item.pos;
358 shaper_item->string + shaper_item->item.pos, shaper_item->item.length,
447 static char string[5]; local
448 string[0] = (tag >> 24)&0xff;
449 string[1] = (tag >> 16)&0xff;
450 string[2] = (tag >> 8)&0xff;
451 string[3] = tag&0xff;
452 string[4] = 0;
453 return string;
889 // #### the reconstruction of the logclusters currently does not work if the original string
    [all...]
  /external/icu4c/common/
unisetspan.cpp 30 * a code point or a string.
44 * max string length and U16_LENGTH/U8_LENGTH to account for
164 // Get the number of UTF-8 bytes for a UTF-16 (sub)string.
173 // The string contains an unpaired surrogate.
174 // Ignore this string.
179 // Append the UTF-8 version of the string to t and return the appended UTF-8 length.
188 // The string contains an unpaired surrogate.
189 // Ignore this string.
218 // If any string is relevant, then all strings need to be used for
229 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i) local
309 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local
656 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local
695 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local
820 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local
861 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local
1364 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local
1407 const UnicodeString &string=*(const UnicodeString *)strings.elementAt(i); local
    [all...]

Completed in 1756 milliseconds

<<11121314151617181920>>