/prebuilts/go/darwin-x86/src/go/types/ |
call.go | 139 // useGetter is like use, but takes a getter instead of a list of expressions. 140 // It should be called instead of use if a getter is present to avoid repeated 141 // evaluation of the first argument (since the getter was likely obtained via 143 func (check *Checker) useGetter(get getter, n int) { 150 // A getter sets x as the i'th operand, where 0 <= i < n and n is the total 151 // number of operands (context-specific, and maintained elsewhere). A getter 152 // type-checks the i'th operand; the details of the actual check are getter- 154 type getter func(x *operand, i int) type 156 // unpack takes a getter get and a number of operands n. If n == 1, unpack 157 // calls the incoming getter for the first operand. If that operand i [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
call.go | 139 // useGetter is like use, but takes a getter instead of a list of expressions. 140 // It should be called instead of use if a getter is present to avoid repeated 141 // evaluation of the first argument (since the getter was likely obtained via 143 func (check *Checker) useGetter(get getter, n int) { 150 // A getter sets x as the i'th operand, where 0 <= i < n and n is the total 151 // number of operands (context-specific, and maintained elsewhere). A getter 152 // type-checks the i'th operand; the details of the actual check are getter- 154 type getter func(x *operand, i int) type 156 // unpack takes a getter get and a number of operands n. If n == 1, unpack 157 // calls the incoming getter for the first operand. If that operand i [all...] |
/prebuilts/misc/common/swig/include/2.0.11/chicken/ |
swigclosprefix.scm | 14 (define-method (compute-getter-and-setter (class <swig-metaclass-$module>) slot allocator) 17 (let ((getter (let search-get ((lst slot)) 30 (lambda (o) (getter (slot-ref o 'swig-this)))
|
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/ |
CloneVisitorGenerator.java | 30 final String getter = field.getGetterMethodName() + "()"; local 33 body.addStatement(f("NodeList<%s> %s = cloneList(n.%s.orElse(null), arg);", field.getTypeNameGenerified(), field.getName(), getter)); 35 body.addStatement(f("NodeList<%s> %s = cloneList(n.%s, arg);", field.getTypeNameGenerified(), field.getName(), getter)); 37 body.addStatement(f("%s %s = cloneNode(n.%s, arg);", field.getTypeNameGenerified(), field.getName(), getter));
|
EqualsVisitorGenerator.java | 31 final String getter = field.getGetterMethodName() + "()"; local 34 body.addStatement(f("if (!nodesEquals(n.%s, n2.%s)) return false;", getter, getter)); 36 body.addStatement(f("if (!nodeEquals(n.%s, n2.%s)) return false;", getter, getter)); 39 body.addStatement(f("if (!objEquals(n.%s, n2.%s)) return false;", getter, getter));
|
GenericListVisitorAdapterGenerator.java | 37 final String getter = field.getGetterMethodName() + "()"; local 43 "}", getter, getter, resultCheck)); 45 body.addStatement(f("{ tmp = n.%s.accept(this, arg); %s }", getter, resultCheck));
|
GenericVisitorAdapterGenerator.java | 33 final String getter = field.getGetterMethodName() + "()"; local 39 "}", getter, getter, resultCheck)); 41 body.addStatement(f("{ result = n.%s.accept(this, arg); %s }", getter, resultCheck));
|
HashCodeVisitorGenerator.java | 37 final String getter = field.getGetterMethodName() + "()"; local 41 builder.append("(n.%s.isPresent()? n.%s.get().accept(this, arg):0)", getter, getter); 43 builder.append("(n.%s.accept(this, arg))", getter); 48 builder.append("(n.%s?1:0)", getter); 50 builder.append("n.%s", getter); 52 builder.append("(n.%s.hashCode())", getter);
|
NoCommentEqualsVisitorGenerator.java | 56 final String getter = field.getGetterMethodName() + "()";
local 61 body.addStatement(f("if (!nodesEquals(n.%s, n2.%s)) return false;", getter, getter));
63 body.addStatement(f("if (!nodeEquals(n.%s, n2.%s)) return false;", getter, getter));
66 body.addStatement(f("if (!objEquals(n.%s, n2.%s)) return false;", getter, getter));
|
NoCommentHashCodeVisitorGenerator.java | 60 final String getter = field.getGetterMethodName() + "()";
local 71 builder.append("(n.%s.isPresent()? n.%s.get().accept(this, arg):0)", getter, getter);
73 builder.append("(n.%s.accept(this, arg))", getter);
78 builder.append("(n.%s?1:0)", getter);
80 builder.append("n.%s", getter);
82 builder.append("(n.%s.hashCode())", getter);
|
VoidVisitorAdapterGenerator.java | 29 final String getter = field.getGetterMethodName() + "()"; local 32 body.addStatement(f("n.%s.ifPresent( l -> l.forEach( v -> v.accept(this, arg)));", getter)); 34 body.addStatement(f("n.%s.ifPresent(l -> l.accept(this, arg));", getter)); 36 body.addStatement(f("n.%s.forEach(p -> p.accept(this, arg));", getter)); 38 body.addStatement(f("n.%s.accept(this, arg);", getter));
|
/external/skia/src/gpu/gl/iOS/ |
GrGLMakeNativeInterface_iOS.cpp | 48 const GLProcGetter* getter = (const GLProcGetter*) ctx; local 49 return getter->getProc(name); 53 GLProcGetter getter; local 54 return GrGLMakeAssembledGLESInterface(&getter, ios_get_gl_proc);
|
/external/skia/src/gpu/gl/mac/ |
GrGLMakeNativeInterface_mac.cpp | 52 const GLProcGetter* getter = (const GLProcGetter*) ctx; local 53 return getter->getProc(name); 57 GLProcGetter getter; local 58 return GrGLMakeAssembledGLInterface(&getter, mac_get_gl_proc);
|
/external/skqp/src/gpu/gl/iOS/ |
GrGLMakeNativeInterface_iOS.cpp | 48 const GLProcGetter* getter = (const GLProcGetter*) ctx; local 49 return getter->getProc(name); 53 GLProcGetter getter; local 54 return GrGLMakeAssembledGLESInterface(&getter, ios_get_gl_proc);
|
/external/skqp/src/gpu/gl/mac/ |
GrGLMakeNativeInterface_mac.cpp | 52 const GLProcGetter* getter = (const GLProcGetter*) ctx; local 53 return getter->getProc(name); 57 GLProcGetter getter; local 58 return GrGLMakeAssembledGLInterface(&getter, mac_get_gl_proc);
|
/hardware/intel/common/omx-components/videocodec/ |
OMXComponentCodecBase.h | 78 virtual OMX_ERRORTYPE AddHandler(OMX_INDEXTYPE type, OMXHANDLER getter, OMXHANDLER setter); 82 // return getter or setter 91 OMXHANDLER getter; member in struct:OMXComponentCodecBase::HandlerEntry
|
/hardware/qcom/gps/core/ |
ContextBase.cpp | 50 getLBSProxy_t* getter = (getLBSProxy_t*)dlsym(lib, "getLBSProxy"); local 51 if (NULL != getter) { 52 proxy = (*getter)(); 73 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 74 if(getter != NULL) { 75 LOC_LOGD("%s:%d]: getter is not NULL for LocApiV02", __func__, __LINE__); 76 locApi = (*getter)(mMsgTask, exMask, this); 85 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 86 if (NULL != getter) { 87 LOC_LOGD("%s:%d]: getter is not NULL in RPC", __func__, __LINE__) [all...] |
/hardware/qcom/gps/msm8084/core/ |
ContextBase.cpp | 52 getLBSProxy_t* getter = (getLBSProxy_t*)dlsym(lib, "getLBSProxy"); local 53 if (NULL != getter) { 54 proxy = (*getter)(); 57 LOC_LOGD("%s:%d]: getter is NULL. Reason: %s", __func__, __LINE__, dlerror()); 82 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 83 if(getter != NULL) { 84 LOC_LOGD("%s:%d]: getter is not NULL for LocApiV02", __func__, __LINE__); 85 locApi = (*getter)(mMsgTask,exMask, this); 88 LOC_LOGD("%s:%d]: getter is NULL. Reason: %s", __func__, __LINE__, dlerror()); 97 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi") local [all...] |
/hardware/qcom/gps/msm8960/core/ |
ContextBase.cpp | 50 getIzatProxy_t* getter = (getIzatProxy_t*)dlsym(lib, "getIzatProxy"); local 51 if (NULL != getter) { 52 proxy = (*getter)(); 72 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 73 if(getter != NULL) { 74 LOC_LOGD("%s:%d]: getter is not NULL for LocApiV02", __func__, __LINE__); 75 locApi = (*getter)(mMsgTask,exMask); 84 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 85 if (NULL != getter) { 86 LOC_LOGD("%s:%d]: getter is not NULL in RPC", __func__, __LINE__) [all...] |
/hardware/qcom/gps/msm8994/core/ |
ContextBase.cpp | 50 getLBSProxy_t* getter = (getLBSProxy_t*)dlsym(lib, "getLBSProxy"); local 51 if (NULL != getter) { 52 proxy = (*getter)(); 73 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 74 if(getter != NULL) { 75 LOC_LOGD("%s:%d]: getter is not NULL for LocApiV02", __func__, __LINE__); 76 locApi = (*getter)(mMsgTask, exMask, this); 85 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 86 if (NULL != getter) { 87 LOC_LOGD("%s:%d]: getter is not NULL in RPC", __func__, __LINE__) [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetworkVars.java | 193 VarGetter getter = VAR_MAP.get(command.get(1)); local 194 if (getter == null) { 197 return new MonkeyCommandReturn(true, getter.get());
|
/external/skia/src/gpu/gl/win/ |
GrGLMakeNativeInterface_win.cpp | 56 const GLProcGetter* getter = (const GLProcGetter*) ctx; local 57 return getter->getProc(name); 70 GLProcGetter getter; local 71 if (!getter.isInitialized()) { 75 GrGLGetStringProc getString = (GrGLGetStringProc)getter.getProc("glGetString"); 83 return GrGLMakeAssembledGLESInterface(&getter, win_get_gl_proc); 85 return GrGLMakeAssembledGLInterface(&getter, win_get_gl_proc);
|
/external/skqp/src/gpu/gl/win/ |
GrGLMakeNativeInterface_win.cpp | 56 const GLProcGetter* getter = (const GLProcGetter*) ctx; local 57 return getter->getProc(name); 70 GLProcGetter getter; local 71 if (!getter.isInitialized()) { 75 GrGLGetStringProc getString = (GrGLGetStringProc)getter.getProc("glGetString"); 83 return GrGLMakeAssembledGLESInterface(&getter, win_get_gl_proc); 85 return GrGLMakeAssembledGLInterface(&getter, win_get_gl_proc);
|
/hardware/qcom/gps/msm8909/core/ |
ContextBase.cpp | 71 getLBSProxy_t* getter = (getLBSProxy_t*)dlsym(lib, "getLBSProxy"); local 72 if (NULL != getter) { 73 proxy = (*getter)(); 95 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 96 if(getter != NULL) { 97 LOC_LOGD("%s:%d]: getter is not NULL for LocApiV02", __func__, __LINE__); 98 locApi = (*getter)(mMsgTask, exMask, this); 107 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 108 if (NULL != getter) { 109 LOC_LOGD("%s:%d]: getter is not NULL in RPC", __func__, __LINE__) [all...] |
/hardware/qcom/gps/msm8996/core/ |
ContextBase.cpp | 71 getLBSProxy_t* getter = (getLBSProxy_t*)dlsym(lib, "getLBSProxy"); local 72 if (NULL != getter) { 73 proxy = (*getter)(); 94 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 95 if(getter != NULL) { 96 LOC_LOGD("%s:%d]: getter is not NULL for LocApiV02", __func__, __LINE__); 97 locApi = (*getter)(mMsgTask, exMask, this); 106 getLocApi_t* getter = (getLocApi_t*)dlsym(handle, "getLocApi"); local 107 if (NULL != getter) { 108 LOC_LOGD("%s:%d]: getter is not NULL in RPC", __func__, __LINE__) [all...] |