Lines Matching refs:signature
9 * from the signature
27 const char* signature;
41 * If signature is a pointer to a structure return the index of the character
50 static int find_end_of_structname(const char* signature) {
51 if (signature[1] == _C_CONST && signature[2] == _C_STRUCT_B) {
55 end1 = strchr(signature, _C_STRUCT_E);
56 end2 = strchr(signature, '=');
59 return end1 - signature;
61 return end2 - signature;
64 } else if (signature[1] == _C_STRUCT_B) {
68 end1 = strchr(signature, _C_STRUCT_E);
69 end2 = strchr(signature, '=');
72 return end1 - signature;
74 return end2 - signature;
77 return strlen(signature);
81 FindWrapper(const char* signature)
86 len = strlen(signature);
89 if (strncmp(signature, items[i].signature, items[i].offset) == 0) {
91 if (signature[1] == _C_CONST && signature[2] == _C_STRUCT_B) {
92 char ch = signature[items[i].offset];
97 } else if (signature[1] == _C_STRUCT_B) {
98 char ch = signature[items[i].offset];
104 if (signature[items[i].offset] == '\0') {
125 int PyObjCPointerWrapper_RegisterID(const char *signature) {
126 return PyObjCPointerWrapper_Register(signature,
133 const char* signature,
146 if (signature == NULL) {
149 value = FindWrapper(signature);
178 value->signature = PyObjCUtil_Strdup(signature);
179 if (value->signature == NULL) {
185 value->offset = find_end_of_structname(value->signature);
335 int PyObjCPointerWrapper_RegisterCF(const char *signature) {
336 return PyObjCPointerWrapper_Register(signature,