Searched refs:str1 (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Datomic_fifo_queue_test.c15 char *str1 = "String 1", *str2 = "String 2"; local
16 QueueNode node1 = { 0, str1 };
21 if( strcmp(node_ptr->str, str1) != 0 ) {
22 warnx("OSAtomicFifoDequeue returned incorrect string. Expected %s, got %s", str1, node_ptr->str);
/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/
H A DHFSUnicodeWrappers.h106 extern int32_t FastUnicodeCompare(register ConstUniCharArrayPtr str1, register ItemCount length1,
110 extern int32_t FastRelString( ConstStr255Param str1, ConstStr255Param str2 );
/darwin-on-arm/xnu/libkern/kxld/
H A Dkxld_util.h74 #define streq(str1, str2) (((str1) && (str2)) ? !strcmp((str1), (str2)) : 0)
75 #define streq_safe(str1, str2, len) (((str1) && (str2)) ? \
76 !strncmp((str1), (str2), (len)) : 0)
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Unicode/
H A DUnicodeWrappers.c248 * Output: returns -1 if str1 < str2
249 * returns 1 if str1 > str2
253 int32_t FastRelString( ConstStr255Param str1, ConstStr255Param str2 ) argument
261 length = *(str1++);
283 aChar = *(str1++);
315 // str1 < str2 => -1
316 // str1 = str2 => 0
317 // str1 > str2 => +1
351 // c1 = GetNextValidChar(str1) // returns zero if at end of string
367 int32_t FastUnicodeCompare ( register ConstUniCharArrayPtr str1, registe argument
457 FastUnicodeCompare( __unused void * str1, __unused u_int32_t length1, __unused void * str2, __unused u_int32_t length2 ) argument
[all...]
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_nbp.c859 static int nbp_strcmp (str1, str2, embedded_wildcard)
860 register at_nvestr_t *str1, *str2;
861 register u_char embedded_wildcard; /* If str1 may contain a character
875 /* Embedded wildcard, if any, could only be in the first string (str1).
879 if (str1->len == 0 || str2->len == 0) {
885 * If str1 could potentially contain an embedded wildcard, since the
886 * embedded wildcard matches ZERO OR MORE characters, str1 can not be
889 * If str1 is not supposed to have embedded wildcards, the two strs
892 if ((embedded_wildcard && (str2->len < (unsigned) (str1->len-1))) ||
893 (!embedded_wildcard && (str2->len != str1
[all...]
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOHibernateIO.cpp801 char str1[256]; local
802 int len = sizeof(str1);
804 if (!part->getPath(str1, &len, gIODTPlane))
810 char * tail = strchr(str1, ':');
812 tail = str1 - 1;
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs.h802 extern int hfs_namecmp(const u_int8_t *str1, size_t len1, const u_int8_t *str2, size_t len2);
H A Dhfs_vfsutils.c1955 hfs_namecmp(const u_int8_t *str1, size_t len1, const u_int8_t *str2, size_t len2) argument
1969 if (utf8_decodestr(str1, len1, ustr1, &ulen1, maxbytes, ':', 0) != 0)
H A Dhfs_xattr.c2071 u_int16_t * str1 = &searchKey->attrName[0]; local
2089 c1 = *(str1++);
H A Dhfs_catalog.c3504 u_int16_t * str1 = &searchKey->nodeName.unicode[0]; local
3522 c1 = *(str1++);

Completed in 158 milliseconds