Home
last modified time | relevance | path

Searched refs:text (Results 1 – 5 of 5) sorted by relevance

/libnativehelper/
DExpandableString.c32 bool ExpandableStringAppend(struct ExpandableString* s, const char* text) { in ExpandableStringAppend() argument
33 size_t textSize = strlen(text); in ExpandableStringAppend()
40 memcpy(s->data + s->dataSize, text, textSize + 1); in ExpandableStringAppend()
45 bool ExpandableStringAssign(struct ExpandableString* s, const char* text) { in ExpandableStringAssign() argument
47 return ExpandableStringAppend(s, text); in ExpandableStringAssign()
DExpandableString.h39 bool ExpandableStringAppend(struct ExpandableString* s, const char* text);
43 bool ExpandableStringAssign(struct ExpandableString*s, const char* text);
DJNIHelp.c65 static bool AppendJString(JNIEnv* env, jstring text, struct ExpandableString* dst) { in AppendJString() argument
66 const char* utfText = (*env)->GetStringUTFChars(env, text, NULL); in AppendJString()
71 (*env)->ReleaseStringUTFChars(env, text, utfText); in AppendJString()
DNOTICE119 (d) If the Work includes a "NOTICE" text file as part of its
124 of the following places: within a NOTICE text file distributed
132 or as an addendum to the NOTICE text from the Work, provided
/libnativehelper/include/nativehelper/
DJNIHelp.h66 [[maybe_unused]] static bool ExpandableStringAppend(struct ExpandableString* s, const char* text) { in ExpandableStringAppend() argument
67 size_t textSize = strlen(text); in ExpandableStringAppend()
74 memcpy(s->data + s->dataSize, text, textSize + 1); in ExpandableStringAppend()
79 [[maybe_unused]] static bool ExpandableStringAssign(struct ExpandableString* s, const char* text) { in ExpandableStringAssign() argument
81 return ExpandableStringAppend(s, text); in ExpandableStringAssign()
117 [[maybe_unused]] static bool AppendJString(JNIEnv* env, jstring text, in AppendJString() argument
119 const char* utfText = env->GetStringUTFChars(text, NULL); in AppendJString()
124 env->ReleaseStringUTFChars(text, utfText); in AppendJString()