Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndldic.c100 #define COPY_QUE(handle, src, dst) \ argument
101 nj_memcpy(POS_TO_ADDRESS((handle), (dst)), POS_TO_ADDRESS((handle), (src)), QUE_SIZE(handle))
110 static NJ_WQUE *get_que(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
111 static NJ_INT16 is_continued(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
112 static NJ_UINT16 search_next_que(NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
113 static NJ_INT16 que_strcmp_complete_with_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que…
114 static NJ_CHAR *get_string(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen);
115 static NJ_CHAR *get_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen);
119 static NJ_INT16 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yo…
120 static NJ_INT16 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *y…
[all …]
Dndbdic.c112 NJ_DIC_HANDLE handle, NJ_UINT32 *ret_bottom);
585 root = NODE_AREA_TOP_ADDR(loctset->loct.handle); in search_node()
588 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle); in search_node()
595 bit_left = BIT_NODE_AREA_LEFT_LEN(loctset->loct.handle); in search_node()
596 bit_data = BIT_NODE_AREA_DATA_LEN(loctset->loct.handle); in search_node()
598 ytbl_cnt = YOMI_INDX_CNT(loctset->loct.handle); in search_node()
599 y = YOMI_INDX_SIZE(loctset->loct.handle); in search_node()
600 ytbl_top = YOMI_INDX_TOP_ADDR(loctset->loct.handle); in search_node()
602 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle); in search_node()
950 next = get_stem_next(loctset->loct.handle, stem_data); in search_node()
[all …]
Dndapi.c46 static NJ_INT16 njd_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
66 if (dicinfo->handle != NULL) { in check_search_cursor()
76 loctset->loct.handle = dicinfo->handle; in check_search_cursor()
136 if (loctset->loct.handle == NULL) { in search_word()
140 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); in search_word()
209 if ((loctset->loct.handle == NULL) || in get_word_and_search_next_word()
215 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); in get_word_and_search_next_word()
337 ((loctset->loct.handle != NULL) && in get_word_and_search_next_word()
339 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); in get_word_and_search_next_word()
382 if (loctset->loct.handle == NULL) { in njd_get_word_data()
[all …]
Dndfdic.c88 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + offset; in search_data()
95 if (data >= STRS_AREA_TOP_ADDR(loctset->loct.handle)) { in search_data()
106 i = (STRS_AREA_TOP_ADDR(loctset->loct.handle) - data) / DATA_SIZE; in search_data()
120 if (yomi_strcmp_forward(loctset->loct.handle, data, condition->yomi)) { in search_data()
131 … hindo = DATA_HINDO(STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current); in search_data()
329 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current; in njd_f_get_word()
370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_stroke()
373 area = YOMI_AREA_TOP_ADDR(loc->handle) + DATA_YOMI(data); in njd_f_get_stroke()
375 if (YOMI_INDX_CNT(loc->handle) == 0) { in njd_f_get_stroke()
392 len = convert_to_yomi(loc->handle, area, DATA_YOMI_SIZE(data), stroke, size); in njd_f_get_stroke()
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
Dnj_ext.h62 #define NJ_GET_DIC_TYPE_EX(type, handle) \ argument
63 NJ_GET_DIC_TYPE((handle))
119 extern NJ_INT16 njd_l_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
120 extern NJ_INT16 njd_l_init_area(NJ_DIC_HANDLE handle);
126 extern NJ_INT16 njd_l_mld_op_commit(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
127 extern NJ_INT16 njd_l_mld_op_commit_to_top(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
128 extern NJ_INT16 njd_l_mld_op_commit_cancel(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
129 extern NJ_INT16 njd_l_mld_op_get_space(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
Dnj_lib.h148 NJ_DIC_HANDLE handle; member
212 NJ_DIC_HANDLE handle; member
347 NJ_EXTERN NJ_INT16 njx_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 restore, NJ_UINT32 …
350 NJ_EXTERN NJ_INT16 njx_create_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_INT8 type, NJ_UINT32 siz…
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java299 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, in insertStatusUpdate() argument
301 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, 0); in insertStatusUpdate()
304 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, in insertStatusUpdate() argument
309 values.put(StatusUpdates.IM_HANDLE, handle); in insertStatusUpdate()
325 String handle) { in insertImHandle() argument
331 values.put(Im.DATA, handle); in insertImHandle()
/packages/apps/Settings/src/com/android/settings/battery_history/
DBatteryHistory.java606 int handle = se.getHandle(); in processSensorUsage() local
612 if (handle == BatteryStats.Uid.Sensor.GPS) { in processSensorUsage()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c38 dicInfo->handle = NULL; in clearDictionaryStructure()
362 work->dicSet.dic[ index ].handle = work->dicHandle[ index ]; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider.java1879 final String handle = initialValues.getAsString(Presence.IM_HANDLE); in insertInternal() local
1881 if (TextUtils.isEmpty(handle) || TextUtils.isEmpty(protocol)) { in insertInternal()
1906 selectionArgs = new String[] { handle, protocol, handle }; in insertInternal()
1908 selectionArgs = new String[] { handle, protocol }; in insertInternal()
DContactsProvider2.java2439 final String handle = values.getAsString(StatusUpdates.IM_HANDLE); in insertStatusUpdate() local
2463 if (TextUtils.isEmpty(handle) || protocol == null) { in insertStatusUpdate()
2483 DatabaseUtils.appendEscapedSQLString(mSb, handle); in insertStatusUpdate()
2501 DatabaseUtils.appendEscapedSQLString(mSb, handle); in insertStatusUpdate()
2547 mValues.put(StatusUpdates.IM_HANDLE, handle); in insertStatusUpdate()