Home
last modified time | relevance | path

Searched refs:lh (Results 1 – 25 of 72) sorted by relevance

123

/external/openssl/crypto/lhash/
Dlhash.c110 static void expand(_LHASH *lh);
111 static void contract(_LHASH *lh);
112 static LHASH_NODE **getrn(_LHASH *lh, const void *data, unsigned long *rhash);
157 void lh_free(_LHASH *lh) in lh_free() argument
162 if (lh == NULL) in lh_free()
165 for (i=0; i<lh->num_nodes; i++) in lh_free()
167 n=lh->b[i]; in lh_free()
175 OPENSSL_free(lh->b); in lh_free()
176 OPENSSL_free(lh); in lh_free()
179 void *lh_insert(_LHASH *lh, void *data) in lh_insert() argument
[all …]
Dlh_stats.c73 void lh_stats(LHASH *lh, FILE *out) in lh_stats() argument
75 fprintf(out,"num_items = %lu\n",lh->num_items); in lh_stats()
76 fprintf(out,"num_nodes = %u\n",lh->num_nodes); in lh_stats()
77 fprintf(out,"num_alloc_nodes = %u\n",lh->num_alloc_nodes); in lh_stats()
78 fprintf(out,"num_expands = %lu\n",lh->num_expands); in lh_stats()
79 fprintf(out,"num_expand_reallocs = %lu\n",lh->num_expand_reallocs); in lh_stats()
80 fprintf(out,"num_contracts = %lu\n",lh->num_contracts); in lh_stats()
81 fprintf(out,"num_contract_reallocs = %lu\n",lh->num_contract_reallocs); in lh_stats()
82 fprintf(out,"num_hash_calls = %lu\n",lh->num_hash_calls); in lh_stats()
83 fprintf(out,"num_comp_calls = %lu\n",lh->num_comp_calls); in lh_stats()
[all …]
Dlhash.h173 #define lh_error(lh) ((lh)->error) argument
176 void lh_free(_LHASH *lh);
177 void *lh_insert(_LHASH *lh, void *data);
178 void *lh_delete(_LHASH *lh, const void *data);
179 void *lh_retrieve(_LHASH *lh, const void *data);
180 void lh_doall(_LHASH *lh, LHASH_DOALL_FN_TYPE func);
181 void lh_doall_arg(_LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg);
183 unsigned long lh_num_items(const _LHASH *lh);
186 void lh_stats(const _LHASH *lh, FILE *out);
187 void lh_node_stats(const _LHASH *lh, FILE *out);
[all …]
/external/openssl/include/openssl/
Dlhash.h173 #define lh_error(lh) ((lh)->error) argument
176 void lh_free(_LHASH *lh);
177 void *lh_insert(_LHASH *lh, void *data);
178 void *lh_delete(_LHASH *lh, const void *data);
179 void *lh_retrieve(_LHASH *lh, const void *data);
180 void lh_doall(_LHASH *lh, LHASH_DOALL_FN_TYPE func);
181 void lh_doall_arg(_LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg);
183 unsigned long lh_num_items(const _LHASH *lh);
186 void lh_stats(const _LHASH *lh, FILE *out);
187 void lh_node_stats(const _LHASH *lh, FILE *out);
[all …]
Dsafestack.h2429 #define lh_ADDED_OBJ_insert(lh,inst) LHM_lh_insert(ADDED_OBJ,lh,inst) argument
2430 #define lh_ADDED_OBJ_retrieve(lh,inst) LHM_lh_retrieve(ADDED_OBJ,lh,inst) argument
2431 #define lh_ADDED_OBJ_delete(lh,inst) LHM_lh_delete(ADDED_OBJ,lh,inst) argument
2432 #define lh_ADDED_OBJ_doall(lh,fn) LHM_lh_doall(ADDED_OBJ,lh,fn) argument
2433 #define lh_ADDED_OBJ_doall_arg(lh,fn,arg_type,arg) \ argument
2434 LHM_lh_doall_arg(ADDED_OBJ,lh,fn,arg_type,arg)
2435 #define lh_ADDED_OBJ_error(lh) LHM_lh_error(ADDED_OBJ,lh) argument
2436 #define lh_ADDED_OBJ_num_items(lh) LHM_lh_num_items(ADDED_OBJ,lh) argument
2437 #define lh_ADDED_OBJ_down_load(lh) LHM_lh_down_load(ADDED_OBJ,lh) argument
2438 #define lh_ADDED_OBJ_node_stats_bio(lh,out) \ argument
[all …]
/external/icu4c/i18n/
Ducol_bld.cpp286 inline int32_t ucol_inv_getNext(UColTokenParser *src, UColTokListHeader *lh, uint32_t strength) { in ucol_inv_getNext() argument
287 uint32_t CE = lh->baseCE; in ucol_inv_getNext()
288 uint32_t SecondCE = lh->baseContCE; in ucol_inv_getNext()
313 lh->nextCE = nextCE; in ucol_inv_getNext()
314 lh->nextContCE = nextContCE; in ucol_inv_getNext()
319 static void ucol_inv_getGapPositions(UColTokenParser *src, UColTokListHeader *lh, UErrorCode *statu… in ucol_inv_getGapPositions() argument
327 UColToken *tok = lh->first; in ucol_inv_getGapPositions()
331 lh->gapsHi[3*i] = 0; in ucol_inv_getGapPositions()
332 lh->gapsHi[3*i+1] = 0; in ucol_inv_getGapPositions()
333 lh->gapsHi[3*i+2] = 0; in ucol_inv_getGapPositions()
[all …]
Ducol_tok.cpp1473 … src->lh = (UColTokListHeader *)uprv_realloc(src->lh, src->listCapacity*sizeof(UColTokListHeader)); in ucol_tok_initAReset()
1474 if(src->lh == NULL) { in ucol_tok_initAReset()
1513 sourceToken->listHeader = &src->lh[src->resultLen]; in ucol_tok_initAReset()
1515 src->lh[src->resultLen].first = NULL; in ucol_tok_initAReset()
1516 src->lh[src->resultLen].last = NULL; in ucol_tok_initAReset()
1517 src->lh[src->resultLen].first = NULL; in ucol_tok_initAReset()
1518 src->lh[src->resultLen].last = NULL; in ucol_tok_initAReset()
1520 src->lh[src->resultLen].reset = sourceToken; in ucol_tok_initAReset()
1600 src->lh[src->resultLen].baseCE = CE & 0xFFFFFF3F; in getVirginBefore()
1602 src->lh[src->resultLen].baseContCE = SecondCE; in getVirginBefore()
[all …]
/external/openssl/crypto/stack/
Dsafestack.h2429 #define lh_ADDED_OBJ_insert(lh,inst) LHM_lh_insert(ADDED_OBJ,lh,inst) argument
2430 #define lh_ADDED_OBJ_retrieve(lh,inst) LHM_lh_retrieve(ADDED_OBJ,lh,inst) argument
2431 #define lh_ADDED_OBJ_delete(lh,inst) LHM_lh_delete(ADDED_OBJ,lh,inst) argument
2432 #define lh_ADDED_OBJ_doall(lh,fn) LHM_lh_doall(ADDED_OBJ,lh,fn) argument
2433 #define lh_ADDED_OBJ_doall_arg(lh,fn,arg_type,arg) \ argument
2434 LHM_lh_doall_arg(ADDED_OBJ,lh,fn,arg_type,arg)
2435 #define lh_ADDED_OBJ_error(lh) LHM_lh_error(ADDED_OBJ,lh) argument
2436 #define lh_ADDED_OBJ_num_items(lh) LHM_lh_num_items(ADDED_OBJ,lh) argument
2437 #define lh_ADDED_OBJ_down_load(lh) LHM_lh_down_load(ADDED_OBJ,lh) argument
2438 #define lh_ADDED_OBJ_node_stats_bio(lh,out) \ argument
[all …]
/external/grub/stage2/
Dboot.c48 struct linux_kernel_header *lh; in load_image() local
96 lh = (struct linux_kernel_header *) buffer; in load_image()
219 else if (lh->boot_flag == BOOTSEC_SIGNATURE in load_image()
220 && lh->setup_sects <= LINUX_MAX_SETUP_SECTS) in load_image()
223 int setup_sects = lh->setup_sects; in load_image()
225 if (lh->header == LINUX_MAGIC_SIGNATURE && lh->version >= 0x0200) in load_image()
227 big_linux = (lh->loadflags & LINUX_FLAG_BIG_KERNEL); in load_image()
228 lh->type_of_loader = LINUX_BOOT_LOADER_TYPE; in load_image()
237 if (lh->version >= 0x0201) in load_image()
239 lh->heap_end_ptr = LINUX_HEAP_END_OFFSET; in load_image()
[all …]
/external/libppp/src/
Dpap.c86 struct fsmheader lh; in pap_Req() local
98 lh.code = PAP_REQUEST; in pap_Req()
99 lh.id = authp->id; in pap_Req()
100 lh.length = htons(plen + sizeof(struct fsmheader)); in pap_Req()
102 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in pap_Req()
116 struct fsmheader lh; in SendPapCode() local
121 lh.code = code; in SendPapCode()
122 lh.id = authp->id; in SendPapCode()
125 lh.length = htons(plen + sizeof(struct fsmheader)); in SendPapCode()
127 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in SendPapCode()
Dfsm.c192 struct fsmheader lh; in fsm_Output() local
211 lh.code = code; in fsm_Output()
212 lh.id = id; in fsm_Output()
213 lh.length = htons(plen); in fsm_Output()
215 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); in fsm_Output()
1047 struct fsmheader lh; in fsm_Input() local
1055 bp = mbuf_Read(bp, &lh, sizeof lh); in fsm_Input()
1057 if (ntohs(lh.length) > len) { in fsm_Input()
1059 "- dropped\n", fp->link->name, len, (int)ntohs(lh.length)); in fsm_Input()
1064 if (lh.code < fp->min_code || lh.code > fp->max_code || in fsm_Input()
[all …]
/external/openssl/crypto/ec/
Dec2_smpl.c554 BIGNUM *lh, *y2; in ec_GF2m_simple_is_on_curve() local
576 lh = BN_CTX_get(ctx); in ec_GF2m_simple_is_on_curve()
577 if (lh == NULL) goto err; in ec_GF2m_simple_is_on_curve()
584 if (!BN_GF2m_add(lh, &point->X, &group->a)) goto err; in ec_GF2m_simple_is_on_curve()
585 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err; in ec_GF2m_simple_is_on_curve()
586 if (!BN_GF2m_add(lh, lh, &point->Y)) goto err; in ec_GF2m_simple_is_on_curve()
587 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err; in ec_GF2m_simple_is_on_curve()
588 if (!BN_GF2m_add(lh, lh, &group->b)) goto err; in ec_GF2m_simple_is_on_curve()
590 if (!BN_GF2m_add(lh, lh, y2)) goto err; in ec_GF2m_simple_is_on_curve()
591 ret = BN_is_zero(lh); in ec_GF2m_simple_is_on_curve()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMTreeWalker.java232 LexicalHandler lh = ((LexicalHandler) this.m_contentHandler); in startNode() local
233 data.dispatchAsComment(lh); in startNode()
303 LexicalHandler lh = isLexH in startNode() local
308 lh.startCDATA(); in startNode()
316 lh.endCDATA(); in startNode()
394 LexicalHandler lh = ((LexicalHandler) this.m_contentHandler); in endNode() local
396 lh.endEntity(m_dtm.getNodeName(node)); in endNode()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DTreeWalker.java293 LexicalHandler lh = ((LexicalHandler) this.m_contentHandler); in startNode() local
295 lh.comment(data.toCharArray(), 0, data.length()); in startNode()
384 LexicalHandler lh = isLexH in startNode() local
389 lh.startCDATA(); in startNode()
397 lh.endCDATA(); in startNode()
517 LexicalHandler lh = ((LexicalHandler) this.m_contentHandler); in endNode() local
519 lh.endEntity(eref.getNodeName()); in endNode()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DTreeWalker.java319 LexicalHandler lh = ((LexicalHandler) this.m_contentHandler); in startNode() local
321 lh.comment(data.toCharArray(), 0, data.length()); in startNode()
389 LexicalHandler lh = isLexH in startNode()
394 lh.startCDATA(); in startNode()
402 lh.endCDATA(); in startNode()
498 LexicalHandler lh = ((LexicalHandler) this.m_contentHandler);
500 lh.endEntity(eref.getNodeName());
/external/icu4c/data/translit/
DLatin_InterIndic.txt75 $lh=\uE044;
134 $x=[$virama$aa$ai$au$ii$i$uu$u$rrh$rh$lh$e$o$se$ce$so$co];
153 \u0314lh→$lh;
154 \u0314l\u0325→$lh;
174 $consonants{ lh→$lh;
175 $consonants{ l\u0325→$lh;
192 lh→$wl;
283 $virama lh→$lh;
284 $virama l\u0325→$lh;
/external/llvm/test/MC/Mips/
Dmips-memory-instructions.s30 # CHECK: lh $4, 4($5) # encoding: [0x04,0x00,0xa4,0x84]
40 lh $4, 4($5)
/external/jhead/
Djpgfile.c142 int ll,lh, got; in ReadJpegSections() local
161 lh = fgetc(infile); in ReadJpegSections()
164 itemlen = (lh << 8) | ll; in ReadJpegSections()
183 Data[0] = (uchar)lh; in ReadJpegSections()
338 int ll,lh, got; in ReadJpegSectionsFromBuffer() local
356 lh = buffer[pos++]; in ReadJpegSectionsFromBuffer()
359 itemlen = (lh << 8) | ll; in ReadJpegSectionsFromBuffer()
376 Data[0] = (uchar)lh; in ReadJpegSectionsFromBuffer()
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXStringForChars.java155 public void dispatchAsComment(org.xml.sax.ext.LexicalHandler lh) in dispatchAsComment() argument
158 lh.comment((char[])m_obj, m_start, m_length); in dispatchAsComment()
/external/openssl/crypto/txt_db/
Dtxt_db.c199 LHASH_OF(OPENSSL_STRING) *lh; in TXT_DB_get_by_index()
206 lh=db->index[idx]; in TXT_DB_get_by_index()
207 if (lh == NULL) in TXT_DB_get_by_index()
212 ret=lh_OPENSSL_STRING_retrieve(lh,value); in TXT_DB_get_by_index()
/external/openssl/crypto/engine/
Deng_table.c118 LHASH_OF(ENGINE_PILE) *lh; in IMPLEMENT_LHASH_HASH_FN()
122 if((lh = lh_ENGINE_PILE_new()) == NULL) in IMPLEMENT_LHASH_HASH_FN()
124 *t = (ENGINE_TABLE *)lh; in IMPLEMENT_LHASH_HASH_FN()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainPatch.java291 for (LocationHeight lh : locationHeights) { in setHeight()
292 if (lh.x < 0 || lh.z < 0 || lh.x >= size || lh.z >= size) in setHeight()
294 int idx = lh.z * size + lh.x; in setHeight()
296 geomap.getHeightArray()[idx] = lh.h; in setHeight()
299 geomap.getHeightArray()[idx] = h+lh.h; in setHeight()
DTerrainQuad.java1268 for (LocationHeight lh : locations) {
1269 int quad = findQuadrant(lh.x, lh.z);
1271 int col = lh.x;
1272 int row = lh.z;
1275 quadLH1.add(lh);
1278 row = lh.z - split + 1;
1279 quadLH2.add(new LocationHeight(lh.x, row, lh.h));
1282 col = lh.x - split + 1;
1283 quadLH3.add(new LocationHeight(col, lh.z, lh.h));
1286 col = lh.x - split + 1;
[all …]
/external/opencv/cxcore/src/
Dcxsvd.cpp398 int lh = nu - i; in icvSVD_64f() local
410 icvMatrAXPY3_64f( lh, l-1, hv+1, lduT, uT+1, h ); in icvSVD_64f()
420 for( j = 1; j < lh; j++ ) in icvSVD_64f()
442 int lh = nv - i; in icvSVD_64f() local
453 icvMatrAXPY3_64f( lh, l-1, hv+1, ldvT, vT+1, h ); in icvSVD_64f()
463 for( j = 1; j < lh; j++ ) in icvSVD_64f()
795 int lh = nu - i; in icvSVD_32f() local
807 icvMatrAXPY3_32f( lh, l-1, hv+1, lduT, uT+1, h ); in icvSVD_32f()
817 for( j = 1; j < lh; j++ ) in icvSVD_32f()
839 int lh = nv - i; in icvSVD_32f() local
[all …]
/external/libvpx/vpx_scale/generic/
Dbicubic_scaler.c492 int h, w, lw, lh; in bicubic_scale() local
509 lh = l_h[h]; in bicubic_scale()
510 ip = input_image + (in_stride * lh); in bicubic_scale()
518 if (phase_offset_h && (lh < in_height - 2)) in bicubic_scale()

123