/external/libtextclassifier/tests/ |
H A D | text-classification-model_test.cc | 93 std::tuple<int, int> selection; local 94 selection = model->SuggestSelection("abc\nBarack Obama", {4, 10}); 95 EXPECT_EQ(4, std::get<0>(selection)); 96 EXPECT_EQ(16, std::get<1>(selection)); 98 selection = model->SuggestSelection("Barack Obama\nabc", {0, 6}); 99 EXPECT_EQ(0, std::get<0>(selection)); 100 EXPECT_EQ(12, std::get<1>(selection)); 110 std::tuple<int, int> selection; local 113 selection = model->SuggestSelection( 115 EXPECT_EQ(15, std::get<0>(selection)); 181 std::tuple<int, int> selection; local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
H A D | MmsFileProvider.java | 41 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 54 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 60 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/external/freetype/src/cache/ |
H A D | ftcmru.c | 328 FTC_MruNode_CompareFunc selection, 335 while ( first && ( selection == NULL || selection( first, key ) ) ) 348 if ( selection( node, key ) ) 327 FTC_MruList_RemoveSelection( FTC_MruList list, FTC_MruNode_CompareFunc selection, FT_Pointer key ) argument
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Solution.h | 26 /// To get the selection for each node in the problem use the getSelection method. 73 /// \brief Set the selection for a given node. 75 /// @param selection Selection for nodeId. 76 void setSelection(GraphBase::NodeId nodeId, unsigned selection) { argument 77 selections[nodeId] = selection; 80 /// \brief Get a node's selection. 82 /// @return The selection for nodeId; 85 assert(sItr != selections.end() && "No selection for node.");
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowCursorLoader.java | 15 private String selection; field in class:ShadowCursorLoader 23 public void __constructor__(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument 27 this.selection = selection; 54 return selection; 58 public void setSelection(String selection) { argument 59 this.selection = selection;
|
H A D | ShadowContentProviderOperationBuilder.java | 32 public Builder withSelection(String selection, String[] selectionArgs) { argument 33 shadowContentProviderOperation.getSelections().put(selection, selectionArgs);
|
H A D | ShadowSQLiteDatabase.java | 115 String selection, String[] selectionArgs, String groupBy, 118 String where = selection; 119 if (selection != null && selectionArgs != null) { 120 where = buildWhereClause(selection, selectionArgs); 140 public Cursor query(String table, String[] columns, String selection, argument 143 return query(false, table, columns, selection, selectionArgs, groupBy, having, orderBy, null); 147 public Cursor query(String table, String[] columns, String selection, argument 150 return query(false, table, columns, selection, selectionArgs, groupBy, having, orderBy, limit); 114 query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/database/ |
H A D | SimpleTestCursor.java | 11 public String selection; field in class:SimpleTestCursor 20 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument 23 this.selection = selection;
|
H A D | TestCursor.java | 208 * Mimics ContentResolver.query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) 210 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/ |
H A D | SQLite.java | 109 * @param selection SQL where clause fragment 110 * @param selectionArgs Array of substitutions for args in selection 113 public static String buildWhereClause(String selection, String[] selectionArgs) throws SQLiteException { argument 114 String whereClause = selection; 118 for (char c : selection.toCharArray()) {
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/ |
H A D | ApiProvider.java | 74 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 94 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 125 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | TelephonyTestProvider.java | 50 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 69 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 75 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | ScriptProvider.java | 66 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 92 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 162 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/external/svox/pico/src/com/svox/pico/providers/ |
H A D | SettingsProvider.java | 61 public int delete(Uri uri, String selection, String[] selectionArgs) {
argument 81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
argument 90 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
argument
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/PBQP/ |
H A D | Solution.h | 26 /// To get the selection for each node in the problem use the getSelection method. 74 /// \brief Set the selection for a given node. 76 /// @param selection Selection for nItr. 77 void setSelection(Graph::NodeItr nItr, unsigned selection) { argument 78 selections[nItr] = selection; 81 /// \brief Get a node's selection. 83 /// @return The selection for nItr; 86 assert(sItr != selections.end() && "No selection for node.");
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
H A D | EABProvider.java | 207 protected int deleteInternal(SQLiteDatabase db, Uri uri, String selection, argument 214 if (selection == null) { 215 selection = "_id=?"; 226 logger.debug("Deleting from the table" + table + " selection= " + selection); 227 printDeletingValues(uri, selection, selectionArgs); 229 return db.delete(table, selection, selectionArgs); 265 String selection, String[] selectionArgs, String sortOrder) { 274 if(null != selection) { 275 selection 264 queryInternal(SQLiteDatabase db, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 325 updateInternal(SQLiteDatabase db, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument 485 printDeletingValues(Uri uri, String selection, String[] selectionArgs) argument [all...] |
H A D | DatabaseContentProvider.java | 203 * @param selection - selection used for the uri 204 * @param selectionArgs - selection args replacing ?'s in the selection 207 protected abstract int deleteInternal(final SQLiteDatabase db, Uri uri, String selection, argument 211 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 223 result = deleteInternal(db, uri, selection, selectionArgs); 314 * @param selection 320 String selection, String[] selectionArgs, String sortOrder); 323 public Cursor query(Uri uri, String[] projection, String selection, Strin argument 319 queryInternal(final SQLiteDatabase db, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 338 updateInternal(final SQLiteDatabase db, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument 342 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/interpreter/ |
H A D | InterpreterProvider.java | 72 public int delete(Uri uri, String selection, String[] selectionArgs) { argument 95 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 118 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
H A D | BarPlotExampleActivity.java | 97 private Pair<Integer, XYSeries> selection; field in class:BarPlotExampleActivity 117 // add a dark, semi-transparent background to the selection label widget: 319 selection = null; 323 // find the closest value to the selection: 333 if (selection == null) { 334 selection = new Pair<Integer, XYSeries>(i, series); 338 selection = new Pair<Integer, XYSeries>(i, series); 344 selection = new Pair<Integer, XYSeries>(i, series); 354 selection = null; 357 if(selection [all...] |
/external/libtextclassifier/smartselect/ |
H A D | text-classification-model.cc | 62 CodepointSpan selection, const std::string& context) const { 68 if (selection.first < 0 || selection.first > context_length || 69 selection.second < 0 || selection.second > context_length) { 70 return selection; 75 std::advance(it_from_begin, selection.first); 78 ++it_from_begin, ++selection.first) { 84 std::advance(it_from_end, selection.second); 89 --it_from_end, --selection 61 StripPunctuation( CodepointSpan selection, const std::string& context) const argument 318 std::pair<CodepointIndex, CodepointIndex> selection = local [all...] |
/external/libtextclassifier/ |
H A D | textclassifier_jni.cc | 180 CodepointSpan selection = local 182 selection = ConvertIndicesUTF8ToBMP(context_utf8, selection); 185 env->SetIntArrayRegion(result, 0, 1, &(std::get<0>(selection))); 186 env->SetIntArrayRegion(result, 1, 1, &(std::get<1>(selection)));
|
/external/libvncserver/client_examples/ |
H A D | scrap.c | 347 Atom selection; local 361 selection = XA_CUT_BUFFER0; 370 selection = XInternAtom(SDL_Display, "SDL_SELECTION", 373 selection, owner, CurrentTime); 391 if (XGetWindowProperty(SDL_Display, owner, selection, 492 /* Copy the selection from XA_CUT_BUFFER0 to the requested property */ 517 response.xselection.selection=req->selection; 527 sevent.xselection.selection = req->selection; [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | ContentResolverTest.java | 158 String selection = "select"; 165 Cursor cursor = shadowContentResolver.query(uri21, projection, selection, selectionArgs, sortOrder); 169 assertThat(testCursor.selection, equalTo(selection)); 325 @Override public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { 331 @Override public int delete(Uri uri, String selection, String[] selectionArgs) { 334 @Override public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 358 public String selection; field in class:ContentResolverTest.QueryParamTrackingTestCursor 363 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument 366 this.selection [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
H A D | ContactsFacade.java | 342 @RpcParameter(name = "selection", description = "A filter declaring which rows to return") 344 String selection, 348 "You may include ?s in selection, which will be replaced by the values from selectionArgs" 358 Cursor cursor = mContentResolver.query(Uri.parse(uri), columns, selection, args, order); 330 contactsQueryContent( @pcParameter name = �, description = � ) String uri, @RpcParameter( name = �, description = � ) @RpcOptional JSONArray attributes, @RpcParameter(name = �, description = �) @RpcOptional String selection, @RpcParameter( name = �, description = � ) @RpcOptional JSONArray selectionArgs, @RpcParameter(name = �, description = �) @RpcOptional String order) argument
|
/external/syslinux/gpxe/src/usr/ |
H A D | pxemenu.c | 72 unsigned int selection; member in struct:pxe_menu 211 * Make selection from PXE boot menu 238 pxe_menu_draw_item ( menu, menu->selection, 1 ); 246 pxe_menu_draw_item ( menu, menu->selection, 0 ); 250 pxe_menu_draw_item ( menu, menu->selection, 1 ); 256 if ( menu->selection > 0 ) 257 menu->selection--; 259 if ( menu->selection < ( menu->num_items - 1 ) ) 260 menu->selection++; 264 menu->selection [all...] |