Lines Matching refs:value_length
37 const char **value, int *value_length) {
72 *value_length = end - pos;
79 int value_length = internal_strlen(value);
80 return (flag_length >= value_length) &&
81 (0 == internal_strncmp(flag, value, value_length));
86 int value_length;
87 if (!GetFlagValue(env, name, &value, &value_length))
89 if (StartsWith(value, value_length, "0") ||
90 StartsWith(value, value_length, "no") ||
91 StartsWith(value, value_length, "false"))
93 if (StartsWith(value, value_length, "1") ||
94 StartsWith(value, value_length, "yes") ||
95 StartsWith(value, value_length, "true"))
101 int value_length;
102 if (!GetFlagValue(env, name, &value, &value_length))
111 int value_length;
112 if (!GetFlagValue(env, name, &value, &value_length))
116 char *value_copy = (char*)(allocator_for_flags.Allocate(value_length + 1));
117 internal_memcpy(value_copy, value, value_length);
118 value_copy[value_length] = '\0';