HomeSort by relevance Sort by last modified time
    Searched full:namestr (Results 1 - 25 of 64) sorted by null

1 2 3

  /cts/tests/tests/security/jni/
android_security_cts_LinuxRngTest.cpp 46 const char* nameStr = env->GetStringUTFChars(name, NULL);
50 if (stat(nameStr, &st) == -1) {
51 throwIOException(env, "Failed to stat %s: %s", nameStr, strerror(errno));
56 throwIOException(env, "%s is not a character device: mode is 0%o", nameStr, st.st_mode);
63 if (nameStr != NULL) {
64 env->ReleaseStringUTFChars(name, nameStr);
72 const char* nameStr = env->GetStringUTFChars(name, NULL);
76 if (stat(nameStr, &st) == -1) {
77 throwIOException(env, "Failed to stat %s: %s", nameStr, strerror(errno));
82 throwIOException(env, "%s is not a character device: mode is 0%o", nameStr, st.st_mode)
    [all...]
  /external/javassist/src/main/javassist/bytecode/
AttributeInfo.java 75 String nameStr = cp.getUtf8Info(name);
76 if (nameStr.charAt(0) < 'L') {
77 if (nameStr.equals(AnnotationDefaultAttribute.tag))
79 else if (nameStr.equals(CodeAttribute.tag))
81 else if (nameStr.equals(ConstantAttribute.tag))
83 else if (nameStr.equals(DeprecatedAttribute.tag))
85 else if (nameStr.equals(EnclosingMethodAttribute.tag))
87 else if (nameStr.equals(ExceptionsAttribute.tag))
89 else if (nameStr.equals(InnerClassesAttribute.tag))
95 if (nameStr.equals(LineNumberAttribute.tag)
    [all...]
  /frameworks/base/core/jni/
android_os_Trace.cpp 48 jlong tag, jstring nameStr, jint value) {
49 ScopedUtfChars name(env, nameStr);
56 jlong tag, jstring nameStr) {
58 ScopedStringChars jchars(env, nameStr);
74 jlong tag, jstring nameStr, jint cookie) {
76 ScopedStringChars jchars(env, nameStr);
85 jlong tag, jstring nameStr, jint cookie) {
87 ScopedStringChars jchars(env, nameStr);
android_net_NetUtils.cpp 86 const char *nameStr = env->GetStringUTFChars(ifname, NULL);
89 env, clazz, nameStr, mask);
91 result = ::ifc_reset_connections(nameStr, mask);
92 env->ReleaseStringUTFChars(ifname, nameStr);
114 const char *nameStr = env->GetStringUTFChars(ifname, NULL);
115 if (nameStr == NULL) return (jboolean)false;
118 result = ::dhcp_do_request_renew(nameStr, ipaddr, gateway, &prefixLength,
121 result = ::dhcp_do_request(nameStr, ipaddr, gateway, &prefixLength,
125 ALOGD("dhcp_do_request failed : %s (%s)", nameStr, renew ? "renew" : "new");
128 env->ReleaseStringUTFChars(ifname, nameStr);
    [all...]
android_hardware_UsbDevice.cpp 32 const char *nameStr = env->GetStringUTFChars(name, NULL);
33 int id = usb_device_get_unique_id_from_name(nameStr);
34 env->ReleaseStringUTFChars(name, nameStr);
android_os_MemoryFile.cpp 31 const char* namestr = (name ? env->GetStringUTFChars(name, NULL) : NULL); local
33 int result = ashmem_create_region(namestr, length);
36 env->ReleaseStringUTFChars(name, namestr);
android_os_SELinux.cpp 306 static jboolean getBooleanValue(JNIEnv *env, jobject, jstring nameStr) {
311 if (nameStr == NULL) {
315 ScopedUtfChars name(env, nameStr);
331 static jboolean setBooleanValue(JNIEnv *env, jobject, jstring nameStr, jboolean value) {
336 if (nameStr == NULL) {
340 ScopedUtfChars name(env, nameStr);
  /external/ppp/pppd/plugins/radius/
dict.c 40 char namestr[AUTH_ID_LEN]; local
75 if (sscanf(buffer, "%s%s%d", dummystr, namestr, &value) != 3) {
82 if (strlen (namestr) > NAME_LENGTH) {
95 strcpy(vdict->vendorname, namestr);
108 n = sscanf(buffer, "%s%s%s%s%s", dummystr, namestr, valstr, typestr, vendorstr);
120 if (strlen (namestr) > NAME_LENGTH)
190 strcpy (attr->name, namestr);
212 namestr, valstr) != 4)
231 if (strlen (namestr) > NAME_LENGTH)
258 strcpy (dval->name, namestr);
    [all...]
  /external/llvm/include/llvm/IR/
Instructions.h 157 LoadInst(Value *Ptr, const Twine &NameStr, Instruction *InsertBefore);
158 LoadInst(Value *Ptr, const Twine &NameStr, BasicBlock *InsertAtEnd);
159 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile = false,
161 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile,
163 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile,
165 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile,
167 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile,
171 LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile,
176 LoadInst(Value *Ptr, const char *NameStr, Instruction *InsertBefore);
177 LoadInst(Value *Ptr, const char *NameStr, BasicBlock *InsertAtEnd)
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_input_InputApplicationHandle.cpp 67 const char* nameStr = env->GetStringUTFChars(nameObj, NULL);
68 mInfo->name.setTo(nameStr);
69 env->ReleaseStringUTFChars(nameObj, nameStr);
com_android_server_power_PowerManagerService.cpp 115 static void nativeAcquireSuspendBlocker(JNIEnv *env, jclass clazz, jstring nameStr) {
116 ScopedUtfChars name(env, nameStr);
120 static void nativeReleaseSuspendBlocker(JNIEnv *env, jclass clazz, jstring nameStr) {
121 ScopedUtfChars name(env, nameStr);
com_android_server_input_InputWindowHandle.cpp 105 const char* nameStr = env->GetStringUTFChars(nameObj, NULL);
106 mInfo->name.setTo(nameStr);
107 env->ReleaseStringUTFChars(nameObj, nameStr);
  /external/clang/tools/diagtool/
DiagnosticNames.h 17 const char *NameStr;
22 return llvm::StringRef(NameStr, NameLen);
  /external/deqp/framework/platform/android/
tcuAndroidExecService.cpp 155 jstring nameStr = 0;
170 nameStr = env->NewStringUTF(name);
171 JNI_CHECK(nameStr);
179 jboolean res = env->CallBooleanMethod(m_remote, m_start, nameStr, paramsStr, caseListStr);
191 if (nameStr)
192 env->DeleteLocalRef(nameStr);
200 env->DeleteLocalRef(nameStr);
  /frameworks/base/media/jni/
android_media_MediaCodecList.cpp 79 const char *nameStr = env->GetStringUTFChars(name, NULL);
80 if (nameStr == NULL) {
88 env->ReleaseStringUTFChars(name, nameStr);
92 jint ret = mcl->findCodecByName(nameStr);
93 env->ReleaseStringUTFChars(name, nameStr);
android_media_MediaScanner.cpp 170 jstring nameStr, valueStr;
171 if ((nameStr = mEnv->NewStringUTF(name)) == NULL) {
191 mEnv->DeleteLocalRef(nameStr);
197 mClient, mHandleStringTagMethodID, nameStr, valueStr);
199 mEnv->DeleteLocalRef(nameStr);
  /external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
CDPlayer.c 330 HFSUniStr255 nameStr;
350 NULL, kFSCatInfoNone, NULL, &ref, NULL, &nameStr);
354 name = CFStringCreateWithCharacters (NULL, nameStr.unicode, nameStr.length);
362 while (i < nameStr.length && !isdigit(nameStr.unicode[i])) {
365 while (i < nameStr.length && isdigit(nameStr.unicode[i])) {
366 trackID = 10 * trackID +(nameStr.unicode[i] - '0');
  /external/deqp/modules/gles2/functional/
es2fBlendTests.cpp 307 const char* nameStr;
355 string name = string("") + eq.nameStr + "_" + src.nameStr + "_" + dst.nameStr;
392 string name = string("") + funcRGB.nameStr + "_" + funcAlpha.nameStr;
432 string name = string("") + eqRGB.nameStr + "_" + eqAlpha.nameStr;
  /external/deqp/modules/gles3/functional/
es3fBlendTests.cpp 364 const char* nameStr;
420 string name = eq.nameStr;
427 name += string("") + "_" + src.nameStr + "_" + dst.nameStr;
457 string name = string("") + funcRGB.nameStr + "_" + funcAlpha.nameStr;
497 string name = string("") + eqRGB.nameStr + "_" + eqAlpha.nameStr;
  /external/smack/src/org/xbill/DNS/
Generator.java 218 String namestr = substitute(namePattern, current);
219 Name name = Name.fromString(namestr, origin);
234 String namestr = substitute(namePattern, current); local
235 Name name = Name.fromString(namestr, origin);
  /external/clang/lib/AST/
TemplateName.cpp 161 std::string NameStr;
162 raw_string_ostream OS(NameStr);
170 return DB << NameStr;
  /external/llvm/lib/Target/
TargetMachine.cpp 193 SmallString<60> NameStr;
194 getNameWithPrefix(NameStr, GV, Mang);
197 return TLOF.getContext().GetOrCreateSymbol(NameStr.str());
TargetLoweringObjectFile.cpp 108 SmallString<60> NameStr;
109 NameStr += DL->getPrivateGlobalPrefix();
110 TM.getNameWithPrefix(NameStr, GV, Mang);
111 NameStr.append(Suffix.begin(), Suffix.end());
112 return Ctx->GetOrCreateSymbol(NameStr.str());
  /external/llvm/lib/ExecutionEngine/
RTDyldMemoryManager.cpp 256 const char *NameStr = Name.c_str();
257 void *Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(NameStr);
263 if (NameStr[0] == '_') {
264 Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(NameStr+1);
  /external/chromium_org/third_party/WebKit/Source/platform/network/
HTTPParsersTest.cpp 18 size_t parseHTTPHeader(const char* data, String& failureReason, AtomicString& nameStr, AtomicString& valueStr)
20 return blink::parseHTTPHeader(data, strlen(data), failureReason, nameStr, valueStr);

Completed in 1413 milliseconds

1 2 3