Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 25 of 28) sorted by relevance

12

/external/bluetooth/glib/tests/
Dmainloop-test.c105 char buf1[32]; in adder_callback() local
112 if (!read_all (source, buf1, 32) || in adder_callback()
119 sprintf (result, "%d", atoi(buf1) + atoi(buf2)); in adder_callback()
216 char buf1[32]; in do_add() local
219 sprintf (buf1, "%d", a); in do_add()
222 write_all (in, buf1, 32); in do_add()
/external/clearsilver/util/
Dsnprintf.c761 char buf1[LONG_STRING]; in main() local
803 snprintf (buf1, sizeof (buf1), fp_fmt[x], fp_nums[y]); in main()
805 if (strcmp (buf1, buf2)) in main()
808 fp_fmt[x], buf1, buf2); in main()
817 snprintf (buf1, sizeof (buf1), int_fmt[x], int_nums[y]); in main()
819 if (strcmp (buf1, buf2)) in main()
822 int_fmt[x], buf1, buf2); in main()
/external/e2fsprogs/intl/
Dlocalcharset.c145 char buf1[50+1]; in get_charset_aliases() local
169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) in get_charset_aliases()
171 l1 = strlen (buf1); in get_charset_aliases()
189 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); in get_charset_aliases()
/external/icu4c/test/cintltst/
Dutransts.c248 char buf1[BUF_CAP]; in TestOpenInverse() local
282 utrans_getID(inverse1, buf1, BUF_CAP); in TestOpenInverse()
283 if(strcmp(buf1, TransID[i+1]) != 0){ in TestOpenInverse()
284 … log_err("FAIL :openInverse() for %s returned %s instead of %s\n", TransID[i], buf1, TransID[i+1]); in TestOpenInverse()
298 char buf1[BUF_CAP], buf2[BUF_CAP], buf3[BUF_CAP]; in TestClone() local
315 utrans_getID(t1, buf1, BUF_CAP); in TestClone()
319 if(strcmp(buf1, buf3) != 0 || in TestClone()
320 strcmp(buf1, buf2) == 0) { in TestClone()
327 strcmp(buf1, buf3) == 0) { in TestClone()
Dbocu1tst.c790 char buf1[80], buf2[80]; in TestBOCU1RefDiff() local
824 printBytes(prev, buf1); in TestBOCU1RefDiff()
825 log_verbose(" wD(%8ld) %s\n", i, buf1); in TestBOCU1RefDiff()
840 printBytes(prev, buf1); in TestBOCU1RefDiff()
842 … log_verbose("ok: strcmp(wD(%8ld), wD(%8ld))=%2d %s%s\n", i-1, i, cmp, buf1, buf2); in TestBOCU1RefDiff()
846 printBytes(prev, buf1); in TestBOCU1RefDiff()
848 log_verbose("wrong: strcmp(wD(%8ld), wD(%8ld))=%2d %s%s\n", i-1, i, cmp, buf1, buf2); in TestBOCU1RefDiff()
855 printBytes((uint8_t *)"", buf1); in TestBOCU1RefDiff()
857 log_verbose(" wD(%8ld) %s%s\n", i-1, buf1, buf2); in TestBOCU1RefDiff()
/external/opencore/codecs_v2/standalone_headerfiles/
Darbt_mem.h28 #define arbt_memcmp(buf1, buf2, count) memcmp( (const void *)(buf1), (const void *)(buf2), (AR… argument
/external/openssl/crypto/asn1/
Dasn1_lib.c453 char buf1[DECIMAL_SIZE(address)+1],buf2[DECIMAL_SIZE(offset)+1]; in asn1_add_error() local
455 BIO_snprintf(buf1,sizeof buf1,"%lu",(unsigned long)address); in asn1_add_error()
457 ERR_add_error_data(4,"address=",buf1," offset=",buf2); in asn1_add_error()
/external/opencore/oscl/oscl/osclbase/src/
Doscl_mem_basic_functions.h174 OSCL_COND_IMPORT_REF int oscl_memcmp(const void* buf1, const void* buf2, uint32 count);
/external/grub/netboot/
Dvia-rhine.c1006 #define buf1 (0x10000 - (RX_RING_SIZE * PKT_BUF_SZ + 32)) in rhine_reset() macro
1007 #define buf2 (buf1 - (RX_RING_SIZE * PKT_BUF_SZ + 32)) in rhine_reset()
1011 static char buf1[RX_RING_SIZE * PKT_BUF_SZ + 32]; in rhine_reset() local
1021 tx_bufs_tmp = (int) buf1; in rhine_reset()
/external/webkit/WebCore/loader/
DTextResourceDecoder.cpp423 const unsigned char* buf1 = reinterpret_cast<const unsigned char*>(m_buffer.data()); in checkForBOM() local
425 unsigned char c1 = buf1Len ? (--buf1Len, *buf1++) : buf2Len ? (--buf2Len, *buf2++) : 0; in checkForBOM()
426 unsigned char c2 = buf1Len ? (--buf1Len, *buf1++) : buf2Len ? (--buf2Len, *buf2++) : 0; in checkForBOM()
427 unsigned char c3 = buf1Len ? (--buf1Len, *buf1++) : buf2Len ? (--buf2Len, *buf2++) : 0; in checkForBOM()
/external/icu4c/common/
Dustring.c1136 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count) { in u_memcmp() argument
1138 const UChar *limit = buf1 + count; in u_memcmp()
1141 while (buf1 < limit) { in u_memcmp()
1142 result = (int32_t)(uint16_t)*buf1 - (int32_t)(uint16_t)*buf2; in u_memcmp()
1146 buf1++; in u_memcmp()
/external/qemu/
Dqemu-char.c258 char buf1[64]; in mux_chr_write() local
267 snprintf(buf1, sizeof(buf1), in mux_chr_write()
273 d->drv->chr_write(d->drv, (uint8_t *)buf1, strlen(buf1)); in mux_chr_write()
Dqemu-char-android.c266 char buf1[64]; in mux_chr_write() local
275 snprintf(buf1, sizeof(buf1), in mux_chr_write()
281 d->drv->chr_write(d->drv, (uint8_t *)buf1, strlen(buf1)); in mux_chr_write()
Dblock.c1259 char buf1[128], date_buf[128], clock_buf[128]; in bdrv_snapshot_dump() local
1293 get_human_readable_size(buf1, sizeof(buf1), sn->vm_state_size), in bdrv_snapshot_dump()
Dnet-android.c1604 uint8_t buf1[4096]; in net_socket_send() local
1607 size = recv(s->fd, (void *)buf1, sizeof(buf1), 0); in net_socket_send()
1619 buf = buf1; in net_socket_send()
Dnet.c1519 uint8_t buf1[4096]; in net_socket_send() local
1522 size = recv(s->fd, (void *)buf1, sizeof(buf1), 0); in net_socket_send()
1534 buf = buf1; in net_socket_send()
/external/webkit/WebCore/icu/unicode/
Dustring.h782 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count);
/external/webkit/JavaScriptCore/icu/unicode/
Dustring.h782 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count);
/external/webkit/WebKit/mac/icu/unicode/
Dustring.h782 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count);
/external/webkit/JavaScriptGlue/icu/unicode/
Dustring.h782 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count);
/external/icu4c/common/unicode/
Dustring.h787 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count);
/external/icu4c/i18n/
Ducol_elm.cpp62 UChar buf1[256]; in prefixLookupComp() local
64 key1.pointer = buf1; in prefixLookupComp()
65 uprv_memcpy(buf1, element1->cPoints, element1->cSize*sizeof(UChar)); in prefixLookupComp()
66 buf1[element1->cSize] = 0; in prefixLookupComp()
/external/icu4c/test/intltest/
Dnumrgts.cpp305 UnicodeString buf1; in Test4087245() local
309 df->format(n, buf1, pos)); in Test4087245()
313 if(buf1 != buf2) in Test4087245()
Dcalregts.cpp2486 UnicodeString buf1, buf2; in TestTimeZoneTransitionAdd() local
2521 dateFormat.format(yesterday, buf1) + " +1d= " + in TestTimeZoneTransitionAdd()
2523 buf1.truncate(0); in TestTimeZoneTransitionAdd()
/external/elfutils/src/
Delflint.c1437 char buf1[50]; in check_dynamic() local
1443 ebl_dynamic_tag_name (ebl, cnt, buf1, sizeof (buf1)), in check_dynamic()

12