Exemplo n.º 1
0
void pawsStyles::InheritStyles()
{
    STRING_HASH(bool) alreadyInh, beingInh;

    STRING_HASH(csRef<iDocumentNode>)::GlobalIterator iter = styles.GetIterator();
    while(iter.HasNext())
    {
        csRef<iDocumentNode> style = iter.Next();
        beingInh.DeleteAll(); // this needs to be emptied for each recursive run
        InheritFromParent(style, alreadyInh, beingInh);
    }
}
Exemplo n.º 2
0
U_CAPI int32_t U_EXPORT2
uhash_hashIChars(const UHashTok key) {
    STRING_HASH(uint8_t, key.pointer, uprv_strlen((char*)p), uprv_tolower(*p));
}
Exemplo n.º 3
0
/* Used by UnicodeString to compute its hashcode - Not public API. */
U_CAPI int32_t U_EXPORT2
uhash_hashUCharsN(const UChar *str, int32_t length) {
    STRING_HASH(UChar, str, length, *p);
}
Exemplo n.º 4
0
U_CAPI int32_t U_EXPORT2
uhash_hashUChars(const UHashTok key) {
    STRING_HASH(UChar, key.pointer, u_strlen(p), *p);
}
Exemplo n.º 5
0
U_CAPI int32_t U_EXPORT2
ustr_hashCharsN(const char *str, int32_t length) {
    STRING_HASH(uint8_t, str, length, *p);
}