Lines Matching defs:len
41 int len = vsnprintf( buffer, buffer_end - buffer, fmt, args );
42 if (len < 0 || buffer+len >= buffer_end) {
47 return buffer + len;
80 int len;
83 len = readlink("/proc/self/exe", path, sizeof(path));
84 if (len <= 0 || len >= (int)sizeof(path)) goto Fail;
85 path[len] = 0;
138 int len;
141 len = GetModuleFileName( 0, appDir, sizeof(appDir)-1 );
142 if (len == 0) {
146 if (len >= (int)sizeof(appDir)) {
147 len = sizeof(appDir)-1;
148 appDir[len] = 0;