Searched refs:bsearch (Results 1 - 25 of 40) sorted by relevance

12

/external/boringssl/src/crypto/obj/
H A Dobj_xref.c77 triple = bsearch(&key, sigoid_srt, sizeof(sigoid_srt) / sizeof(nid_triple),
113 triple = bsearch(&pkey, sigoid_srt_xref,
H A Dobj.c209 nid_ptr = bsearch(obj, kNIDsInOIDOrder, NUM_OBJ, sizeof(unsigned), obj_cmp);
252 nid_ptr = bsearch(short_name, kNIDsInShortNameOrder, NUM_SN, sizeof(unsigned), short_name_cmp);
286 nid_ptr = bsearch(long_name, kNIDsInLongNameOrder, NUM_LN, sizeof(unsigned), long_name_cmp);
/external/harfbuzz_ng/src/
H A Dhb-ot-map-private.hh46 hb_tag_t tag; /* should be first for our bsearch to work */
81 const feature_map_t *map = features.bsearch (&feature_tag);
87 const feature_map_t *map = features.bsearch (&feature_tag);
92 const feature_map_t *map = features.bsearch (&feature_tag);
97 const feature_map_t *map = features.bsearch (&feature_tag);
102 const feature_map_t *map = features.bsearch (&feature_tag);
H A Dhb-ot-cmap-table.hh89 /* Custom two-array bsearch. */
258 int i = groups.bsearch (codepoint);
356 i = defaults.bsearch (codepoint);
360 i = nonDefaults.bsearch (codepoint);
397 return record[record.bsearch(variation_selector)].get_glyph (codepoint, glyph, this);
506 /* Note: We can use bsearch, but since it has no performance
509 int result = encodingRecord./*bsearch*/lsearch (key);
H A Dhb-ot-name-table.hh92 NameRecord *match = (NameRecord *) bsearch (&key, nameRecord, count, sizeof (nameRecord[0]), (hb_compare_func_t) NameRecord::cmp);
H A Dhb-ot-layout-common-private.hh120 int i = this->/*lsearch*/bsearch (tag);
692 int i = glyphArray.bsearch (glyph_id);
758 int i = rangeRecord.bsearch (glyph_id);
1058 int i = rangeRecord.bsearch (glyph_id);
H A Dhb-private.hh359 /* Type of bsearch() / qsort() compare function */
461 inline Type *bsearch (T *key) function in struct:hb_prealloced_array_t
463 return (Type *) ::bsearch (key, array, len, sizeof (Type), (hb_compare_func_t) Type::cmp);
466 inline const Type *bsearch (T *key) const function in struct:hb_prealloced_array_t
468 return (const Type *) ::bsearch (key, array, len, sizeof (Type), (hb_compare_func_t) Type::cmp);
H A Dhb-ot-tag.cc177 * Keep sorted for bsearch.
844 lang_tag = (LangTag *) bsearch (lang_str, ot_languages,
/external/mesa3d/src/mapi/mapi/
H A Dstub.c88 return (const struct mapi_stub *) bsearch(name, public_stubs,
/external/compiler-rt/test/profile/
H A Dinstrprof-value-prof.c79 if (bsearch(&func, CallerAddrs, sizeof(CallerAddrs) / sizeof(void *),
/external/libcxx/test/std/depr/depr.c.headers/
H A Dstdlib_h.pass.cpp66 static_assert((std::is_same<decltype(bsearch(0,0,0,0,0)), void*>::value), "");
/external/toybox/toys/pending/
H A Ddd.c87 // keep the array sorted by name, bsearch() can be used.
302 if (!(res = bsearch(&key, operands, ARRAY_LEN(operands), sizeof(struct pair),
336 if (!(res = bsearch(&key, clist, ARRAY_LEN(clist),
/external/boringssl/src/crypto/asn1/
H A Da_strnid.c59 #include <stdlib.h> /* For bsearch */
201 ttmp = bsearch(&fnd, tbl_standard, sizeof(tbl_standard)/sizeof(ASN1_STRING_TABLE), sizeof(ASN1_STRING_TABLE), table_cmp);
/external/boringssl/src/crypto/x509v3/
H A Dv3_lib.c109 ret = bsearch(&t, standard_exts, STANDARD_EXTENSION_COUNT, sizeof(X509V3_EXT_METHOD*), ext_cmp);
H A Dv3_purp.c311 * searched using bsearch.
333 if (bsearch(&ex_nid, supported_nids, sizeof(supported_nids)/sizeof(int), sizeof(int), nid_cmp) != NULL)
/external/e2fsprogs/intl/
H A Dlocalealias.c172 retval = (struct alias_map *) bsearch (&item, map, nmap,
/external/f2fs-tools/tools/
H A Df2fstat.c150 found = bsearch(&key, f2fstat_table, f2fstat_table_cnt, sizeof(struct mm_table), compare_mm_table);
/external/harfbuzz_ng/src/hb-ucdn/
H A Ducdn.c211 res = bsearch(&mp, mirror_pairs, BIDI_MIRROR_LEN, sizeof(MirrorPair),
/external/libcxx/test/std/language.support/support.runtime/
H A Dcstdlib.pass.cpp78 static_assert((std::is_same<decltype(std::bsearch(0,0,0,0,0)), void*>::value), "");
/external/strace/
H A Dioctl.c55 iop = bsearch((const void *) (const unsigned long) code, ioctlent,
/external/boringssl/src/crypto/stack/
H A Dstack.c256 * qsort and bsearch take a comparison function that just takes pointers to
258 * qsort/bsearch, we can just cast the comparison function and everything
261 r = bsearch(&p, sk->data, sk->num, sizeof(void *), comp_func);
/external/mesa3d/src/mesa/main/
H A Dimports.c468 * Wrapper for bsearch().
490 return bsearch(key, base, nmemb, size, compar);
/external/pdfium/core/include/fxcrt/
H A Dfx_system.h184 #define FXSYS_bsearch bsearch
/external/boringssl/src/crypto/err/
H A Derr.c420 // |bsearch| in |err_string_lookup|.
457 const uint32_t *result = bsearch(&search_key, values, num_values,
/external/elfutils/libdwfl/
H A Dframe_unwind.c452 const Dwarf_Op *found = bsearch ((void *) (uintptr_t) offset, ops, nops,

Completed in 817 milliseconds

12